LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 08-29-2009, 12:17 PM   #1
kkmic
Member
 
Registered: Jul 2004
Location: Romania
Distribution: Slackware 13.0
Posts: 55

Rep: Reputation: 19
Trouble installing ATi drivers (Slackware 13.0)


Okay, I just installed Slackware 13 on my computer, and when I attempted to install the graphics driver (ATi X1650), I got a fatal error. Log below:

Code:
bash-3.1# sh ati-driver-installer-9-3-x86.x86_64.run --buildpkg
Created directory fglrx-install.gqaiFU                         
Verifying archive integrity... All good.                       
Uncompressing ATI Proprietary Linux Driver-8.593...........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................                                                                                             
==================================================                                                                                           
 ATI Technologies Linux Driver Installer/Packager                                                                                            
==================================================                                                                                           
Generating package: Slackware/All                                                                                                            

ATI SlackBuild Version 1.3.9 
-------------------------------------------- 
by: Emanuele Tomasi <tomasiATcli.di.unipi.it> 
    Ezio Ghibaudo <ekxiusATgmail.com>         
    Federico Rota <federico.rota01ATgmail.com>

AMD kernel module generator version 2.1
doing Makefile based build for kernel 2.6.x and higher
rm -rf *.c *.h *.o *.ko *.GCC* .??* *.symvers         
make -C /lib/modules/2.6.29.6-smp/build SUBDIRS=/root/packages/fglrx-install.gqaiFU/common/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-2.6.29.6'                                                                               
  CC [M]  /root/packages/fglrx-install.gqaiFU/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o                              
In file included from /root/packages/fglrx-install.gqaiFU/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:169:             
/root/packages/fglrx-install.gqaiFU/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.h:164:1: warning: "PM_EVENT_SUSPEND" redefined
In file included from /usr/src/linux-2.6.29.6/arch/x86/include/asm/apic.h:4,                                                             
                 from /usr/src/linux-2.6.29.6/arch/x86/include/asm/smp.h:13,                                                             
                 from include/linux/smp.h:36,                                                                                            
                 from include/linux/topology.h:33,                                                                                       
                 from include/linux/mmzone.h:767,                                                                                        
                 from include/linux/gfp.h:4,                                                                                             
                 from include/linux/kmod.h:22,                                                                                           
                 from include/linux/module.h:13,                                                                                         
                 from /root/packages/fglrx-install.gqaiFU/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:91:                   
include/linux/pm.h:241:1: warning: this is the location of the previous definition                                                       
/root/packages/fglrx-install.gqaiFU/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'KCL_GetEffectiveUid':
/root/packages/fglrx-install.gqaiFU/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1405: error: 'struct task_struct' has no member named 'euid'
/root/packages/fglrx-install.gqaiFU/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'KCL_PosixSecurityCapSetIPCLock':
/root/packages/fglrx-install.gqaiFU/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1779: error: 'struct task_struct' has no member named 'cap_effective'
/root/packages/fglrx-install.gqaiFU/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1783: error: 'struct task_struct' has no member named 'cap_effective'
/root/packages/fglrx-install.gqaiFU/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'KCL_MEM_VM_GetRegionPhysAddrStr':
/root/packages/fglrx-install.gqaiFU/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3223: warning: return makes pointer from integer without a cast
/root/packages/fglrx-install.gqaiFU/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3224: warning: return makes pointer from integer without a cast
/root/packages/fglrx-install.gqaiFU/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3225: warning: return makes pointer from integer without a cast
/root/packages/fglrx-install.gqaiFU/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3227: warning: return makes pointer from integer without a cast
make[2]: *** [/root/packages/fglrx-install.gqaiFU/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o] Error 1
make[1]: *** [_module_/root/packages/fglrx-install.gqaiFU/common/lib/modules/fglrx/build_mod/2.6.x] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.29.6'
make: *** [kmod_build] Error 2
build failed with return value 2
ERROR: i don't have make module
Removing temporary directory: fglrx-install.gqaiFU
Anyone with a suggestion? I noticed something about support being discontinued for my video card on the ATi (AMD) website.

Help!
 
Old 08-29-2009, 01:05 PM   #2
hemp4fuel
Member
 
Registered: Jun 2003
Location: Topeka, KS
Distribution: Slackware
Posts: 193

Rep: Reputation: 45
Support has been dropped for your card so you will need to use the opensource ati drivers.
 
Old 08-29-2009, 01:10 PM   #3
kkmic
Member
 
Registered: Jul 2004
Location: Romania
Distribution: Slackware 13.0
Posts: 55

Original Poster
Rep: Reputation: 19
....aaand those can be found where? Google is a bit imprecise...

Thanks for the reply, but.... is this the only option?
 
Old 08-29-2009, 02:35 PM   #4
dolphin77
Member
 
Registered: May 2009
Location: Odesa, Ukraine
Distribution: Slackware
Posts: 206

Rep: Reputation: 60
actually you tried to build 9.3 ati proprietary drivers. This driver is not working with kernel 2.6.29.x.

You should try recently released driver 9.8, which has support for kernels 2.6.29.x and 2.6.30.x.

I tried it with Slackware64-13.0 and it works. You should do this as root user:
sh ati-driver-installer-9-8-x86.x86_64.run --buildpkg Slackware/All
installpkg fglrx-module-8.64-x86_64-1_kernel_2.6.29.6.tgz fglrx-x740_64a-8.64-x86_64-1.tgz
aticonfig --initial

after that it should be configured.

Meanwhile I found out for myself that both fglrx proprietary driver and opensource driver with experimental 3d (git versions of libdrm, kernel drm modules, mesa and xf86-video-ati driver) are not stable enough for everyday use. It works, but with fglrx driver there are some issues with video and opengl applications (like google earth). With opensource driver system sometimes hangs up by itself.
Thus I prefer to use stock drivers shipped with Slackware-13.0 - at least it is stable enough for everyday desktop computer.
 
Old 08-29-2009, 07:57 PM   #5
hemp4fuel
Member
 
Registered: Jun 2003
Location: Topeka, KS
Distribution: Slackware
Posts: 193

Rep: Reputation: 45
The problem is that ATI dropped support for kkmic's card so none of the fglrx drivers will work. kkmic if you have the xf86-video-ati-6.12.2-x86_64-2.txz and xf86-video-radeonhd-1.2.5-x86_64-1.txz packages installed and run without an xorg.conf it should work.
 
Old 08-30-2009, 02:41 AM   #6
kkmic
Member
 
Registered: Jul 2004
Location: Romania
Distribution: Slackware 13.0
Posts: 55

Original Poster
Rep: Reputation: 19
@dolphin77: As I said before, support for my video card (X1659) was dropped by ATi, and the latest version available on their site is 9.3 I'll give it a try with the latest version, though.

@hemp4fuel: I have xf86-video-ati-6.12.2-i486-2 and xf86-video-radeonhd-1.2.5-i486-1 (I'm running a 32-bit system atm) and no xorg.conf

What I'm looking for is OpenGL support (the default drivers are working for everyday use).

So, once again, where can I get the OpenSource ATi drivers?

LE:
@dolphin77:Nope, they don't work with my card.

Last edited by kkmic; 08-30-2009 at 02:53 AM.
 
Old 08-30-2009, 02:49 AM   #7
vinegaroon
Member
 
Registered: Sep 2008
Posts: 99

Rep: Reputation: 21
Those xf86 packages are the open source drivers. They should provide OpenGL support for your card.
What programs are you trying to run?
 
Old 08-30-2009, 03:41 AM   #8
kkmic
Member
 
Registered: Jul 2004
Location: Romania
Distribution: Slackware 13.0
Posts: 55

Original Poster
Rep: Reputation: 19
GoogleEarth for example.

I get this
Code:
root@Silviu:~# googleearth 
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".                                                                                                            
Xlib:  extension "GLX" missing on display ":0.0".                                                                                                            
Xlib:  extension "GLX" missing on display ":0.0".                                                                                                            
Xlib:  extension "GLX" missing on display ":0.0".                                                                                                            
Xlib:  extension "GLX" missing on display ":0.0".                                                                                                            
Xlib:  extension "GLX" missing on display ":0.0".                                                                                                            
Xlib:  extension "GLX" missing on display ":0.0".                                                                                                            
Xlib:  extension "GLX" missing on display ":0.0".                                                                                                            
Xlib:  extension "GLX" missing on display ":0.0".                                                                                                            
Xlib:  extension "GLX" missing on display ":0.0".                                                                                                            
Xlib:  extension "GLX" missing on display ":0.0".                                                                                                            
Xlib:  extension "GLX" missing on display ":0.0".                                                                                                            
Xlib:  extension "GLX" missing on display ":0.0".                                                                                                            
Xlib:  extension "GLX" missing on display ":0.0".                                                                                                            
Xlib:  extension "GLX" missing on display ":0.0".                                                                                                            
Xlib:  extension "GLX" missing on display ":0.0".                                                                                                            
Xlib:  extension "GLX" missing on display ":0.0".                                                                                                            
Xlib:  extension "GLX" missing on display ":0.0".                                                                                                            
Xlib:  extension "GLX" missing on display ":0.0".                                                                                                            
Xlib:  extension "GLX" missing on display ":0.0".                                                                                                            
Xlib:  extension "GLX" missing on display ":0.0".                                                                                                            
Xlib:  extension "GLX" missing on display ":0.0".                                                                                                            
Xlib:  extension "GLX" missing on display ":0.0".                                                                                                            
Xlib:  extension "GLX" missing on display ":0.0".                                                                                                            
Xlib:  extension "GLX" missing on display ":0.0".                                                                                                            
Xlib:  extension "GLX" missing on display ":0.0".                                                                                                            
Xlib:  extension "GLX" missing on display ":0.0".                                                                                                            
Xlib:  extension "GLX" missing on display ":0.0".                                                                                                            
Xlib:  extension "GLX" missing on display ":0.0".                                                                                                            
Xlib:  extension "GLX" missing on display ":0.0".                                                                                                            
Xlib:  extension "GLX" missing on display ":0.0".                                                                                                            
Xlib:  extension "GLX" missing on display ":0.0".                                                                                                            
Xlib:  extension "GLX" missing on display ":0.0".                                                                                                            
Xlib:  extension "GLX" missing on display ":0.0".                                                                                                            
Xlib:  extension "GLX" missing on display ":0.0".                                                                                                            
Xlib:  extension "GLX" missing on display ":0.0".                                                                                                            
Xlib:  extension "GLX" missing on display ":0.0".                                                                                                            
Xlib:  extension "GLX" missing on display ":0.0".                                                                                                            
Xlib:  extension "GLX" missing on display ":0.0".                                                                                                            
Xlib:  extension "GLX" missing on display ":0.0".                                                                                                            
Xlib:  extension "GLX" missing on display ":0.0".                                                                                                            
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Google Earth has caught signal 11.

Stacktrace from glibc:
  ./googleearth-bin [0x806c343]
  ./googleearth-bin [0x806c8b6]
  [0xffffe400]
  /usr/lib/libX11.so.6(XInitExtension+0x41) [0xb6443bd1]
  /usr/lib/libXext.so.6(XextAddDisplay+0x4f) [0xb65477bf]
  /usr/lib/libGL.so.1 [0xb5f88e93]




We apologize for the inconvenience, but Google Earth has crashed.
 This is a bug in the program, and should never happen under normal
 circumstances. A bug report and debugging data are now being written
 to this text file:

    /root/.googleearth/crashlogs/crashlog-12B7BB64.txt

This bug report will be sent to Google automatically next time you run
 Google Earth. Its data, which contains no personal information, will help
 us correct problems without bothering you further. If you would rather
 this info not be transmitted, please delete the above file before running
 the program again. If you want bug reports to NEVER be sent, remove the
 above 'crashlogs' directory's read/write permissions.
It was installed via a SlackBuild script
 
Old 08-30-2009, 04:38 AM   #9
vinegaroon
Member
 
Registered: Sep 2008
Posts: 99

Rep: Reputation: 21
So no OpenGL stuff works?
It's possible that google earth doesn't like being run as root, try as user.
 
Old 08-30-2009, 09:59 AM   #10
kkmic
Member
 
Registered: Jul 2004
Location: Romania
Distribution: Slackware 13.0
Posts: 55

Original Poster
Rep: Reputation: 19
It makes no difference. Same crash.

So, except for a newer video card, any other suggestions?
 
Old 08-30-2009, 10:22 AM   #11
BrZ
Member
 
Registered: Apr 2009
Distribution: Slackware
Posts: 543

Rep: Reputation: 121Reputation: 121
There are some patches to force 9.3 on those kernels. I hadn't success building the patched 9.3 on 2.6.29.x, but you can try.
 
Old 08-30-2009, 10:33 AM   #12
kkmic
Member
 
Registered: Jul 2004
Location: Romania
Distribution: Slackware 13.0
Posts: 55

Original Poster
Rep: Reputation: 19
And again, those can be found.... where?

A link would be appreciated.
 
Old 08-30-2009, 10:36 AM   #13
BrZ
Member
 
Registered: Apr 2009
Distribution: Slackware
Posts: 543

Rep: Reputation: 121Reputation: 121
Try here first: http://www.phoronix.com/forums/showthread.php?t=16173
 
Old 08-30-2009, 11:01 AM   #14
kkmic
Member
 
Registered: Jul 2004
Location: Romania
Distribution: Slackware 13.0
Posts: 55

Original Poster
Rep: Reputation: 19
Though I'm not very comfortable (read "advanced") with Linux, I'll give it a shot and see how it goes.

Thanks for the link.
 
Old 08-30-2009, 08:26 PM   #15
vinegaroon
Member
 
Registered: Sep 2008
Posts: 99

Rep: Reputation: 21
Quote:
Originally Posted by BrZ View Post
There are some patches to force 9.3 on those kernels. I hadn't success building the patched 9.3 on 2.6.29.x, but you can try.
The problem is his card is still not supported by these drivers.

You most likely should be using xf86-video-ati, and less likely xf86-video-radeonhd.
You shouldn't need an xorg.conf, but you could try a simple one like:

Code:
Section "Device"
	Identifier "ATI X1650"
	Driver "radeon"
EndSection
Can you try other OpenGL stuff, like maybe extreme tux racer, to rule out a Google Earth issue?

Also do you have the entire Slackware x series installed? Just you need to have mesa etc installed.
 
  


Reply



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
Trouble installing ATI Drivers on Fedora 8 dave247 Linux - Software 3 02-28-2008 09:31 AM
Trouble installing ATI drivers kopf91 Linux - Hardware 3 05-27-2007 08:51 AM
Trouble installing ATI Radeon 9600 Drivers in Mandrake RAMMS+EIN Linux - Hardware 2 05-27-2005 03:58 PM
Installing ATI drivers to Slackware 10 - kernel modules? wezzer Slackware 9 08-31-2004 05:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:41 PM.

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
Open Source Consulting | Domain Registration