ValveSoftware / csgo-osx-linux

Counter-Strike: Global Offensive
http://counter-strike.net
786 stars 69 forks source link

"Lake" stone textures are stretched with Vulkan #2912

Open christianrauch opened 2 years ago

christianrauch commented 2 years ago

Your system information

Please describe your issue in as much detail as possible:

On the wingman map "Lake", the texture of stones are wrongly stretched.

Steps for reproducing this issue:

  1. start CS:GO with -vulkan
  2. load a wingman game with Lake

Bildschirmfoto von 2022-01-02 20-46-41

Bildschirmfoto von 2022-01-02 20-47-36

Bildschirmfoto von 2022-01-02 20-48-32

Bildschirmfoto von 2022-01-02 20-55-15

romanstingler commented 2 years ago

@christianrauch could you revalidate your files and maybe if this doesn't work you have the option to try a wayland session. I can't reproduce it.

christianrauch commented 2 years ago

I verified the files via Steam but I am still facing this issue. Removing the -vulkan flag from the start options switches back to OpenGL and the stones appear with the correct texture again. In the direct comparison of the "Lake" map with OpenGL and Vulkan, I noticed that with OpenGL the scene is much darker than on Vulkan. There is definitely something different when running on OpenGL and Vulkan and the shaders just behave differently.

I am already on Wayland. But since steam does not support Wayland yet, this is all just running via XWayland. Is there an option to run Steam via Wayland?

For reference, I am using an Intel iGPU:

$ inxi -GSC -xx
System:
  Host: voyager Kernel: 5.13.0-27-generic x86_64 bits: 64 compiler: N/A 
  Desktop: Gnome 3.36.9 wm: gnome-shell dm: GDM3 
  Distro: Ubuntu 20.04.3 LTS (Focal Fossa) 
CPU:
  Topology: Quad Core model: Intel Core i7-8650U bits: 64 type: MT MCP 
  arch: Kaby Lake rev: A L2 cache: 8192 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 33599 
  Speed: 2224 MHz min/max: 400/4200 MHz Core speeds (MHz): 1: 2224 2: 2167 
  3: 1925 4: 2541 5: 1906 6: 2685 7: 2561 8: 1140 
Graphics:
  Device-1: Intel UHD Graphics 620 vendor: Lenovo driver: i915 v: kernel 
  bus ID: 00:02.0 chip ID: 8086:5917 
  Display: wayland server: X.Org 1.20.13 driver: modesetting 
  unloaded: fbdev,vesa compositor: gnome-shell resolution: 1920x1080~60Hz 
  OpenGL: renderer: Mesa Intel UHD Graphics 620 (KBL GT2) v: 4.6 Mesa 21.0.3 
  direct render: Yes 
romanstingler commented 2 years ago

@christianrauch currently there is no working way to use steam via Wayland only.

I can not tell you if this is maybe a driver issue or if this is a bug in CSGO. Maybe someone with UHD GPU can retest this.

The only thing where I'm always cautious is when using experimental / latest technologies and trying to get this working on old LTS versions. But maybe we will get someone to test this.

MCPEngu commented 2 years ago

i also have the same issue on Intel HD 620 too (X11 session)