LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 07-22-2006, 05:45 PM   #1
deftone`
Member
 
Registered: Dec 2005
Location: Sofia, Bulgaria
Distribution: Arch
Posts: 40

Rep: Reputation: 15
Question fglrx ATI driver 3D-acceleration doesn't work anymore


Hello, guys.
I enabled 3d acceleration and everything seemed fine (fglrxinfo, glxgears looked well). Today I updated with slapt-get to slackware-current (may be that's related to my problem). Later today I noticed I don't have 3D acceleration in X, I ran glxgears and it gave only about 200 FPS. fglrxinfo claims the following:
Code:
display: :0.0  screen: 0
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.2.1)
Before, it would detetect my Radeon 9200 just fine.
The strange thing is I can't really find something wrong in the xorg.0.log file, it seems fine.
Here's an extract from it that makes me think everything should be working perfectly:
Code:
(--) Chipset RADEON 9250/9200 Series (RV280 5961) found
...
(II) fglrx(0): AGP card detected
(WW) fglrx(0): board is an unknown third party board, chipset is supported
...
(**) fglrx(0): NoAccel = NO
(**) fglrx(0): NoDRI = NO
(II) fglrx(0): Acceleration enabled
(II) fglrx(0): X context handle = 0x00000001
(II) fglrx(0): [DRI] installation complete
(II) fglrx(0): Direct rendering enabled
(==) fglrx(0): Using hardware cursor
(II) fglrx(0): Largest offscreen area available: 1024 x 513
(II) Loading extension FGLRXEXTENSION
(II) Loading extension ATITVOUT
(II) fglrx(0): Interrupt handler installed at IRQ 11.
(II) fglrx(0): Exposed events to the /proc interface
(==) RandR enabled
glxinfo says that Direct Rendering is not enabled...
Quite confusing to me.
Here you could see the full Xorg.0.log file as well as the full output of glxinfo.
Anybody got any ideas ?
I'd appreciate it
 
Old 07-22-2006, 06:01 PM   #2
Old_Fogie
Senior Member
 
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,515

Rep: Reputation: 62
upgrading to slack current changes xorg version's on you, so yeah it would break your current install of the ati drivers.

edit/add: you should be able to just reinstall them and be fine.
 
Old 07-22-2006, 06:19 PM   #3
deftone`
Member
 
Registered: Dec 2005
Location: Sofia, Bulgaria
Distribution: Arch
Posts: 40

Original Poster
Rep: Reputation: 15
Heh, I really forgot to mention that when I upgraded to slackware-current, it did change the X version, but then X wouldn't even start, because the fglrx module couldn't be loaded.
I then removed the new X packages, and installed the original from Slackware-10.2, so I guess that's not the problem... However, I'll try reinstalling the driver, I was hoping to avoid that, because I have to download the kernel source and go through the installation again, and it's not like the module wouldn't load, or X wouldn't find the drivers, so I thought the driver installation is healthy, but I'll reinstall it..
Anyway, if anybody has ideas...?

Last edited by deftone`; 07-22-2006 at 06:21 PM.
 
Old 07-22-2006, 07:07 PM   #4
deftone`
Member
 
Registered: Dec 2005
Location: Sofia, Bulgaria
Distribution: Arch
Posts: 40

Original Poster
Rep: Reputation: 15
Yep, reinstalled the whole thing again. There were some problems which I fixed.
At the moment I get ~2000 fps in glxgears again
Problem solved
 
Old 07-22-2006, 07:26 PM   #5
Old_Fogie
Senior Member
 
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,515

Rep: Reputation: 62
glad to hear you got it working.

also I just want to verify with you please.

you say you ARE using ATI proprietary drivers correct?

which versions of ATI driver are you using for that card. another person here on the forums reported problems with DRI on that card.

thanks.
 
Old 07-22-2006, 08:38 PM   #6
shepper
Member
 
Registered: Mar 2003
Location: Dry, Dusty and Conservative
Distribution: OpenBSD, Debian Wheezy/Jessie
Posts: 449

Rep: Reputation: 33
If you are still using the 2.4 kernel series your problem my be in the July 14 changelog

Quote:
kernels/huge26.s/*: Upgraded huge26.s kernel to 2.6.16.24.
The name of the big kernel with many built-in options has been changed from
test26.s to huge26.s to reflect that Slackware 11.0 will consider the
2.6.16.x kernel series to be a supported kernel series. However, I'm
probably going to leave the bare.i 2.4.32 kernel as the default kernel (or
perhaps sata.i?) as it has very good performance and probably better security
due to the simpler and longer-tested design. I might apply or at least make
available in the kernel-source package for 2.4.32 a patch to fix direct
rendering with 2.4.x kernels and X.Org 6.9.0 or newer. Since anyone using
Slackware for server use isn't likely to be loading the DRI modules, it's
untouched code on those machines and won't affect server stability (well,
depending on what, if anything, outside of the module is changed in the
kernel). It is probably a safe enough patch to apply. I'd rather ship 100%
vanilla kernels (and might, with the patch "on the side"), but DRI does not
work without the patch past X.Org 6.8.2. Is this enough text here?
 
Old 07-23-2006, 04:35 AM   #7
deftone`
Member
 
Registered: Dec 2005
Location: Sofia, Bulgaria
Distribution: Arch
Posts: 40

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Old_Fogie
glad to hear you got it working.

also I just want to verify with you please.

you say you ARE using ATI proprietary drivers correct?

which versions of ATI driver are you using for that card. another person here on the forums reported problems with DRI on that card.

thanks.
I'm using 8.26.18 version (the latest from ATI's site).
PS: my kernel is 2.6.14.6
 
Old 07-23-2006, 04:02 PM   #8
bgbranko
LQ Newbie
 
Registered: Apr 2006
Distribution: Arch Linux
Posts: 23

Rep: Reputation: 15
Was about to post this topic myself.

Quote:
There were some problems which I fixed.
So what were your problems and how did you fix them? Tell me pleeez! I haven't been able to play Tremulous for weeks now, and I'm really pissed.

My problem with the drivers was (at first) that the module won't get inserted. I rmmod radeon and drm modules and make_install.sh works just fine. But then the X wouldn't start because ATI driver seems to require Xorg 6.8.0 whereas my X version is 6.9.0. Is there a workaround for this that any of you know of?
 
Old 07-24-2006, 02:42 AM   #9
deftone`
Member
 
Registered: Dec 2005
Location: Sofia, Bulgaria
Distribution: Arch
Posts: 40

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by bgbranko
But then the X wouldn't start because ATI driver seems to require Xorg 6.8.0 whereas my X version is 6.9.0. Is there a workaround for this that any of you know of?
The "workaround" was to downgrade to 6.8.0 and then reinstall the ATI drivers
 
Old 07-24-2006, 08:17 AM   #10
shepper
Member
 
Registered: Mar 2003
Location: Dry, Dusty and Conservative
Distribution: OpenBSD, Debian Wheezy/Jessie
Posts: 449

Rep: Reputation: 33
I have 1300 frames per second with Xorg 6.9 (Slackware current) using the native radeon driver. My "workaround" was to apply the latest pre-patch to the 2.4.32 kernel and then to compile and boot from a patched kernel

http://www.kernel.org/

Last edited by shepper; 07-24-2006 at 08:18 AM.
 
Old 07-24-2006, 08:32 AM   #11
bgbranko
LQ Newbie
 
Registered: Apr 2006
Distribution: Arch Linux
Posts: 23

Rep: Reputation: 15
Quote:
Originally Posted by shepper
I have 1300 frames per second with Xorg 6.9 (Slackware current) using the native radeon driver. My "workaround" was to apply the latest pre-patch to the 2.4.32 kernel and then to compile and boot from a patched kernel

http://www.kernel.org/
Wow, that sounds excellent. I use 2.6.16.22 kernel, tho. I'll see if I can find a pre-patch or whatever. BTW, I'm getting lazy a bit in this heat... could you point me to a good kernel compiling guide... Pleeez! :-)

I kind of fancy the idea of using the native drivers. Those require Messa for accel, right?

EDIT:

BTW, would you please tell me your specs? I can never push beyond 650 fps with fgl_glxgears on my machine. It's an Athlon XP 2500+ (w/512MB of RAM) using ATI Radeon 9600XT (128MB), running Slackware-current.

Last edited by bgbranko; 07-24-2006 at 08:36 AM.
 
Old 07-24-2006, 08:53 AM   #12
bgbranko
LQ Newbie
 
Registered: Apr 2006
Distribution: Arch Linux
Posts: 23

Rep: Reputation: 15
Oh, I see there's a new kernel available for Slackware-current. What else would I need for open source 3D accel? Or installing a kernel is just fine?
 
Old 07-24-2006, 10:03 AM   #13
cathectic
Member
 
Registered: Sep 2004
Location: UK, Europe
Distribution: Slackware64
Posts: 761

Rep: Reputation: 34
For open source acceleration on a 9600 (R300 series), you would need to switch to X.Org 7 and the latest version of Mesa. Since these do not come with Slackware (Slackware still uses X.Org 6.9 and an old version of Mesa built into it) you would likely need to compile it yourself, which is no small feat.
 
Old 07-24-2006, 06:31 PM   #14
shepper
Member
 
Registered: Mar 2003
Location: Dry, Dusty and Conservative
Distribution: OpenBSD, Debian Wheezy/Jessie
Posts: 449

Rep: Reputation: 33
I think some points in this thread could be getting confusing for a newbie. I am hoping to clarify some issues

1) Slackware 10.2 should have native ati drivers for ati radeon cards upto 9250 with either
the 2.4 or 2.6 kernel series that provide 3D acelleration

2) In Slackware current from the date of this post using xorg 6.9 there is native support
for ait radeon cards upto 9600pro. Unfortunately the vanilla 2.4.32 kernel that ships
with Slackware current is broken for dri kernel support. So for those running slackware
current there are 2 options:
Option a) Patch the 2.4.32 kernel to 2.4.32rc2, recompile and boot from the new kernel
Option b) Use the 2.6 kernel.
http://dri.freedesktop.org/wiki/ATIR...tegoryHardware

3) Xorg is actually upto 7.1 at this time. There is no code difference between xorg 6.9
and xorg 7.0. Xorg 6.9 is monolithic and Xorg 7.0 is modular.
From the Jan 14, 2006 changelog.


Quote:
x/x11-docs-html-6.9.0-noarch-1.tgz: Upgraded to X11R6.9.0.
For those who may not be aware, this is is the exact same code base as
X11R7.0.0, but is packaged as the traditional single source archive using
the imake build system. Also, note that this still rightly (IMHO) contains
freetype-2.1.9. The newer release of freetype (2.1.10) removed some functions
that various applications use -- I'm hoping that these will be restored.
Finally, the kernel interface for direct rendering (DRI) seems to have changed,
and direct rendering with X11R6.9.0 only works on my machines with a 2.6
kernel. I spent several days trying to produce working DRM kernel modules
for Linux 2.4.32, but to no avail, so if you're still using a 2.4 kernel
you'll want to edit your xorg.conf so that the dri module is not loaded
or you'll likely corrupt your display requiring a reboot. I've tested this
only with ATI cards and the open source drivers. Perhaps the binary drivers
from ATI or nVidia would work.
4) If your card is newer than an 9600pro I believe your only option is the
ati propriatory driver.
Note that if you are running slackware current you will still need a patched 2.4 kernel
or to use a 2.6 kernel. I am not sure if the ati propriatary drivers work with xorg 6.9

5) None of this applies to nvidia cards. They do not use kernel dri but on the other hand
Nvidia does not supply 3d drivers to the Xorg developers.
 
Old 07-24-2006, 09:36 PM   #15
Old_Fogie
Senior Member
 
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,515

Rep: Reputation: 62
just to add my experience with slackware 10.2 - standard (i dont do current it scares me)

radeon 9600xt ATI built by ATI using the June 2006 - ATI proprietary drivers,

I can get DRI with slackware 10.2 default 2.4.31-ide-generic and the 2.6.13-ide-geneneric-testing kernel.

There is no longer any need to recompile slackware's kernels to get them to work with ATI drivers. In fact, ATI claim's that headers are no longer needed. Be that as it may, I have not verified this claim in slackware, although that is true in SUSE.

the only thing that has do be done to slackware, over and above installing slackware, and over and above installing the drivers, is that this has to be added is this to /etc/fstab (and then mounting it before you run install) BEFORE you install said ATI drivers:

Quote:
tmpfs /dev/shm defaults 0 0
I recommend if you're a new to slackware, just do the "full" "noobie" install with the above.

So it goes like this:

1. full noob install slackware 10.2 with 2.4.31 kernel, or the 2.6.13 testing kernel.

remember if you use the 2.6.13 kernel don't install the headers unless you read pat's warning there about the headers.

2. as root edit /etc/fstab and add the following:
Quote:
tmpfs /dev/shm defaults 0 0
Note: be sure to hit the enter key after the last zero in that line or linux yells at you every time you boot up.

2-A. as root confirm that in /etc/group that your "users" log-in names are actually listed next to the line
Quote:
users::100:
you can do this in kde...settings...user manager or in console with
Quote:
pico /etc/group
3. as root
Quote:
mount -a
this mount's our newly created "shm"

4. download the "ATI Proprietary Linux x86 Display Drivers for XFREE86 / X. Org Version 8.26.18" from ATI's website.

5. backup your current xorg.conf file as root
Quote:
cp /etc/X11/xorg.conf /etc/X11/xorg.conf-my-master-backup
6. As root,
Quote:
rpm2tgz download-file.rpm
7. As root,
Quote:
installpkg download-file.tgz
8. As root,
Quote:
cd /lib/modules/fglrx/build_mod
9. As root,
Quote:
sh ./make.sh
10. As root,
Quote:
cd /lib/modules/fglrx
11. As root,
Quote:
sh ./make_install.sh
12. As root,
Quote:
aticonfig --initial -f
13. As root,
Quote:
pico /etc/X11/xorg.conf
now keep hitting page down key and be sure to remove the # signs so that these three lines look like this:

Quote:
Section "DRI"
Mode 0666
EndSection
note: we do this as ATI's "aticofig --initial -f" comments out these lines, and your normal users are therefore not allowed to get DRI due to improper permissions.

14. once you un-comment those lines, hit "control key and the letter O" key to save, then "control key and the letter x" to exit the pico program.

15. now just hit "control + alt + backspace" if your in KDE, or fluxbox to kill the x-server. if your in run-level four,you'll come back to the log on screen. or if your in run level three you just stay and the command prompt, so if that's the case you just type start-x.

16. If your KDE crashes on log-on / log-off then you should consider:


Quote:
edit this file : /opt/kde/share/config/kdm/kdmrc.
you have to add following to the section [X-:*-Core]
TerminateServer=true
 
  


Reply

Tags
ati, dri, driver, fglrx, radeon, rendering, xorg


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ATI fglrx Driver RavenFrost Slackware 1 04-11-2006 07:46 AM
fglrx-driver vs ATI kernel driver for ATI Radeon 9200 in Debian Debian_Poland Debian 3 02-01-2006 01:10 PM
ATI fglrx driver trouble Alexey Andriyanov Linux - Hardware 4 08-17-2005 01:35 AM
ati fglrx 8.10.19 driver help please micker Linux - Software 7 03-13-2005 08:44 PM
ATI fglrx 3.7.6 don't work under XFree86 4.4 sharpie Slackware 2 05-24-2004 09:17 PM


All times are GMT -5. The time now is 07:57 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration