LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-09-2006, 09:47 AM   #16
odevans
Member
 
Registered: Nov 2005
Location: Columbus, OH, USA
Distribution: Slackware
Posts: 246

Rep: Reputation: 30

Well, I'm not much of a gamer, but id have made Doom3, Quake3 even Quake4, although our hardware doesn't come close to the minimum requirements available for linux. For the full game you still need all the game files from the retail CDs, but download the program/playable demos from http://zerowing.idsoftware.com/linux/. Check out http://www.linux.org/apps/all/Entert.../3D_Games.html, the games section of http://www.linuxpackages.net/ and, ofcourse, google, for more. There are probably a bunch of win32 games you can play under WINE (http://appdb.winehq.org/) too.
 
Old 01-09-2006, 09:50 AM   #17
odevans
Member
 
Registered: Nov 2005
Location: Columbus, OH, USA
Distribution: Slackware
Posts: 246

Rep: Reputation: 30
Quote:
Originally Posted by mcapelati
odevans, did you type right ?

You said that use "nVidia chipset". Wouldn´t be "ATI chipset" ? Because your card, like mine, is an ATI...

(by the way, mine´s an ATI Radeon 9600 - 128 Mb)
Yes, I was just trying those screensavers on nVidia (but similar in spec) hardware - just to see if it mirrored my experience on the ATI hardware.
 
Old 01-16-2006, 07:44 AM   #18
mcapelati
LQ Newbie
 
Registered: Dec 2005
Location: São Paulo, Brazil
Distribution: Slackware 10.2
Posts: 28

Original Poster
Rep: Reputation: 15
Thumbs down Still Problems on ATI Radeon

Quote:
Originally Posted by odevans
You'll need to re-build ATI's fglrx kernel module. It's built against whatever kernel you're running, so a change of kernel means a change of fglrx module.

Fear not, there are only 3 commands to run:

root@box:# cd /lib/modules/fglrx/build_mod
root@box:/lib/modules/fglrx/build_mod# sh make.sh
root@box:/lib/modules/fglrx/build_mod# sh ../make_install.sh

Hi odevans,

Sorry to talk again on this post, but i´m still having problems on my ATI Radeon video card & Slackware...

After many reinstalls e reconfigurings, I´m trying to let my videocard run nice...

My last tries arent so good, because it is giving some error messages

Last one was when I tried to make all things manually (using your example above)

#sh make.sh seems to run fine
#sh make_install.sh gives following error:

Quote:
- creating symlink
- recreating module dependency list
- trying a sample load of the kernel modules
FATAL: Error inserting fglrx (/lib/modules/2.6.14.3/kernel/drivers/char/drm/fglrx.ko): Operation not permitted
failed.
Oh Man, this ATI-Radeon is a pain in the a$$...
 
Old 01-16-2006, 07:54 AM   #19
JonEberger
Member
 
Registered: Jul 2004
Distribution: Fedora Core 4
Posts: 42

Rep: Reputation: 15
are you doing this as root? if you are, there isn't much you shouldn't be able to do.
 
Old 01-16-2006, 01:27 PM   #20
cathectic
Member
 
Registered: Sep 2004
Location: UK, Europe
Distribution: Slackware64
Posts: 761

Rep: Reputation: 35
Have you disabled the Direct Rendering Manager in the kernel? (It's under Character Devices, IIRC). fglrx will *not* load if DRM is loaded or built into the kernel, and it must be disabled, otherwise you will get "Operation not permitted" errors.
 
Old 01-16-2006, 01:58 PM   #21
bobbens
Member
 
Registered: Sep 2004
Location: Barcelona
Distribution: Debian, FreeBSD, Gentoo
Posts: 586

Rep: Reputation: 30
Quote:
Originally Posted by cathectic
Have you disabled the Direct Rendering Manager in the kernel? (It's under Character Devices, IIRC). fglrx will *not* load if DRM is loaded or built into the kernel, and it must be disabled, otherwise you will get "Operation not permitted" errors.
I remember having the fglrx working with the DRM, and I switched to the r300 driver and it is still working , but it might be worth a shot...
 
Old 01-16-2006, 03:11 PM   #22
cathectic
Member
 
Registered: Sep 2004
Location: UK, Europe
Distribution: Slackware64
Posts: 761

Rep: Reputation: 35
fglrx used to work with the DRM loaded, but later versions of fglrx broke this and it now conflicts if drm is loaded/ built in.

r300 depends on DRM, so obviously it will work with it.

Last edited by cathectic; 01-16-2006 at 03:59 PM.
 
Old 01-16-2006, 06:38 PM   #23
mcapelati
LQ Newbie
 
Registered: Dec 2005
Location: São Paulo, Brazil
Distribution: Slackware 10.2
Posts: 28

Original Poster
Rep: Reputation: 15
Thumbs down DRM is not loaded... and Radeon (fglrx) not installing anyway

Quote:
Originally Posted by cathectic
Have you disabled the Direct Rendering Manager in the kernel? (It's under Character Devices, IIRC). fglrx will *not* load if DRM is loaded or built into the kernel, and it must be disabled, otherwise you will get "Operation not permitted" errors.
Yes, I´m running as "root".

Yes, the DRM modules are not loading, like this:

Quote:
< > Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)
I don´t understand what I am doing wrong...

Well, honestly speaking, I don´t understand almost all that thing, because ATI documentation is very poor !

Looked by any info in hundred of forums and all I had is more questions...

The worst part is: I have made it before, and it worked !!!

Maybe there is a little little detail that I couldn´t find.




Now I´m trying to do this manually:

Quote:
installpkg fglrx_6_8_0-8.20.8-1.i386.tgz
OK: no errors, and files seems to be copied correctly to their right places...


Quote:
cd /lib/modules/fglrx/build_mod/
sh make.sh
Ops, there was an warning message:
Quote:
*** Warning: "verify_area" [/lib/modules/fglrx/build_mod/firegl_agpgart/fglrx_agp.ko] undefined!
make[1]: Leaving directory `/usr/src/linux-2.6.14.3'
AGPGART build succeeded with return value 0
finished compiling for fglrx_agp
duplicating results into driver repository...
done.
Next thing to do:
Quote:
cd ..
sh make_install.sh
And... errors:
Quote:
- creating symlink
- recreating module dependency list
- trying a sample load of the kernel modules
WARNING: Error inserting agpgart (/lib/modules/2.6.14.3/kernel/drivers/char/agp/agpgart.ko): Invalid module format
FATAL: Error inserting fglrx (/lib/modules/2.6.14.3/kernel/drivers/char/drm/fglrx.ko): Invalid module format
failed.






** SOMEBODY, PLEASE HELP ME UNDERSTAND **
(because I HATE not knowing what I´m doing, just following step by step instructions...)

When I configure kernel 2.6.14.3 before compiling it ("make menuconfig"), seems to me that there is already has modules in this Kernel to my hardware.

Quote:
-- Character devices -
<M> /dev/agpgart (AGP Support)
< > ALI chipset support
< > ATI chipset support
< > AMD Irongate, 761, and 762 chipset support
< > AMD Opteron/Athlon64 on-CPU GART support
< > Intel 440LX/BX/GX, I8xx and E7x05 chipset support
<M> NVIDIA nForce/nForce2 chipset support


All right. I do have some dumb questions:

a) Why do I have to use modules from ATI ?

b) Or, why do I have to use ATI drivers instead of /dev/agpgart ?
(if they are not the same thing...)

c) Will I have to do the same thing (module + kernel compilation) with NFORCE drivers too ? I´ve downloaded file "NFORCE-Linux-x86-1.0-0310-pkg1.run". I know, they´re for Net+Sound Cards. But some of my interfaces have no module for it.

d) Anybody knows any decent documentation about all that things ?

It´s a little bit confusing to me, sorry.

Thank ya.
 
Old 01-16-2006, 07:06 PM   #24
Atmchicago
Member
 
Registered: Apr 2003
Location: Baltimore
Distribution: Fedora
Posts: 220

Rep: Reputation: 32
I often find that when you upgrade your GCC to a newer major version without recompiling your kernel you get errors when you recompile your drivers. Did you upgrade gcc? Because that could be the issue then.

I've also found that ATI's drivers have gotten much better recently, but that using newer kernels tends to give problems until ATI releases new drivers. Like right now kernel 2.6.15 is less stable than 2.6.14 for me, and the latest ATI drivers were released after 2.6.14 but before 2.6.15.
 
Old 01-17-2006, 02:19 AM   #25
bobbens
Member
 
Registered: Sep 2004
Location: Barcelona
Distribution: Debian, FreeBSD, Gentoo
Posts: 586

Rep: Reputation: 30
Quote:
Originally Posted by mcapelati
All right. I do have some dumb questions:

a) Why do I have to use modules from ATI ?
Because you want 3D I'm guessing. You can also use the experimental r300 driver which is in xorg 6.9 and later. For my needs I find it works more then well enough (plus it's open source, no kernel tainting).

Quote:
Originally Posted by mcapelati
b) Or, why do I have to use ATI drivers instead of /dev/agpgart ?
(if they are not the same thing...)
That's optional, you can choose to use the fglrx internal agp drivers or the external ones, you actually specify that in the devices section of your xorg.conf, either way though you have to have /dev/agpgart and your agp modules (i think). Some people report more fps with the internal, others with the external, for some it doesnt work with one or the other. Depends more on the user.

Quote:
Originally Posted by mcapelati
c) Will I have to do the same thing (module + kernel compilation) with NFORCE drivers too ? I´ve downloaded file "NFORCE-Linux-x86-1.0-0310-pkg1.run". I know, they´re for Net+Sound Cards. But some of my interfaces have no module for it.
I tried the nForce drivers waaay back in the day when I was just starting out, and they ended up giving me alot more problems then just using the standard ones, which would be snd_intel8x0 for sound (on nforce2) and the other one for ethernet (forgot about it's name, I have it compiled in).

Quote:
Originally Posted by mcapelati
d) Anybody knows any decent documentation about all that things ?
The best fglrx instructions are from their site, while the r300 since it's pretty recent, has a serious lack of documentation. I wrote up a howto for debian SID, but you can most likely follow more or less the same procedure. Other then that you can read the radeon(4) manpage, the release notes for x.org 6.9 and others for the r300. You can also find about the fglrx pretty much everywhere, since it's been out for a while and had no alternative.

Last edited by bobbens; 01-17-2006 at 02:21 AM.
 
Old 01-17-2006, 11:25 AM   #26
mcapelati
LQ Newbie
 
Registered: Dec 2005
Location: São Paulo, Brazil
Distribution: Slackware 10.2
Posts: 28

Original Poster
Rep: Reputation: 15
Thumbs down Seems that I´ve found one problem...

After all changes, even agpgart were not work

But I fix it.

After passing a few hours trying to make things run, I think I´ve found the problem. It seems to be anything about preemption model:

Quote:
-- Processor type and features -
-- Preemption Model --
( ) No Forced Preemption (Server)
( ) Voluntary Kernel Preemption (Desktop)
(X) Preemptible Kernel (Low-Latency Desktop)
[*] Preempt The Big Kernel Lock
If I set the first or second, boot gives error messages, and does not load any module (even agpgart).

This is weird, because reading the Help of each option, shouldn´t have any problem. But, there is.

So, I let options set like above, recompile kernel, and modules turned back to be loaded.

BUT, when making modules for ATI drivers and trying to load them, it´s still showing errors:

Quote:
# cd /lib/modules/fglrx/build_mod/
# sh make.sh
# cd ..
# sh make_install.sh

Messages:

- creating symlink
- recreating module dependency list
- trying a sample load of the kernel modules
FATAL: Error inserting fglrx (/lib/modules/2.6.14.3/kernel/drivers/char/drm/fglrx.ko): Operation not permitted
failed.
Besides that, the modules fglrx.ko and fglrx_agp.ko are being created.

But they can´t be loaded, because of that error message above !

Quote:
# modprobe fglrx

Same Message:

FATAL: Error inserting fglrx (/lib/modules/2.6.14.3/kernel/drivers/char/drm/fglrx.ko): Operation not permitted
 
Old 01-17-2006, 11:33 AM   #27
mcapelati
LQ Newbie
 
Registered: Dec 2005
Location: São Paulo, Brazil
Distribution: Slackware 10.2
Posts: 28

Original Poster
Rep: Reputation: 15
Some additional Information:

# modprobe -l | grep agp
Quote:
/lib/modules/2.6.14.3/kernel/drivers/char/drm/fglrx_agp.ko
/lib/modules/2.6.14.3/kernel/drivers/char/agp/nvidia-agp.ko
/lib/modules/2.6.14.3/kernel/drivers/char/agp/agpgart.ko
/lib/modules/2.6.14.3/kernel/drivers/char/agp/ati-agp.ko
# modprobe -l | grep fgl
Quote:
/lib/modules/2.6.14.3/kernel/drivers/char/drm/fglrx_agp.ko
/lib/modules/2.6.14.3/kernel/drivers/char/drm/fglrx.ko
Which modules I must load ? Is there any order ?
 
Old 01-18-2006, 12:23 AM   #28
endiku
LQ Newbie
 
Registered: Jan 2006
Posts: 3

Rep: Reputation: 0
Ok, I just installed Fedora Core 4 yesterday and I use the Kernel version 2.6.11-1.1369_FC4. (My first time in Linux)

Today I tried installing the latest ATi drivers that I could found at www-ati-com (8.20.8-i386).

Now, my fglrx shows this for my OpenGL drivers:
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)

But when I try to run Quake 3 Arena, I get this message:
You are using software Mesa (no hardware acceleration)!

So I started looking on this forum to find a solution to my OpenGL drivers and found this thread. From what I understand, I have to recompile my flgrx so I tried to execute this 3 commands:
root@box:# cd /lib/modules/fglrx/build_mod
root@box:/lib/modules/fglrx/build_mod# sh make.sh
root@box:/lib/modules/fglrx/build_mod# sh ../make_install.sh

When i type sh make.sh i got an error:
[root@localhost build_mod]# sh make.sh
make.sh: line 40: gcc: command not found
make.sh: line 46: [: !=: unary operator expected
ATI module generator V 2.0
==========================
initializing...
kernel includes at /usr/src/linux/include not found or incomplete
file: /usr/src/linux/include/linux/version.h

Now Im lost =) Any clues?
Thanks
 
Old 01-18-2006, 02:55 AM   #29
bobbens
Member
 
Registered: Sep 2004
Location: Barcelona
Distribution: Debian, FreeBSD, Gentoo
Posts: 586

Rep: Reputation: 30
Quote:
Originally Posted by endiku
When i type sh make.sh i got an error:
[root@localhost build_mod]# sh make.sh
make.sh: line 40: gcc: command not found
make.sh: line 46: [: !=: unary operator expected
Can't be much easier then this, install gcc. Don't know how to do it in fedora core, but it shouldn't be too hard.
 
Old 01-18-2006, 08:10 AM   #30
endiku
LQ Newbie
 
Registered: Jan 2006
Posts: 3

Rep: Reputation: 0
Good, installing gcc the first part, but I'm still getting an error when I enter sh make.sh:

[root@localhost build_mod]# sh make.sh
ATI module generator V 2.0
==========================
initializing...
kernel includes at /usr/src/linux/include not found or incomplete
file: /usr/src/linux/include/linux/version.h

what does it mean??
 
  


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
ATI Radeon 9250 Driver gambleDT Debian 16 12-15-2008 08:31 AM
Better driver for ATI Radeon 9250? kahlil88 Linux - Hardware 8 01-11-2006 01:09 AM
ATi Radeon 9000 Pro and Radeon(flgrx) driver included on Mandrake 10.1 Official St3althcAt Linux - Hardware 1 05-07-2005 08:30 PM
ATI 'radeon' driver nagromo Linux - Hardware 8 02-24-2005 10:53 AM
ATI Radeon 9200 SE TV-OUT without ATI Driver? carboncopy Slackware 6 07-11-2004 08:30 AM

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

All times are GMT -5. The time now is 02:07 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
Open Source Consulting | Domain Registration