ValveSoftware / csgo-osx-linux

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

[Linux] Inventory icons are broken #737

Open MouseWithBeer opened 8 years ago

MouseWithBeer commented 8 years ago

I think screenshots will explan whats going on the best. They are old, but the same is still happening everytime I start the game.

730_screenshots_2016-02-17_00001 730_screenshots_2016-02-17_00003

I do not own so many P90 or auto-snipers.

Skins work fine if inspected/ingame. It is just the icons that are all over the place. Stickers icons are also broken. I never seen cases break.

It happens on both a GTX 970 and a really old and bad AMD GPU (on two different computers). The OS in both cases is Linux Mint 17.3 Cinnamon 64-bit and its the only common thing between those 2 computers so I am assuming it has to be something to do with that. Its been broken since at least December 2015.

Maccer1 commented 8 years ago

Solved a similar issue by downloading the game again.

pingbird commented 8 years ago

i have the same issue but with only one item, the rest are fine https://dl.dropboxusercontent.com/u/55181333/Selection_048.png and sometimes also https://dl.dropboxusercontent.com/u/55181333/Selection_049.png

i suspect it is something about the way they render and cache item previews

MouseWithBeer commented 8 years ago

@Maccer1 I have the issue on 2 completely different computers that had CS:GO installed 5 months apart, re-downloading is not going to do anything.

@PixelToast Interesting, for me is all of them except the cases. It is going change which ones are broken every time I reload the page. I mostly either see P90s like in the 2nd screenshot, random stickers or the same as in your 2nd screenshot.

ghost commented 7 years ago

I'm having the same issue after a fresh install.

Just to add up that I've tested it with:

All of them with the same issue.

I guess this may not be a client-side issue.

ghost commented 7 years ago

Just to report that I did absolutely nothing and, all of sudden, the bug was gone. Then, after a few minutes, the bug returned. I strongly believe this may be related to server-side issue.

kiroma commented 7 years ago

It's highly unlikely that it's a server side issue, as all the server does is send the client information about which items he has. The thumbnails are rendered then by the client.

ghost commented 7 years ago

@kiroma I see. Well, I really don't know then. Right now all items on my inventory are displaying properly, but new drops are bugging (even next to the scoreboard on the end of a match).

ghost commented 7 years ago

I also experienced this issue when using a resolution lower than 800x600 (e.g.: 640x480 4:3 or 720x480 16:10).

Apparently the game couldn't generate the thumbnails properly when the resolution was lower than 800x600 (by generate I mean the first time the thumbnail was generated and cached).

For example, if, after a new install or a backup recovery, the game is launched with a resolution lower than 800x600, it will not generate the thumbnails properly when accessing the inventory/loadout tab. Thumbnails of items dropped after matches will also be affected. Thumbnails of items displayed while spectating a match will also be affected.

Changing the resolution to something like 800x600 or higher will not fix the thumbnails already generated/cached, but all new thumbnails will be generated properly.

After coming by this thread (https://steamcommunity.com/app/730/discussions/0/558746089768407001/), I found out that a possible workaround for this issue is to remove the cached folder located at ~/.steam/steam/steamapps/common/Counter-Strike Global Offensive/csgo/resource/flash/econ/weapons/cached/ and relaunching the game with a resolution of 800x600 or higher, on which all thumbnails will then be properly generated.

Once the thumbnails are properly generated/cached, they will work properly even on resolutions lower than 800x600. But if the user goes back to a resolution lower than 800x600, although the already generated/cached thumbnails will work fine, the new ones will again not be properly generated.

Sorry for the bad English. Hope this helps.

kaadmy commented 7 years ago

I'm having this same issue, I haven't tried redownloading CS:GO yet, but I suspect it's a bug with render to texture or similar.

kaadmy commented 7 years ago

If it helps, I'm using the NVIDIA 384 drivers with a dedicated laptop GPU, NVIDIA GeForce 940MX. Running latest Arch Linuux.

kaadmy commented 7 years ago

Just found that @debug4 's solution worked perfectly, have yet to see what will happen over time/