ValveSoftware / csgo-osx-linux

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

[linux] weird flickering of game elements (shader issue?) #1123

Open jyte opened 8 years ago

jyte commented 8 years ago

I have some strange behaviour happening. Some element (players, smoke, plants...) keeps appearing and desappearing several times a second. It only happens on some maps, in a specific area of the map, and when I look in a certain way. For instance, on inferno, going from CT spawn to B trigger the flickering on the way, but going from B to CT spawn does not. (see linked screenshot to see all the desappearance) Also, when I set shader detail on low or medium, the flickering goes away, and come back if I set it to high or very high (only quickly tested on inferno).

I cannot really say when it went all wrong, but it worked fine at some point for sure. I use ubuntu 16.04 and nvidia driver 361.42. On hardware level I have Intel 2500k, Nvidia Geforce 560Ti, and 16Go of ram. see here

capture du 2016-06-28 18-56-14 capture du 2016-06-28 18-56-21

Edit : this also happens on overpass (position next to the bench looking at the fountain), and changing shader setting here only change the flickering rate.

Tele42 commented 8 years ago

Hello @jyte, does manually setting setting.mem_level in your video.txt at ~/.local/share/Steam/userdata/<steamid>/730/local/cfg/video.txt workaround your issue (from #878)?

jyte commented 8 years ago

I think the parameter is already properly setup, so no.

$ cat video.txt 
"VideoConfig"
{
    "setting.cpu_level"     "2"
    "setting.gpu_level"     "3"
    "setauto.mat_antialias"     "0"
    "setauto.mat_aaquality"     "0"
    "setting.mat_forceaniso"        "8"
    "setting.mat_vsync"     "0"
    "setting.mat_triplebuffered"        "0"
    "setting.mat_grain_scale_override"      "-1.000000"
    "setting.gpu_mem_level"     "2"
    "setting.mem_level"     "2"
    "setting.mat_queue_mode"        "-1"
    "setauto.csm_quality_level"     "3"
    "setting.mat_software_aa_strength"      "1"
    "setting.mat_motion_blur_enabled"       "0"
    "setting.fullscreen"        "1"
    "setting.defaultres"        "1920"
    "setting.defaultresheight"      "1080"
    "setting.aspectratiomode"       "1"
    "setting.nowindowborder"        "0"
}
flypp commented 8 years ago

Same here. Smokes disappear too (btw, enemy models are not drawn if they are behind the smoke).

Debian Stretch 64 bits. gtx 660 with propietary drivers 352.79

G-Ray commented 8 years ago

I can confirm this bug on ubuntu 16.04 : nvidia 950gtx with drivers 367.27.

"setting.gpu_mem_level" is already set up to the value "2".

oxalorg commented 8 years ago

My shader models go transparent for any level higher than low. Body models are visible on medium, and only guns are visible on high/very high.

GTX 760, ubuntu 16.04. "setting.gpu_mem_level" is already set up to the value "2".

jamezmoran commented 8 years ago

I can confirm this issue exists also with Arch Linux, running a GTX 760 with latest nvidia drivers available. I only see this happen around inferno B bombsite and overpass fountain, and to the best of my knowledge only started happening since the 64-bit update. Specs below:

Computer Information:
    Manufacturer:  Unknown
    Model:  Unknown
    Form Factor: Desktop
    No Touch Input Detected

Processor Information:
    CPU Vendor:  GenuineIntel
    CPU Family:  0x6
    CPU Model:  0x3c
    CPU Stepping:  0x3
    CPU Type:  0x0
    Speed:  3600 Mhz
    4 logical processors
    4 physical processors
    HyperThreading:  Unsupported
    FCMOV:  Supported
    SSE2:  Supported
    SSE3:  Supported
    SSSE3:  Supported
    SSE4a:  Unsupported
    SSE41:  Supported
    SSE42:  Supported
    AES:  Supported
    AVX:  Supported
    CMPXCHG16B:  Supported
    LAHF/SAHF:  Supported
    PrefetchW:  Unsupported

Network Information:
    Network Speed:  

Operating System Version:
    "Arch Linux" (64 bit)
    Kernel Name:  Linux
    Kernel Version:  4.7.0-1-ARCH
    X Server Vendor:  The X.Org Foundation
    X Server Release:  11804000
    X Window Manager:  Xfwm4
    Steam Runtime Version:  steam-runtime-beta-release_2016-06-15

Video Card:
    Driver:  NVIDIA Corporation GeForce GTX 760/PCIe/SSE2

    Driver Version:  4.5.0 NVIDIA 367.35
    OpenGL Version: 4.5
    Desktop Color Depth: 24 bits per pixel
    Monitor Refresh Rate: 143 Hz
    VendorID:  0x10de
    DeviceID:  0x1187
    Revision Not Detected
    Number of Monitors:  2
    Number of Logical Video Cards:  1
    Primary Display Resolution:  1920 x 1080
    Desktop Resolution: 3600 x 1224
    Primary Display Size: 20.91" x 11.73"  (23.94" diag)
                                            53.1cm x 29.8cm  (60.8cm diag)
    Primary Bus: PCI Express 16x
    Primary VRAM: 2048 MB
    Supported MSAA Modes:  2x 4x 8x 16x 

Sound card:
    Audio device: Realtek ALC892

Memory:
    RAM:  7909 Mb

Miscellaneous:
    UI Language:  English
    LANG:  en_GB.UTF-8
    Microphone:  Not set
    Total Hard Disk Space Available:  412903 Mb
    Largest Free Hard Disk Block:  156617 Mb
    VR Headset: None detected

    Mon Aug 15 11:49:22 2016 GMT: file ''/tmp/dumps/assert_20160815124538_1.dmp'', upload yes: ''Discarded=1''
    Mon Aug 15 12:05:21 2016 GMT: file ''/tmp/dumps/assert_20160815123525_1.dmp'', upload yes: ''CrashID=bp-3ea46206-311c-4e03-95c6-542782160815''
    Mon Aug 15 12:28:12 2016 GMT: file ''/tmp/dumps/assert_20160815130848_1.dmp'', upload yes: ''Discarded=1''
DailanM commented 8 years ago

this issue affects me running fedora 24 CPU: FX 8350 GPU: GTX 970 RAM: 8 GB Nvidia drivers version: 367.35

I tried to change the memory level to 2, and that didn't help with the issue. On a side note, it seems to stop flickering when jumping, or on b site.

"VideoConfig" { "setting.cpu_level" "0" "setting.gpu_level" "3" "setting.mat_antialias" "4" "setting.mat_aaquality" "0" "setting.mat_forceaniso" "16" "setting.mat_vsync" "0" "setting.mat_triplebuffered" "0" "setting.mat_grain_scale_override" "-1.000000" "setting.gpu_mem_level" "2" "setting.mem_level" "2" "setting.mat_queue_mode" "-1" "setting.csm_quality_level" "0" "setting.mat_software_aa_strength" "1" "setting.mat_motion_blur_enabled" "0" "setting.fullscreen" "1" "setting.defaultres" "1280" "setting.defaultresheight" "960" "setting.aspectratiomode" "0" "setting.nowindowborder" "0" }

flypp commented 8 years ago

The bug came back after last update. Very same behaviour: flickering textures if shaders are set to high or very high.

Kubuxu commented 8 years ago

I am having the same issue.

ghost commented 7 years ago

This bug also affects me. It only happens on overpass at the fountain area. What I've noticed is that it only happens while being a certain distance away from the fountain and also only while standing on the ground. It'll stop flickering as soon as I stand on the bench or go to the birthday party area. Changing setting.mem_level manually doesn't help. Video of issue

jyte commented 7 years ago

Just as an indication, I switched my GPU from Nvidia Geforce 560Ti to an AMD RX480. Issue is still present in overpass (just like Patark video shows). So it's not Nvidia specific issue. I had hope it was and switching GPU brand would fix it, but it doesn't. I am using the latest AMDGPU Pro driver 16.40 on ubuntu 16.04.

pedromeira92 commented 7 years ago

Has anyone found a fix? I still have this bug on my mac, it only happens in overpass fountain but it's annoying 'cause i can't play the map.

jamezmoran commented 7 years ago

pedromeira92 I have it still occasionally, although much less so than I used to. Could also just be because they changed inferno recently, I haven't played a lot of overpass.

olealgoritme commented 5 years ago

Is this a mipmap problem..? Seeing the same thing, in csgo on all nvidia cards.

sandikata commented 1 year ago

It is an issue again. Not fixed. Or just was fixed and Valve broke it again! Well done Valve!