Bug #886

Enabling Anti-Aliasing on NVIDIA Cards gives OpenGL Error (Linux)

Added by sadsfae almost 4 years ago. Updated almost 4 years ago.

Status:Confirmed% Done:

20%

Priority:NormalSpent time:-
Assignee:-
Category:Client
Target version:ALL
OS:Linux Arch:

Description

Enabling Anti-Aliasing on Nvidia cards (and possibly other models) causes the following error:

GLW_StartOpenGL() - could not load OpenGL subsystem: Missing GL version
See "/home/liam/.etlegacy/legacy/crashlog.txt" for details.

There is a dev forum post about this here:
http://dev.etlegacy.com/boards/1/topics/2011?r=2205#message-2205

I was unable to find an option within etconfig.cfg to toggle this back off so the workaround was to simply rename my etconfig.cfg and let the game re-create it, then NOT toggle AA.
Other games (Urban Terror, GoG games don’t seem to have this issue).

crashlog.txt Magnifier (1.65 KB) sadsfae, 10.11.2015 12:41

nvidia-settings-AA.png (111 KB) sadsfae, 10.11.2015 19:06

nvidia-settings-GLX.png (172 KB) sadsfae, 10.11.2015 19:06

600
601

Associated revisions

Revision fdc1bafa
Added by IR4T4 almost 4 years ago

sdl: print SDL errors for users in GLimp_SetMode (was debug print) refs
#886 note: there is no error printed in case of mode can be set properly
- in any other cases we forward the SDL message

History

#1 Updated by Mateos almost 4 years ago

Windows 8.1, NVidia GT640, fine; May be Linux-related?

#2 Updated by IR4T4 almost 4 years ago

Are we talking about r_ext_multisample cvar enabled? What’s your setting of AA when you run nvidia-settings (see 'X screen 0")?

Edit: I can reproduce, 32 bit is affected too

#3 Updated by IR4T4 almost 4 years ago

  • Status changed from New to Confirmed

#4 Updated by sadsfae almost 4 years ago

IR4T4 wrote:

Are we talking about r_ext_multisample cvar enabled? What’s your setting of AA when you run nvidia-settings (see 'X screen 0")?

Edit: I can reproduce, 32 bit is affected too

Anti-aliasing settings: Use application settings
(available options are application, override application settings, enhance application settings)
Enable FXAA unchecked

Attached are screenshots.

I’m happy to test toggling this on, backing up my etconfig.cfg and retrying - will that help?

Here’s my r_ext_multisample settings:

– snip –
seta r_ext_multitexture "1" unsafe
seta r_ext_multisample "0"
– snip –

For what it’s worth here’s the only thing I load with xorg/X11:

-⇒>cat /etc/X11/xorg.conf.d/30-nvidia.conf
Section "Device"
Identifier "Nvidia Card"
Driver "nvidia"
Option "RenderAccel" "True"
Option "TwinView" "True"
Option "DynamicTwinView" "True"
Option "AddARGBGLXVisuals" "true" ### edit adding this
Option "NvAGP" "1"
Option "backingstore" "false"
EndSection

#5 Updated by IR4T4 almost 4 years ago

r_ext_multitexture values 1,2 and 4 fail with NVIDIA. As Mateos reported it seems no issue on Windows. At this point we know it’s SDL2 or driver related and we should test r_ext_multitexture with ATI/intel and Linux to exclude SDL2.

#6 Updated by Spyhawk almost 4 years ago

No issue to report with r_ext_multitexture 1,2 and 4 with Intel under Linux. Seems related to nVidia to me.

#7 Updated by IR4T4 almost 4 years ago

I’m getting the impression it’s a driver issue of nvida. SDL doesn’t get a valid visual.

#8 Updated by IR4T4 almost 4 years ago

I’ve changed some debug prints to be visible for all:

----- R_Init -----
SDL initialized driver "x11" 
Initializing OpenGL display
Estimated display aspect: 1.600
...setting mode -2: 1680x1050
SDL_CreateWindow failed: Couldn't find matching GLX visual
SDL_CreateWindow failed: Couldn't find matching GLX visual
SDL_CreateWindow failed: Couldn't find matching GLX visual
SDL_CreateWindow failed: Couldn't find matching GLX visual
SDL_CreateWindow failed: Couldn't find matching GLX visual
SDL_CreateWindow failed: Couldn't find matching GLX visual
SDL_CreateWindow failed: Couldn't find matching GLX visual
SDL_CreateWindow failed: Couldn't find matching GLX visual
SDL_CreateWindow failed: Couldn't find matching GLX visual
SDL_CreateWindow failed: Couldn't find matching GLX visual
SDL_CreateWindow failed: Couldn't find matching GLX visual
SDL_CreateWindow failed: Couldn't find matching GLX visual
SDL_CreateWindow failed: Couldn't find matching GLX visual
SDL_CreateWindow failed: Couldn't find matching GLX visual
SDL_CreateWindow failed: Couldn't find matching GLX visual
SDL_CreateWindow failed: Couldn't find matching GLX visual
Available modes [14]: '1280x800 1440x900 1680x1050 1280x720 1366x768 1680x945 640x480 800x600 1024x768 1152x864 1280x960 1280x1024 1280x480 2048x768'
Couldn't get a visual

#9 Updated by IR4T4 almost 4 years ago

  • Subject changed from Enabling AA on NVIDIA Cards gives OpenGL Error to Enabling Anti-Aliasing on NVIDIA Cards gives OpenGL Error (Linux)
  • Target version changed from 2.78 to ALL
  • % Done changed from 0 to 20

#10 Updated by IR4T4 almost 4 years ago

  • Arch deleted (64-bit)

Also available in: Atom PDF