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

[linux]5760x1080 render looks horrible

Open DaMadOne opened this issue 12 years ago • 23 comments

I have posted about other source games and this one is no exception (https://github.com/ValveSoftware/Source-1-Games/issues/1797). Everything goes wonky when running @ 5760x1080. The menus all look and work great, it's just in game. It looks great @ 1920x1080. I have posted other screen shots before in the linked report above, but these are the best ones yet to show what I am talking about.

In the root of the screen shot archive linked below there are 2 screen shots, one showing what my settings are set at and also a full 5760x1080 screen shot in game. In the "easy compare" sub directory I have taken a shot of the game running at 1920x1080 looking great and then simply changed the resolution to 5760x1080 and took a shot in the same spot looking not so great, and then cropped it to only the middle 1920x1080 to make it easy to switch between the two and see the difference. I thought it was defaulting to low res textures, but I can see the difference in switching between low, med & high textures @ 5760x1080 even with the wonky image so maybe not? So shaders freaking out maybe? I have also linked pastebins with logs of the game running @ both 1920x1080 and 5760x1080, I have compared the 2 with Meld and I as far as the game running I see no difference.

Link to screen shot archive. http://damad101.cloud.onlysavvy.com/public.php?service=files&t=1a2dda4bc2e0034eda8a35656dd1d4ed&download

*Steam - System Info. http://pastebin.com/raw.php?i=7uvJ4uFZ

*Log of running game @ 1920x1080 http://pastebin.com/raw.php?i=QwygCJtL

*Log of running game @ 5760x1080 http://pastebin.com/raw.php?i=WJyF4pun

Arch Linux - 3.16.3 Nvidia - 343.22 (same with the previous 4-5 drivers versions) Asus Sabertooth 990fx r2 AMD FX-8350 8gb kingston HyperX Samsung 840 EVO 250gb ssd 2x EVGA GTX 580 3x AOC i2757fh - DVI(gpu)->HDMI(monitors)

If you need any more info please don't hesitate to ask, ill do my best to get whatever you need.

DaMadOne avatar Sep 23 '14 02:09 DaMadOne

The images from above: http://imgur.com/a/lPJrR

theGeekPirate avatar Sep 23 '14 03:09 theGeekPirate

Thanks, that makes comparison pretty easy actually. it doesn't look so bad in the "thumbnail"... and then you click on it haha.

DaMadOne avatar Sep 23 '14 05:09 DaMadOne

I'm a little confused -- can you be a little more specific about what your problem is? Do you feel that the textures when using a 5760x1080 display are not as high resolution as you feel they should be?

davidw-valve avatar Sep 23 '14 17:09 davidw-valve

I'm honestly not sure what it is. I've only been guessing. Have you looked at the screen shots?

specifically these 2.

http://i.imgur.com/mL4Bt8K.jpg <-- that shot is from the game running at 5760x1080, I simply removed the left and right side in GIMP to make it easier to look at on a single monitor. (http://i.imgur.com/IsS7CKb.jpg is the full uncropped image)

http://i.imgur.com/Ns8WUsX.jpg <- normal 1920x1080

You have to look at them full screened. The thumbnails don't really show it well. But yes, basically the textures and world look blurry and low res and I did not change ANY setting other than the resolution between the native 1920x1080 screen shot and the cropped 5760x1080 screen shot. This is a flaw in the linux version of the source engine because all of Valve's games do this, yet they all work fine either played with Wine or in Windows. If this could be figured out I assume all of the source games would work once recompiled against the patched engine.

So it is less of me not thinking they look like they should, I know what they should look like, and this is not it. I honestly don't know how else to describe it any better, I think the screenshots are plain as day obviously different. I can load it up in wine and take a full 5760x1080 screen shot from there so that you have both windows and linux shots to look at?

DaMadOne avatar Sep 23 '14 18:09 DaMadOne

Ok so I loaded it up in wine and took a screenshot of the game running @ 5760x1080 looking like it should, showing that the windows version does not suffer the issue I am talking about.

http://i.imgur.com/IsS7CKb.jpg <-- Linux 5760x1080 not cropped http://i.imgur.com/5wtsbrz.jpg <-- Wine 5760x1080 not cropped

on a single monitor it shows the image shrunk to fit the screen by default, if you click on it (in firefox anyways) it will blow up to full size and the difference is just plain as day.

or just right click and save both images to your computer to compare them.

DaMadOne avatar Sep 23 '14 22:09 DaMadOne

So it's an FOV issue, and the GUI problem (where it doesn't hug the edges of the screen) happens at 1920x1080 as well on my PC, regardless of the gui_scale value.

theGeekPirate avatar Sep 23 '14 22:09 theGeekPirate

I've created a separate issue regarding the GUI problem: https://github.com/ValveSoftware/Counter-Strike-Global-Offensive/issues/61

theGeekPirate avatar Sep 23 '14 23:09 theGeekPirate

The FOV is the same in both windows and linux, and the HUD is not the problem, it can be resized I just had not done it when I took the screen shots. The image is blurry, low res looking in linux @ 5760x1080. I know I am not crazy, I showed my gf and my boss the screenshots today and both of them are like "um, yea, that one (talking about the 5760x1080) looks like sh*t compared to the other (1920x1080)"

I have no clue what is not working right, I have only thrown out guesses (uneducated ones at that).

EDIT* I see what you are saying about the linux HUD not going to the edge of the screen VS the windows version after looking at my win and linux screenshot again.

DaMadOne avatar Sep 23 '14 23:09 DaMadOne

There is an FOV issue, look at the building on the far-right.

In the Linux image, the building is slanted inwards, meanwhile in Windows it's slanted outwards.

The GUI issue is NOT resolved by scaling it. It will still refuse to hug the edges of the screen regardless of what you set the scaling to.

theGeekPirate avatar Sep 23 '14 23:09 theGeekPirate

AHH, I see that now ;) I've been too pre occupied with the rendered image itself looking blurry and low res.

DaMadOne avatar Sep 23 '14 23:09 DaMadOne

I can see more jagged edges and blurriness in the Linux version, double-check that both versions are using identical video options.

theGeekPirate avatar Sep 23 '14 23:09 theGeekPirate

@davidw-valve Let me know if you'd like a separate issue for the FOV difference shown in these images.

theGeekPirate avatar Sep 23 '14 23:09 theGeekPirate

I have, the ONLY setting I changed between the 1920x1080 screen shot and the 5760x1080 screen shot was the resolution, all other settings remained the same.

Just out of curiosity I wanted to see if I could make the game look as bad as it does @ 5760x1080 while running at normal 1080p. So I ran the game at 1920x1080 and turned every graphic option to it's lowest setting possible and it still looks 10 times better than @ 5760x1080 with everything turned all the way up =/

I'm at a total loss of what else to try, I'm just going to have to wait and see what one of Valve's devs makes of it. It's not just a CS:GO thing, ALL source games do this to me and I have tried both Ubuntu and Arch Linux, so it's not distro specific either. I was just hoping that since this one is actively being worked on to squash bugs that it might really get looked into. I'm sure if this game is fixed then all the others could easily be fixed the same way which would be AMAZING!

I can run strace on the game if someone tells me exactly what flags they want me to use with strace.

EDIT* here are two straces, one ran at 1920x1080 and the other 5760x1080. I modified csgo.sh in order to run the traces on csgo_linux. ran with strace -ttT. On both I started the game, loaded up the cobblestone map, ran around, fired some bullets and then clean exit.

1920x1080 - http://damad101.cloud.onlysavvy.com/public.php?service=files&t=46d36aaed8eacda728b950444112d069&download

5760x1080 - http://damad101.cloud.onlysavvy.com/public.php?service=files&t=09917fe74c78f76091aabf3977cfb4fa&download

DaMadOne avatar Sep 23 '14 23:09 DaMadOne

I don't know if anyone has looked into this yet, and I understand it's probably low on the priority list. I just wanted to pop by to say the issues still persists with todays update.

DaMadOne avatar Oct 02 '14 03:10 DaMadOne

I have some new info that could possibly help narrow these issues. I was messing with HL2 last night and discovered that if I disable motion blur, I can max out all other settings and the blurriness is gone and the game looks fantastic! enable motion blur and the image is a blurry, jaggy mess like before. So at least for HL2, Ep1 and lost coast disabling motion blur "fixes" it. Ep 2 is still stuck with the completely borked perspective shown in the images in the bug report I put in the source 1 games bug reports. (https://github.com/ValveSoftware/Source-1-Games/issues/1797)

Since in portal 2 there is no motion blur option and it is enabled above medium shader settings and High/Very high is when I would get major screen corruption also shown in the screen shots in my other report I set everything to max and then manually disabled motion blur with the console (mat_motion_blur_enabled 0) the major corruption is gone, but unfortunately the image is still blurry. The blurriness happens at even low shader setting in P2 so there must be another shader freaking out that is enabled at the lowest setting. What shaders are used in P2 that are not used in the HL2 games? I can try disabling them with the console maybe and see what happens, and possibly help narrow it down a bit more.

As for CS:GO, i've had motion blur disabled from the get go so its not that shader causing problems and like P2 even at the lowest possible shader setting is a blurry mess.

DaMadOne avatar Oct 02 '14 23:10 DaMadOne

Bingo! disabling post processing via "mat_postprocess_enable 0" in console fixes the image! unfortunatly for CS:GO that requires turning on cheats so I still can't really play but hopefully that might tell you guys something.

EDIT* after googling the post processing command I just want to go ahead and clear up that my super blurriness is NOT the minor blurriness caused by normal post processing people are talking about in forum threads and complaining that they aren't "allowed" to turn off. I think that's pretty clear from my screen shots, but figured I would go ahead and get that out of the way ;) Mine is caused by something going wrong in post processing I assume.

DaMadOne avatar Oct 03 '14 01:10 DaMadOne

Thanks for that information, that helps a lot; it's possible there is a render target size limit somewhere in the OpenGL backend that doesn't exist in Direct3D and causes this problem when post-processing is enabled.

Plagman avatar Oct 03 '14 03:10 Plagman

no prob, if that is the case hopefully a workaround can be implemented. I know I have bug reports all over for the source games and multi monitor problems and i've talked about them here, but since the workarounds for them are different (and not CS:GO) I wont clog this one up with them anymore, however I have updated my report @ https://github.com/ValveSoftware/Source-1-Games/issues/1797 outlining how I worked around the issues for the other source engine games, which is basically just a rehash of what I worked out here plus how I ended up fixing the weird perspective bug in EP2 which isn't listed here.

Thanks for taking the time to look at my bug report and respond.

DaMadOne avatar Oct 03 '14 05:10 DaMadOne

Been looking forward to the next round of updates, unfortunately still suffering from the same problem. Over all though performance seems to have greatly improved,, but I cant play this until It works without disabling post processing, The game play with bots seems AWESOME! so hopefully ill be able to play this natively before long.

DaMadOne avatar Oct 11 '14 03:10 DaMadOne

It may help to add the output of the glxinfo command as it may show the limits your card (or that GL vendor library / version) has on something like a texture or accumulation buffer that is being used or possibly a uniform shader variable.

krisives avatar Oct 16 '14 18:10 krisives