PDA

View Full Version : [ubuntu] 8.04 upgrade ATI fglrx driver does not load



cynical_remarks
April 25th, 2008, 12:44 PM
Hi

I upgraded to Hardy, and all went ok-ish.

My only problem is that I cannot enable the ATI proprietary driver.

I followed the instructions here: http://wiki.cchtml.com/index.php/Ubuntu_Hardy_Installation_Guide

but when I test it it says:



$ fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.4 (2.1 Mesa 7.0.3-rc2)


Also, when I try to enable the driver under System --> Administration --> Hardware Drivers, there are no drivers there and it says that no proprietary drivers are used on the system.

I cannot enable any desktop effects, when I try I get blank (that is a complete white) screen.

Here's the output of my xorg.conf:



Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "aticonfig-Screen[0]" 0 0
InputDevice "Synaptics Touchpad"
EndSection

Section "Files"
EndSection

Section "Module"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "uk"
Option "XkbVariant" "dell"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizEdgeScroll" "0"
EndSection

Section "Monitor"
Identifier "aticonfig-Monitor[0]"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection

Section "Device"
Identifier "aticonfig-Device[0]"
Driver "fglrx"
EndSection

Section "Screen"
Identifier "aticonfig-Screen[0]"
Device "aticonfig-Device[0]"
Monitor "aticonfig-Monitor[0]"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection


I've got a Dell Inspiron 6400 with an ATI Mobility Radeon 1400.

Any help greatly appreciated!

Thanks
Mike

cafe con leche
April 25th, 2008, 01:06 PM
Did you download all the updates after you completely installed Hardy?

cynical_remarks
April 25th, 2008, 01:27 PM
Did you download all the updates after you completely installed Hardy?

Thanks for the reply.

Yep I did initiate update and everything was already up to date.

Any ideas?

radamo
April 25th, 2008, 01:49 PM
Thanks for the reply.

Yep I did initiate update and everything was already up to date.

Any ideas?

I am very new to Ubuntu (and linux) but the program EnvyNG helped me load in the proper ATI drivers. Last I looked they were only loading 8.3. But 8.4 should be available once it is in the repositories.

Hope this helps.
RA

cynical_remarks
April 25th, 2008, 01:52 PM
I am very new to Ubuntu (and linux) but the program EnvyNG helped me load in the proper ATI drivers. Last I looked they were only loading 8.3. But 8.4 should be available once it is in the repositories.

Hope this helps.
RA

Cheers for the pointer.

I've tried EnvyNG, really nice and helpful app. Unfortunately, to no avail...

My guess is that it has to do with the xorg.conf, but I'm a relative newbie as well.

Any other ideas?

Malfet
April 25th, 2008, 01:57 PM
Cheers for the pointer.
I've tried EnvyNG, really nice and helpful app. Unfortunately, to no avail...
Any other ideas?

Looks like that's a general problem of 8.04.
I have the same problem with NVidia, and other people too - http://ubuntuforums.org/showthread.php?t=766515.

M.

cynical_remarks
April 25th, 2008, 02:00 PM
Looks like that's a general problem of 8.04.
I have the same problem with NVidia, and other people too - http://ubuntuforums.org/showthread.php?t=766515.

M.

Hmm that's bad.

I hope that gets resolved soon for all of us.

What is the xorg.conf command to load the driver manually and disable the autoload? I haven't tried that.

Cheers also for the pointer, now I don't feel so alone :)

koskos
April 25th, 2008, 05:44 PM
Very disappointing. I switched to Ubuntu 7.10 from Fedora because it was the least hassle with my graphics. I wish they had done a bit more testing before this release. Sure the drivers are "unsupported" but almost everyone actually needs these "unsupported" drivers. Now to find an easy way to downgrade back to 7.10...

cynical_remarks
April 25th, 2008, 10:12 PM
Anyone else got the same problem? I need help, pleease :-S

tosoth
April 25th, 2008, 10:58 PM
Hi. I have similar problem. Today after upgrade to 8.04 and restarting my pc, all I've seen was ubuntu logo that looked like displayed with 4 colors (colorful pixels instead of normal colors) and than black screen. My pc hanged completely. I tried (recovery mode) in grub and run xfix (something like that), that probably turned off fglrx driver and used open driver instead. Of coures after that ubuntu boot up properly.
Using google i found advice to increase AGP aperture size in BIOS. I set it to 512MB and then i could boot up ubuntu even with fglrx driver, but it run slower than with open driver.
After about 5 hours of dealing with this problem I'm trying clean install of 8.04. Maybe it will help (I hope).

I forgot to add...
My graphics card: Radeon X1950Pro 512MB AGP

cynical_remarks
April 25th, 2008, 11:35 PM
Hi. I have similar problem. Today after upgrade to 8.04 and restarting my pc, all I've seen was ubuntu logo that looked like displayed with 4 colors (colorful pixels instead of normal colors) and than black screen. My pc hanged completely. I tried (recovery mode) in grub and run xfix (something like that), that probably turned off fglrx driver and used open driver instead. Of coures after that ubuntu boot up properly.
Using google i found advice to increase AGP aperture size in BIOS. I set it to 512MB and then i could boot up ubuntu even with fglrx driver, but it run slower than with open driver.
After about 5 hours of dealing with this problem I'm trying clean install of 8.04. Maybe it will help (I hope).

I forgot to add...
My graphics card: Radeon X1950Pro 512MB AGP

Cheers.

My compiz fusion desktop effects (like cube) and AWN were running smoothly under 7.10.

So I'm reluctant to play with my BIOS. when I kn ow it should work...

Now with this mesa driver the dpi onscreen is distorted (110 as opposed to 96). It's all starting to get annoying.

Surely with Dell selling Ubuntu machines there should be some info available somewhere, and SOMEONE must have tested 8.04 with an Inspiron 6400 with the MR 1400??? It's not that uncommon for a laptop (in fact a third of all people with laptops seem to have these..)

Now I'm downloading the ISO for a fresh install. I didn't want to do it as it eats up so much time - all the nice added settings and programmes are lost and i have to go through this all over again. Dunno if a fresh install will help, but I see no alternative... 63% and waiting...

I'm not impressed :(

koskos
April 26th, 2008, 02:49 AM
I tried doing a clean install of Hardy. The situation has improved in the sense that I'm using the ATI driver. 3D acceleration flickers though :evil: Really disappointed. (On a side note, I have a minor vision impairement which means I have to use larger fonts, and wiuth larger fonts the @#%^@# Firefox Beta is not compatible with this very forum. Very poor showing Ubuntu releasing a distribution that is not compatible with your own website.)

tosoth
April 26th, 2008, 10:12 AM
Well... in my situation clean install didn't change anything. So now I have: old problem + lots of things to install + some XKB configuration error after login. Great.

Burmuda
April 26th, 2008, 10:24 AM
I had problems with my ati card and a messed up xorg.conf. In the end "aticonfig" helped me. For a start try this:
Create new xorg.conf:

sudo dpkg-reconfigure xserver-xorg
Enable ATI driver in "Hardware Drivers" (or install with envyng) then

sudo ati-config -f --initial
After that read the output of aticonfig to add some more options if needed.

tosoth
April 26th, 2008, 10:54 AM
I had problems with my ati card and a messed up xorg.conf. In the end "aticonfig" helped me. For a start try this:
Create new xorg.conf:

sudo dpkg-reconfigure xserver-xorg
Enable ATI driver in "Hardware Drivers" (or install with envyng) then

sudo ati-config -f --initial
After that read the output of aticonfig to add some more options if needed.

Unfortunately it won't work. I tried it many times yesterday :(

totaldrk62
April 26th, 2008, 11:05 AM
I had problems with my ati card and a messed up xorg.conf. In the end "aticonfig" helped me. For a start try this:
Create new xorg.conf:

sudo dpkg-reconfigure xserver-xorg
Enable ATI driver in "Hardware Drivers" (or install with envyng) then

sudo ati-config -f --initial
After that read the output of aticonfig to add some more options if needed.

This worked for me. I didn't have to do the ati-config part though. I was in a regular metacity session, running the open source driver (which oddly ran Compiz on my 9600 great in 7.10 but like *** in 8.04) and went into a terminal and created a new xorg from scratch, rebooted, installed the new proprietary driver via the restricted drivers manager and rebooted to a working Compiz session with no issues. Right now I am thinking it is something left over from the old xorg but if you did a fresh install I have no answers for you.

Jellman
April 26th, 2008, 12:00 PM
Im having the same problem with integrated x1250, the xorg-driver-fglrx worked fine in 7.10 now nothing. It does seem to be a peoblem with the xorg.conf, Has anyone tryed using there working xorg.conf from there 7.10?

ziofil
April 26th, 2008, 12:31 PM
same problem here: the desktop effects work quite well, but it loads the mesa drivers instead of the fglrx, so i get about 100fps in glxgears.. :mad:
i had an update, not a clean install, and the xorg.conf should be the same as before... :confused:

ziofil
April 26th, 2008, 12:46 PM
i almost solved it (i hope it will work also for you):
i uninistalled XGL
sudo apt-get remove xerver-xgl --purge
and rebooted.
now it loads the fglrx drivers correctly and i got an improvement of 1300% on glxgears.
the windows are still flickering and firefox scrolling sucks, though.. :(

cynical_remarks
April 26th, 2008, 12:53 PM
Thanks for all the answers!

I'll try the different methods and keep you posted.

Anyone heard/ seen an official word about this?

Mike

tosoth
April 26th, 2008, 01:33 PM
I didn't see any official info, just many people having similar problems.

I gave up temporarily. I set AGP aperture size in BIOS to 512MB. Ubuntu boots up corectly, compiz works, but i have some flickering, i.e. when screensaver starts.
I'll wait for some update to fglrx driver or x-server. I hope someone will find out what the problem is.

mvandeg
April 26th, 2008, 02:30 PM
Hmm, I did not have xserver-xgl installed at all, but fglrx still does not load. Currently my workaround is to load it manually:

sudo insmod /lib/modules/2.6.24-16-generic/volatile/fglrx.ko
and then restart the X-server.

Jellman
April 26th, 2008, 04:09 PM
Wooohooo, ive got mine to work fine now, i installed 7.10 then installed the fglrx, and then just ran sudo update-manager -d. and now all is good, ill see how long that lasts for though...

Ill post my working xorg.conf if this helps anyone...




# 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 "ServerLayout"

# Uncomment if you have a wacom tablet
# InputDevice "stylus" "SendCoreEvents"
# InputDevice "cursor" "SendCoreEvents"
# InputDevice "eraser" "SendCoreEvents"
Identifier "Default Layout"
screen 0 "aticonfig-Screen[0]" 0 0
Inputdevice "Generic Keyboard"
Inputdevice "Configured Mouse"
Inputdevice "Synaptics Touchpad"
EndSection

Section "Files"
EndSection

Section "Module"
Load "glx"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "gb"
Option "XkbOptions" "lv3:ralt_switch"
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"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizEdgeScroll" "0"
EndSection

Section "InputDevice"
Identifier "stylus"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "stylus"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection

Section "InputDevice"
Identifier "eraser"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "eraser"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection

Section "InputDevice"
Identifier "cursor"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "cursor"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection

Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
EndSection

Section "Monitor"
Identifier "aticonfig-Monitor[0]"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection

Section "Device"
Identifier "ATI Technologies Inc ATI Default Card"
Driver "fglrx"
Busid "PCI:1:5:0"
EndSection

Section "Device"
Identifier "aticonfig-Device[0]"
Driver "fglrx"
Option "VideoOverlay" "on"
Option "OpenGLOverlay" "off"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies Inc ATI Default Card"
Monitor "Generic Monitor"
Defaultdepth 24
SubSection "Display"
Modes "1280x800"
EndSubSection
EndSection

Section "Screen"
Identifier "aticonfig-Screen[0]"
Device "aticonfig-Device[0]"
Monitor "aticonfig-Monitor[0]"
Defaultdepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

cynical_remarks
April 26th, 2008, 04:48 PM
Right, it works now for me and was dead simple.

Here is what I did.

1. Downloaded the fresh ISO from Canonical UK (really fast, between 250 and 400 kbps) and created the installer

2. installed fresh

3. enabled all the repos and checked for updates (there were none)

4. in the terminal ran the command
fglrxinfo and was informed that xorg-driver-fglrx was not installed.

5. using synaptics package mangager, i downloaded & installed the package

6. then I opened System --> Administration -- Hardware drivers, and the driver was there :) -- So I ticked the box, and was informed to restart.

7. after the restart the fglrx yields:

$ fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Mobility Radeon X1400
OpenGL version string: 2.1.7412 Release

and i had a look at the dpi as well.


$ xdpyinfo | grep -B1 dot
dimensions: 1440x900 pixels (333x212 millimeters)
resolution: 110x108 dots per inch

how can i fix this to 96 dpi, or is this supposed to be like that?

So, my case is closed :)

If anyone is interested I can post my xorg.conf.

thanks again for all your replies.

mvandeg
April 26th, 2008, 06:18 PM
I do not understand why, but something in my home directory prevented fglrx to load. After removing all dot-files and -dirs from my home directory it worked (and still works) like a charm.

cynical_remarks
April 26th, 2008, 06:37 PM
I do not understand why, but something in my home directory prevented fglrx to load. After removing all dot-files and -dirs from my home directory it worked (and still works) like a charm.

Oh well, be thankful that it works ;)

I also found a way to adjust the dpi to 96 dpi. fonts look a LOT better now.

solutions via here:
http://ubuntuforums.org/showthread.php?t=48908
and
http://ubuntuforums.org/showthread.php?t=20976

basically i added

DisplaySize 380 238 # 1440x900 96dpi
to the xorg.conf in the monitor section right before the end.

Mike

cynical_remarks
April 26th, 2008, 11:43 PM
I'm annoyed again.

everytime i reboot the machine, it looses the xorg.conf, it is somehow reset.

Its going into low graphics mode.

Why????

There must be something seriously wrong with how the xorg.conf is handled.

Anyone got an idea what to do????

jelofson
April 27th, 2008, 07:09 AM
Same thing here. After upgrade, the ati proprietary driver will not load.
Here is what I have found. There seems to be a problem with /usr/lib/dri/fglrx_dri.so

Try running


LIBGL_DEBUG=verbose fglrxinfo

I get:


libGL: XF86DRIGetClientDriverName: 8.47.3 fglrx (screen 0)
libGL: OpenDriver: trying /usr/lib/dri/fglrx_dri.so
Segmentation fault

Running an ATI 9700 mobility

xorg.conf


Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizEdgeScroll" "0"
EndSection

Section "Device"
Identifier "Configured Video Device"
Driver "fglrx"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
Defaultdepth 24
EndSection

Section "ServerLayout"
Identifier "Default Layout"
screen "Default Screen"
Inputdevice "Synaptics Touchpad"
EndSection
Section "Module"
Load "glx"
EndSection

cynical_remarks
April 27th, 2008, 08:33 AM
Cheers for this.

After rebooting X Server a dozen times, here is my output of that verbose fglrx info.


$ LIBGL_DEBUG=verbose fglrxinfo
libGL: XF86DRIGetClientDriverName: 8.47.3 fglrx (screen 0)
libGL: OpenDriver: trying /usr/lib/dri/fglrx_dri.so
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 5, (OK)
drmOpenByBusid: Searching for BusID PCI:1:0:0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 5, (OK)
drmOpenByBusid: drmOpenMinor returns 5
drmOpenByBusid: drmGetBusid reports PCI:1:0:0
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Mobility Radeon X1400
OpenGL version string: 2.1.7412 Release



And here, for reference is my xorg.conf:


# xorg.conf (X.Org 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 "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
EndSection

Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizEdgeScroll" "0"
EndSection

Section "Device"
Identifier "Configured Video Device"
Driver "fglrx"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
DisplaySize 380 238 # 1440x900 96dpi
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
Defaultdepth 24
EndSection

Section "ServerLayout"
Identifier "Default Layout"
screen "Default Screen"
Inputdevice "Synaptics Touchpad"
EndSection
Section "Module"
Load "glx"
EndSection

and the dpi info


$ xdpyinfo | grep -B1 dot
dimensions: 1440x900 pixels (381x238 millimeters)
resolution: 96x96 dots per inch


I hope this helps!

Mike

CarloMagno
April 27th, 2008, 09:55 AM
Hmm, I did not have xserver-xgl installed at all, but fglrx still does not load. Currently my workaround is to load it manually:

sudo insmod /lib/modules/2.6.24-16-generic/volatile/fglrx.ko
and then restart the X-server.

Thank you mvandeg!
I've been trying to use ati proprietary driver since my upgrade to Hardy to no avail. In the "Restricted Drivers Manager" the ati driver was marked as "Enabled" but "No in Use"??. It seems that the problem was the one you mentioned, that the module wasn't loaded, after executing your command and restarting the X-server The restricted driver manager marked the ati driver as "In use" (green light), the scrolling in firefox and nautilus is back to normal. Since I usually restart the computer only once a month this could be a good temporary solution for me, If I manage to solve the video output problems

jelofson
April 27th, 2008, 03:41 PM
Well, I am making a little progress. I reinstalled the mesa dri packages. Removed the /etc/ati folder. Then re-enabled the proprietary driver. (I think that's what I did anyway). So now, I am able to get the fglrxinfo to work, BUT I have this AMD Testing use only thing down in the bottom right of my screen. I can't get rid of it! Doing a complete reinstall of the fglrx driver now. At least I am making progress :)
I think, for a good time, I will back up all my data and rebuild this little monster. It's a dual boot with XP and I never go into xp anymore. Start nice and fresh maybe.

Even with little probs, I still love Ubuntu.


EDIT:
Used apt-get purge xorg-driver-fglrx and reinstalled it. This put back some of the necessary files in the /etc/ati folder.
Edited my xorg.conf file and Enabled composite, then enabled desktop effects under Settings->preferences->appearance
Everything is working now with the closed source driver.
I think some of this issue was due to a canceled install of the most recent fglrx driver from AMD by building my own debs.

I have to turn off compositing when playing games like nexuiz, but that's ok, I don't play that often.

Happy now.

Dominicano731
May 2nd, 2008, 11:53 PM
I Just wanted to confirm that it seems this line alone worked for me:

sudo apt-get remove xserver-xgl --purge

It seems I had xgl installed and created a conflict.

Not that I think this had any effect, but before running that command, I went into System -> Admin -> Hardware Drivers and unchecked ATI Restricted Driver. I then removed xserver-xgl with the code above, and rechecked my ATI proprietary driver.

My system works as good as before now.