LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Closed Thread
 
Search this Thread
Old 06-23-2007, 11:56 PM   #526
Franklin
Senior Member
 
Registered: Oct 2002
Distribution: Slackware, WinXP, Windows 7
Posts: 1,253

Rep: Reputation: 55

I've been sticking with 11.0 on my Dell E1505 due to the ATI drivers not liking the version of Xorg in -current. I need the ATI driver to get 1440x900 on the ATI X1400 vid card.

I had not been using my desktop for some time, so today I set it up again to play in -current and to check on the status of things. After applying the latest updates, I attempted to compile the ATI driver with version 8.37.6 and kernel 2.6.21.5. All seemed to be going well (the earlier problem is now resolved), but I receive the following new error:
Code:
drwxr-xr-x 237 root root 45368 2007-06-12 01:46 /usr/include
.
total 1
drwxr-xr-x  2 root root  88 2007-06-23 22:10 ati
lrwxrwxrwx  1 root root  14 2007-06-23 19:26 linux -> linux-2.6.21.5
drwxr-xr-x 19 root root 760 2007-06-19 15:48 linux-2.6.21.5
drwxr-xr-x  7 root root 168 2003-10-29 01:08 rpm
.
Error:
kernel includes at /lib/modules/2.6.21.5/build/include do not match current kernel.
they are versioned as ""
instead of "2.6.21.5".
you might need to adjust your symlinks:
- /usr/include
- /usr/src/linux
After reading this, I thought I recalled this, or something similar, being pointed out in the changelog and went to find it. I did not find what I thought I was looking for, but did see this:
Quote:
k/kernel-source-2.6.21.5_smp-noarch-2.tgz
Rebuilt the Linux 2.6.21.5 SMP kernel source, removing the
CONFIG_HEADERS_CHECK option. Thanks to Cardoe in #hal for cluing us in
that there were some problems with trying to use the headers found in
/usr/src/linux/usr/include as the userspace headers under /usr/include,
such as a missing "#define SG_FLAG_LUN_INHIBIT 2" in scsi/sg.h.

So, this seems as though it might be involved in my current situation (no pun intended). My question is:

Is this a reasonable assumption or am I totally off the mark here?
Can anyone suggest a fix?

I have checked the symlinks in /lib/modules/2.6.21.5 and they seem to be pointing where they should be.

By the way, I thought I remembered something different being noted - I thought in the changelog - that actually stated that people compiling the ATI drivers and a few other things may be effected and I thought mentioned a work arround. I can't seem to find this any longer - if it existed at all.

Thanks in advance.
 
Old 06-25-2007, 06:05 PM   #527
Franklin
Senior Member
 
Registered: Oct 2002
Distribution: Slackware, WinXP, Windows 7
Posts: 1,253

Rep: Reputation: 55
By using the custom .config file from 2.6.19.2 that I use to boot Slackware-11 on the same machine (an install that does successfully build the ATI drivers), I was able to rebuild the 2.6.21.5 kernel and the ATI drivers ver 8.37.6 now build and install without errors.

I still have no idea why the installer had a problem with the symlinks.

Oh well.
Code:
steve@sun:~$ uname -a
Linux sun 2.6.21.5 #1 SMP Mon Jun 25 16:15:02 EDT 2007
steve@sun:~$ fglrxinfo
display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Radeon 9550 / X1050 Series
OpenGL version string: 2.0.6473 (8.37.6)

steve@sun:~$

Last edited by Franklin; 06-25-2007 at 06:07 PM.
 
Old 06-25-2007, 06:28 PM   #528
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Original Poster
Rep: Reputation: 66
For some reason, SMP and ATI don't yabber to each other correctly, I think...Seems to almost be a recurring theme...
 
Old 06-25-2007, 06:53 PM   #529
Franklin
Senior Member
 
Registered: Oct 2002
Distribution: Slackware, WinXP, Windows 7
Posts: 1,253

Rep: Reputation: 55
I was guessing as much. My custom kernel's modules file does not get labled with the -smp suffix. After installing the upgrade to -current I was left with two sets of kernel modules "2.6.21.5" and "2.6.21.5-smp". I wondered if the ATI installer was looking at the non-smp module file even though I was running the smp kernel and getting confused.

I guess I have my answer now.
 
Old 06-25-2007, 09:48 PM   #530
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Original Poster
Rep: Reputation: 66
That would just about jibe with the error you were getting.

Next kernel compile, give it a shot, and let us know
 
Old 07-07-2007, 08:54 PM   #531
deadams
LQ Newbie
 
Registered: Jul 2007
Posts: 1

Rep: Reputation: 0
ATI 8500 Radeon

Okay,

I will start out saying I'm a total newbie, but trying to learn. I'm currently trying to get my ATI 8500 Radeon to work in version 12.0. I at least got the driver to load in Slackware 11.0, but not on 12.0

Here is the error I'm getting:

ATI Technologies Linux Driver Installer/Packager
==================================================
Detected configuration:
Architecture: i686 (32-bit)
X Server: Xorg 1.3.0

Detected version of X does not have a matching 'x130' directory
You may override the detected version using the following syntax:
X_VERSION=<xdir> ./ati-driver-installer-<ver>-<arch>.run [--install]

The following values may be used for <xdir>:
x430 XFree86 4.3.x
x430_64a XFree86 4.3.x 64-bit
x680 X.Org 6.8.x
x680_64a X.Org 6.8.x 64-bit
x690 X.Org 6.9.x
x690_64a X.Org 6.9.x 64-bit
x700 X.Org 7.0.x
x700_64a X.Org 7.0.x 64-bit
x710 Unknown X Window
x710_64a Unknown X Window
Removing temporary directory: fglrx-install

I tried doing what it is saying but it doesn't work.

Any ideas would be most appreciated.

Thank you,

Dennis
 
Old 07-20-2007, 06:18 AM   #532
Lockywolf
Member
 
Registered: Jul 2007
Posts: 70

Rep: Reputation: 15
How to get DRI with Intel 965GM ?

intellinuxgraphics.org says that i need xorg driver, drm kernel module and mesa.

it looks like 12.0 has fresh xorg driver, fresh mesa.

so i only need drm kernel module. is it right?

so i download drm source from git

then
Code:
cd linux-core
make
the compiling process starts but stops in some time and prints an error

Code:
/root/Intel/drm/linux-core/i915_irq.c: In function 'i915_vblank_tasklet':
/root/Intel/drm/linux-core/i915_irq.c:134: error: 'l' undeclared (first use in this function)
/root/Intel/drm/linux-core/i915_irq.c:134: error: (Each undeclared identifier is reported only once
/root/Intel/drm/linux-core/i915_irq.c:134: error: for each function it appears in.)
/root/Intel/drm/linux-core/i915_irq.c: In function 'i915_user_irq_on':
/root/Intel/drm/linux-core/i915_irq.c:376: error: 'l' undeclared (first use in this function)
/root/Intel/drm/linux-core/i915_irq.c: In function 'i915_user_irq_off':
/root/Intel/drm/linux-core/i915_irq.c:387: error: 'l' undeclared (first use in this function)
/root/Intel/drm/linux-core/i915_irq.c: In function 'i915_vblank_swap':
/root/Intel/drm/linux-core/i915_irq.c:628: warning: implicit declaration of function 'spin_lock_irqflags'
/root/Intel/drm/linux-core/i915_irq.c:628: error: '_flags' undeclared (first use in this function)
/root/Intel/drm/linux-core/i915_irq.c:633: error: 'l' undeclared (first use in this function)
/root/Intel/drm/linux-core/i915_irq.c:574: warning: unused variable 'irqflags'
make[2]: *** [/root/Intel/drm/linux-core/i915_irq.o] Error 1
make[1]: *** [_module_/root/Intel/drm/linux-core] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.21.5'
make: *** [modules] Error 2
What did i do wrong?
 
Old 07-22-2007, 10:51 AM   #533
Eternal_Newbie
Member
 
Registered: Jun 2005
Location: The Pudding Isles
Distribution: Slackware 13.37
Posts: 573

Rep: Reputation: 59
Quote:
Originally Posted by Lockywolf
How to get DRI with Intel 965GM ?

intellinuxgraphics.org says that i need xorg driver, drm kernel module and mesa.

it looks like 12.0 has fresh xorg driver, fresh mesa.

so i only need drm kernel module. is it right?
As far as I can tell, Slackware 12.0 already has the i915 kernel module (maybe not the latest)
Code:
bash-3.1$ slocate i915
/usr/lib/xorg/modules/dri/i915_dri.so
/usr/lib/xorg/modules/dri/i915tex_dri.so
/usr/src/linux-2.6.21.5/drivers/char/drm/i915_drv.h
/usr/src/linux-2.6.21.5/drivers/char/drm/i915_drv.c
/usr/src/linux-2.6.21.5/drivers/char/drm/i915_irq.c
/usr/src/linux-2.6.21.5/drivers/char/drm/i915_mem.c
/usr/src/linux-2.6.21.5/drivers/char/drm/i915_ioc32.c
/usr/src/linux-2.6.21.5/drivers/char/drm/i915_drm.h
/usr/src/linux-2.6.21.5/drivers/char/drm/i915_dma.c
/usr/src/linux-2.6.21.5/include/config/drm/i915.h
/usr/include/drm/i915_drm.h
/lib/modules/2.6.21.5-smp/kernel/drivers/char/drm/i915.ko
/lib/modules/2.6.21.5/kernel/drivers/char/drm/i915.ko
bash-3.1$
So you should just need to follow the instructions in the first post to get dri working.

EDIT: RE ATI 8500 Radeon
deadams, there are several posts fglrx and Slackware -current in the last couple of pages of the thread. They will be of help for 12.0 as well. I'm afraid I can't help as I haven't tried fglrx under Slackware 12.0 yet. The xorg driver is adequate for my Radeon 9600, I'm not even sure if the latest fglrx will work with a Radeon 8500.

Last edited by Eternal_Newbie; 07-22-2007 at 11:03 AM.
 
Old 07-23-2007, 03:13 AM   #534
Lockywolf
Member
 
Registered: Jul 2007
Posts: 70

Rep: Reputation: 15
Quote:
As far as I can tell, Slackware 12.0 already has the i915 kernel module (maybe not the latest)
Slackware kernel doesn't support 965GM

finally i got DRI working

i had to update the kernel to 2.6.22.1

update libdrm from cvs

and update Mesa to 7.0

works just fine. openarena 0.7 works perfectly
 
Old 07-23-2007, 04:26 AM   #535
iiv
Member
 
Registered: Jun 2007
Location: Russia, Moscow Region
Distribution: Slackware
Posts: 167

Rep: Reputation: 30
Quote:
EDIT: RE ATI 8500 Radeon
deadams, there are several posts fglrx and Slackware -current in the last couple of pages of the thread. They will be of help for 12.0 as well. I'm afraid I can't help as I haven't tried fglrx under Slackware 12.0 yet. The xorg driver is adequate for my Radeon 9600, I'm not even sure if the latest fglrx will work with a Radeon 8500.
How did you manage to get xorg driver working with DRI? Did you have this issue on it: http://www.linuxquestions.org/questi...d.php?t=571343
I've got ATI Technologies Inc RV350 [Mobility Radeon 9600 M10] card, and can't get dri working because of strange driver path on my system, i can't understand which of them is wrong, and why it is so.
 
Old 07-23-2007, 07:57 AM   #536
Eternal_Newbie
Member
 
Registered: Jun 2005
Location: The Pudding Isles
Distribution: Slackware 13.37
Posts: 573

Rep: Reputation: 59
Code:
andrew@foobar:~$ slocate r300_dri.so
/usr/lib/xorg/modules/dri/r300_dri.so
My driver is in the same place and DRI works OK, not perfectly, but well enough to run W:ET, NWN and Eternal Lands.

Code:
andrew@foobar:~$ glxinfo | grep direct
libGL warning: 3D driver claims to not support visual 0x4b
direct rendering: Yes
I just added

Code:
Section "DRI"
    Mode     0666
EndSection
to the end of my xorg.conf
and
Code:
    Load       "dri"
to 'Section "Module"' in the xorg.conf and it works mostly, I still need to tune the driver settings.

I'm afraid I have no idea why your installation has problems. Have you tried the alternate ati drivers in /extra?
 
Old 07-23-2007, 09:00 AM   #537
pete_bogg
Member
 
Registered: Aug 2003
Location: Kentucky
Distribution: Ubuntu 9.10
Posts: 153

Rep: Reputation: 30
I did a clean install of Slackware 12, and am using the default ATI driver for my Radeon 9600Pro. I am getting glxgear rates above 2000 fps, however, I noticed that the 3D rendering is being done by Mesa (software) instead of by the video card. I verified that the Radeon driver and agp support is loaded by doing a lsmod.

I have noticed that the GL screensavers are very choppy for both root and users, and that I am getting very poor performance in Enemy Territory. Video playback seems to be OK.

Do I need to install the actual ATI fglrx driver to get 3D hardware rendering?

Bob
 
Old 07-23-2007, 01:56 PM   #538
the3dfxdude
Member
 
Registered: May 2007
Posts: 332

Rep: Reputation: 100Reputation: 100
Quote:
Originally Posted by deadams
Okay,

I will start out saying I'm a total newbie, but trying to learn. I'm currently trying to get my ATI 8500 Radeon to work in version 12.0. I at least got the driver to load in Slackware 11.0, but not on 12.0

Here is the error I'm getting:

ATI Technologies Linux Driver Installer/Packager
Don't use fglrx for a Radeon 8500! Use the built in X.org/DRI driver that comes with SW12.

In xorg.conf, make sure in Section "Module" it says:

Load "dri"


This also is okay to have:

Section "DRI"
Mode 0666
EndSection
 
Old 07-23-2007, 01:59 PM   #539
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Original Poster
Rep: Reputation: 66
Quote:
Originally Posted by the3dfxdude
Don't use fglrx for a Radeon 8500! Use the built in X.org/DRI driver that comes with SW12.

In xorg.conf, make sure in Section "Module" it says:

Load "dri"


This also is okay to have:

Section "DRI"
Mode 0666
EndSection
Not only OK, but needed if you want users other than root to have dri enabled.
 
Old 07-23-2007, 03:33 PM   #540
Eternal_Newbie
Member
 
Registered: Jun 2005
Location: The Pudding Isles
Distribution: Slackware 13.37
Posts: 573

Rep: Reputation: 59
Quote:
Originally Posted by pete_bogg
I did a clean install of Slackware 12, and am using the default ATI driver for my Radeon 9600Pro. I am getting glxgear rates above 2000 fps, however, I noticed that the 3D rendering is being done by Mesa (software) instead of by the video card. I verified that the Radeon driver and agp support is loaded by doing a lsmod.

I have noticed that the GL screensavers are very choppy for both root and users, and that I am getting very poor performance in Enemy Territory. Video playback seems to be OK.

Do I need to install the actual ATI fglrx driver to get 3D hardware rendering?

Bob
Hi, you will certainly get better performance with fglrx with your Radeon 9600. While the xorg driver does basically work, 3d acceleration is patchy. I have just installed the latest fglrx version without any problems, surprisingly .

Just remember the usual caveats, check the xorg generated and add HorizSync and VertRefresh lines if necessary, and add the /dev/shm line to the fstab. You may want to uninstall any extra kernels and kernel modules which are not being used first.
 
  


Closed Thread

Tags
3d, acceleration, ati, enabling, fglrx, glx, intel, nvidia, s3, savage, slackware, via, video, x11, 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
enabling hardware acceleration PennyroyalFrog Linux - Newbie 5 02-26-2010 12:21 PM
xorg-x11 7.0 and exa acceleration jtshaw Linux - Software 0 12-19-2005 08:42 AM
3d acceleration and X11 bspus Linux - Newbie 3 09-06-2005 07:05 AM
Problem Enabling 3D Hardware acceleration. mir_sheely Linux - Hardware 0 06-14-2004 01:37 PM
Audigy Sound card and enabling 3D acceleration for GeoForce3 ti 500 heavyarmor4ever Linux - Newbie 1 01-03-2003 10:27 PM


All times are GMT -5. The time now is 02:38 AM.

Main Menu
Advertisement
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