LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   ATI driver with kernel 2.6.29.1 (https://www.linuxquestions.org/questions/slackware-14/ati-driver-with-kernel-2-6-29-1-a-719899/)

Viper_Scull 04-17-2009 12:50 PM

ATI driver with kernel 2.6.29.1
 
Hi, 2 weeks ago I had ATI driver (9.2) running for my integrated graphics card (ATI HD3200 on Gigabyte 78GPM-DS2H). Kernel was 2.6.28.8

About 5 days ago, the HDD was completely damaged. So I installed current version of Slack in a new one. That time I couldn't install the same driver, I think it errored out something about functions not declared (probably new functions added to the new kernel).

żDoes anyone have ATI driver runnning on kernel 2.6.29.1?
If it's not possible to do it, what can I do to have 3D acceleration?

Open driver would be ok? Any guide to compile it (I never did, don't even know what I have to get)??

Anything would be appreciated, cause I want to use this kernel and I need 3D acc, so I'm stuck.

Thanks. Viper.

hemp4fuel 04-17-2009 03:16 PM

You should be able to use the radeonhd module that should be included with your kernel, I don't think the fglrx drivers will work with the newer kernels.

BrZ 04-17-2009 10:35 PM

Quote:

Originally Posted by Viper_Scull (Post 3512453)
żDoes anyone have ATI driver runnning on kernel 2.6.29.1?
If it's not possible to do it, what can I do to have 3D acceleration?
Thanks. Viper.

Some people had successfully patched version 9.3 to compile on .29. By design they don't. Research about what chipsets/cards will be dropped on 9.4. If your card is maintained just wait for the next release.

You should not have problems building 9.3 on .28...

tpreitzel 04-18-2009 12:27 AM

Quote:

Originally Posted by BrZ (Post 3512849)
Some people had successfully patched version 9.3 to compile on .29. By design they don't. Research about what chipsets/cards will be dropped on 9.4. If your card is maintained just wait for the next release.

You should not have problems building 9.3 on .28...

ATI really needs to release an updated 9.3 driver which is patched for 2.6.29 kernels as it'll be at least 6 months before distributions are fully compliant with the newer open source drivers. Many, many owners of older ATI cards deserve to have their cards working with the fglrx driver until the open source drivers are fully capable to assume fglrx's role.

I've managed to patch the 9.3 driver itself, but it still doesn't compile because of changes in the include files of the 2.6.29 source code. Hopefully, someone competent enough to patch Catalyst 9.3 will step up to the plate and patch it for the 2.6.29 series kernels used in Slackware and
derivatives.


Code:

kernel includes at /lib/modules/2.6.29.1/build/include do not match current kernel.
they are versioned as ""
instead of "2.6.29.1".
you might need to adjust your symlinks:
- /usr/include
- /usr/src/linux


BrZ 04-18-2009 09:46 AM

Quote:

Originally Posted by tpreitzel (Post 3512889)
Many, many owners of older ATI cards deserve to have their cards working with the fglrx driver until the open source drivers are fully capable to assume fglrx's role.
[/code]

Yep. I'm out of the game on 9.4 (Xpress1100) and can't migrate to radeon for personal settings... I ca't wait to try the future Gallium.

tpreitzel, one thing happened to me after I failed to patch 9.3: when downgraded the kernel to 2.6.28.9 and make the new module, it only can be built by the installer. Unpacking the .run archive and building by hand only gave me errors.

hemp4fuel 04-18-2009 10:41 AM

They released the 9.4 drivers and still no love with 2.6.29.1. 9.4 will install with 2.6.28.8. I can't believe they put out drivers now that still won't work with the latest kernel. I have defended Ati recently as I haven't had many problems but I am beginning to understand the frustration many people have towards them.

BrZ 04-18-2009 12:05 PM

Quote:

Originally Posted by BrZ (Post 3512849)
"If your card is maintained just wait for the next release..."

Hehehe...

business_kid 04-18-2009 01:05 PM

The Radeonhd route
 
I had a fglrx driver blow up on me and hose some of the system. I got out of it by

1. Converting to radeonhd in the xorg.conf
2. Reinstall (Removepkg, then installpkg) libGL stuff, and Mesa because these proprietary drivers overwrite files like libGL.so.
3. Reinstall xfce4 because xfce4-session was crapping out with no real error: "I'm booting up, I'm booting up, I'm closing down" and the only program mentioned was xfce4-session. I'm on dri at 77 fps (stop laughing) with a ATI RS690M = radeon 1200 series

That got me going. HTH.

tpreitzel 04-18-2009 03:37 PM

First, disregard my comments about the source includes as I had OUTDATED kernel-headers from 2.6.27.7 instead of 2.6.29.1 as I SHOULD have had, because slackpkg has NOT been updating and installing packages correctly for some unknown reason. I'll have to investigate slackpkg later.

I had to blacklist libdrm in /etc/slackpkg to prevent slackpkg from installing the old libdrm-2.3.0* package. Download the source code for libdrm-2.4.9 and compile it with ./configure --prefix=/usr and then make install. Once the new libdrm package is installed, extract the ati-installer* for 9.3 with the --extract option. Once the ati package for Catalyst 9.3 has been extracted, then patch it with the patch found here:

http://liquorix.net/patches/

Copy the patch to the extracted ati directory and type, patch -p1 < FGLRX-2.6.29-9.2-5.diff

The patch should work ok. Once patched, then type the following command from the extracted ati directory,

./ati-installer.sh 8.593 --install

which should start and complete the installation

Afterward, fglrx should load properly and have 3D operational. HOWEVER, DRI has problems with this patch for fglrx and libdrm-2.4.9. I haven't tried other versions of libdrm. The kernel emits the following errors repeatedly and problems DO show up on screen under certain conditions:

Code:

[fglrx:firegl_find_any_map] *ERROR* Invalid map handle!<3>[fglrx:drm_vm_open] *ERROR* map not found -> inconsistent kernel data!!! vma_start:0x7f129e315000,handle:0xe143c000
My comment about ATI needing to patch Catalyst 9.3 for newer kernels until Gallium is in place still stands. Likely, ATI will need to patch fglrx 8.593 for 2.6.30.x series as well as 2.6.29.x

Good luck. HTH

petslack 04-30-2009 02:41 PM

Just to let you guys aware about...this procedure just worked fine for me, patching the ati-driver.

Using Slackware Current - kernel 2.6.29.1-smp (re-compiled) - ATI Radeon Xpress 200 and ati-driver-9.3.

So for a while we have this savior little patch to ATI driver as well, 'cause I think our waiting for a real good ATI driver will be so long...It's such a pity... ...for ATI of course!!!

Tks for helping tpreitzel!!!

amani 05-23-2009 10:55 AM

Quote:

Originally Posted by business_kid (Post 3513365)
I had a fglrx driver blow up on me and hose some of the system. I got out of it by

1. Converting to radeonhd in the xorg.conf
2. Reinstall (Removepkg, then installpkg) libGL stuff, and Mesa because these proprietary drivers overwrite files like libGL.so.
3. Reinstall xfce4 because xfce4-session was crapping out with no real error: "I'm booting up, I'm booting up, I'm closing down" and the only program mentioned was xfce4-session. I'm on dri at 77 fps (stop laughing) with a ATI RS690M = radeon 1200 series

That got me going. HTH.


You should use radeon. It is the better driver and especially for all radeon 1xxx

skuzye 05-27-2009 08:16 AM

Quote:

Originally Posted by amani (Post 3550343)
You should use radeon. It is the better driver and especially for all radeon 1xxx

How is the 3D going with radeon? I remember that fglrx was superior some time ago...

Skuzye

business_kid 05-28-2009 02:52 AM

Quote:

Originally Posted by skuzye (Post 3554323)
How is the 3D going with radeon? I remember that fglrx was superior some time ago...

Skuzye

I think received wisdom is that fglrx outperforms radeonhd. You can just get on to X.org and update radeonhd any time it's upgraded. A lot of people (including me) are seriously scared of the fglrx install script, which has to be run as root


All times are GMT -5. The time now is 09:18 PM.