Gentoo Archives: gentoo-user

From: Manuel McLure <manuel@××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] two ati-drivers packages using --deep --update
Date: Mon, 07 Nov 2005 22:45:32
Message-Id: 436FD2F8.4070702@mclure.org
In Reply to: Re: [gentoo-user] two ati-drivers packages using --deep --update by Mark Knecht
1 Mark Knecht wrote:
2 > On 11/7/05, Manuel McLure <manuel@××××××.org> wrote:
3
4 >>The 32-bit drivers won't work on a 64-bit kernel, but ATI does provide
5 >>64-bit binary drivers as well (and the ebuild should download the
6 >>correct one depending on whether you're on a 64-bit or 32-bit Gentoo
7 >>install.)
8 >>
9 >>--
10 >
11 >
12 > Manuel,
13 > Hi. Are you able to make this work? I'm not. (so far...)
14 >
15 > 1) I emerged ati-drivers-8.18.8-r1. Is that new enough?
16
17 I had this working with the 8.14.13 drivers and kernel
18 2.6.12-mumblemumbe. My Gentoo64 installation has gone byebye, so I
19 haven't tested with newer versions.
20
21 > lightning ~ # emerge -pv ati-drivers
22
23 Make sure that /usr/src/linux points to /usr/src/linux-<version>, where
24 <version> is the exact version that "uname -a" reports. Also, when you
25 upgrade kernels, you *must* remerge ati-drivers, since they need to
26 build against the current kernel sources.
27
28 > These are the packages that I would merge, in order:
29 >
30 > Calculating dependencies ...done!
31 > [ebuild R ] media-video/ati-drivers-8.18.8-r1 +opengl 0 kB
32 >
33 > Total size of downloads: 0 kB
34 > lightning ~ #
35 >
36 > 2) I ran the app referenced in the emerge output to set up xrog.config:
37 >
38 > aticonfig --initial --input=/etc/X11/xorg.conf
39 >
40 > 3) I looked at xorg.conf. It looks OK, if a bit confusing. Now it
41 > appears that the developers are attempting to make a single xorg.conf
42 > that works with either the radeon driver or the fglrx driver? That
43 > would be nice.
44 >
45 > 4) I switched to fglrx in /etc/modules.audtoload.d/kernel.2.6 and rebooted.
46
47 This shouldn't be needed - the fglrx X module should autoload the fglrx
48 module for you.
49
50 > 5) fglrx did not load:
51 > lightning ~ # lsmod | grep fglrx
52 > lightning ~ #
53
54 Any messages in /var/log/messages or dmesg output?
55
56 > 6) Xorg.0.log results:
57
58 [SNIP]
59
60 > (WW) fglrx(0): Failed to set up write-combining range (0xd7000000,0xff0000)
61 > (WW) fglrx(0): Failed to set up write-combining range (0xd6000000,0x1ff0000)
62 > (WW) fglrx(0): Failed to set up write-combining range (0xd4000000,0x3ff0000)
63 > (WW) fglrx(0): Failed to set up write-combining range (0xd0000000,0x7ff0000)
64 > (WW) Open APM failed (/dev/apm_bios) (No such file or directory)
65 > lightning ~ #
66 >
67 > 7) mtrr problems:
68 >
69 > dmesg
70 > <SNIP>
71 > mtrr: no more MTRRs available
72 > mtrr: no more MTRRs available
73 > mtrr: no more MTRRs available
74 > mtrr: no more MTRRs available
75 > eth0: no IPv6 routers present
76 > lightning ~ #
77 > lightning ~ # cat /proc/mtrr
78 > reg00: base=0x00000000 ( 0MB), size= 512MB: write-back, count=1
79 > reg01: base=0xd7fe0000 (3455MB), size= 64KB: write-combining, count=1
80 > reg02: base=0xd7fc0000 (3455MB), size= 128KB: write-combining, count=1
81 > reg03: base=0xd7f80000 (3455MB), size= 256KB: write-combining, count=1
82 > reg04: base=0xd7f00000 (3455MB), size= 512KB: write-combining, count=1
83 > reg05: base=0xd7e00000 (3454MB), size= 1MB: write-combining, count=1
84 > reg06: base=0xd7c00000 (3452MB), size= 2MB: write-combining, count=1
85 > reg07: base=0xd7800000 (3448MB), size= 4MB: write-combining, count=1
86 > lightning ~ #
87
88
89 From what I see here, it looks like the MTRR stuff is the problem.
90 Possibly some of the patchsets in the -rt kernels (as opposed to the
91 -gentoo kernels) are causing problems. I'd try manually doing a
92 "modprobe fglrx" and see if there are any useful messages. Also, you
93 might try to use "fglrxconfig" instead of "aticonfig" to create the
94 configuration.
95
96 --
97 Manuel A. McLure KE6TAW <manuel@××××××.org> <http://www.mclure.org>
98 ...for in Ulthar, according to an ancient and significant law,
99 no man may kill a cat. -- H.P. Lovecraft
100 --
101 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] two ati-drivers packages using --deep --update Mark Knecht <markknecht@×××××.com>