Gentoo Archives: gentoo-user

From: Fernando Meira <fmeira@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] struggling with dri
Date: Mon, 10 Oct 2005 15:49:27
Message-Id: a3c2e88b0510100843i5ac97deer61324480b70dec61@mail.gmail.com
In Reply to: Re: [gentoo-user] struggling with dri by Richard Fish
1 On 10/10/05, Richard Fish <bigfish@××××××××××.org> wrote:
2 >
3 > Michael Taylor wrote:
4 >
5 > > unsubscribe
6 > >
7 > > On 10/10/05, *Fernando Meira* <fmeira@×××××.com
8 > > <mailto:fmeira@×××××.com>> wrote:
9 > >
10 > > On 10/10/05, *Jason Cooper* <gentoo@××××××××××.net
11 > > <mailto:gentoo@××××××××××.net>> wrote:
12 > >
13 > > Fernando Meira (fmeira@×××××.com <mailto:fmeira@×××××.com>)
14 > > scribbled:
15 > >> Yes, they were not 0666 but instead 0660. I changed them,
16 > > rebooted, and
17 > >> they're back to 0660 :(
18 > >
19 > > cd into /etc/udev/rules.d/ and make a file called
20 > > 10-local.rules . Add
21 > > the 'dri' lines from 50-udev.rules. Append to the end of each
22 > > line
23 > > "MODE=0666"
24 > >
25 > >> Anyway, I don't think it is a permissions problem, because I
26 > > get the same
27 > >> result if I run glxinfo with root... or is it?
28 > >
29 > > Make sure the module for your agpgart is loaded _before_ the
30 > > radeon
31 > > module.
32 > >
33 > > hth,
34 > >
35 > > jason.
36 > >
37 > >
38 > > Ok, I did so, now I have:
39 > > # ll /dev/dri/card0
40 > > crw-rw-rw- 1 root root 226, 0 Oct 10 2005 /dev/dri/card0
41 > >
42 > > but still no rendering:
43 > > # glxinfo | grep rendering
44 > > direct rendering: No
45 > >
46 > > anything else I should check?
47 > > Thanks,
48 > > Fernando
49 > >
50 > >
51 >
52 > Well, I wouldn't do anything so drastic as unsubscribing... :-)
53 >
54 > When you run glxinfo, what is your DISPLAY variable set to? DRI doesn't
55 > work across a network, so it should be DISPLAY=:0.0
56 >
57 > Also for reference, my "dri" section from xorg.conf:
58 >
59 > Section "dri"
60 > Group "graphics"
61 > Mode 0660
62 > EndSection
63 >
64 > Notice that I specify the Group. My account is then a member of the the
65 > "graphics" group.
66 >
67 > HTH,
68 > -Richard
69
70
71 Wow.. unsubscribe is kinda drastic... I'd end up with no dri and no one to
72 ask for help :)
73
74 My display is 0.0 (as you can see bellow the complete output of glxinfo.
75 I don't have specified the group in xorg, but I added my user to "video" and
76 set the mode to 0666 which allows all users...
77 it's hard to believe that's something to do with permissions.. but anyway,
78 I'll try it.. i don't have anything to loose.. Thanks!
79
80 Meanwhile, any other ideas?
81
82 $ glxinfo
83 name of display: :0.0
84 display: :0 screen: 0
85 direct rendering: No
86 server glx vendor string: SGI
87 server glx version string: 1.2
88 server glx extensions:
89 GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
90 GLX_EXT_import_context, GLX_OML_swap_method, GLX_SGI_make_current_read,
91 GLX_SGIS_multisample, GLX_SGIX_fbconfig
92 client glx vendor string: ATI
93 client glx version string: 1.3
94 client glx extensions:
95 GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
96 GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_ATI_pixel_format_float,
97 GLX_ATI_render_texture
98 GLX extensions:
99 GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
100 GLX_ARB_multisample
101 OpenGL vendor string: Mesa project: www.mesa3d.org <http://www.mesa3d.org>
102 OpenGL renderer string: Mesa GLX Indirect
103 OpenGL version string: 1.2 (1.5 Mesa 6.2.1)
104 OpenGL extensions:
105 GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_texture_border_clamp,
106 GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
107 GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3,
108 GL_ARB_transpose_matrix, GL_EXT_abgr, GL_EXT_blend_color,
109 GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_texture_env_add,
110 GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
111 GL_EXT_texture_lod_bias
112 glu version: 1.3
113 glu extensions:
114 GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess
115
116 visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
117 id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
118 ----------------------------------------------------------------------
119 0x23 24 tc 0 32 0 r . . 8 8 8 8 0 24 0 0 0 0 0 1 0 None
120 0x24 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 1 0 None
121 0x25 24 tc 0 32 0 r . . 8 8 8 8 0 24 0 16 16 16 16 1 0 Slow
122 0x26 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 1 0 Slow
123 0x27 24 tc 0 32 0 r y . 8 8 8 8 0 24 0 0 0 0 0 1 0 None
124 0x28 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 1 0 None
125 0x29 24 tc 0 32 0 r y . 8 8 8 8 0 24 0 16 16 16 16 1 0 Slow
126 0x2a 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 1 0 Slow
127 0x2b 24 dc 0 32 0 r . . 8 8 8 8 0 24 0 0 0 0 0 1 0 None
128 0x2c 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 1 0 None
129 0x2d 24 dc 0 32 0 r . . 8 8 8 8 0 24 0 16 16 16 16 1 0 Slow
130 0x2e 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 1 0 Slow
131 0x2f 24 dc 0 32 0 r y . 8 8 8 8 0 24 0 0 0 0 0 1 0 None
132 0x30 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 1 0 None
133 0x31 24 dc 0 32 0 r y . 8 8 8 8 0 24 0 16 16 16 16 1 0 Slow
134 0x32 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 1 0 Slow