LinuxForum.Fans
Тема

OpenGL - проблема с играми

Автор: phant0m 9 сообщений 4737 просмотров
#26090

Незнаю от чего но перестали работать игры, например: FAKK2, DOOM3, ...
Прошу помочь. Подозреваю проблему с opengl.
Вот то что отображается после запуска:

text
phant0m@debian:/media/linux/games/fakk2$ fakk2
Heavy Metal: FAKK2 1.02 linux-i386 Oct  9 2001
----- FS_Startup -----
Current search path:
/home/phant0m/.loki/fakk2/fakk
/media/linux/games/fakk2/fakk/pak3.pk3 (21 files)
/media/linux/games/fakk2/fakk/pak2.pk3 (13 files)
/media/linux/games/fakk2/fakk/pak1.pk3 (2532 files)
/media/linux/games/fakk2/fakk/pak0.pk3 (9610 files)
/media/linux/games/fakk2/fakk
/media/linux/games/fakk2/fakk/pak3.pk3 (21 files)
/media/linux/games/fakk2/fakk/pak2.pk3 (13 files)
/media/linux/games/fakk2/fakk/pak1.pk3 (2532 files)
/media/linux/games/fakk2/fakk/pak0.pk3 (9610 files)
/media/linux/games/fakk2/fakk

---------------------- Config: config.cfg execing default.cfg execing menu.cfg execing config.cfg execing localized.cfg execing autoexec.cfg Joystick is not active. ----- Client Initialization ----- ----- Initializing Renderer ---- ----- R_Init ----- ...loading libGL.so: Initializing SDL OpenGL display ...setting mode 8: 1280 1024 Attempting 4/4/4 Color bits, 24 depth, 0 stencil display... SDL_SetVideoMode() failed! SDL_GetError() reports [Could not create GL context] ... Attempting 4/4/4 Color bits, 24 depth, 0 stencil display... SDL_SetVideoMode() failed! SDL_GetError() reports [Could not create GL context] ... Attempting 4/4/4 Color bits, 16 depth, 0 stencil display... SDL_SetVideoMode() failed! SDL_GetError() reports [Could not create GL context] ... Attempting 4/4/4 Color bits, 24 depth, 0 stencil display... SDL_SetVideoMode() failed! SDL_GetError() reports [Could not create GL context] ... Attempting 4/4/4 Color bits, 16 depth, 0 stencil display... SDL_SetVideoMode() failed! SDL_GetError() reports [Could not create GL context] ... Attempting 4/4/4 Color bits, 16 depth, 0 stencil display... SDL_SetVideoMode() failed! SDL_GetError() reports [Could not create GL context] ... Attempting 4/4/4 Color bits, 8 depth, 0 stencil display... SDL_SetVideoMode() failed! SDL_GetError() reports [Could not create GL context] ... Attempting 4/4/4 Color bits, 16 depth, 0 stencil display... SDL_SetVideoMode() failed! SDL_GetError() reports [Could not create GL context] ... Attempting 4/4/4 Color bits, 16 depth, 0 stencil display... SDL_SetVideoMode() failed! SDL_GetError() reports [Could not create GL context] ... Attempting 4/4/4 Color bits, 16 depth, 0 stencil display... SDL_SetVideoMode() failed! SDL_GetError() reports [Could not create GL context] ... Attempting 4/4/4 Color bits, 8 depth, 0 stencil display... SDL_SetVideoMode() failed! SDL_GetError() reports [Could not create GL context] ... Attempting 4/4/4 Color bits, 16 depth, 0 stencil display... SDL_SetVideoMode() failed! SDL_GetError() reports [Could not create GL context] ... Attempting 4/4/4 Color bits, 16 depth, 0 stencil display... SDL_SetVideoMode() failed! SDL_GetError() reports [Could not create GL context] ... Attempting 4/4/4 Color bits, 16 depth, 0 stencil display... SDL_SetVideoMode() failed! SDL_GetError() reports [Could not create GL context] ... Attempting 4/4/4 Color bits, 8 depth, 0 stencil display... SDL_SetVideoMode() failed! SDL_GetError() reports [Could not create GL context] ... Attempting 4/4/4 Color bits, 16 depth, 0 stencil display... SDL_SetVideoMode() failed! SDL_GetError() reports [Could not create GL context] ... Failed to find acceptable OpenGL surface. ...WARNING: could not set the given mode (8) Initializing SDL OpenGL display ...setting mode 3: 640 480 Attempting 4/4/4 Color bits, 24 depth, 0 stencil display... SDL_SetVideoMode() failed! SDL_GetError() reports [Could not create GL context] ... Attempting 4/4/4 Color bits, 24 depth, 0 stencil display... SDL_SetVideoMode() failed! SDL_GetError() reports [Could not create GL context] ... Attempting 4/4/4 Color bits, 16 depth, 0 stencil display... SDL_SetVideoMode() failed! SDL_GetError() reports [Could not create GL context] ... Attempting 4/4/4 Color bits, 24 depth, 0 stencil display... SDL_SetVideoMode() failed! SDL_GetError() reports [Could not create GL context] ... Attempting 4/4/4 Color bits, 16 depth, 0 stencil display... SDL_SetVideoMode() failed! SDL_GetError() reports [Could not create GL context] ... Attempting 4/4/4 Color bits, 16 depth, 0 stencil display... SDL_SetVideoMode() failed! SDL_GetError() reports [Could not create GL context] ... Attempting 4/4/4 Color bits, 8 depth, 0 stencil display... SDL_SetVideoMode() failed! SDL_GetError() reports [Could not create GL context] ... Attempting 4/4/4 Color bits, 16 depth, 0 stencil display... SDL_SetVideoMode() failed! SDL_GetError() reports [Could not create GL context] ... Attempting 4/4/4 Color bits, 16 depth, 0 stencil display... SDL_SetVideoMode() failed! SDL_GetError() reports [Could not create GL context] ... Attempting 4/4/4 Color bits, 16 depth, 0 stencil display... SDL_SetVideoMode() failed! SDL_GetError() reports [Could not create GL context] ... Attempting 4/4/4 Color bits, 8 depth, 0 stencil display... SDL_SetVideoMode() failed! SDL_GetError() reports [Could not create GL context] ... Attempting 4/4/4 Color bits, 16 depth, 0 stencil display... SDL_SetVideoMode() failed! SDL_GetError() reports [Could not create GL context] ... Attempting 4/4/4 Color bits, 16 depth, 0 stencil display... SDL_SetVideoMode() failed! SDL_GetError() reports [Could not create GL context] ... Attempting 4/4/4 Color bits, 16 depth, 0 stencil display... SDL_SetVideoMode() failed! SDL_GetError() reports [Could not create GL context] ... Attempting 4/4/4 Color bits, 8 depth, 0 stencil display... SDL_SetVideoMode() failed! SDL_GetError() reports [Could not create GL context] ... Attempting 4/4/4 Color bits, 16 depth, 0 stencil display... SDL_SetVideoMode() failed! SDL_GetError() reports [Could not create GL context] ... Failed to find acceptable OpenGL surface. ...WARNING: could not set the given mode (3) ...loading libMesaVoodooGL.so.3.1: SDL: SDL_GL_LoadLibrary() failed! rc == (-1). SDL_GetError() reports "Could not load OpenGL library". failed ----- CL_Shutdown ----- ----------------------- ----- CL_Shutdown ----- ----------------------- Error: GLimp_Init() - could not load OpenGL subsystem

#26130

Версия дистрибутива? Девайс? Как ставили дрова?

Телепаты ещё libastral не допилили (c) LOR

#26145

phant0m, попробуйте запустить так:
[console]/media/linux/games/fakk2/fakk2 +set r_gldriver libGL.so.1.2[/console]
или
[console]/media/linux/games/fakk2/fakk2 +set r_allowSoftwareGL 1[/console]

#26251

zerg, squeeze x86, GeForce 8800gts, NVIDIA Driver Version: 195.36.15

Несколько дней назад работало. Ничего не удалял.

Sonic, оба варианта выдают тот же результат.

Попробовал эту рукомендацию: http://www.linuxquestions.org/questions/linux-hardware-18/debian-installed-nvidia-drivers-could-not-load-opengl-subsystem-332253/#post1774339
теперь так пишет:

text
phant0m@debian:/media/linux/games/fakk2$ fakk2
Heavy Metal: FAKK2 1.02 linux-i386 Oct  9 2001
----- FS_Startup -----
Current search path:
/home/phant0m/.loki/fakk2/fakk
/media/linux/games/fakk2/fakk/pak3.pk3 (21 files)
/media/linux/games/fakk2/fakk/pak2.pk3 (13 files)
/media/linux/games/fakk2/fakk/pak1.pk3 (2532 files)
/media/linux/games/fakk2/fakk/pak0.pk3 (9610 files)
/media/linux/games/fakk2/fakk
/media/linux/games/fakk2/fakk/pak3.pk3 (21 files)
/media/linux/games/fakk2/fakk/pak2.pk3 (13 files)
/media/linux/games/fakk2/fakk/pak1.pk3 (2532 files)
/media/linux/games/fakk2/fakk/pak0.pk3 (9610 files)
/media/linux/games/fakk2/fakk

---------------------- Config: config.cfg execing default.cfg execing menu.cfg execing config.cfg execing localized.cfg execing autoexec.cfg Joystick is not active. ----- Client Initialization ----- ----- Initializing Renderer ---- ----- R_Init ----- ...loading libGL.so: ----- CL_Shutdown ----- -----------------------

BUG! (Segmentation Fault) Going down hard... Heavy Metal: FAKK2 Built with glibc-2.1 on x86 Stack dump: { fakk2(loki_printstack+0x3f)[0x8181443] fakk2[0x818162b] fakk2[0x81060a4] [0xb7816400] } Please send a full bug report, along with the contents of autosave to: support@lokigames.com Unable to execute loki_qagent - exiting

http://ubuntuforums.org/showpost.php?p=4799857&postcount=5
- действительно помогло (переустановка драйвера видео)

#26454

Систему до сбоя обновляли? Драйвера брали с сайта nvidia?

#26462

zerg, Систему до сбоя обновлял. Драйвер брал с сайта nvidia. После сбоя переустановил ту же версию драйвера. Думаю что могло обновление что-то сломать, так я никуда не прикладывался.

#26464

Установщик драйвера компилирует ядерный модуль к текущему ядру. Обновление прикатило новое ядро, где НЕТ вашего модуля. При переустановке драйвера модуль был скомпилен для нового ядра.

Мой совет (вполне дебиановский) - пользуйтесь драйверами из репозитория. Подключите не свободную ветку и будете иметь хотя бы вменяемое средство для управления - aptitude/module-assistant.

#26471

zerg, нет, ядро той же версии осталось. Когда обновлял ядро - вообще графика не грузилась, а тут только opengl.

#26477

не совместимость свежего ядра с glx от nvidia.

Войдите или зарегистрируйтесь, чтобы ответить.