Gentoo Archives: gentoo-amd64

From: Mark Knecht <markknecht@×××××.com>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] Re: SOLVED: gcc 4.1 upgrade - bad desktop interactivity anyone?
Date: Tue, 26 Sep 2006 01:13:00
Message-Id: 5bdc1c8b0609251809x5f32c34etd455e1a35899a467@mail.gmail.com
In Reply to: Re: [gentoo-amd64] Re: SOLVED: gcc 4.1 upgrade - bad desktop interactivity anyone? by Sergio Polini
1 On 9/25/06, Sergio Polini <sp_rm_it@×××××.it> wrote:
2 > Mark Knecht:
3 > > drmOpenDevice: node name is /dev/dri/card0
4 > > drmOpenDevice: open result is 6, (OK)
5 >
6 > Great! ;-)
7 >
8 > I've lost DRI when I've switched to modular X.
9 > I see in Xorg.0.log:
10 >
11 > drmOpenDevice: node name is /dev/dri/card0
12 > drmOpenDevice: open result is -1, (No such device)
13 > drmOpenDevice: open result is -1, (No such device)
14 > drmOpenDevice: Open failed
15 > ...
16 > (EE) RADEON(0): [dri] RADEONDRIGetVersion failed to open the DRM
17 > [dri] Disabling DRI.
18 >
19 > Please, could you tell me:
20 > i) kernel version;
21 > ii) the relevant settings in your kernel .config, for instance:
22 > CONFIG_MTRR
23 > CONFIG_AGP
24 > CONFIG_AGP_AMD64
25 > CONFIG_AGP_INTEL
26 > CONFIG_DRM
27 > iii) mesa version;
28 > iv) have you emerged x11-drm?
29 > v) your "Device" section in xorg.conf;
30 > vi) whatever info you think could help me ;-)
31 >
32 > Thanks
33 > Sergio
34 >
35
36 Hi Sergio,
37 Hope this helps. Let me knowif you need or want anything else.
38
39 Cheers,
40 Mark
41
42 The kernel is from the proaudio overlay:
43
44 lightning src # uname -a
45 Linux lightning 2.6.17-rt5 #2 PREEMPT Mon Sep 11 10:54:03 PDT 2006
46 x86_64 AMD Athlon(tm) 64 Processor 3000+ GNU/Linux
47 lightning src #
48
49
50 lightning src # cat linux/.config | grep CONFIG_MTRR
51 CONFIG_MTRR=y
52 lightning src #
53
54 CONFIG_AGP_AMD64=y
55 # CONFIG_AGP_INTEL is not set
56 # CONFIG_AGP_SIS is not set
57 # CONFIG_AGP_VIA is not set
58 lightning src #
59
60 lightning src # cat linux/.config | grep CONFIG_AMD64
61 lightning src #
62
63 CONFIG_DRM=m
64 # CONFIG_DRM_TDFX is not set
65 # CONFIG_DRM_R128 is not set
66 CONFIG_DRM_RADEON=m
67 # CONFIG_DRM_MGA is not set
68 # CONFIG_DRM_SIS is not set
69 # CONFIG_DRM_VIA is not set
70 # CONFIG_DRM_SAVAGE is not set
71 lightning src #
72
73 lightning src # eix drm
74 * games-arcade/ddrmat
75 Available versions: !0.12
76 Installed: none
77 Homepage: http://www.icculus.org/pyddr/
78 Description: Kernel module for parallel port Playstation
79 joystick (i.e. DDR mats) adapters
80
81 * x11-base/x11-drm
82 Available versions: !4.3.0-r7:2.6.14-hardened-r8
83 ~20050502:2.6.14-hardened-r8 ~20050807 ~20051028 ~20051223 20060608
84 Installed: none
85 Homepage: http://dri.sf.net
86 Description: DRM Kernel Modules for X11
87
88 * x11-libs/libdrm
89 Available versions: 2.0.1 ~2.0.2
90 Installed: 2.0.1
91 Homepage: http://dri.freedesktop.org/
92 Description: X.Org libdrm library
93
94 Found 3 matches.
95 lightning src #
96
97
98 lightning src # eix -I mesa
99 * media-libs/mesa
100 Available versions: 6.4.2-r2 ~6.5-r3 ~6.5-r4 ~6.5.1 ~6.5.1-r1
101 Installed: 6.4.2-r2
102 Homepage: http://mesa3d.sourceforge.net/
103 Description: OpenGL-like graphic library for Linux
104
105 * x11-apps/mesa-progs
106 Available versions: 6.4.2 ~6.5 ~6.5.1
107 Installed: 6.4.2
108 Homepage: http://mesa3d.sourceforge.net/
109 Description: Mesa's OpenGL utility and demo programs
110 (like glxgears)
111
112 Found 2 matches.
113 lightning src #
114
115
116 Section "Module"
117
118 # This loads the DBE extension module.
119
120 Load "dbe" # Double buffer extension
121
122 # This loads the miscellaneous extensions module, and disables
123 # initialisation of the XFree86-DGA extension within that module.
124 SubSection "extmod"
125 Option "omit xfree86-dga" # don't initialise the DGA extension
126 EndSubSection
127
128 # This loads the font modules
129 # Load "type1"
130 # Load "speedo"
131 Load "freetype"
132 # Load "xtt"
133
134 # This loads the GLX module
135 Load "glx"
136 # This loads the DRI module
137 Load "dri"
138
139 EndSection
140
141
142 # Device configured by xorgconfig:
143
144 Section "Device"
145 Identifier "** ATI Radeon (generic) [radeon]"
146 Driver "radeon"
147 #VideoRam 65536
148 # Insert Clocks lines here if appropriate
149 EndSection
150
151
152 Section "DRI"
153 Mode 0666
154 EndSection
155
156
157
158 lightning src # glxgears
159 Unknown device ID 5B60, please report. Assuming plain R300.
160 *********************************WARN_ONCE*********************************
161 File r300_state.c function r300Enable line 456
162 TODO - double side stencil !
163 ***************************************************************************
164 No ctx->FragmentProgram._Current!!
165 *********************************WARN_ONCE*********************************
166 File r300_render.c function r300_get_num_verts line 188
167 user error: Need more than 2 vertices to draw primitive QS !
168 ***************************************************************************
169 6422 frames in 5.0 seconds = 1284.247 FPS
170 6420 frames in 5.0 seconds = 1283.953 FPS
171 6421 frames in 5.0 seconds = 1284.129 FPS
172 6415 frames in 5.0 seconds = 1282.975 FPS
173
174 lightning src #
175 --
176 gentoo-amd64@g.o mailing list