Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Poor Performance Running Unigine Valley #733

Closed
blitzcaster opened this issue May 7, 2022 · 10 comments
Closed

Poor Performance Running Unigine Valley #733

blitzcaster opened this issue May 7, 2022 · 10 comments
Assignees
Labels
bug Something isn't working

Comments

@blitzcaster
Copy link

Environment

Windows build number: 10.0.22000.0
Your Distribution version: Ubuntu 22.04
Your WSLg version: 1.0.26

glxinfo

Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Microsoft Corporation (0xffffffff)
    Device: D3D12 (NVIDIA GeForce RTX 2080 SUPER) (0xffffffff)
    Version: 22.2.0
    Accelerated: yes
    Video memory: 24357MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 4.2
    Max compat profile version: 4.2
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.1
OpenGL vendor string: Microsoft Corporation
OpenGL renderer string: D3D12 (NVIDIA GeForce RTX 2080 SUPER)
OpenGL core profile version string: 4.2 (Core Profile) Mesa 22.2.0-devel (git-cfec9a5 2022-05-06 jammy-oibaf-ppa)
OpenGL core profile shading language version string: 4.20
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

Steps to reproduce

Download Unigine Valley and run it on Ubuntu 22.04. Optionally also run Unigine Heaven to compare.

Expected behavior

Unigine Heaven runs fine as in screenshot:

Heaven Result

Actual behavior

Unigine Valley have very poor performance:

Valley Result

@blitzcaster blitzcaster added the bug Something isn't working label May 7, 2022
@elsaco
Copy link

elsaco commented May 9, 2022

@blitzcaster running Heaven on a lesser RTX (3060 Ti) and with all dependencies satisfied it works on WSLg and Ubuntu-22.04. Sample benchmark run:

unigine_heaven_benchmarking

---- Render ----
GLRender::GLRender(): Unknown NVidia GPU
OpenGL vendor:   Microsoft Corporation
OpenGL renderer: D3D12 (NVIDIA GeForce RTX 3060 Ti)
OpenGL version:  3.3 (Core Profile) Mesa 22.0.1
OpenGL flags:    Core Profile
Found required GL_ARB_map_buffer_range
Found required GL_ARB_vertex_array_object
Found required GL_ARB_draw_instanced
Found required GL_ARB_draw_elements_base_vertex
Found required GL_ARB_transform_feedback
Found required GL_ARB_half_float_vertex
Found required GL_ARB_half_float_pixel
Found required GL_ARB_framebuffer_object
Found required GL_ARB_texture_multisample
Found required GL_ARB_uniform_buffer_object
Found required GL_ARB_geometry_shader4
Found optional GL_ARB_blend_func_extended
Found optional GL_ARB_tessellation_shader
Found optional GL_ARB_shader_bit_encoding
Found optional GL_ARB_sample_shading
Found optional GL_ARB_compute_shader
Found optional GL_ARB_gpu_shader5
Found optional GL_EXT_texture_compression_s3tc
Found optional GL_ARB_texture_compression_rgtc
Shading language:        3.30
Maximum texture size:    16384
Maximum texture units:   192
Maximum texture renders: 8

@blitzcaster
Copy link
Author

@elsaco Heaven is okay, can you test Valley?

@elsaco
Copy link

elsaco commented May 9, 2022

unigine_valley

FPS is lower compared to Heaven.

@blitzcaster
Copy link
Author

FPS is lower compared to Heaven.

Ok, it can be replicated on other system then, thank you.

@elsaco
Copy link

elsaco commented May 10, 2022

valley_benchmark

heaven_benchmark

@WSLUser
Copy link

WSLUser commented Jun 30, 2022

Related to #146 but great screenshots that help more in seeing the FPS drop. Existing linked upstream issue exists. Suggest upvoting it for priority.

@felipebutcher
Copy link

Happening here too. It's not using the 3060 on my laptop. It shows it's using the intel GPU instead.

@tiagoshibata
Copy link

This should be fixed by https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17435 . I get a much better score with that fix, and an improvement of 2.4 FPS -> 19.7 FPS

comparison

Let us know if you're still having any issues after this merge request!

@WSLUser
Copy link

WSLUser commented Jul 8, 2022

Much better but hope more optimizations can get it to 60 fps

@tiagoshibata tiagoshibata self-assigned this Jul 19, 2022
@blitzcaster
Copy link
Author

Much better but hope more optimizations can get it to 60 fps

Not meaning to bump, but he's likely running on a different GPU from my previous test. I've just retested it today and can confirm it's running much better now, thank you for the fix.

New result

Valley screenshot after fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants