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