View Full Version : [ubuntu] desktop effects not working after gutsy -> hardy upgrade
sub0
June 5th, 2008, 11:32 PM
hello,
somehow upgrading from gutsy to hardy broke compiz.
compiz-check says:
Distribution: Ubuntu 8.04
Desktop environment: GNOME
Graphics chip: nVidia Corporation G70 [GeForce 7600 GT] (rev a1)
Driver in use: nvidia
Rendering method: Nvidia
Checking if it's possible to run Compiz on your system...
Checking for texture_from_pixmap... [FAIL]
Checking for non power of two support... [FAIL]
Checking for composite extension... [ OK ]
Checking for FBConfig... [ OK ]
Checking for hardware/setup problems... [ OK ]
any ideas?
sub0
June 5th, 2008, 11:34 PM
here's my xorg.conf - i'm running dual-headed btw
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 1.0 (buildd@vernadsky) Tue Mar 4 20:24:34 UTC 2008
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder3) Thu Feb 14 18:20:37 PST 2008
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
EndSection
Section "ServerFlags"
Option "Xinerama" "0"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
# Option "CorePointer"
Option "Device" "/dev/psaux"
Option "Protocol" "auto"
Option "Emulate3Buttons" "false"
# Option "Buttons" "5"
# Option "ButtonMapping" "1 2 3 6 7"
# Option "ZAxisMapping" "4 5"
# Option "Resolution" "100"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "DELL 2007FP"
HorizSync 30.0 - 83.0
VertRefresh 56.0 - 76.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 7600 GT"
EndSection
Section "Screen"
# Removed Option "metamodes" "DFP-0: 1600x1200 +0+0, DFP-1: 1600x1200 +1600+0; DFP-0: 1600x1200 +0+0, DFP-1: nvidia-auto-select +1600+0; DFP-0: 1280x1024 +0+0, DFP-1: nvidia-auto-select +1280+0; DF
P-0: 1152x864 +0+0, DFP-1: nvidia-auto-select +1152+0"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "1"
Option "metamodes" "DFP-0: 1600x1200 +0+0, DFP-1: 1600x1200 +1600+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection
sub0
June 9th, 2008, 03:44 PM
BUMP
how do you troubleshoot these?
Checking for texture_from_pixmap... [FAIL]
Checking for non power of two support... [FAIL]
help!
forger
June 9th, 2008, 04:20 PM
I don't know of any compiz-check command, were you using compiz from non-official repositories?
Is this a laptop? Try searching your results at google before proceeding, maybe you'll find a bug about it.
Let's try reset your xorg.conf using the nvidia-settings.
Keep a backup first, open up gnome terminal and do:
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup
*** READ THE WHOLE POST ***
then install nvidia-settings and run it
sudo apt-get install nvidia-settings
gksu nvidia-settings
head to x server display configuration > detect displays, select your default resolution and hit "save to x configuration file" > "Quit"
log out and log back in.
a) In case you have problems and you can't load the graphical desktop manager, log in to the console and type:
sudo cp /etc/X11/xorg.conf.backup /etc/X11/xorg.conf
sudo /etc/init.d/gdm restart
b) In case you can log in gnome, open gnome-terminal once more, reinstall compiz:
sudo apt-get install --reinstall compiz compiz-core compiz-fusion-plugins-extra compiz-fusion-plugins-main compiz-gnome compiz-plugins libcompizconfig0
now head to menu System > Preferences > Appearance > Visual effects > choose "Normal"
hope it works
Forlong
June 9th, 2008, 05:34 PM
And/or try this:
sudo nvidia-xconfig --add-argb-glx-visuals -d 24
sub0
June 16th, 2008, 08:43 PM
thanks for replying. the system in question is a dell desktop.
i followed all the steps, but no dice.
here's the output from compiz:
Checking for Xgl: not present.
Detected PCI ID for VGA: 01:00.0 0300: 10de:0391 (rev a1) (prog-if 00 [VGA controller])
Checking for texture_from_pixmap: not present.
Trying again with indirect rendering:
Checking for texture_from_pixmap: not present.
aborting and using fallback: /usr/bin/metacity
also, it doesn't seem like i have direct rendering:
glxinfo:
Xlib: extension "XFree86-DRI" missing on display ":0.0".
name of display: :0.0
display: :0 screen: 0
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
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_texture_from_pixmap, GLX_ARB_multisample, GLX_NV_float_buffer,
GLX_ARB_fbconfig_float
client glx vendor string: ATI
client glx version string: 1.3
client glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
GLX_ARB_get_proc_address, GLX_SGI_video_sync, GLX_ARB_multisample,
GLX_ATI_pixel_format_float, GLX_ATI_render_texture
GLX version: 1.2
GLX extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGI_video_sync,
GLX_ARB_multisample
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce 7600 GT/PCI/SSE2
OpenGL version string: 2.1.2 NVIDIA 169.12
OpenGL extensions:
GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_texture_border_clamp,
GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3, GL_EXT_abgr,
GL_EXT_blend_color, GL_EXT_blend_minmax, GL_EXT_blend_subtract,
GL_EXT_texture_env_add, GL_EXT_texture_env_combine,
GL_EXT_texture_env_dot3, GL_EXT_texture_lod_bias
Visual ID: 21 depth=24 class=TrueColor
bufferSize=32 level=0 renderType=rgba doubleBuffer=1 stereo=0
rgba: redSize=8 greenSize=8 blueSize=8 alphaSize=0
auxBuffers=4 depthSize=24 stencilSize=8
accum: redSize=16 greenSize=16 blueSize=16 alphaSize=16
multiSample=1 multiSampleBuffers=0
visualCaveat=None
Opaque.
Visual ID: 22 depth=24 class=DirectColor
bufferSize=32 level=0 renderType=rgba doubleBuffer=1 stereo=0
rgba: redSize=8 greenSize=8 blueSize=8 alphaSize=0
auxBuffers=4 depthSize=24 stencilSize=8
accum: redSize=16 greenSize=16 blueSize=16 alphaSize=16
multiSample=1 multiSampleBuffers=0
visualCaveat=None
Opaque.
Visual ID: 24 depth=24 class=TrueColor
bufferSize=32 level=0 renderType=rgba doubleBuffer=1 stereo=0
rgba: redSize=8 greenSize=8 blueSize=8 alphaSize=8
auxBuffers=4 depthSize=24 stencilSize=8
accum: redSize=16 greenSize=16 blueSize=16 alphaSize=16
multiSample=1 multiSampleBuffers=0
visualCaveat=None
Opaque.
Visual ID: 25 depth=24 class=TrueColor
bufferSize=32 level=0 renderType=rgba doubleBuffer=0 stereo=0
rgba: redSize=8 greenSize=8 blueSize=8 alphaSize=0
auxBuffers=4 depthSize=24 stencilSize=8
paul@thoughtcrime:~$ LIBGL_DEBUG=verbose
paul@thoughtcrime:~$ glxinfo |more
Xlib: extension "XFree86-DRI" missing on display ":0.0".
name of display: :0.0
display: :0 screen: 0
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
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_texture_from_pixmap, GLX_ARB_multisample, GLX_NV_float_buffer,
GLX_ARB_fbconfig_float
client glx vendor string: ATI
client glx version string: 1.3
client glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
GLX_ARB_get_proc_address, GLX_SGI_video_sync, GLX_ARB_multisample,
GLX_ATI_pixel_format_float, GLX_ATI_render_texture
GLX version: 1.2
GLX extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGI_video_sync,
GLX_ARB_multisample
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce 7600 GT/PCI/SSE2
OpenGL version string: 2.1.2 NVIDIA 169.12
OpenGL extensions:
GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_texture_border_clamp,
GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3, GL_EXT_abgr,
GL_EXT_blend_color, GL_EXT_blend_minmax, GL_EXT_blend_subtract,
GL_EXT_texture_env_add, GL_EXT_texture_env_combine,
GL_EXT_texture_env_dot3, GL_EXT_texture_lod_bias
sub0
June 16th, 2008, 08:52 PM
i just noticed - client glx vendor string: ATI
the system originally had an ati card... but compiz worked under gutsy with the current nvidia card. (that's why i bought it)
thoughts?
Forlong
June 17th, 2008, 10:02 AM
Did you have the fglrx driver installed?
If so, make sure it's removed completely.
sub0
June 25th, 2008, 05:43 PM
yes, i originally had an ati card installed running the fglrx driver. there were so many problems with it, i swapped it out with nvidia.
how do i make sure the fglrx driver is removed? it seem sto be part of linux-restricted-modules, but that also contains the nvidia driver, so i'm hesitant at removing it.
thanks!
Forlong
June 25th, 2008, 06:09 PM
How did you install it in the first place?
sub0
July 7th, 2008, 01:53 PM
i'm not sure what you mean.. both the ati and later the nvidia card were detected after first boot. i just enabled the restricted drivers.
sub0
August 13th, 2008, 03:05 PM
i finally figured this one out:
although the package xorg-driver-fglrx was removed from the system, it was not "completely removed" so the config files where causing problems. completely removing the package via synaptic failed, so i removed the files individually and rebooted.
after reboot, x failed to load. there was an offending entry in /etc/profile that i commented out:
##/etc/ati/ati-fglrx.sh # Do not modify - set by ATI FGLRX
after that i was able to start x and enable compiz.
thanks for pointers!
vBulletin® v3.7.4, Copyright ©2000-2008, Jelsoft Enterprises Ltd.