Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Xorg and ATI issue on AMD64 [solved]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
netaku
Apprentice
Apprentice


Joined: 13 May 2004
Posts: 193

PostPosted: Fri Aug 12, 2005 10:16 pm    Post subject: Xorg and ATI issue on AMD64 [solved] Reply with quote

I recently installed gentoo 64 on my computer. The stats are AMD 3500 processor, ATI Radeon 9800 Pro, and other stuff. I was having trouble getting Xorg to work, but I eventually got it up and running. Furthermore, I was able to get fluxbox running. However, one error, that although it does not inhibit me using fluxbox, is something I want to get resolved. After exiting X, the following error is shown:

X Window System Version 6.8.2
Release Date: 9 February 2005
X Protocol Version 11, Revision 0, Release 6.8.2
Build Operating System: Linux 2.6.12-gentoo-r6 x86_64 [ELF]
Current Operating System: Linux duo 2.6.12-gentoo-r6 #2 SMP Wed Aug 10 20:52:55 EST 2005 x86_64
Build Date: 10 August 2005
Before reporting problems, check http://wiki.X.Org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Fri Aug 12 22:46:28 2005
(==) Using config file: "/etc/X11/xorg.conf"
Using vt 7
(WW) fglrx: No matching Device section for instance (BusID PCI:1:0:1) found
FATAL: Module fglrx not found.
[drm] failed to load kernel module "fglrx"
(EE) fglrx(0): DRIScreenInit failed!
Could not init font path element /usr/X11R6/lib/X11/fonts/local/, removing from list!

waiting for X server to shut down

When I installed the ati driver, I also received the following error:
[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.12-gentoo-r6/build SUBDIRS=/lib64/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-2.6.12-gentoo-r6'
CC [M] /lib64/modules/fglrx/build_mod/2.6.x/agp3.o
CC [M] /lib64/modules/fglrx/build_mod/2.6.x/nvidia-agp.o
CC [M] /lib64/modules/fglrx/build_mod/2.6.x/agpgart_be.o
/lib64/modules/fglrx/build_mod/2.6.x/agpgart_be.c: In function `agp_find_supported_device':
/lib64/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7136: error: structure has no member named `slot_name'
/lib64/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7156: error: structure has no member named `slot_name'
/lib64/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7161: error: structure has no member named `slot_name'
/lib64/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7187: error: structure has no member named `slot_name'
/lib64/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7207: error: structure has no member named `slot_name'
/lib64/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7227: error: structure has no member named `slot_name'
/lib64/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7232: error: structure has no member named `slot_name'
/lib64/modules/fglrx/build_mod/2.6.x/agpgart_be.c: In function `__fgl_agp_init':
/lib64/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7613: warning: `pm_register' is deprecated (declared at include/linux/pm.h:10$/lib64/modules/fglrx/build_mod/2.6.x/agpgart_be.c: In function `__fgl_agp_cleanup':
/lib64/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7623: warning: `pm_unregister_all' is deprecated (declared at include/linux/p$make[2]: *** [/lib64/modules/fglrx/build_mod/2.6.x/agpgart_be.o] Error 1
make[1]: *** [_module_/lib64/modules/fglrx/build_mod/2.6.x] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.12-gentoo-r6'
make: *** [kmod_build] Error 2
build failed with return value 2
[Error] Kernel Module : Failed to compile kernel module - please consult readme.


I am not sure what other information may be needed because I am not sure what the problem actually is. Since I can still run fluxbox, I do not think the problem can be that serious, but just in case, I want to fix it. Any help would be very welcome.
_________________
Valar Morghulis


Last edited by netaku on Mon Aug 15, 2005 1:03 pm; edited 2 times in total
Back to top
View user's profile Send private message
Zyzzyva100
Apprentice
Apprentice


Joined: 08 Aug 2005
Posts: 193

PostPosted: Sat Aug 13, 2005 12:53 am    Post subject: Reply with quote

I wish I could help, but I am getting the same error. I did the x86 build, but otherwise my system is the same as yours.

I tried emerging the ati drivers and then configuring xsrever for them, but it didn't work. If I run startx for a user that is part of the video group, I just get an error.
Back to top
View user's profile Send private message
/carlito
Guru
Guru


Joined: 31 Dec 2004
Posts: 451
Location: Belgium

PostPosted: Sat Aug 13, 2005 6:49 am    Post subject: Reply with quote

You guys should've searched the forum, this question has come up a lot...

But i'll be nice and give you the answer.

Greetz
_________________

.O.
..O
OOO
Back to top
View user's profile Send private message
netaku
Apprentice
Apprentice


Joined: 13 May 2004
Posts: 193

PostPosted: Sat Aug 13, 2005 2:03 pm    Post subject: Reply with quote

I have actually searched the forum, and I have read pages of posts about ati/amd64 problems, but nothing exactly like my problem. Because I am new to linux, I do not want to go around messing up everything. Any help you can give I would be apreciative.
_________________
Valar Morghulis
Back to top
View user's profile Send private message
/carlito
Guru
Guru


Joined: 31 Dec 2004
Posts: 451
Location: Belgium

PostPosted: Sat Aug 13, 2005 2:42 pm    Post subject: Reply with quote

/carlito wrote:
But i'll be nice and give you the answer.

_________________

.O.
..O
OOO
Back to top
View user's profile Send private message
avieth
Veteran
Veteran


Joined: 17 Sep 2004
Posts: 1945
Location: Canada

PostPosted: Sat Aug 13, 2005 7:24 pm    Post subject: Reply with quote

/carlito wrote:
You guys should've searched the forum, this question has come up a lot...

But i'll be nice and give you the answer.

Greetz


Heres the answer
Back to top
View user's profile Send private message
netaku
Apprentice
Apprentice


Joined: 13 May 2004
Posts: 193

PostPosted: Sat Aug 13, 2005 9:22 pm    Post subject: Reply with quote

Although I was tempted to go out and buy an nvidia card, I realized that I would have to BUY another card. Therefore, I am going to try fix what I have, since I am cheap. Thanks for the information on the ati/gentoo website, but I am still having trouble installing the ati drivers. They are not installing correctly, and the error is still the same as before (pasted below). What could be causing this?

[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.12-gentoo-r6/build SUBDIRS=/lib64/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-2.6.12-gentoo-r6'
CC [M] /lib64/modules/fglrx/build_mod/2.6.x/agp3.o
CC [M] /lib64/modules/fglrx/build_mod/2.6.x/nvidia-agp.o
CC [M] /lib64/modules/fglrx/build_mod/2.6.x/agpgart_be.o
/lib64/modules/fglrx/build_mod/2.6.x/agpgart_be.c: In function `agp_find_supported_device':
/lib64/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7136: error: structure has no member named `slot_name'
/lib64/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7156: error: structure has no member named `slot_name'
/lib64/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7161: error: structure has no member named `slot_name'
/lib64/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7187: error: structure has no member named `slot_name'
/lib64/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7207: error: structure has no member named `slot_name'
/lib64/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7227: error: structure has no member named `slot_name'
/lib64/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7232: error: structure has no member named `slot_name'
/lib64/modules/fglrx/build_mod/2.6.x/agpgart_be.c: In function `__fgl_agp_init':
/lib64/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7613: warning: `pm_register' is deprecated (declared at include/linux/pm.h:10$/lib64/modules/fglrx/build_mod/2.6.x/agpgart_be.c: In function `__fgl_agp_cleanup':
/lib64/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7623: warning: `pm_unregister_all' is deprecated (declared at include/linux/p$make[2]: *** [/lib64/modules/fglrx/build_mod/2.6.x/agpgart_be.o] Error 1
make[1]: *** [_module_/lib64/modules/fglrx/build_mod/2.6.x] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.12-gentoo-r6'
make: *** [kmod_build] Error 2
build failed with return value 2
[Error] Kernel Module : Failed to compile kernel module - please consult readme.
_________________
Valar Morghulis
Back to top
View user's profile Send private message
/carlito
Guru
Guru


Joined: 31 Dec 2004
Posts: 451
Location: Belgium

PostPosted: Sun Aug 14, 2005 8:51 am    Post subject: Reply with quote

Maybe you should try another kernel version? I tried to compile it against 2.6.12 and it was a no go.
Highest kernel version i used with fglrx was 2.6.11-gentoo-r6.
_________________

.O.
..O
OOO
Back to top
View user's profile Send private message
netaku
Apprentice
Apprentice


Joined: 13 May 2004
Posts: 193

PostPosted: Sun Aug 14, 2005 1:10 pm    Post subject: Reply with quote

Intresting. I will try that. The only other thing I can think of trying is an earlier version of xorg. I think the fact that I am running an amd64 is what is causing me more problems than normal. Thanks for the suggestion. I will let you know how it works out.
_________________
Valar Morghulis
Back to top
View user's profile Send private message
/carlito
Guru
Guru


Joined: 31 Dec 2004
Posts: 451
Location: Belgium

PostPosted: Sun Aug 14, 2005 3:42 pm    Post subject: Reply with quote

Just make sure you install the 64bit drivers from ati. What version are you trying to install?
_________________

.O.
..O
OOO
Back to top
View user's profile Send private message
koenderoo
Guru
Guru


Joined: 03 Jan 2004
Posts: 514
Location: Zwolle, The Netherlands

PostPosted: Sun Aug 14, 2005 4:22 pm    Post subject: Reply with quote

My system is almost similar to yours: AMD64 3400+ and Ati Radeon 9800 pro SE.
I got my card and X (KDE) running by following this link

If you need more info try this link
Back to top
View user's profile Send private message
netaku
Apprentice
Apprentice


Joined: 13 May 2004
Posts: 193

PostPosted: Sun Aug 14, 2005 5:26 pm    Post subject: Reply with quote

I think I may have solved the problem. Just wait...

And it works. All I had to do was reinstall linux with the appropriate drivers to make sure there were no reminants of the ati-drivers downloaded from ati.com, and then emerge the ati-drivers after unmasking them. I can now successfully start x.
_________________
Valar Morghulis
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum