Gentoo Archives: gentoo-user-de

From: Robert Ullrich <roul76@×××.de>
To: gentoo-user-de@l.g.o
Subject: Re: [gentoo-user-de] nvidia opengl und ich: glxgears bleibst schwarz
Date: Tue, 10 Aug 2004 02:51:41
Message-Id: 20040810045112.2b434bce@springfield
In Reply to: [gentoo-user-de] nvidia opengl und ich: glxgears bleibst schwarz by Robert Ullrich
1 Hallo,
2
3 nach einigen Versuchen und verschiedenen Inspirationen aus den google-Groups läuft glx-gears:
4
5 rob@springfield ~ $ glxgears -info
6 GL_RENDERER = RIVA TNT2/AGP/3DNOW!
7 GL_VERSION = 1.5.1 NVIDIA 61.11
8 GL_VENDOR = NVIDIA Corporation
9 GL_EXTENSIONS = GL_ARB_imaging GL_ARB_multitexture GL_ARB_point_parameters GL_ARB_texture_env_add GL_ARB_texture_mirrored_repeat GL_ARB_transpose_matrix GL_ARB_vertex_buffer_object GL_ARB_window_pos GL_EXT_texture_env_add GL_EXT_abgr GL_EXT_bgra GL_EXT_compiled_vertex_array GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_packed_pixels GL_EXT_pixel_buffer_object GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_stencil_wrap GL_EXT_texture_edge_clamp GL_EXT_texture_env_combine GL_EXT_texture_lod_bias GL_EXT_texture_object GL_EXT_vertex_array GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_KTX_buffer_region GL_NV_blend_square GL_NV_fog_distance GL_NV_packed_depth_stencil GL_NV_texgen_reflection GL_NV_texture_env_combine4 GL_SGIS_multitexture GL_SUN_slice_accum
10 760 frames in 5.0 seconds = 152.000 FPS
11 1055 frames in 5.0 seconds = 211.000 FPS
12 1055 frames in 5.0 seconds = 211.000 FPS
13 1055 frames in 5.0 seconds = 211.000 FPS
14 1055 frames in 5.0 seconds = 211.000 FPS
15 1054 frames in 5.0 seconds = 210.800 FPS
16
17 Was habe ich gemacht?
18
19 1.) agpgart im Kernel (2.6.7-r11) ausgeschaltet (Device drivers --> Character devices)
20 2.) DRM im Kernel eingeschaltet (Device drivers --> Character devices)
21 3.) (wiedermal) ACCEPT_KEYWORDS="~x86" emerge opengl-update nvidia-kernel nvidia-glx
22 4.) Anpassungen in /etc/X11/XF86Config (thx @ Alexander Schmidt):
23
24 ...
25 Section "Module"
26 Load "glx"
27 Load "record"
28 Load "extmod"
29 Load "dbe"
30 Load "dri"
31 Load "xtrap"
32 Load "freetype"
33 Load "type1"
34 Load "speedo"
35 EndSection
36 ...
37 Section "Device"
38 Identifier "ElsaErazorIIILT"
39 Driver "nvidia"
40 # Driver "nv"
41 # VideoRam 32768
42 # Insert Clocks lines here if appropriate
43 Option "NvAGP" "1"
44 Option "RenderAccel" "true"
45 EndSection
46 ...
47 Section "DRI"
48 Mode 0666
49 EndSection
50
51 Ich vermute, dass die Kernel-AGP-Unterstützung das Problem war, da ich von verschiedenen Seiten die Info mitgenommen habe, dass NVIDIA seine eigene AGP-Unterstützung mitbringt und diese nicht geladen werden kann, wenn das entsprechende Kernel-Modul schon geladen ist.
52
53 Grüße - und gute Nacht - Rob
54
55 On Mon, 9 Aug 2004 23:21:50 +0200
56 Robert Ullrich <roul76@×××.de> wrote:
57
58 > Hallo,
59 >
60 > ich habe folgendes Problem: Ich bekomme es einfach nicht hin, OpenGL-Anwendungen bei mir zum Laufen zu bringen. Ich habe die aktuellen Versionen von nvidia-kernel und nvidia-glx sowie - obwohl auch schon durch emerge - "opengl-update nvidia" ausgeführt und trotzdem passiert beim Aufruf von glxgears einfach NICHTS. Das Fenster bleibt schwarz.
61 > Zusätzlich habe ich folgenden Effekt:
62 > Beim ersten Aufruf von glxgears erhalte ich "Aborted":
63 >
64 > rob@springfield ~ $ glxgears
65 > Aborted
66 >
67 > (Das schwarze Fenster ist kurz zu sehen.) Um zu prüfen, ob überhaupt irgendwas geht, rufe ich dann glxinfo auf:
68 >
69 > rob@springfield ~ $ glxinfo
70 > name of display: :0.0
71 > display: :0 screen: 0
72 > direct rendering: Yes
73 > server glx vendor string: NVIDIA Corporation
74 > server glx version string: 1.3
75 > server glx extensions:
76 > GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig,
77 > GLX_SGIX_pbuffer, GLX_SGI_video_sync, GLX_SGI_swap_control
78 > client glx vendor string: NVIDIA Corporation
79 > client glx version string: 1.3
80 > client glx extensions:
81 > GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_visual_info,
82 > GLX_EXT_visual_rating, GLX_EXT_import_context, GLX_SGI_video_sync,
83 > GLX_NV_swap_group, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
84 > GLX_SGI_swap_control, GLX_NV_float_buffer
85 > GLX extensions:
86 > GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig,
87 > GLX_SGIX_pbuffer, GLX_SGI_video_sync, GLX_SGI_swap_control,
88 > GLX_ARB_get_proc_address
89 > OpenGL vendor string: NVIDIA Corporation
90 > OpenGL renderer string: RIVA TNT2/AGP/3DNOW!
91 > OpenGL version string: 1.5.1 NVIDIA 61.11
92 > OpenGL extensions:
93 > GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_point_parameters,
94 > GL_ARB_texture_env_add, GL_ARB_texture_mirrored_repeat,
95 > GL_ARB_transpose_matrix, GL_ARB_vertex_buffer_object, GL_ARB_window_pos,
96 > GL_EXT_texture_env_add, GL_EXT_abgr, GL_EXT_bgra,
97 > GL_EXT_compiled_vertex_array, GL_EXT_draw_range_elements,
98 > GL_EXT_fog_coord, GL_EXT_multi_draw_arrays, GL_EXT_packed_pixels,
99 > GL_EXT_pixel_buffer_object, GL_EXT_point_parameters,
100 > GL_EXT_rescale_normal, GL_EXT_secondary_color,
101 > GL_EXT_separate_specular_color, GL_EXT_stencil_wrap,
102 > GL_EXT_texture_edge_clamp, GL_EXT_texture_env_combine,
103 > GL_EXT_texture_lod_bias, GL_EXT_texture_object, GL_EXT_vertex_array,
104 > GL_IBM_rasterpos_clip, GL_IBM_texture_mirrored_repeat,
105 > GL_KTX_buffer_region, GL_NV_blend_square, GL_NV_fog_distance,
106 > GL_NV_packed_depth_stencil, GL_NV_texgen_reflection,
107 > GL_NV_texture_env_combine4, GL_SGIS_multitexture, GL_SUN_slice_accum
108 > glu version: 1.3
109 > glu extensions:
110 > GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess
111 >
112 > visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
113 > id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
114 > ----------------------------------------------------------------------
115 > 0x21 24 tc 0 32 0 r y . 8 8 8 0 0 24 8 16 16 16 16 0 0 None
116 > 0x22 24 dc 0 32 0 r y . 8 8 8 0 0 24 8 16 16 16 16 0 0 None
117 > 0x23 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 None
118 > 0x24 24 tc 0 32 0 r . . 8 8 8 0 0 24 8 16 16 16 16 0 0 None
119 > 0x25 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 None
120 > 0x26 24 tc 0 32 0 r y . 8 8 8 0 0 0 0 16 16 16 16 0 0 None
121 > 0x27 24 tc 0 32 0 r y . 8 8 8 8 0 0 0 16 16 16 16 0 0 None
122 > 0x28 24 tc 0 32 0 r . . 8 8 8 0 0 0 0 16 16 16 16 0 0 None
123 > 0x29 24 tc 0 32 0 r . . 8 8 8 8 0 0 0 16 16 16 16 0 0 None
124 > 0x2a 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 None
125 > 0x2b 24 dc 0 32 0 r . . 8 8 8 0 0 24 8 16 16 16 16 0 0 None
126 > 0x2c 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 None
127 > 0x2d 24 dc 0 32 0 r y . 8 8 8 0 0 0 0 16 16 16 16 0 0 None
128 > 0x2e 24 dc 0 32 0 r y . 8 8 8 8 0 0 0 16 16 16 16 0 0 None
129 > 0x2f 24 dc 0 32 0 r . . 8 8 8 0 0 0 0 16 16 16 16 0 0 None
130 > 0x30 24 dc 0 32 0 r . . 8 8 8 8 0 0 0 16 16 16 16 0 0 None
131 >
132 > Danach rufe ich wieder glxgears auf und es passiert nichts: Keine Zahnräder, keine Framerate - einfach nur ein schwarzes Fenster. Mit -info aufgerufen erhalte ich folgende Ausgabe (das Resultat ist das gleiche):
133 >
134 > rob@springfield ~ $ glxgears -info
135 > GL_RENDERER = RIVA TNT2/AGP/3DNOW!
136 > GL_VERSION = 1.5.1 NVIDIA 61.11
137 > GL_VENDOR = NVIDIA Corporation
138 > GL_EXTENSIONS = GL_ARB_imaging GL_ARB_multitexture GL_ARB_point_parameters GL_ARB_texture_env_add GL_ARB_texture_mirrored_repeat GL_ARB_transpose_matrix GL_ARB_vertex_buffer_object GL_ARB_window_pos GL_EXT_texture_env_add GL_EXT_abgr GL_EXT_bgra GL_EXT_compiled
139 > _vertex_array GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_packed_pixels GL_EXT_pixel_buffer_object GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_stencil_wrap GL_EXT_texture_edge_clamp GL_EXT_texture_env_combine GL_EXT_texture_lod_bias GL_EXT_texture_object GL_EXT_vertex_array GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_KTX_buffer_region GL_NV_blend_square GL_NV_fog_distance GL_NV_packed_depth_stencil GL_NV_texgen_reflection GL_NV_texture_env_combine4 GL_SGIS_multitexture GL_SUN_slice_accum
140 >
141 > In meiner /etc/X11/XF86Config sieht es wie folgt aus:
142 >
143 > ...
144 > # This loads the GLX module
145 > Load "glx"
146 > # This loads the DRI module
147 > Load "dri"
148 > ...
149 > Section "Device"
150 > Identifier "ElsaErazorIIILT"
151 > Driver "nvidia"
152 > #Driver "nv"
153 > #VideoRam 32768
154 > # Insert Clocks lines here if appropriate
155 > EndSection
156 > ...
157 > #Section "DRI"
158 > # Mode 0666
159 > #EndSection
160 >
161 >
162 > In /var/log/XFree86.0.log gibt es auch keine Auffälligkeiten (siehe Attachement), außer folgendes (letzte zwei Zeilen):
163 >
164 > ...
165 > (II) NVIDIA(0): Setting mode "1280x1024"
166 > (II) Loading extension NV-GLX
167 > (II) NVIDIA(0): NVIDIA 3D Acceleration Architecture Initialized
168 > (II) NVIDIA(0): Using the NVIDIA 2D acceleration architecture
169 > (==) NVIDIA(0): Backing store disabled
170 > (==) NVIDIA(0): Silken mouse enabled
171 > (II) Loading extension NV-CONTROL
172 > (==) RandR enabled
173 > Symbol __glXActiveScreens from module /usr/X11R6/lib/modules/extensions/libdri.a is unresolved!
174 > Symbol __glXActiveScreens from module /usr/X11R6/lib/modules/extensions/libdri.a is unresolved!
175 > ...
176 >
177 > Was läuft hier falsch?
178 > Welche Infos braucht Ihr noch?
179 >
180 >
181 > Grüße - Rob
182 >
183
184 --
185 gentoo-user-de@g.o mailing list

Replies

Subject Author
Re: [gentoo-user-de] nvidia opengl und ich: glxgears bleibst schwarz Robert Ullrich <roul76@×××.de>