This forum has been archived. All content is frozen. Please use KDE Discuss instead.

desktop effects only work for root

Tags: None
(comma "," separated)
luz
Registered Member
Posts
13
Karma
0
OS

desktop effects only work for root

Tue Sep 07, 2010 4:39 pm
Hi all
I have a trouble setting desktop effect on opensuse 11.3, kde 4.4, Nvidia Quadro FX 3700 M (drivers uptodate for opensuse repo).
If I set XRender in systemsettings (Desktop->Advanced->Compositing Type) some desktop effects doesn't work.
This error appears:
The following effects could not be activated:
Desktop Cube
Desktop Cube Animation.
So I try to set OpenGL, I have an error message:
"Impossible to activate desktop effects with this configuration..." (The message is in french sorry)

If I log as root, the same desktop effects does not work with XRender but perfectly work with OpenGL.
I have try to set the same kwinrc for user as root but no effect.
I am tried stuff in xorg.conf that do not work. I can't beleive that it comes from xorg.conf because it works for root.
I think it is a problem with kwin and rights but I don't know where.
I am in video and games group but no change.

Thanks for help
mgraesslin
KDE Developer
Posts
572
Karma
7
OS
Could you please post your kwinrc? I could have a look at it to see if there is an option which forces kwin to disable compositing. Although I have never heard of this safety check being activated for an NVIDIA system.
luz
Registered Member
Posts
13
Karma
0
OS
Code: Select all
[$Version]
update_info=kwin3_plugin.upd:kde3.2,kwin_focus2.upd:kwin_focus2,kwin_on_off.upd:kwin_on_off,kwin_focus1.upd:kwin_focus1,kwin.upd:kde3.0r1,kwin.upd:kde3.2Xinerama

[Compositing]
AnimationSpeed=3
Backend=OpenGL
CheckIsSafe=true
DisableChecks=false
Enabled=false
GLDirect=true
GLMode=TFP
GLTextureFilter=1
GLVSync=true
HiddenPreviews=5
XRenderSmoothScale=false

[Desktops]
Name_1=Workspace 1
Name_2=Workspace 2
Name_3=Workspace 3
Name_4=Workspace 4
Number=4

[Effect-BoxSwitch]
TabBox=true

[Effect-CoverSwitch]
TabBox=false

[Effect-Cube]
AnimateDesktopChange=false
BorderActivate=6
BorderActivateCylinder=9
BorderActivateSphere=9

[Effect-DesktopGrid]
BorderActivate=9

[Effect-FlipSwitch]
BorderActivate=9
BorderActivateAll=9
TabBox=false

[Effect-PresentWindows]
BorderActivate=9
BorderActivateAll=7
TabBox=false

[ElectricBorders]
Bottom=None
BottomLeft=None
BottomRight=None
Left=None
Right=None
Top=None
TopLeft=None
TopRight=None

[Plugins]
kwin4_effect_boxswitchEnabled=true
kwin4_effect_coverswitchEnabled=false
kwin4_effect_cubeEnabled=true
kwin4_effect_cubeslideEnabled=true
kwin4_effect_desktopgridEnabled=true
kwin4_effect_dialogparentEnabled=true
kwin4_effect_diminactiveEnabled=false
kwin4_effect_dimscreenEnabled=false
kwin4_effect_explosionEnabled=false
kwin4_effect_fadeEnabled=true
kwin4_effect_fadedesktopEnabled=false
kwin4_effect_fallapartEnabled=false
kwin4_effect_flipswitchEnabled=false
kwin4_effect_highlightwindowEnabled=true
kwin4_effect_invertEnabled=false
kwin4_effect_loginEnabled=true
kwin4_effect_logoutEnabled=true
kwin4_effect_lookingglassEnabled=false
kwin4_effect_magiclampEnabled=false
kwin4_effect_magnifierEnabled=false
kwin4_effect_minimizeanimationEnabled=true
kwin4_effect_mousemarkEnabled=false
kwin4_effect_presentwindowsEnabled=true
kwin4_effect_resizeEnabled=false
kwin4_effect_scaleinEnabled=false
kwin4_effect_shadowEnabled=true
kwin4_effect_sharpenEnabled=false
kwin4_effect_sheetEnabled=false
kwin4_effect_showfpsEnabled=false
kwin4_effect_showpaintEnabled=false
kwin4_effect_slideEnabled=false
kwin4_effect_slidebackEnabled=false
kwin4_effect_slidingpopupsEnabled=true
kwin4_effect_snaphelperEnabled=false
kwin4_effect_snowEnabled=false
kwin4_effect_taskbarthumbnailEnabled=true
kwin4_effect_thumbnailasideEnabled=false
kwin4_effect_trackmouseEnabled=false
kwin4_effect_translucencyEnabled=true
kwin4_effect_wobblywindowsEnabled=false
kwin4_effect_zoomEnabled=true

[Style]
BorderSize=1
ButtonsOnLeft=MS
ButtonsOnRight=HIA__X
CustomButtonPositions=false
PluginLib=kwin3_keramik
ShowToolTips=true

[TabBox]
ListMode=0
ShowTabBox=true

[Windows]
ElectricBorderCooldown=350
ElectricBorderDelay=150
ElectricBorderMaximize=true
ElectricBorderTiling=true
ElectricBorders=0



I don't think it comes from kwinrc because I took the same as I have for root
mgraesslin
KDE Developer
Posts
572
Karma
7
OS
I agree - it looks fine. Could you please run kwin from konsole and post the output?

kwin --replace &

is the command and ensure that 1212 is enable in kdebugdialog
luz
Registered Member
Posts
13
Karma
0
OS
mgraesslin wrote:
kwin --replace &


"Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)"

and then when I try to set effects with opengl
"kwin(5631): Couldn't find framebuffer configuration for depth 32 (no ARGB GLX visual)!
kwin(5631): Failed to initialize compositing, compositing disabled
kwin(5631): Consult http://techbase.kde.org/Projects/KWin/4 ... Setting_up
"

Same error as in .xsessionserrors
mgraesslin
KDE Developer
Posts
572
Karma
7
OS
ok so there seems to be a setup problem with your opengl user account. Do other OpenGL applications work? E.g. glxinfo or glxgears?
luz
Registered Member
Posts
13
Karma
0
OS
glxinfo works:
Code: Select all
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
server glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig,
    GLX_SGIX_pbuffer, GLX_SGI_video_sync, GLX_SGI_swap_control,
    GLX_EXT_swap_control, GLX_EXT_texture_from_pixmap, GLX_ARB_create_context,
    GLX_ARB_create_context_profile, GLX_ARB_multisample, GLX_NV_float_buffer,
    GLX_ARB_fbconfig_float, GLX_NV_swap_group, GLX_EXT_framebuffer_sRGB,
    GLX_NV_multisample_coverage, GLX_NV_copy_image, GLX_NV_video_capture
client glx vendor string: NVIDIA Corporation
client glx version string: 1.4
client glx extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_visual_info,
    GLX_EXT_visual_rating, GLX_EXT_import_context, GLX_SGI_video_sync,
    GLX_NV_swap_group, GLX_NV_video_out, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
    GLX_SGI_swap_control, GLX_EXT_swap_control, GLX_ARB_create_context,
    GLX_ARB_create_context_profile, GLX_NV_float_buffer,
    GLX_ARB_fbconfig_float, GLX_EXT_fbconfig_packed_float,
    GLX_EXT_texture_from_pixmap, GLX_EXT_framebuffer_sRGB,
    GLX_NV_present_video, GLX_NV_copy_image, GLX_NV_multisample_coverage,
    GLX_NV_video_capture
GLX extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig,
    GLX_SGIX_pbuffer, GLX_SGI_video_sync, GLX_SGI_swap_control,
    GLX_EXT_swap_control, GLX_EXT_texture_from_pixmap, GLX_ARB_create_context,
    GLX_ARB_create_context_profile, GLX_ARB_multisample, GLX_NV_float_buffer,
    GLX_ARB_fbconfig_float, GLX_NV_swap_group, GLX_EXT_framebuffer_sRGB,
    GLX_NV_multisample_coverage, GLX_NV_copy_image, GLX_NV_video_capture,
    GLX_ARB_get_proc_address
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: Quadro FX 3700M/PCI/SSE2
OpenGL version string: 3.3.0 NVIDIA 256.53
OpenGL extensions:
    GL_ARB_blend_func_extended, GL_ARB_color_buffer_float,
    GL_ARB_compatibility, GL_ARB_copy_buffer, GL_ARB_depth_buffer_float,
    GL_ARB_depth_clamp, GL_ARB_depth_texture, GL_ARB_draw_buffers,
    GL_ARB_draw_elements_base_vertex, GL_ARB_draw_instanced,                                                                         
    GL_ARB_explicit_attrib_location, GL_ARB_fragment_coord_conventions,                                                             
    GL_ARB_fragment_program, GL_ARB_fragment_program_shadow,                                                                         
    GL_ARB_fragment_shader, GL_ARB_framebuffer_object,                                                                               
    GL_ARB_framebuffer_sRGB, GL_ARB_geometry_shader4, GL_ARB_half_float_pixel,                                                       
    GL_ARB_half_float_vertex, GL_ARB_imaging, GL_ARB_instanced_arrays,                                                               
    GL_ARB_map_buffer_range, GL_ARB_multisample, GL_ARB_multitexture,                                                               
    GL_ARB_occlusion_query, GL_ARB_occlusion_query2,                                                                                 
    GL_ARB_pixel_buffer_object, GL_ARB_point_parameters, GL_ARB_point_sprite,                                                       
    GL_ARB_provoking_vertex, GL_ARB_sampler_objects, GL_ARB_seamless_cube_map,                                                       
    GL_ARB_shader_bit_encoding, GL_ARB_shader_objects,
    GL_ARB_shading_language_100, GL_ARB_shadow, GL_ARB_sync,
    GL_ARB_texture_border_clamp, GL_ARB_texture_buffer_object,
    GL_ARB_texture_compression, GL_ARB_texture_compression_rgtc,
    GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
    GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar,
    GL_ARB_texture_env_dot3, GL_ARB_texture_float,
    GL_ARB_texture_mirrored_repeat, GL_ARB_texture_multisample,
    GL_ARB_texture_non_power_of_two, GL_ARB_texture_rectangle,
    GL_ARB_texture_rg, GL_ARB_texture_rgb10_a2ui, GL_ARB_texture_swizzle,
    GL_ARB_timer_query, GL_ARB_transpose_matrix, GL_ARB_uniform_buffer_object,
    GL_ARB_vertex_array_bgra, GL_ARB_vertex_array_object,
    GL_ARB_vertex_buffer_object, GL_ARB_vertex_program, GL_ARB_vertex_shader,
    GL_ARB_vertex_type_2_10_10_10_rev, GL_ARB_window_pos, GL_ATI_draw_buffers,
    GL_ATI_texture_float, GL_ATI_texture_mirror_once, GL_S3_s3tc,
    GL_EXT_texture_env_add, GL_EXT_abgr, GL_EXT_bgra,
    GL_EXT_bindable_uniform, GL_EXT_blend_color,
    GL_EXT_blend_equation_separate, GL_EXT_blend_func_separate,
    GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_compiled_vertex_array,
    GL_EXT_Cg_shader, GL_EXT_depth_bounds_test, GL_EXT_direct_state_access,
    GL_EXT_draw_buffers2, GL_EXT_draw_instanced, GL_EXT_draw_range_elements,
    GL_EXT_fog_coord, GL_EXT_framebuffer_blit, GL_EXT_framebuffer_multisample,
    GL_EXTX_framebuffer_mixed_formats, GL_EXT_framebuffer_object,
    GL_EXT_framebuffer_sRGB, GL_EXT_geometry_shader4,
    GL_EXT_gpu_program_parameters, GL_EXT_gpu_shader4,
    GL_EXT_multi_draw_arrays, GL_EXT_packed_depth_stencil,
    GL_EXT_packed_float, GL_EXT_packed_pixels, GL_EXT_pixel_buffer_object,
    GL_EXT_point_parameters, GL_EXT_provoking_vertex, GL_EXT_rescale_normal,
    GL_EXT_secondary_color, GL_EXT_separate_shader_objects,
    GL_EXT_separate_specular_color, GL_EXT_shadow_funcs,
    GL_EXT_stencil_two_side, GL_EXT_stencil_wrap, GL_EXT_texture3D,
    GL_EXT_texture_array, GL_EXT_texture_buffer_object,
    GL_EXT_texture_compression_latc, GL_EXT_texture_compression_rgtc,
    GL_EXT_texture_compression_s3tc, GL_EXT_texture_cube_map,
    GL_EXT_texture_edge_clamp, GL_EXT_texture_env_combine,
    GL_EXT_texture_env_dot3, GL_EXT_texture_filter_anisotropic,
    GL_EXT_texture_integer, GL_EXT_texture_lod, GL_EXT_texture_lod_bias,
    GL_EXT_texture_mirror_clamp, GL_EXT_texture_object,
    GL_EXT_texture_shared_exponent, GL_EXT_texture_sRGB,
    GL_EXT_texture_swizzle, GL_EXT_timer_query, GL_EXT_vertex_array,
    GL_EXT_vertex_array_bgra, GL_IBM_rasterpos_clip,
    GL_IBM_texture_mirrored_repeat, GL_KTX_buffer_region, GL_NV_blend_square,
    GL_NV_conditional_render, GL_NV_copy_depth_to_color, GL_NV_copy_image,
    GL_NV_depth_buffer_float, GL_NV_depth_clamp, GL_NV_explicit_multisample,
    GL_NV_fence, GL_NV_float_buffer, GL_NV_fog_distance,
    GL_NV_fragment_program, GL_NV_fragment_program_option,
    GL_NV_fragment_program2, GL_NV_framebuffer_multisample_coverage,
    GL_NV_geometry_shader4, GL_NV_gpu_program4, GL_NV_half_float,
    GL_NV_light_max_exponent, GL_NV_multisample_coverage,
    GL_NV_multisample_filter_hint, GL_NV_occlusion_query,
    GL_NV_packed_depth_stencil, GL_NV_parameter_buffer_object,
    GL_NV_parameter_buffer_object2, GL_NV_pixel_data_range,
    GL_NV_point_sprite, GL_NV_primitive_restart, GL_NV_register_combiners,
    GL_NV_register_combiners2, GL_NV_shader_buffer_load,
    GL_NV_texgen_reflection, GL_NV_texture_barrier,
    GL_NV_texture_compression_vtc, GL_NV_texture_env_combine4,
    GL_NV_texture_expand_normal, GL_NV_texture_multisample,
    GL_NV_texture_rectangle, GL_NV_texture_shader, GL_NV_texture_shader2,
    GL_NV_texture_shader3, GL_NV_transform_feedback, GL_NV_vdpau_interop,
    GL_NV_vertex_array_range, GL_NV_vertex_array_range2,
    GL_NV_vertex_buffer_unified_memory, GL_NV_vertex_program,
    GL_NV_vertex_program1_1, GL_NV_vertex_program2,
    GL_NV_vertex_program2_option, GL_NV_vertex_program3,
    GL_NVX_conditional_render, GL_NVX_gpu_memory_info,
    GL_SGIS_generate_mipmap, GL_SGIS_texture_lod, GL_SGIX_depth_texture,
    GL_SGIX_shadow, GL_SUN_slice_accum



glxgears
Code: Select all
69223 frames in 5.0 seconds = 13844.492 FPS
69980 frames in 5.0 seconds = 13995.857 FPS
70235 frames in 5.0 seconds = 14046.820 FPS


Other applications using opengl works very fine

I have created a new user and desktop effects work great.
I put myself in the same groups than new user but it doesn't change anything
mgraesslin
KDE Developer
Posts
572
Karma
7
OS
I have no idea what is happening here :-(
User avatar
rubentje1991
Registered Member
Posts
58
Karma
0
OS
I would like to know something:

if you make a new user-account, does the problem persist there?
(this isn't harmful, doesn't cost much time, and you can delete that account later if not needed anymore ;) )


using PCLinuxOS 2010.7 KDE Version
mgraesslin
KDE Developer
Posts
572
Karma
7
OS
rubentje1991 wrote:I would like to know something:

if you make a new user-account, does the problem persist there?

That's already answered :-) Two posts above at the end of the long posting
User avatar
rubentje1991
Registered Member
Posts
58
Karma
0
OS
mgraesslin wrote:
rubentje1991 wrote:I would like to know something:

if you make a new user-account, does the problem persist there?

That's already answered :-) Two posts above at the end of the long posting


Sorry, didn't saw that :<
(thought that post was above my knowledge, and flew over it.... :-\ )


using PCLinuxOS 2010.7 KDE Version
User avatar
rubentje1991
Registered Member
Posts
58
Karma
0
OS
There's definitely something wrong with the configuration files of that user....

Would it be in .kde4 (or .kde)???
=> in PCLinuxOS (and probably in other distro's too), reinstalling kde4-config in Synaptic / .... sets the original configuration, made by the distro, back....
Removing that .kde directory resets the configuration to the standard kde configuration.

So, if you try this,
WARNING!
your configs will be lost
(your likenings, like window colors, active widgets on the desktop, effects and such other settings)

One question before you maybe want to reset your config,
Since which KDE version do you use that same home directory for your user (including your .kde dir and other hidden directories)


using PCLinuxOS 2010.7 KDE Version
luz
Registered Member
Posts
13
Karma
0
OS
rubentje1991 wrote:Removing that .kde directory resets the configuration to the standard kde configuration.


I have already deleted my .kde4 (not the .kde) and nothing changed

rubentje1991 wrote:One question before you maybe want to reset your config,
Since which KDE version do you use that same home directory for your user (including your .kde dir and other hidden directories)

[/quote]

Since 2009 and opensuse 11.1 kde 3.5 to today opensuse 11.3 kde4.4. I never reinstalled my system, only updates.
mgraesslin
KDE Developer
Posts
572
Karma
7
OS
I doubt it is a config problem inside KDE. The problem seems to be somewhere else and I have never seen the error message which has been posted above.

The only idea I still have is to ask at the nvidia forums or to switch to a different user account.
User avatar
rubentje1991
Registered Member
Posts
58
Karma
0
OS
mgraesslin wrote:I doubt it is a config problem inside KDE. The problem seems to be somewhere else and I have never seen the error message which has been posted above.

The only idea I still have is to ask at the nvidia forums or to switch to a different user account.


No, I was also thinking about that - not possible I would think......
=> but the problem is somewhere in his home dir!
(nevermind I don't know either where)

So, if they can't help you on the nvidia forum, you can indeed use that new account (and copy the data to that one)
=> it's also possible to copy your config directories one by one to it (and see if it stays working); or copy only e.g. the .mozilla and some other hidden dirs with data

Still a strange thing ???


using PCLinuxOS 2010.7 KDE Version


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], q.ignora, watchstar