protonscr

[CS:S/TF2] Does not respect the video resolution configuration

steamclosed MOVED: Team Fortress 2reviewedMOVED: Counter-Strike: Source
ValveSoftware/steam-for-linux#1287 · opened 2013-02-05 by swordfischer · updated 2013-02-08 · 3 comments · github
Sswordfischer 2013-02-05 github

EDIT: I just checked with TF2, and this is the same, worked in the first TF2 release

Description
Launching CS:S with either -sw or -fs does not respect the video configuration (i.e. 1920x1080), the windowed mode will create a 640x480 window, and the fullscreen will stretch across both monitors.

Steps to reproduce

  • Launch Counter-Strike: Source with -sw or -fs (-w 1920 -h 1080)
  • See that the game in -sw will only launch a 640x480 window
  • - ScreenShot
  • See that the game in -fs will launch fullscreen, before loading it will be on monitor 0, when loading disappears it will stretch to both screens.
  • Changing settings from within CS:S to video, doesn't make any changes.

Debug

GL_NVX_gpu_memory_info: AVAILABLE
GL_ATI_meminfo: UNAVAILABLE
GL_NVX_gpu_memory_info: Total Dedicated: 1048576, Total Avail: 1048576, Current Avail: 900420
GL_MAX_SAMPLES_EXT: 16
[0205/233743:ERROR:resource_bundle.cc(411)] Failed to load /home/swordfischer/.Steam/SteamApps/[email protected]/Counter-Strike Source/cef_gtk.pak
Some features may not be available.
[0205/233743:ERROR:object_proxy.cc(239)] Failed to call method: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files
[0205/233743:WARNING:proxy_service.cc(646)] PAC support disabled because there is no system implementation
CShaderDeviceMgrBase::GetRecommendedConfigurationInfo: CPU speed: 2336 MHz, Processor: GenuineIntel
GlobalMemoryStatus: 4294967295
CShaderDeviceMgrBase::GetRecommendedConfigurationInfo: CPU speed: 2336 MHz, Processor: GenuineIntel
GlobalMemoryStatus: 4294967295
IDirect3DDevice9::Create: BackBufWidth: 1920, BackBufHeight: 1080, D3DFMT: 3, BackBufCount: 1, MultisampleType: 0, MultisampleQuality: 0
Could not load program cache file glbaseshaders.cfg
Could not find base GL shader cache file
Loaded program cache file "glshaders.cfg", total keyvalues: 25, total successfully linked: 25
Precache: Took 229 ms, Vertex 181, Pixel 188
Game.so loaded for "Counter-Strike: Source"
IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file flashlight_ps20b ps-index 0 ps-combo 0
IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file flashlight_ps20b ps-index 0 ps-combo 1
IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file flashlight_ps20b ps-index 0 ps-combo 2
IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file flashlight_ps20b ps-index 0 ps-combo 3

Systeminfo

GL_NVX_gpu_memory_info: AVAILABLE
GL_ATI_meminfo: UNAVAILABLE
GL_NVX_gpu_memory_info: Total Dedicated: 1048576, Total Avail: 1048576, Current Avail: 900420
GL_MAX_SAMPLES_EXT: 16
[0205/233743:ERROR:resource_bundle.cc(411)] Failed to load /home/swordfischer/.Steam/SteamApps/[email protected]/Counter-Strike Source/cef_gtk.pak
Some features may not be available.
[0205/233743:ERROR:object_proxy.cc(239)] Failed to call method: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files
[0205/233743:WARNING:proxy_service.cc(646)] PAC support disabled because there is no system implementation
CShaderDeviceMgrBase::GetRecommendedConfigurationInfo: CPU speed: 2336 MHz, Processor: GenuineIntel
GlobalMemoryStatus: 4294967295
CShaderDeviceMgrBase::GetRecommendedConfigurationInfo: CPU speed: 2336 MHz, Processor: GenuineIntel
GlobalMemoryStatus: 4294967295
IDirect3DDevice9::Create: BackBufWidth: 1920, BackBufHeight: 1080, D3DFMT: 3, BackBufCount: 1, MultisampleType: 0, MultisampleQuality: 0
Could not load program cache file glbaseshaders.cfg
Could not find base GL shader cache file
Loaded program cache file "glshaders.cfg", total keyvalues: 25, total successfully linked: 25
Precache: Took 229 ms, Vertex 181, Pixel 188
Game.so loaded for "Counter-Strike: Source"
IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file flashlight_ps20b ps-index 0 ps-combo 0
IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file flashlight_ps20b ps-index 0 ps-combo 1
IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file flashlight_ps20b ps-index 0 ps-combo 2
IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file flashlight_ps20b ps-index 0 ps-combo 3
Mmikesart 2013-02-06 github

(-h 1920 -w 1080)

You're doing 1080 wide by 1920 tall?

Sswordfischer 2013-02-06 github

@mikesart Was actually a typo, as you can see it was the other way around :)

IDirect3DDevice9::Create: BackBufWidth: 1920, BackBufHeight: 1080, D3DFMT: 3, BackBufCount: 1, MultisampleType: 0, MultisampleQuality: 0
Sswordfischer 2013-02-08 github

I solved this issue myself, and it wasn't really an obvious one.

Last night I recompiled my WM (Fluxbox) with support for Xinerama (which I don't use), due to another issue I was having with mplayer.
I was told that maybe Nvidia Twinview functioned through Xinerama API, which led to misbehaving windows.

I recompiled Fluxbox with xinerama support, restarted Fluxbox, and here we go, a respecting OpenGL application.

Sorry :)

Nothing extracted yet.