fglrx problem
help ! i hit on terminal sudo apt-get fglrxinfo (or sudo apt-get install fglrxinfo) and then hit fglrxinfo and now compiz won't load...how can i "undo" this ?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Wrwrwr
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
What? I don't understand - try to explain your problem once more and better.
Revision history for this message
|
#2 |
my graphics card is ATI Radeon 9250 ... but when I go to "Installed Hardware" i see ATI Radeon 9200 Pro ... anywayz I hit fglrxinfo in terminal and it told me i didn't have the package so i got it through "apt-get" command...then I hit fglrxinfo and a login screen appeared though i have set my system to load the graphic enviroment without asking for login info-i selected Restart instead of logging in and since then every time i start my system compiz and awn won't work...also forgot to mention that i'm running Ubuntu 7.10-any ideas ??
Revision history for this message
|
#3 |
There's no such package as fglrxinfo, probably just fglrx? You can remove it with Synaptic or Adept or from teriminal:
sudo apt-get remove fglrx
But that's probably unnecessary — first try and open Administration-
Revision history for this message
|
#5 |
Can you attach the contents of your /etc/X11/xorg.conf file, so we know what driver you are currently using?
Revision history for this message
|
#6 |
# xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "Files"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us,gr"
Option "XkbVariant" ","
Option "XkbOptions" "grp:alt_
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/input/wacom"
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/input/wacom"
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/input/wacom"
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "Device"
Identifier "ATI Technologies Inc RV280 [Radeon 9200 PRO]"
Driver "ati"
BusID "PCI:1:0:0"
EndSection
Section "Monitor"
Identifier "NEC V721"
Option "DPMS"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies Inc RV280 [Radeon 9200 PRO]"
Monitor "NEC V721"
DefaultDepth 24
SubSection "Display"
Modes "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
# Uncomment if you have a wacom tablet
# InputDevice "stylus" "SendCoreEvents"
# InputDevice "cursor" "SendCoreEvents"
# InputDevice "eraser" "SendCoreEvents"
EndSection
Revision history for this message
|
#7 |
Looks ok, and you're using the ati driver, no sign of fglrx anywhere. What happens when you try to enable those desktop effects? Maybe /var/log/Xorg.0.log says something interesting?
Check that you're getting direct rendering, try the following command (please paste the output here too):
glxinfo | grep -i direct\\\|opengl
Maybe the composite extension got somehow switched off, in that case you would add the following to the end of the xorg.conf (type "sudo gedit /etc/X11/xorg.conf" in a terminal to be able to make changes to it):
Section "Extensions"
Option "Composite" "on"
EndSection
Revision history for this message
|
#8 |
a "Desktop effects could not be enabled" message dialog is being displayed when i choose anything but "none" in Appearance --> Visual Effects.
glxinfo: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory
...so should i do the xorg.conf modification ???
Revision history for this message
|
#9 |
i think that my problems began after i hit glxinfo in terminal...is that any helpful ??
Revision history for this message
|
#10 |
Seems a file or a link is missing, could you please paste that in a terminal and copy the output:
ls -l /usr/lib/libGL.so*
Revision history for this message
|
#11 |
ls: /usr/lib/libGL.so*: No such file or directory
Revision history for this message
|
#12 |
got a question for you ; if I uninstall all my compiz-fusion package and reload them, can you assure me that it will be working (In advance, I'm suspecting not)
Revision history for this message
|
#14 |
Ok, try reinstalling mesa then:
sudo apt-get install libgl1-mesa-glx
Or put reinstall instead of install if it says it's already at newest version.
Revision history for this message
|
#15 |
Reinstalling compiz-fusion won't be probably enough, you would have to reinstall alot more (some other xserver related things may be broken too, like mesa), and possibly you would have to purge(completely remove) and install to get a new configuration too.
Revision history for this message
|
#16 |
Lets try with reinstalling mesa for now and see what the glxinfo command returns.
Revision history for this message
|
#17 |
install command : i have the newest version
reinstall command : Not valid operation
Revision history for this message
|
#18 |
i made it ! i did it thru synaptic package manager...i chose reinstall
Revision history for this message
|
#20 |
Try the glxinfo again, try to enable compiz (after a restart).
Revision history for this message
|
#21 |
Note: the glxinfo, fglrxinfo are safe to use, won't change anything. What really caused the problem has been the installing of fglrx package.
Revision history for this message
|
#22 |
after reboot : still the same message after trying to enable effects...
in terminal :
glxinfo | grep -i direct\\\|opengl
glxinfo: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory
Revision history for this message
|
#23 |
by the way, i want to thank you in advance for dealing with my problem...
Revision history for this message
|
#24 |
"glxinfo: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory"
→ go to /usr/lib and make you sure you have there file libGL.so.1.2, if yes do this in terminal (Application → Accesories → Terminal)
sudo ln -s /usr/lib/
Explication: libGL.so.1 is only symbolik link to libGL.so.1.2 and this command will created it
Revision history for this message
|
#25 |
Sorry a full command to reinstall from a terminal is:
sudo apt-get install --reinstall libgl1-mesa-glx
Can you confirm that you really reinstalled "libgl1-mesa-glx" package (note there are a couple of packages with similar names, the correct one should have libGL.so.1 listed in the installed files tab)?
Is your system up-to-date, do a refresh, mark all upgrades, apply with synaptic or use the update manager.
Could you please repeat that directory listing command, still no files?:
ls -l /usr/lib/libGL.so.*
Yet another thing i'd like to know is what version of the Ubuntu kernel do you use, best paste the output of:
uname -a
Revision history for this message
|
#26 |
still no files :(
uname -a
Linux lucy 2.6.22-14-generic #1 SMP Tue Dec 18 08:02:57 UTC 2007 i686 GNU/Linux
Revision history for this message
|
#27 |
Thanks Wrwrwr, that solved my question.