(System76) Vulkan on RTX 2060 not working.
Spirimint Oct 23, 2020
My System Info

Linux Distribution: PopOs 20.04
Desktop Environment: Gnome
Graphics Card: Switchable Intel and NVIDIA Graphics "RTX 2060"
GPU Driver Version: 450.80.02

Have you checked for system updates?: [Yes]

If this is not Steam, you can still give us a system readout using inxi with "inxi -SbCGxx" in terminal (please put that into Pastebin/Gist as linked above!):

You can note your issue below here

Hey i just got the new System76 Oryx Pro.

which has a Switchable Intel and NVIDIA Graphics, which comes preinstalled with POP OS, and it seems like once i switch to the RTX 2060, something is not right. Games with Proton not even starting.

Vkcube, shows a spinning cube.

I got the same Problem on my second computer, but this here is like linux native. I hope you guys can help me to figure out the problem.

Thanks in advance.

Last edited by Spirimint on 23 October 2020 at 11:40 pm UTC
Xpander Oct 24, 2020
There was a proton 5.13 release which made some weird stuff with it.
try to switch to older proton 5.0 to confirm if your vulkan drivers work there. If they do then we can check whats needed for newer proton.
Spirimint Oct 24, 2020
Reinstalled my whole system and you are right with Proton 5.0 i have no problems to start. But native games without proton don't wanna start.

Last edited by Spirimint on 24 October 2020 at 11:46 am UTC
Xpander Oct 24, 2020
whats the output of glxinfo | grep render

also to check native games, you could start steam from terminal and then try to start the game, it should show whats wrong with them.
Spirimint Oct 24, 2020
glxinfo | grep render
direct rendering: Yes
    GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer, 
    GLX_MESA_query_renderer, GLX_MESA_swap_control, GLX_OML_swap_method, 
Extended renderer info (GLX_MESA_query_renderer):
OpenGL renderer string: Mesa Intel(R) UHD Graphics (CML GT2)
    GL_ARB_conditional_render_inverted, GL_ARB_conservative_depth, 
    GL_NV_conditional_render, GL_NV_depth_clamp, 
    GL_ARB_conditional_render_inverted, GL_ARB_conservative_depth, 
    GL_NV_compute_shader_derivatives, GL_NV_conditional_render, 
    GL_EXT_render_snorm, GL_EXT_robustness, GL_EXT_sRGB_write_control, 
    GL_NV_conditional_render, GL_NV_draw_buffers, GL_NV_fbo_color_attachments, 
    GL_OES_element_index_uint, GL_OES_fbo_render_mipmap, 


found out it seems like its only one native who does not work, so it might be a problem with game itself.

But i would have one more question.

My System has a Hybrid Mode but in the Hybrid Mode, Vulkan won't get any good performance. But i found:

"Hybrid

Hybrid graphics mode uses both the integrated GPU and the discrete NVIDIA GPU. Applications will use the integrated GPU unless explicitly requested to use the discrete GPU.

Vulkan applications must be launched with this command to be rendered on the dGPU (NVIDIA):

__NV_PRIME_RENDER_OFFLOAD=1 <application>

GLX applications must be launched with this command to be rendered on the dGPU (NVIDIA):

__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia <application>

Hybrid graphics mode is available on 19.10 and later."

so i tried

NV_PRIME_RENDER_OFFLOAD=1 steam
Running Steam on pop 20.04 64-bit
STEAM_RUNTIME is enabled automatically
Pins up-to-date!
Steam client's requirements are satisfied
/home/somavakien/.steam/debian-installation/ubuntu12_32/steam -nominidumps -nobreakpad
[2020-10-24 20:04:49] Startup - updater built Oct 23 2020 20:26:36
[2020-10-24 20:04:49] Loading cached metrics from disk (/home/somavakien/.steam/debian-installation/package/steam_client_metrics.bin)
[2020-10-24 20:04:49] Using the following download hosts for Public, Realm steamglobal
[2020-10-24 20:04:49] 1. http://media4.steampowered.com, /client/, Realm 'steamglobal', weight was 100, source = 'update_hosts_cached.vdf'
[2020-10-24 20:04:49] Verifying installation...
[2020-10-24 20:04:49] Verification complete
STEAM_RUNTIME_HEAVY: ./steam-runtime-heavy
Warning: failed to set thread priority: set failed for 4: -1: setpriority() failed
Warning: failed to set thread priority: set failed for priority 4
Warning: support for elevated priorities is most likely unavailable, suppressing future warnings
Warning: failed to set thread priority: set failed for 4: -1: setpriority() failed
Warning: failed to set thread priority: set failed for priority 4
Warning: support for elevated priorities is most likely unavailable, suppressing future warnings


is there anything i can do?
damarrin Oct 24, 2020
Is steam a Vulcan application?
Spirimint Oct 24, 2020
tried also "NV_PRIME_RENDER_OFFLOAD=1" in steam launch options. Won't work as well.
Xpander Oct 25, 2020
your glxinfo output shows you don't have nvidia drivers.
I have no experience with switchable graphics so i dunno what to do there.

shouldn't there be a place like this where you switch your GPU?



and iirc theres a thing on your top panel also where you can do that, or at least i remember seeing it on the interwebs somewhere, but i have no experience with it myself

Last edited by Xpander on 25 October 2020 at 1:20 am UTC
Spirimint Oct 25, 2020
Hm i use the drivers from system76. It cam out of the box so not sure why there not showing as nvidia drivers.

For switching between graphics i use this:

https://support.system76.com/articles/graphics-switch-pop/

this is the output of glxinfo | grep render in NVIDIA Mode:

glxinfo | grep render
direct rendering: Yes
OpenGL renderer string: GeForce RTX 2060/PCIe/SSE2
    GL_ARB_conditional_render_inverted, GL_ARB_conservative_depth, 
    GL_NVX_conditional_render, GL_NVX_gpu_memory_info, GL_NVX_nvenc_interop, 
    GL_NV_compute_shader_derivatives, GL_NV_conditional_render, 
    GL_NV_path_rendering, GL_NV_path_rendering_shared_edge, 
    GL_NV_stereo_view_rendering, GL_NV_texgen_reflection, 
    GL_ARB_compute_variable_group_size, GL_ARB_conditional_render_inverted, 
    GL_NVX_conditional_render, GL_NVX_gpu_memory_info, GL_NVX_nvenc_interop, 
    GL_NV_compute_shader_derivatives, GL_NV_conditional_render, 
    GL_NV_path_rendering, GL_NV_path_rendering_shared_edge, 
    GL_NV_stereo_view_rendering, GL_NV_texgen_reflection, 
    GL_EXT_multisample_compatibility, GL_EXT_multisampled_render_to_texture, 
    GL_EXT_multisampled_render_to_texture2, 
    GL_EXT_raster_multisample, GL_EXT_render_snorm, GL_EXT_robustness, 
    GL_NV_conditional_render, GL_NV_conservative_raster, 
    GL_NV_packed_float_linear, GL_NV_path_rendering, 
    GL_NV_path_rendering_shared_edge, GL_NV_pixel_buffer_object, 
    GL_NV_shadow_samplers_cube, GL_NV_stereo_view_rendering, 
    GL_OES_element_index_uint, GL_OES_fbo_render_mipmap, 
    GL_OVR_multiview_multisampled_render_to_texture
somavakien@pop-os:~$ 


so if i understood the website correct with the code "NV_PRIME_RENDER_OFFLOAD=1" i should could start in hybrid the nvidia but i only get this

NV_PRIME_RENDER_OFFLOAD=1 glxinfo | grep render
direct rendering: Yes
    GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer, 
    GLX_MESA_query_renderer, GLX_MESA_swap_control, GLX_OML_swap_method, 
Extended renderer info (GLX_MESA_query_renderer):
OpenGL renderer string: Mesa Intel(R) UHD Graphics (CML GT2)
    GL_ARB_conditional_render_inverted, GL_ARB_conservative_depth, 
    GL_NV_conditional_render, GL_NV_depth_clamp, 
    GL_ARB_conditional_render_inverted, GL_ARB_conservative_depth, 
    GL_NV_compute_shader_derivatives, GL_NV_conditional_render, 
    GL_EXT_render_snorm, GL_EXT_robustness, GL_EXT_sRGB_write_control, 
    GL_NV_conditional_render, GL_NV_draw_buffers, GL_NV_fbo_color_attachments, 
    GL_OES_element_index_uint, GL_OES_fbo_render_mipmap, 


but if i use the second code i got this "__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia <application>"

__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia glxinfo | grep render
direct rendering: Yes
OpenGL renderer string: GeForce RTX 2060/PCIe/SSE2
    GL_ARB_conditional_render_inverted, GL_ARB_conservative_depth, 
    GL_NVX_conditional_render, GL_NVX_gpu_memory_info, GL_NVX_nvenc_interop, 
    GL_NV_compute_shader_derivatives, GL_NV_conditional_render, 
    GL_NV_path_rendering, GL_NV_path_rendering_shared_edge, 
    GL_NV_stereo_view_rendering, GL_NV_texgen_reflection, 
    GL_ARB_compute_variable_group_size, GL_ARB_conditional_render_inverted, 
    GL_NVX_conditional_render, GL_NVX_gpu_memory_info, GL_NVX_nvenc_interop, 
    GL_NV_compute_shader_derivatives, GL_NV_conditional_render, 
    GL_NV_path_rendering, GL_NV_path_rendering_shared_edge, 
    GL_NV_stereo_view_rendering, GL_NV_texgen_reflection, 
    GL_EXT_multisample_compatibility, GL_EXT_multisampled_render_to_texture, 
    GL_EXT_multisampled_render_to_texture2, 
    GL_EXT_raster_multisample, GL_EXT_render_snorm, GL_EXT_robustness, 
    GL_NV_conditional_render, GL_NV_conservative_raster, 
    GL_NV_packed_float_linear, GL_NV_path_rendering, 
    GL_NV_path_rendering_shared_edge, GL_NV_pixel_buffer_object, 
    GL_NV_shadow_samplers_cube, GL_NV_stereo_view_rendering, 
    GL_OES_element_index_uint, GL_OES_fbo_render_mipmap, 
    GL_OVR_multiview_multisampled_render_to_texture

ok start steam like this works __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia steam

seems like steam is not a vulkan application but can translate then to vulkan?

How could i get set this, without using the terminal? So everytime i start steam yes uses this code?

Last edited by Spirimint on 25 October 2020 at 8:51 am UTC
Xpander Oct 25, 2020
make a new launcher into the menu with the command __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia steam

Call it Steam (Nvidia) or something... i bet gnome has the create launcher option somewhere... havent used gnome for a while though.
Spirimint Oct 26, 2020
It seems like i only had to do this one time. Right now everytime i start steam it just works great!

Last edited by Spirimint on 26 October 2020 at 8:19 am UTC
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon. Plain Donations: PayPal.

This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring 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!
Login / Register


Or login with...
Sign in with Steam Sign in with Google
Social logins require cookies to stay logged in.