LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-13-2005, 11:02 AM   #1
xPhoenix
LQ Newbie
 
Registered: May 2005
Distribution: Slackware 10.2
Posts: 7

Rep: Reputation: 0
Radeon X700 Pro problems


Hi!

I can't get 3D hardware acceleration working with my Asus Radeon X700 Pro 256MB, All OpenGL apps use mesa( software) - it's real slow in 3D. 2D acceleration seems to be working( KDE interface and such). I'm using ati drivers v. 8-16-20 and there seems to be some problem with the kernel module - fglrx log says it couldn't load the kernel module.

The dist is Slackware 10.2 with kernel 2.6.13( custom compiled, so there might be something wrong there).

Hardware config:
AMD Sempron 3100+
Gigabyte K8NE nForce4
Asus Radeon X700 Pro 256MB PCI-Express

I compiled the kernel as 32bit - should I rather use 64bit architecture?

fglrx instalation log:
Quote:
[Message] Kernel Module : Trying to install a precompiled kernel module.
[Message] Kernel Module : Precompiled kernel module version mismatched.
[Message] Kernel Module : Found kernel module build environment, generating kernel module now.
ATI module generator V 2.0
==========================
initializing...
cleaning...
patching 'highmem.h'...
assuming new VMA API since we do have kernel 2.6.x...
doing Makefile based build for kernel 2.6.x and higher
make -C /lib/modules/2.6.13/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-2.6.13'
CC [M] /lib/modules/fglrx/build_mod/2.6.x/agp3.o
CC [M] /lib/modules/fglrx/build_mod/2.6.x/nvidia-agp.o
CC [M] /lib/modules/fglrx/build_mod/2.6.x/agpgart_be.o
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c: In function `__fgl_agp_init':
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:8166: warning: `pm_register' is deprecated (declared at include/linux/pm.h:107)
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c: In function `__fgl_agp_cleanup':
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:8176: warning: `pm_unregister_all' is deprecated (declared at include/linux/pm.h:117)
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c: At top level:
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:6070: warning: `ati_gart_base' defined but not used
CC [M] /lib/modules/fglrx/build_mod/2.6.x/i7505-agp.o
CC [M] /lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `firegl_stub_putminor':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:498: warning: `inter_module_put' is deprecated (declared at include/linux/module.h:573)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:500: warning: `inter_module_unregister' is deprecated (declared at include/linux/module.h:570)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `firegl_stub_register':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:520: warning: `inter_module_register' is deprecated (declared at include/linux/module.h:569)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:551: warning: `inter_module_put' is deprecated (declared at include/linux/module.h:573)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `__ke_verify_area':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1428: warning: `verify_area' is deprecated (declared at include/asm/uaccess.h:105)
LD [M] /lib/modules/fglrx/build_mod/2.6.x/fglrx.o
Building modules, stage 2.
MODPOST
Warning: could not find /lib/modules/fglrx/build_mod/2.6.x/.libfglrx_ip.a.GCC3.cmd for /lib/modules/fglrx/build_mod/2.6.x/libfglrx_ip.a.GCC3
CC /lib/modules/fglrx/build_mod/2.6.x/fglrx.mod.o
LD [M] /lib/modules/fglrx/build_mod/2.6.x/fglrx.ko
make[1]: Leaving directory `/usr/src/linux-2.6.13'
build succeeded with return value 0
duplicating results into driver repository...
done.
==============================
- creating symlink
- recreating module dependency list
- trying a sample load of the kernel module
failed.
[Error] Kernel Module : Failed to install compiled kernel module - please consult readme.
Xorg.log has these problems:
Quote:
(II) Loading extension ATIFGLRXDRI
(II) fglrx(0): doing DRIScreenInit
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
[drm] failed to load kernel module "fglrx"
(II) fglrx(0): [drm] drmOpen failed
(EE) fglrx(0): DRIScreenInit failed!
(WW) fglrx(0): ***********************************************
(WW) fglrx(0): * DRI initialization failed! *
(WW) fglrx(0): * (maybe driver kernel module missing or bad) *
(WW) fglrx(0): * 2D acceleraton available (MMIO) *
(WW) fglrx(0): * no 3D acceleration available *
(WW) fglrx(0): ********************************************* *
Is it possible the problems is the PCI-E interface?
The driver seems to recognize the card, or at least it has basic info about it:
Quote:
(II) fglrx(0): Primary V_BIOS segment is: 0xc000
(**) fglrx(0): Option "mtrr" "off"
(--) fglrx(0): Chipset: "RADEON X700 PRO (RV410 5E4B)" (Chipset = 0x5e4b)
(--) fglrx(0): (PciSubVendor = 0x1043, PciSubDevice = 0x0058)
(--) fglrx(0): board vendor info: third party graphics adapter - NOT original ATI
(--) fglrx(0): Linear framebuffer (phys) at 0xe0000000
(--) fglrx(0): MMIO registers at 0xf1000000
Thanks in advance for any input on this!
 
Old 10-25-2005, 03:00 PM   #2
nelsonnery
Member
 
Registered: May 2003
Distribution: Mandriva 2005
Posts: 57

Rep: Reputation: 15
I am having exactly the same problem with the same graphic card on a different computer. If I find a solution, I'll post it.

I appreciate if you can do the same :-)

Good luck!

nelsonnery
 
Old 10-25-2005, 11:04 PM   #3
beeblequix
Member
 
Registered: Oct 2005
Location: Tierra Firma, Earth
Distribution: Debian of course...
Posts: 198

Rep: Reputation: 30
Same problem here too. Only I'm using kernel 2.4.27-2-k7, not 2.6.x. I know I've fixed this before. My error message in the /usr/share/fglrx/fglrx-install.log reads:
....yada yada yada...
No kernel module build environment - please consult readme.

I'm thinking it's because I just don't have the right libraries installed.

*checks Synaptic Package Manager*

Mmmkay. Looks like I have jack-diddly-squat installed in terms of 'headers'. That's probably it.

*installing headers etc*
*rebooting*

I'll be back...
 
Old 10-26-2005, 07:57 AM   #4
nelsonnery
Member
 
Registered: May 2003
Distribution: Mandriva 2005
Posts: 57

Rep: Reputation: 15
You need the kernel source to build the module :-)

Good luck!
 
Old 10-26-2005, 09:38 AM   #5
beeblequix
Member
 
Registered: Oct 2005
Location: Tierra Firma, Earth
Distribution: Debian of course...
Posts: 198

Rep: Reputation: 30
Gosh, I thought I did have it installed. I did install "kerenel build packages" and about every game I could select. Nada yet. When I get home I'll make sure I have "kernel source". Ok, what is it really called? That is, 'really' in terms of able to surround the name with real quotes.....?
 
Old 10-26-2005, 09:42 AM   #6
xPhoenix
LQ Newbie
 
Registered: May 2005
Distribution: Slackware 10.2
Posts: 7

Original Poster
Rep: Reputation: 0
Well, I've tried using ati customer support - and i'm still exchanging opinions with them - the guy that got my case assigned doesn't really know that much about unix - even though the category was "linux driver support".

As far as i was able to tell, my problem is that the kernel module doesn't load.
Strange thing is, modprobe docs say modules should be in /lib/modules/"kernel version"/ ,
while this fgrx "installs" all it's libraries into /lib/modules/fglrx. I've tried copying it into subdirs in /lib/modules/2.6.13/ but modprobe still keeps saying "module not found".

If anyone knows where this should go so that it is found and loaded, please let me know.

Gods, I ain't ever gonna buy a radeon again! Never had such problems with nvidia cards. And windows config isn't all that much better - but that's yet another story.
 
Old 10-26-2005, 08:57 PM   #7
RedShirt
Senior Member
 
Registered: Oct 2005
Location: Denver
Distribution: Sabayon 3.5Loop2
Posts: 1,150

Rep: Reputation: 45
Damn.... I have
Code:
(II) fglrx(0): doing DRIScreenInit
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: Open failed
[drm] failed to load kernel module "fglrx"
[drm] failed to load kernel module "fglrx"
(II) fglrx(0): [drm] drmOpen failed
(EE) fglrx(0): DRIScreenInit failed!
(WW) fglrx(0): ***********************************************
(WW) fglrx(0): * DRI initialization failed!                  *
(WW) fglrx(0): * (maybe driver kernel module missing or bad) *
(WW) fglrx(0): * 2D acceleraton available (MMIO)             *
(WW) fglrx(0): * no 3D acceleration available                *
(WW) fglrx(0): ********************************************* *
(II) fglrx(0): FBADPhys: 0xd8000000 FBMappedSize: 0x08000000
Too... So... exactly where is this driver kernel module, or the kernel source or whatever supposed to be? Is there a way I can check on that? If that is all this about... and I have had these issues this long... man...I will kick myself. Any help?
 
Old 10-27-2005, 09:23 AM   #8
beeblequix
Member
 
Registered: Oct 2005
Location: Tierra Firma, Earth
Distribution: Debian of course...
Posts: 198

Rep: Reputation: 30
I installed the 'kernel source' for both 2.4.27-2-k7 and 2.6.8-k7.

STILL WON'T WORK. I still don't get the 'purdy' graphical ATI install interface.

It's gotta be that I don't know what the hell I'm doing. What is "kernel source" if it isn't what's listed in Synaptic Package Manager as "kernel-source"?

*places hands underneath desk and embeds everything 3' into the wall*. jk.

ATI sucks ***. I've actually been quite pleased with my Radeons on windows 2k/XP. ATI and Linux is a nightmare. I guess if I want to do this linux stuff I'll have to buy another computer with an Nvidia card. OR unretire my geforce 4 ti 4600 again.

Anyone want to buy a used HIS Excalibur 9800 pro with the Arctic Cooling system on it?
 
Old 10-27-2005, 09:39 AM   #9
nelsonnery
Member
 
Registered: May 2003
Distribution: Mandriva 2005
Posts: 57

Rep: Reputation: 15
Do not despair! :-)

I think that ATI's driver only works (or works better on kernels 2.6.x) so you should boot your computer from that kernel.

Which graphic card do you exactly have? Anyway..., you should at least be able to compile the module.

I'll try to guide you step by step, although I don't know much myself, plus I use Mandriva, which installs things in a different way than Debian or Debian based distros.

On the ATI site, on the page where you get the file, there's a link called "ATI Proprietary Linux Release Notes". Read it, it's meant to help...

Step 1. Get the driver from the ATI website. The latest version is Version: 8.18.8.

Step 2. As ROOT and on a terminal do "sh ati-driver-installer-8.18.8-i386.run" (or whichever version you get)

Step 3. You should get the graphical installation bit going.

If you don't or even if you do, after the installation you get a log file placed in /usr/share/fglrx/fglrx(something).log ---POST IT HERE!

And then we see what the problem is and what we can do. That's the linux way! ;-)


Good luck!

nelsonnery

P.S. As I said, I don't know as much as most people on this forum about linux. Any other suggestion or correction to what I said is most welcome.
 
Old 10-27-2005, 10:28 AM   #10
beeblequix
Member
 
Registered: Oct 2005
Location: Tierra Firma, Earth
Distribution: Debian of course...
Posts: 198

Rep: Reputation: 30
indeed you are wise.

I actually before coming to work tried it with kernel 2.6.8-k7, but still did the same thing -- ugly interface, no warm cuddly Tux to hold my wing, mentioned something like "you are using an operating system with GLIBC2.1 (or" then it cuts off.

I'll endeavor to post that error log because it did spit something out mentioning that I had errors. Just need eight hours...Even if you think you can't help thx anyway -- it all really does help.

 
Old 10-27-2005, 10:33 AM   #11
nelsonnery
Member
 
Registered: May 2003
Distribution: Mandriva 2005
Posts: 57

Rep: Reputation: 15
I did tell you to read the "ATI Proprietary Linux Release Notes". Read it, it's meant to help...

They say there

"Minimum System Requirements

Before attempting to install the ATI Proprietary Linux driver, the following software must be installed:

* POSIX Shared Memory (/dev/shm) support is required for 3D apps
* glibc version 2.2 or 2.3
* Linux kernel 2.4 or higher
* XFree86 version 4.1, 4.2, 4.3, or X.org 6.8"

As I said, you should at least be able to compile it...

Keep us posted!

nelsonnery
 
Old 10-27-2005, 11:41 AM   #12
RedShirt
Senior Member
 
Registered: Oct 2005
Location: Denver
Distribution: Sabayon 3.5Loop2
Posts: 1,150

Rep: Reputation: 45
For me, the only thing I am concerned about is that posix shared memory... is there a command to run to check on that? And in other areas it says agpgart is bad...should I disable it?
I got it to run, and better got tux and all, and then get to configuring that fglrx command...and man, I am not sure about 100% of those, so for the most part I went with thier recommended. You can see where that got me. It still says I have no kernel source. Which kernel? and where should I put it? Or does YAST find it?
 
Old 10-27-2005, 05:09 PM   #13
beeblequix
Member
 
Registered: Oct 2005
Location: Tierra Firma, Earth
Distribution: Debian of course...
Posts: 198

Rep: Reputation: 30
So I was home briefly a few hours ago. And decided to just try their installer script again. Kernel 2.6.8-k7.

Don't know why yet but this time the nifty colorful penguin appeared!

I think I uninstalled a number of packages before leaving -- maybe one of them was the problem?

I've read and reread that page before and was aware of those 4 requirements. I checked them all but I guess not well enough. I just looked in Synaptic to see what was already installed.

To check that your POSIX shared memory is enabled type this:
mount | grep "shm"

That basicly takes all the output from 'mount' (which by itself would list all mounted devices) and pipes it to search for the string "shm". The output should come back like this if your POSIX shared memory is enabled:
tmpfs on /dev/shm type tmpfs (rw)

I wonder if it was installing the nvidia-kernel thingie that helped -- I use an nforce 2 400 ultra chipset, and it mentioned somewhere on the ati page something about AGP not available that it needed chipset source too. Now I hadn't had a AGP message but it does mention kernel 2.6 needing it......hmm.....I'm going to test that by cancelling my ATI install, removing nvidia schtuff, reboot and retry.

UPDATED 11/8/05: my non-penguin and friendly smiling penguin interface problems came because of how I logged in to install it. When I opened a terminal and typed "su - root" and passwd I got the non-penguin version. When I opened the terminal and typed "su" plus passwd I got the purdy graphical interface.

Last edited by beeblequix; 11-08-2005 at 03:45 PM.
 
Old 10-30-2005, 11:40 AM   #14
RedShirt
Senior Member
 
Registered: Oct 2005
Location: Denver
Distribution: Sabayon 3.5Loop2
Posts: 1,150

Rep: Reputation: 45
I found the ways... see this thread for deatils:
http://www.linuxquestions.org/questi...t=acceleration
 
Old 11-04-2005, 10:56 AM   #15
nelsonnery
Member
 
Registered: May 2003
Distribution: Mandriva 2005
Posts: 57

Rep: Reputation: 15
Got it sorted!

Right, I got this working.

Let's see if I can help everyone else...

First of all, you need to get to the ATI website, get the latest driver and, on the same page, you should get a link named "ATI Proprietary Linux Release Notes".
You also need to make sure you get the kernel source FOR THE YOUR KERNEL VERSION!

After this, on a shell run

>sh ati-(etc etc).run

You need the right version of glibc (which is mentioned on the link "ATI Proprietary Linux Release Notes").

If you don't get the nice graphical installer, something's wrong. Post the fglrx log file here and we'll try to help.

If everything looks like it installed ok, run the fglrxconfig script to generate the xorg.conf file.

Reboot

If the 3D is still not working, check your /var/log/Xorg.0.log file and look for entries that start by (WW).
Post them here.

If have no message like

(II) fglrx(0): doing DRIScreenInit
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: Open failed
[drm] failed to load kernel module "fglrx"
[drm] failed to load kernel module "fglrx"
(II) fglrx(0): [drm] drmOpen failed
(EE) fglrx(0): DRIScreenInit failed!
(WW) fglrx(0): ***********************************************
(WW) fglrx(0): * DRI initialization failed! *
(WW) fglrx(0): * (maybe driver kernel module missing or bad) *
(WW) fglrx(0): * 2D acceleraton available (MMIO) *
(WW) fglrx(0): * no 3D acceleration available *
(WW) fglrx(0): ********************************************* *
(II) fglrx(0): FBADPhys: 0xd8000000 FBMappedSize: 0x08000000

thank make sure you have POSIX Shared Memory (/dev/shm) (to see if you have it, check the link on the post by RedShirt (just before mine)

And finally, if you still don't have 3D accel and there's no obvious reason for it (like me), make sure you have installed libstdc++5

Also, a useful way of finding what is going wrong with your 3D is to do
>setenv LIBGL_DEBUG verbose
and then
>glxinfo

and see what it is complaning about.

I hope this helps somehow...

Good luck!
 
  


Reply


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
Can't Multihead - Ati Radeon X700 - SuSE 9.3 GaryvdM Linux - Hardware 6 04-06-2006 12:21 PM
ATI driver not working with Radeon X700 Pro Chris107 Linux - Hardware 2 11-14-2005 03:48 PM
ATI Radeon X700 pci-e fedora core Big problems byker123456 Linux - Hardware 1 07-13-2005 12:30 PM
Radeon Mobility x700 and Sarge aciesd Linux - Laptop and Netbook 0 06-13-2005 11:14 PM
Mobility Radeon X700 on Acer 1690 (problems) gravitek Linux - Hardware 1 05-29-2005 08:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:22 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration