Jump to content

Anyone here with combination linux and nvidia GPU? Question inside


meganoth

Recommended Posts

Hi,

a friend of mine is playing on linux with glcore and an nvidia 3060ti. Besides some crash problems he also has random performance problems which I think could be the result of the following lines in the logfiles:

 

2022-08-14T21:16:51 156.883 WRN Occlusion: !supportsAsyncGPUReadback
2022-08-14T21:16:51 156.883 INF Occlusion: Disabled

 

So Unity reports its asyncGPUReadback feature is not supported. And I suspect this to be a result of nvidias drivers for modern GPUs having only rudimentary OpenGL support. (Or maybe I'm wrong and you need to flip some switch in some nvida tool? We can hope)

 

I too play in linux and currently with openGL, but I have an AMD GPU without performance problems and I never noticed such a line in my logfiles (but note to myself: I should check this when I get back home).

 

So I've got a question for you if YOU are playing on Linux with an nvidia card: Do you use glcore as well and have the same line in the log and the same performance problems? Or do you use vulkan or proton emulation and how well does that work?

 

And are there people on windows still using glcore? I can't imagine why, but it never hurts to ask.

Edited by meganoth (see edit history)
Link to comment
Share on other sites

  • meganoth changed the title to Anyone here with combination linux and nvidia GPU? Question inside
5 hours ago, meganoth said:

Do you use glcore as well and have the same line in the log and the same performance problems?

I do use glcore and have the same line in my logs. Was told by a dev that OpenGL does not support the Unity plugin that's needed for occlusion. I do not however have any performance problems.

Edited by Beelzybub (see edit history)
Link to comment
Share on other sites

I have an older pc running Ubuntu and a budget nvidia card. I can probably do some tests tonight. Normally I have to run in super low graphics settings to get above 50 FPS. Vanilla is playable but most heavily modded games crash about once an hour or so. I’ve been trying to pin it down and suspected it was memory related, though I don’t run out of memory but am up to 90% used at 16GB when playing many mods…but I have found even though I am running On an SSD that setting the Linux “swappiness” value to 1 (it defaults to 30 I think) helped a lot with random jerking (of the game), usually when opening containers and lots of zed spawning. Some posts indicated to set it to 0.

 

Years ago? I tried Vulcan I had issues, haven’t tried since.

 

Also: I have some nvidia specific config flags set on game launch. Can’t remember them on my phone, I’ll also post those. 

Edited by doughphunghus (see edit history)
Link to comment
Share on other sites

Update:

New game on navezgane, vanilla settings.

On game launcher: Using "GLCore" as the Renderer and "-force-glcore42 -force-clamped" as additional launch parameters: I do not see any lines of "!supportsAsyncGPUReadback" in my "output_log_client..." log.

 

In the "output_log_client..." log.,  have this as system into:

2022-08-16T22:01:17 0.076 INF Version: Alpha 20.5 (b2) Compatibility Version: Alpha 20.5, Build: LinuxPlayer 64 Bit
2022-08-16T22:01:17 0.077 INF System information:
2022-08-16T22:01:17 0.078 INF    OS: Linux 5.18 Pop!_OS 22.04 64bit
2022-08-16T22:01:17 0.078 INF    CPU: Intel(R) Core(TM) i5-6600 CPU @ 3.30GHz (cores: 4)
2022-08-16T22:01:17 0.078 INF    RAM: 15955 MB
2022-08-16T22:01:17 0.078 INF    GPU: NVIDIA GeForce GT 1030/PCIe/SSE2 (2048 MB)
2022-08-16T22:01:17 0.082 INF    Graphics API: OpenGL 4.2.0 NVIDIA 510.85.02 (shader level 4.6)

 

I do see some "Occlusion" related lines:

...

2022-08-16T22:01:25 8.502 INF Awake
2022-08-16T22:01:25 8.537 INF Occlusion: Awake

...

GamePref.OptionsAudioOcclusion = False

...

GamePref.OptionsGfxOcclusion = False

...

2022-08-16T22:02:30 72.767 INF createWorld: Navezgane, My Game, GameModeSurvival
2022-08-16T22:02:30 72.767 INF Occlusion: Disabled
2022-08-16T22:02:30 72.810 INF Started thread ChunkRegeneration

 

 

Note: I switched over to Vulcan and the game launched, I didn't notice any differences in the 10 seconds I ran around looking for obvious lag.

Link to comment
Share on other sites

6 hours ago, doughphunghus said:

Update:

New game on navezgane, vanilla settings.

On game launcher: Using "GLCore" as the Renderer and "-force-glcore42 -force-clamped" as additional launch parameters: I do not see any lines of  "!supportsAsyncGPUReadback" in my "output_log_client..." log.

 

In the "output_log_client..." log.,  have this as system into:

2022-08-16T22:01:17 0.076 INF Version: Alpha 20.5 (b2) Compatibility Version: Alpha 20.5, Build: LinuxPlayer 64 Bit
2022-08-16T22:01:17 0.077 INF System information:
2022-08-16T22:01:17 0.078 INF    OS: Linux 5.18 Pop!_OS 22.04 64bit
2022-08-16T22:01:17 0.078 INF    CPU: Intel(R) Core(TM) i5-6600 CPU @ 3.30GHz (cores: 4)
2022-08-16T22:01:17 0.078 INF    RAM: 15955 MB
2022-08-16T22:01:17 0.078 INF    GPU: NVIDIA GeForce GT 1030/PCIe/SSE2 (2048 MB)
2022-08-16T22:01:17 0.082 INF    Graphics API: OpenGL 4.2.0 NVIDIA 510.85.02 (shader level 4.6)

 

I do see some "Occlusion" related lines:

...

2022-08-16T22:01:25 8.502 INF Awake
2022-08-16T22:01:25 8.537 INF Occlusion: Awake

...

GamePref.OptionsAudioOcclusion = False

...

GamePref.OptionsGfxOcclusion = False

...

2022-08-16T22:02:30 72.767 INF createWorld: Navezgane, My Game, GameModeSurvival
2022-08-16T22:02:30 72.767 INF Occlusion: Disabled
2022-08-16T22:02:30 72.810 INF Started thread ChunkRegeneration

 

 

Note: I switched over to Vulcan and the game launched, I didn't notice any differences in the 10 seconds I ran around looking for obvious lag.

 

It seems you disabled Occlusion in the options. I would guess if you turned it on you would probably see the "!supportsAsyncGPUReadback" line as well.

 

Link to comment
Share on other sites

5 hours ago, meganoth said:

 

It seems you disabled Occlusion in the options. I would guess if you turned it on you would probably see the "!supportsAsyncGPUReadback" line as well.

 

I reinstalled the game from scratch (haven’t played in awhile) and noticed that but figured it was disabled via some auto detect…..maybe it kept previous user preferences, or auto turned it off as my system is low end? I’ll manually enable it and test again tonight.

Link to comment
Share on other sites

Update: Enabled Occlusion in the game video menu. Log now has (differences):

 

GamePref.OptionsGfxOcclusion = True

...

2022-08-17T18:03:54 54.955 WRN Occlusion: !supportsAsyncGPUReadback
2022-08-17T18:03:54 54.955 WRN Occlusion: !supportsComputeShaders
2022-08-17T18:03:54 54.956 INF Occlusion: Disabled

...

 

Link to comment
Share on other sites

It was just a guess on my part due to seeing odd log errors on Windows systems when settings are disabled in the control panel when turned on in the game. Unfortunately, I am not familiar with Linux and sad that I never learned. My field is not computers so all of my computer info is Windows learned in my spare time. Linux sounds fascinating, maybe once I finally retire(soon I hope) then I’ll have time to get educated on Linux.

Edited by Star69 (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...