csgo-osx-linux icon indicating copy to clipboard operation
csgo-osx-linux copied to clipboard

Danger Zone drone pilot graphical issue

Open sirsquidfly opened this issue 7 years ago • 19 comments

Your system information

  • Steam client version (build number or date): 29th April
  • Distribution (e.g. Ubuntu): Ubuntu 19.04
  • Opted into Steam client beta?: No
  • Have you checked for system updates?: Yes

Please describe your issue in as much detail as possible:

The Drone Pilot view in CS:GO Danger Zone seem to have a graphical issue in the middle of the screen, making it hard to actually pilot properly and see what's below you - a nuisance.

See this image: https://imgur.com/a/b4JsVvh

Now compare with the official image: https://steamcdn-a.akamaihd.net/apps/csgo/images/sirocco/dronepilot.jpg

It shouldn't be there.

Steps for reproducing this issue:

  1. Load CS:GO with nvidia on Ubuntu
  2. Pick Drone Pilot drop-in perk
  3. Attempt to fly and see the horrible thing in the middle making it hard to see properly

sirsquidfly avatar May 15 '19 09:05 sirsquidfly

Same on AMD RX 570 with open source drivers.

jazztickets avatar May 16 '19 03:05 jazztickets

I can confirm this. Xubuntu 19.04, Nvidia 430.14, GTX 1060.

Managor avatar Jun 04 '19 21:06 Managor

Can confirm for Manjaro RX Vega 56

Matombo avatar Aug 14 '19 19:08 Matombo

Can confirm with GTX 1050, Nvidia 390.87

ianvm avatar Aug 17 '19 10:08 ianvm

can i bump this ?

ianvm avatar Feb 08 '20 23:02 ianvm

I have the exact same issue, any fix so far?

illumidas-agn avatar May 22 '20 14:05 illumidas-agn

If anything it'll be fixed in the source 2 port.

jazztickets avatar May 22 '20 14:05 jazztickets

Still a problem. System Information

ChrisLuck avatar Jun 06 '20 23:06 ChrisLuck

This is fixed in mesa 21.0-git + linux 5.9.9, R9 390 GPU I don't know when it was fixed or when it will be merged with stable, and not 100% it's just mesa. I'll do more testing on another computer (mesa stable, R9 380) csgo_1295

henrym11106 avatar Nov 23 '20 00:11 henrym11106

Just checked on NVIDIA latest, still a problem.

sirsquidfly avatar Nov 23 '20 11:11 sirsquidfly

After quite a bit of trial and error, I found that one parameter corrects this issue. in .drirc it is <option name="radeonsi_clamp_div_by_zero" value="true" /> in adriconf it's "Clamp div by zero" in the last "debugging" section here: Screenshot_20201219_221409 this works in mesa 20.3.0 stable and newer at least. might work in older versions, not sure when it was added.

henrym11106 avatar Dec 20 '20 02:12 henrym11106

After quite a bit of trial and error, I found that one parameter corrects this issue. in .drirc it is <option name="radeonsi_clamp_div_by_zero" value="true" /> in adriconf it's "Clamp div by zero" in the last "debugging" section here: Screenshot_20201219_221409 this works in mesa 20.3.0 stable and newer at least. might work in older versions, not sure when it was added.

that fixed it for me too

Matombo avatar Dec 24 '20 00:12 Matombo

Another way to use this fix on AMD without adriconf or a .drirc file is add this to your launch options: radeonsi_clamp_div_by_zero=true %command% all %command% options need to be listed inline separated by spaces behind a single %command% eg radeonsi_clamp_div_by_zero=true mesa_glthread=true gamemoderun %command%

I use gamemode to set priority etc and mesa_glthread boosts my FPS by 10-20% on Ryzen 3500X + R9 390

EDIT: adding "radeonsi_clamp_div_by_zero=true" to your launch options may or may not cause your Trust Score to go negative infinity. I recommend against using it until more is known. enabling via ~/.drirc seems to be OK, but this might have more to do with mesa-git. see #2630

also I just realized that what's rendered in the middle of the screen is a blown up sample of the top left corner of the drone view csgo_1816 csgo_1812 csgo_1811

henrym11106 avatar Dec 26 '20 23:12 henrym11106

Thank you very much! radeonsi_clamp_div_by_zero=true also fixes it for me.

ChrisLuck avatar Dec 29 '20 15:12 ChrisLuck

No one found a fix for NVIDIA yet?

sirsquidfly avatar Dec 29 '20 16:12 sirsquidfly

Well on the AMD side, mesa 20.3.3 and newer has radeonsi_clamp_div_by_zero enabled for CSGO by default. if you have 20.3.3 or newer that command can be removed from your .drirc/launch options. mesa_glthread is set by default in mesa 21 and newer I opened an issue a while back and those changes was merged pretty quickly :)

as for Nvidia I don't have hardware to test but there might be an clamp divide-by-zero option out there. I can't find an exhaustive list of nvidia driver variables but asking here might help: https://forums.developer.nvidia.com/c/gpu-unix-graphics/linux/148

henrym11106 avatar Jan 29 '21 21:01 henrym11106

Looks like adding "radeonsi_clamp_div_by_zero=true" to launch options might cause your Trust Factor to go negative infinity. who knows. probably best to avoid doing anything via launch options that can be done by other means. enabling via ~/.drirc seems to be OK, this is default behavior with mesa 20.3.3 and newer so it's no longer needed in said file.

this might be a bug with trusted mode reacting badly to mesa-git itself and impacting trust score inappropriately. see #2630

henrym11106 avatar Mar 03 '21 21:03 henrym11106

If anyone in this thread was affected by inexplicable and sudden drop of Trust Factor from green to red around the beginning of this (2021) year, especially if you have an older steam/csgo account with many hours played, please do leave a comment in #2630

Some users are suspecting that the amdgpu driver might be the cause here - some of the players were using radeonsi_clamp_div_by_zero=1 and mesa_glthread=1 to fix problems with the game (like in this thread), some (like me) were using mesa git versions to make things work with the newer Radeon cards (and newer mesa had those options enabled by default).

No reply so far from the Valve representatives, but the circumstantial evidence points to the TF calculating software on the Valve's side misfiring with certain Radeon/AMD setups.

robertswiecki avatar Mar 08 '21 08:03 robertswiecki

2023 and still this is an issue with nvidia drivers. zzzz

bratanon avatar Mar 20 '23 18:03 bratanon