LinuxQuestions.org
Review your favorite Linux distribution.
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 12-22-2008, 07:01 PM   #1
w1k0
Senior Member
 
Registered: May 2008
Location: Poland
Distribution: Slackware (personalized Window Maker), Mint (customized MATE)
Posts: 1,309

Rep: Reputation: 234Reputation: 234Reputation: 234
Fglrx module compilation problem


I can't compile fglrx module using SlackBuilds in Slackware 12.2. Maybe it's because I use SlackBuild for Slackware 12.1 but at the moment there is no SlackBuild for Slackware 12.2.

In Slackware 12.1 I compile that module without problems (Listing 1.). In Slackware 12.2 I can't do it (Listing 2.).

Is that problem caused by improper SlackBuild version (12.1 instead of 12.2) or there is another reason for that?

Listing 1.
Code:
# ./fglrx-module.SlackBuild
Created directory fglrx-install.bPyK8J
Verifying archive integrity... All good.
Uncompressing ATI Proprietary Linux Driver-8.512........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
==================================================
 ATI Technologies Linux Driver Installer/Packager 
==================================================
Generating package: Slackware/Only_Module

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

ATI module generator V 2.0
==========================
initializing...
cleaning...
patching 'highmem.h'...
assuming new VMA API since we do have kernel 2.6.x...
 Assuming default VMAP API
 Assuming default munmap API
doing Makefile based build for kernel 2.6.x and higher
make -C /lib/modules/2.6.24.5-custom-smp/build SUBDIRS=/tmp/SBo/package-fglrx-module/fglrx-install.bPyK8J/common/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-2.6.24.5'
  CC [M]  /tmp/SBo/package-fglrx-module/fglrx-install.bPyK8J/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
/tmp/SBo/package-fglrx-module/fglrx-install.bPyK8J/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:6768: warning: initialization from incompatible pointer type
/tmp/SBo/package-fglrx-module/fglrx-install.bPyK8J/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:6794: warning: initialization from incompatible pointer type
  LD [M]  /tmp/SBo/package-fglrx-module/fglrx-install.bPyK8J/common/lib/modules/fglrx/build_mod/2.6.x/fglrx.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/SBo/package-fglrx-module/fglrx-install.bPyK8J/common/lib/modules/fglrx/build_mod/2.6.x/fglrx.mod.o
  LD [M]  /tmp/SBo/package-fglrx-module/fglrx-install.bPyK8J/common/lib/modules/fglrx/build_mod/2.6.x/fglrx.ko
make[1]: Leaving directory `/usr/src/linux-2.6.24.5'
build succeeded with return value 0
duplicating results into driver repository...
done.
==============================
You must change your working directory to /tmp/SBo/package-fglrx-module/fglrx-install.bPyK8J/common/lib/modules/fglrx
and then call ./make_install.sh in order to install the built module.
==============================

Slackware package maker, version 2.1.

Searching for symbolic links:

No symbolic links were found, so we won't make an installation script.
You can make your own later in ./install/doinst.sh and rebuild the
package if you like.

This next step is optional - you can set the directories in your package
to some sane permissions. If any of the directories in your package have
special permissions, then DO NOT reset them here!

Would you like to reset all directory permissions to 755 (drwxr-xr-x) and
directory ownerships to root.root ([y]es, [n]o)? n


Creating tar file fglrx-module-8.512-x86-1_kernel_2.6.24.5_custom_smp.tar...

./
lib/
lib/modules/
lib/modules/2.6.24.5-custom-smp/
lib/modules/2.6.24.5-custom-smp/external/
lib/modules/2.6.24.5-custom-smp/external/fglrx.ko.gz
install/
install/doinst.sh
install/slack-desc
tar-1.13: fglrx-module-8.512-x86-1_kernel_2.6.24.5_custom_smp.tar is the archive; not dumped

Gzipping fglrx-module-8.512-x86-1_kernel_2.6.24.5_custom_smp.tar...

Renaming fglrx-module-8.512-x86-1_kernel_2.6.24.5_custom_smp.tar.gz to fglrx-module-8.512-x86-1_kernel_2.6.24.5_custom_smp.tgz...

Package creation complete.

Removing temporary directory: fglrx-install.bPyK8J
Exploding package /tmp/SBo/package-fglrx-module/fglrx-module-8.512-x86-1_kernel_2.6.24.5_custom_smp.tgz in current directory:
./
lib/
lib/modules/
lib/modules/2.6.24.5-custom-smp/
lib/modules/2.6.24.5-custom-smp/external/
lib/modules/2.6.24.5-custom-smp/external/fglrx.ko.gz
install/
install/doinst.sh
install/slack-desc

An installation script was detected in ./install/doinst.sh, but
was not executed.

Slackware package maker, version 2.1.

Searching for symbolic links:

No symbolic links were found, so we won't make an installation script.
You can make your own later in ./install/doinst.sh and rebuild the
package if you like.

This next step is optional - you can set the directories in your package
to some sane permissions. If any of the directories in your package have
special permissions, then DO NOT reset them here!

Would you like to reset all directory permissions to 755 (drwxr-xr-x) and
directory ownerships to root.root ([y]es, [n]o)? n


Creating tar file fglrx-module-8.512_2.6.24.5_custom_smp-i486-1_SBo.tar...

./
lib/
lib/modules/
lib/modules/2.6.24.5-custom-smp/
lib/modules/2.6.24.5-custom-smp/kernel/
lib/modules/2.6.24.5-custom-smp/kernel/drivers/
lib/modules/2.6.24.5-custom-smp/kernel/drivers/video/
lib/modules/2.6.24.5-custom-smp/kernel/drivers/video/fglrx.ko
usr/
usr/doc/
usr/doc/fglrx-module-8.512_2.6.24.5_custom_smp/
usr/doc/fglrx-module-8.512_2.6.24.5_custom_smp/fglrx-module.SlackBuild
install/
install/doinst.sh
install/slack-desc
tar-1.13: fglrx-module-8.512_2.6.24.5_custom_smp-i486-1_SBo.tar is the archive; not dumped

Gzipping fglrx-module-8.512_2.6.24.5_custom_smp-i486-1_SBo.tar...

Renaming fglrx-module-8.512_2.6.24.5_custom_smp-i486-1_SBo.tar.gz to fglrx-module-8.512_2.6.24.5_custom_smp-i486-1_SBo.tgz...

Moving fglrx-module-8.512_2.6.24.5_custom_smp-i486-1_SBo.tgz to /tmp...

Package creation complete.
Listing 2.
Code:
$ ./fglrx-module.SlackBuild
Created directory fglrx-install.Vhelhw
Verifying archive integrity... All good.
Uncompressing ATI Proprietary Linux Driver-8.512........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
==================================================
 ATI Technologies Linux Driver Installer/Packager 
==================================================
Generating package: Slackware/Only_Module

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

ATI module generator V 2.0
==========================
initializing...
cleaning...
patching 'highmem.h'...
assuming new VMA API since we do have kernel 2.6.x...
 Assuming default VMAP API
 Assuming default munmap API
doing Makefile based build for kernel 2.6.x and higher
make -C /lib/modules/2.6.27.7-smp/build SUBDIRS=/tmp/SBo/package-fglrx-module/fglrx-install.Vhelhw/common/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-2.6.27.7'
  CC [M]  /tmp/SBo/package-fglrx-module/fglrx-install.Vhelhw/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
/tmp/SBo/package-fglrx-module/fglrx-install.Vhelhw/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'KCL_ProcessIsTerminated':
/tmp/SBo/package-fglrx-module/fglrx-install.Vhelhw/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1412: error: implicit declaration of function 'find_task_by_pid'
/tmp/SBo/package-fglrx-module/fglrx-install.Vhelhw/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1412: warning: assignment makes pointer from integer without a cast
/tmp/SBo/package-fglrx-module/fglrx-install.Vhelhw/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'KCL_GetInitKerPte':
/tmp/SBo/package-fglrx-module/fglrx-install.Vhelhw/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2744: error: 'NOPAGE_SIGBUS' undeclared (first use in this function)
/tmp/SBo/package-fglrx-module/fglrx-install.Vhelhw/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2744: error: (Each undeclared identifier is reported only once
/tmp/SBo/package-fglrx-module/fglrx-install.Vhelhw/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2744: error: for each function it appears in.)
/tmp/SBo/package-fglrx-module/fglrx-install.Vhelhw/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'KCL_GetPte':
/tmp/SBo/package-fglrx-module/fglrx-install.Vhelhw/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2782: error: 'NOPAGE_SIGBUS' undeclared (first use in this function)
/tmp/SBo/package-fglrx-module/fglrx-install.Vhelhw/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'KCL_GetPageTableByVirtAddr':
/tmp/SBo/package-fglrx-module/fglrx-install.Vhelhw/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2845: error: 'NOPAGE_SIGBUS' undeclared (first use in this function)
/tmp/SBo/package-fglrx-module/fglrx-install.Vhelhw/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'KCL_TestAndClearPageDirtyFlag':
/tmp/SBo/package-fglrx-module/fglrx-install.Vhelhw/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2972: error: 'NOPAGE_SIGBUS' undeclared (first use in this function)
/tmp/SBo/package-fglrx-module/fglrx-install.Vhelhw/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'KCL_GetDmaPhysAddr':
/tmp/SBo/package-fglrx-module/fglrx-install.Vhelhw/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3016: error: 'NOPAGE_SIGBUS' undeclared (first use in this function)
/tmp/SBo/package-fglrx-module/fglrx-install.Vhelhw/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function '__ke_flush_cache':
/tmp/SBo/package-fglrx-module/fglrx-install.Vhelhw/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3238: error: too many arguments to function 'smp_call_function'
/tmp/SBo/package-fglrx-module/fglrx-install.Vhelhw/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: At top level:
/tmp/SBo/package-fglrx-module/fglrx-install.Vhelhw/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:4177: error: unknown field 'nopage' specified in initializer
/tmp/SBo/package-fglrx-module/fglrx-install.Vhelhw/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:4177: warning: initialization from incompatible pointer type
/tmp/SBo/package-fglrx-module/fglrx-install.Vhelhw/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:4195: error: unknown field 'nopage' specified in initializer
/tmp/SBo/package-fglrx-module/fglrx-install.Vhelhw/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:4195: warning: initialization from incompatible pointer type
/tmp/SBo/package-fglrx-module/fglrx-install.Vhelhw/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:4202: error: unknown field 'nopage' specified in initializer
/tmp/SBo/package-fglrx-module/fglrx-install.Vhelhw/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:4202: warning: initialization from incompatible pointer type
/tmp/SBo/package-fglrx-module/fglrx-install.Vhelhw/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:4209: error: unknown field 'nopage' specified in initializer
/tmp/SBo/package-fglrx-module/fglrx-install.Vhelhw/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:4209: warning: initialization from incompatible pointer type
/tmp/SBo/package-fglrx-module/fglrx-install.Vhelhw/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:4216: error: unknown field 'nopage' specified in initializer
/tmp/SBo/package-fglrx-module/fglrx-install.Vhelhw/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:4216: warning: initialization from incompatible pointer type
/tmp/SBo/package-fglrx-module/fglrx-install.Vhelhw/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:4223: error: unknown field 'nopage' specified in initializer
/tmp/SBo/package-fglrx-module/fglrx-install.Vhelhw/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:4223: warning: initialization from incompatible pointer type
/tmp/SBo/package-fglrx-module/fglrx-install.Vhelhw/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:4230: error: unknown field 'nopage' specified in initializer
/tmp/SBo/package-fglrx-module/fglrx-install.Vhelhw/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:4230: warning: initialization from incompatible pointer type
/tmp/SBo/package-fglrx-module/fglrx-install.Vhelhw/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:4239: error: unknown field 'nopage' specified in initializer
/tmp/SBo/package-fglrx-module/fglrx-install.Vhelhw/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:4239: warning: initialization from incompatible pointer type
/tmp/SBo/package-fglrx-module/fglrx-install.Vhelhw/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'KCL_CallFuncOnOtherCpus':
/tmp/SBo/package-fglrx-module/fglrx-install.Vhelhw/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:4921: error: too many arguments to function 'smp_call_function'
/tmp/SBo/package-fglrx-module/fglrx-install.Vhelhw/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'KCL_enable_pat':
/tmp/SBo/package-fglrx-module/fglrx-install.Vhelhw/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:5032: error: too many arguments to function 'smp_call_function'
/tmp/SBo/package-fglrx-module/fglrx-install.Vhelhw/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'KCL_disable_pat':
/tmp/SBo/package-fglrx-module/fglrx-install.Vhelhw/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:5050: error: too many arguments to function 'smp_call_function'
/tmp/SBo/package-fglrx-module/fglrx-install.Vhelhw/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: At top level:
/tmp/SBo/package-fglrx-module/fglrx-install.Vhelhw/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:6768: warning: initialization from incompatible pointer type
/tmp/SBo/package-fglrx-module/fglrx-install.Vhelhw/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:6794: warning: initialization from incompatible pointer type
make[2]: *** [/tmp/SBo/package-fglrx-module/fglrx-install.Vhelhw/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o] Error 1
make[1]: *** [_module_/tmp/SBo/package-fglrx-module/fglrx-install.Vhelhw/common/lib/modules/fglrx/build_mod/2.6.x] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.27.7'
make: *** [kmod_build] Error 2
build failed with return value 2
ERROR: i don't have make module
Removing temporary directory: fglrx-install.Vhelhw

Last edited by w1k0; 12-22-2008 at 07:03 PM.
 
Old 12-22-2008, 07:46 PM   #2
larryhaja
Member
 
Registered: Jul 2008
Distribution: Slackware 13.1
Posts: 305

Rep: Reputation: 80
Code:
Uncompressing ATI Proprietary Linux Driver-8.512
The ATI driver that you are trying to compile is "8.512" and doesn't work with the 2.6.27.* kernels without patching. Download the newest one that is at version "8.561" from ati.amd.com and you should be able to install it without any problems. That's what I did when I installed Slackware 12.2. You can get the new driver at this address.
http://a248.e.akamai.net/f/674/9206/...x86.x86_64.run
 
Old 12-22-2008, 08:41 PM   #3
w1k0
Senior Member
 
Registered: May 2008
Location: Poland
Distribution: Slackware (personalized Window Maker), Mint (customized MATE)
Posts: 1,309

Original Poster
Rep: Reputation: 234Reputation: 234Reputation: 234
Thank you for your hint. At the moment it seems I don't need fglrx driver. I just changed vga option in lilo.conf and now X Window and console work well. I used that driver with Slackware 12.1 and my ThinkPad T60 merely because of some problems with X Window and console. Anyway it's good to know that there is new fglrx module for the current kernel. Maybe I'll need it in the future.
 
Old 12-22-2008, 09:10 PM   #4
statguy
Member
 
Registered: Sep 2004
Location: Ontario, Canada
Distribution: Slackware 14.2, current
Posts: 416

Rep: Reputation: 36
For my recent install, I downloaded the installer

Code:
ati-driver-installer-8-12-x86.x86_64.run
I used it to build the packages directly.

I did need to use a different framebuffer however since the text in a console became a very faint gray. I am using vga=791 for my frame buffer (without that, Tux just didn't look right).
 
Old 12-27-2008, 01:17 PM   #5
w1k0
Senior Member
 
Registered: May 2008
Location: Poland
Distribution: Slackware (personalized Window Maker), Mint (customized MATE)
Posts: 1,309

Original Poster
Rep: Reputation: 234Reputation: 234Reputation: 234
When you use vga = 773 mode in /etc/lilo.conf and generic radeon module in /etx/X11/xorg.conf Tux at the boot procedures looks bad and X Window spoils the console -- after exiting window manager text on the console becomes dark gray. To repair both these flaws it it's enough to change that mode to vga = 791. Changing module from radeon to fglrx removes the second problem too. The difference is: when you change vga mode you need to reload the entire system, and when you change module you need to reload X Window only. MPlayer's users have another reason to change xorg.conf module. With radeon it's impossible to scale the movie to full screen size -- with fglrx that function works well.

All these problems concern at least Thinkpad T60 with ATI Radeon X1300.

Last edited by w1k0; 12-27-2008 at 01:20 PM.
 
Old 12-27-2008, 04:25 PM   #6
statguy
Member
 
Registered: Sep 2004
Location: Ontario, Canada
Distribution: Slackware 14.2, current
Posts: 416

Rep: Reputation: 36
I had the same issues on my X1400 graphics card.

I'm having a bit of trouble getting DRI working properly. When I enable with the "usual" DRI section in my xorg.conf, it "works," but when I unlock (after a screen lock), window borders are corrupted (basically mostly black). Also the dialog for entering the password did not display when the screen was locked, but my password was accepted.
 
Old 12-27-2008, 05:52 PM   #7
w1k0
Senior Member
 
Registered: May 2008
Location: Poland
Distribution: Slackware (personalized Window Maker), Mint (customized MATE)
Posts: 1,309

Original Poster
Rep: Reputation: 234Reputation: 234Reputation: 234
I just tried kdesktop_lock and it works well. It seems your problem is X1400 issue.
 
Old 12-27-2008, 08:14 PM   #8
symatic
Member
 
Registered: May 2007
Distribution: Slackware
Posts: 242

Rep: Reputation: 32
Have you tried the radeon or radeonhd drivers. After upgrading libdrm and mesa(so I could get DRI working properly), I am holy satisfied with the 2D and textured video support. Still have not tested all the games I normally run with 3D rendering. But I suggest you give it a go.

fglrx just gets so slow after awhile. But you just have to alter the slackbuild from slackbuilds.org and it will work. fglrx-switch is really the only benefit of using the build from them.

If you still wanna mess around with fglrx, try disabling compositing and AIGLX. For me disabling them gave some performance increaces and stablity.

Last edited by symatic; 12-27-2008 at 08:16 PM.
 
Old 12-27-2008, 10:35 PM   #9
larryhaja
Member
 
Registered: Jul 2008
Distribution: Slackware 13.1
Posts: 305

Rep: Reputation: 80
Quote:
Originally Posted by w1k0 View Post
I just tried kdesktop_lock and it works well. It seems your problem is X1400 issue.
I don't think it is entirely an X1400 problem. I use the Radeon Mobility X1400 ATI card on my notebook and I've installed the ati-driver-installer-8-12-x86.x86_64.run driver on kernel's 2.6.27.7, 2.6.27.8, and 2.6.28 without any problems. This may have nothing to do with it but I did a clean install to Slackware 12.2 instead of an upgrade.
 
Old 12-28-2008, 12:24 PM   #10
statguy
Member
 
Registered: Sep 2004
Location: Ontario, Canada
Distribution: Slackware 14.2, current
Posts: 416

Rep: Reputation: 36
Quote:
Originally Posted by symatic View Post
Have you tried the radeon or radeonhd drivers. After upgrading libdrm and mesa(so I could get DRI working properly), I am holy satisfied with the 2D and textured video support. Still have not tested all the games I normally run with 3D rendering. But I suggest you give it a go.

fglrx just gets so slow after awhile. But you just have to alter the slackbuild from slackbuilds.org and it will work. fglrx-switch is really the only benefit of using the build from them.

If you still wanna mess around with fglrx, try disabling compositing and AIGLX. For me disabling them gave some performance increaces and stablity.
Which versions of libdrm and mesa did you upgrade to?

Also, the only slackbuilds I saw were for 12.1. Is that what you mean by needing to alter them (I'm on 12.2)? What are you referring to with fglrx-switch? Is this display switching on a laptop or something else?

Last edited by statguy; 12-28-2008 at 12:35 PM.
 
Old 12-29-2008, 08:05 AM   #11
statguy
Member
 
Registered: Sep 2004
Location: Ontario, Canada
Distribution: Slackware 14.2, current
Posts: 416

Rep: Reputation: 36
Quote:
Originally Posted by larryhaja View Post
I don't think it is entirely an X1400 problem. I use the Radeon Mobility X1400 ATI card on my notebook and I've installed the ati-driver-installer-8-12-x86.x86_64.run driver on kernel's 2.6.27.7, 2.6.27.8, and 2.6.28 without any problems. This may have nothing to do with it but I did a clean install to Slackware 12.2 instead of an upgrade.
Then I must have missed a step.

Would you care to post the relevant sections of your xorg.conf so I can see if I'm missing anything?

Also, what are you supposed to do about agpgart? I thought that fglrx had its own. I tried commenting out the modprobe statement in rc.modules, but an lsmod still showed agpgart.
 
Old 12-29-2008, 12:27 PM   #12
larryhaja
Member
 
Registered: Jul 2008
Distribution: Slackware 13.1
Posts: 305

Rep: Reputation: 80
I am by no means an expert on getting drivers installed. But I can tell you what has worked in the past for me.
Quote:
Originally Posted by statguy View Post
Then I must have missed a step.
Here's what I do to get my drivers installed.
Code:
# wget http://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/ati-driver-installer-8-12-x86.x86_64.run
# chmod +x ati-driver-installer-8-12-x86.x86_64.run
# sudo sh ati-driver-installer-8-12-x86.x86_64.run --buildpkg Slackware/All
# sudo installpkg fglrx-module-8.561-x86-1_kernel_2.6.27.7.tgz
then I log out of X to a command prompt and type
Code:
# sudo aticonfig --initial -f
# startx
I've never had to play around with my xorg.conf file to get my graphics card to work. I can tell that it worked by the fglrxinfo command
Code:
# fglrxinfo
display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Mobility Radeon X1400
OpenGL version string: 2.1.8304 Release
Quote:
Originally Posted by statguy View Post
Would you care to post the relevant sections of your xorg.conf so I can see if I'm missing anything?
What information would you like to see. Like I said I've never touched the xorg.conf file, but if you'd like that information I can provide it.
Quote:
Originally Posted by statguy View Post
Also, what are you supposed to do about agpgart? I thought that fglrx had its own. I tried commenting out the modprobe statement in rc.modules, but an lsmod still showed agpgart.
I've never had a problem with agpgart. This is what I have loaded.
Code:
# lsmod |grep agp
intel_agp              29500  0
agpgart                37448  2 fglrx,intel_agp
 
Old 12-29-2008, 01:53 PM   #13
statguy
Member
 
Registered: Sep 2004
Location: Ontario, Canada
Distribution: Slackware 14.2, current
Posts: 416

Rep: Reputation: 36
Thanks larryhaja. I tried that. Here are the results.

Code:
$ fglrxinfo
libGL error: open DRM failed (Operation not permitted)
libGL error: reverting to (slow) indirect rendering
display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Mobility Radeon X1400
OpenGL version string: 1.4 (2.1.8304 Release)
The default configuration does not permit the general user to use direct rendering. The fixes I have read involve adding the following section (there are slight variations on this, all with the same result).

Code:
Section "DRI"
       Group        "video"
       Mode         0660
EndSection
With that in place, fglrxinfo gives the following:

Code:
$ fglrxinfo
display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Mobility Radeon X1400
OpenGL version string: 2.1.8304 Release
So, I now have permission to use direct rendering. But, when I do, for example with the OpenGL screensaver I happen to like, the password dialog does not appear when unlocking and when I unlock, the window borders have turned black.
 
Old 02-07-2009, 03:30 AM   #14
leftty
Member
 
Registered: Aug 2008
Location: austin, tx
Distribution: Slackware64
Posts: 35

Rep: Reputation: 15
Confirmed! After days of unsuccessful attempts to install ati-driver-installer-8-7, I installed ati-driver-installer-8-12 in a few seconds. Thanks for paving the way!
 
  


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
fglrx module loading problem Anony Linux - General 7 07-13-2006 03:38 AM
X won't start: fglrx module problem max2004 Fedora 2 03-25-2006 01:35 AM
fglrx compiling custom module problem (firegl_public.c) Slate01 Linux - Hardware 0 11-25-2004 02:25 PM
fglrx module not found but X runs using module biger problem though HELP! fireicer Linux - Newbie 4 07-30-2004 04:44 PM
ATI fglrx module+2.6.0-test9 compile problem dkavlakov Linux - Hardware 0 11-04-2003 01:08 AM

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

All times are GMT -5. The time now is 12:06 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