You can sign up to get a daily email of our articles, see the Mailing List page!

Have graphical distortions in Unity games with NVIDIA? Here's a workaround

Posted by , | Views: 10,769

It seems a lot of Unity games upgrading to later versions of Unity are suffering from graphical distortions on Linux with an NVIDIA GPU. There is a workaround available.

The issue has so far affected these titles:

  • Project Hospital
  • Fluffy Horde
  • Fell Seal: Arbiter's Mark
  • The Fertile Crescent
  • Dead Dungeon

No doubt there's plenty more too that I haven't tried and there will likely be more as other games upgrade their version of Unity used. To be clear though, I'm not sure if this is a bug in Unity or NVIDIA drivers. I have not seen the issue on Intel, so it's a little unclear right now as it's also only in Unity games.

For an example of how bad it looks, here's two shots:



I don't think I need to explain the issue here.

I did reach out to Unity, NVIDIA and a few others involved. So far Unity and NVIDIA haven't replied to me on this issue. However, one developer did reply on the Unity forum thread I'm involved in to note that using Vulkan actually fixes it. Another different developer mentioned it fixed it for a user who tested it too.

I tested it myself and surprisingly so, it does. If you also see some distortions in Unity games like those above, try this as a launch option:

-force-vulkan

To do so, right click on the game in your Steam library and then go to Properties. From there, hit the Set Launch Options button and put that in. Nothing else is needed.

Whatever it is, it only seems to affect the OpenGL builds of Unity games and only on the lower part of the screen. Hopefully with me highlighting this, it will help users and give Unity/NVIDIA a tip on the bug itself. It might not work on all games, but every one I tried it worked.

Also, as a reminder, if you have issues with keyboard input in some older Unity games there's also a workaround for that.

Article taken from GamingOnLinux.com.
25 Likes, Who?
We do often include affiliate links to earn us some pennies. We are currently affiliated with GOG, Humble Store and Paradox Interactive. See more information here.
About the author -
I am the owner of GamingOnLinux. After discovering Linux back in the days of Mandrake in 2003, I constantly came back to check on the progress of Linux until Ubuntu appeared on the scene and it helped me to really love it. You can reach me easily by emailing GamingOnLinux directly.
See more from me
16 comments
Page: 1/2»
  Go to:

Nanobang 10 December 2018 at 12:48 pm UTC
PSA articles like this are why GoL is one of the first places I look for help when I'm having a problem with a game on Linux! I haven't had this problem with a game yet, and now I never will. Thanks for another great heads-up Liam!
Ehvis 10 December 2018 at 1:03 pm UTC
View PC info
  • Supporter
  • Top Supporter
First time I actually see a screenshot from others. This exact problem occurs during the intro screen of Graveyard Keeper as well. Since the intro screen is black with a logo, the only thing affected is the steam overlay notification. Title/menu are unaffected, so there is no real problem with this game.

The interesting bit for me is that the distortion affects the steam overlay bit. Combine that with the top screenshot which shows the game screen that is under the text box, it looks like an issue with the way overlays are used in Unity games.
Dunc 10 December 2018 at 1:26 pm UTC
It also affects the menus in Planet Nomads, across the entire screen (for me, at least, but I wonder if that's something to do with the resolution or aspect ratio; I'm still on 1280x1024). The fix works. I didn't know you could force recent versions of Unity to use Vulkan. Interesting.

EhvisThe interesting bit for me is that the distortion affects the steam overlay bit. Combine that with the top screenshot which shows the game screen that is under the text box, it looks like an issue with the way overlays are used in Unity games.
I think so. As I say, it only affects the menus in PN. (And the logo on the loading screen, but it makes sense that it would rendered the same way over the background image.)
bird_or_cage 10 December 2018 at 2:14 pm UTC
For those using Steam and unfamiliar with how launch options work there, you need to go to game`s Properties - Set launch options and put -force-vulkan there.

Edit: sorry, fixed my comment.


Last edited by bird_or_cage at 10 December 2018 at 6:31 pm UTC
Liam Dawe 10 December 2018 at 2:22 pm UTC
bird_or_cageFor those using Steam and unfamiliar with how launch options work there, you need to go to game`s Properties - Set launch options and put %command% -force-vulkan there.
You only need what's mentioned, %command% is not needed.
Swiftpaw 10 December 2018 at 3:09 pm UTC
I've seen this in Slime Rancher as well. Just open the map and see for yourself!
Xpander 10 December 2018 at 3:46 pm UTC
liamdawe
bird_or_cageFor those using Steam and unfamiliar with how launch options work there, you need to go to game`s Properties - Set launch options and put %command% -force-vulkan there.
You only need what's mentioned, %command% is not needed.

yeah %command% is only needed when you want to execute something before starting the executable
iiari 10 December 2018 at 5:34 pm UTC
View PC info
  • Supporter
This looks similar to the problem plaguing Tannenberg, making one of my favorite games unplayable. I'm looking forward to heading home later and trying this fix. Thank you Liam!!
redneckdrow 10 December 2018 at 5:58 pm UTC
Just a heads up: this doesn't work with Slime Rancher.

Spoiler, click me
image


Last edited by redneckdrow at 10 December 2018 at 5:58 pm UTC
pete910 10 December 2018 at 11:30 pm UTC
View PC info
  • Supporter
  • Top Supporter
Quote"It just works"
  Go to:
While you're here, please consider supporting GamingOnLinux on Patreon, Liberapay or Paypal. We have no adverts, no paywalls, no timed exclusive articles. Just good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!

You need to Register and Login to comment, submit articles and more.


Or login with...

Livestreams & Videos
Community Livestreams
  • Friday Livestream with Samsai
  • Date:
See more!
Popular this week
View by Category
Contact
Latest Comments
Latest Forum Posts