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!
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
- GOG launch their Preservation Program to make games live forever with a hundred classics being 're-released'
- Valve dev details more on the work behind making Steam for Linux more stable
- Half-Life 2 free to keep until November 18th, Episodes One & Two now included with a huge update
- NVIDIA detail upcoming Linux driver features for Wayland and explain current support
- Direct3D to Vulkan translation layer DXVK v2.5 released with rewritten memory management
- > See more over 30 days here
-
The Walking Dead, The Expanse and more in the Telltale …
- Caldathras -
Half-Life 2 free to keep until November 18th, Episodes …
- wvstolzing -
Half-Life 2 free to keep until November 18th, Episodes …
- Caldathras -
The Walking Dead, The Expanse and more in the Telltale …
- Liam Dawe -
Half-Life 2 free to keep until November 18th, Episodes …
- Ehvis - > See more comments
- What do you want to see on GamingOnLinux?
- Liam Dawe - New Desktop Screenshot Thread
- Vortex_Acherontic - Types of programs that are irritating
- dvd - Weekend Players' Club 11/15/2024
- StoneColdSpider - Our own anti-cheat list
- Xpander - See more posts
/usr/share/vulkan/icd.d/nvidia_icd.json looks like
{
"file_format_version" : "1.0.0",
"ICD": {
"library_path": "libGLX_nvidia.so.0",
"api_version" : "1.2.133"
}
}
in the other Forum they suggest to use "prime-run %command%" in Steam LAUNCH OPTIONS, but its not working.
Last edited by Spirimint on 12 October 2020 at 6:51 pm UTC
View PC info
It seems you have a problem with vulkan while using the Nvidia GPU, but OpenGL works for it, and with Intel you can use both OpenGL and Vulkan.
I would focus on running either performance mode with only Nvidia for now while gathering more info, and then poersave for only Intel until the problem is solved. then you at least are sure which GPU actually is used.
While in performance mode run
vulkaninfo
If you do not have the command install vulkan-tools
Does that gives pages after pages off output? It does that when Vulkan works at least.
If you only get some couple of lines please put them all here, if its a very long output then use a paste site, like https://paste.ubuntu.com/ and post the link here.
If it errors out after a few lines then try
sudo vulkaninfo
If that works then its maybe because of https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-390/+bug/1769857
That was a bug my laptop was hit with a while ago, but that has been fixed a long time and at least since 20.04 is out. For my laptop at least.
A workaround was to either not use gdm3 or not set nvidia-drm.modeset=1
To check if its set run
sudo cat /sys/module/nvidia_drm/parameters/modeset
If it says N then its not set, with Y it is set.
My laptop needs it to not have tearing on the laptop screen so I went with lightdm, until I noticed the bug was gone with gdm3
vulkaninfo:
https://paste.ubuntu.com/p/bfB9YsMfR4/
sudo cat /sys/module/nvidia_drm/parameters/modeset
N
How can i change it to yes?
Last edited by Spirimint on 13 October 2020 at 6:30 pm UTC
View PC info
And your vulkaninfo does say
driverID = DRIVER_ID_NVIDIA_PROPRIETARY
driverName = NVIDIA
driverInfo = 450.80.02
and has thousands of features and no error, so I am running out of ideas.
To set modeset but that is , I believe, only to not get tearing from the laptop inbuilt screen, so if you do not have a problem with that you could leave it, else see http://ubuntuhandbook.org/index.php/2018/07/fix-screen-tearing-ubuntu-18-04-optimus-laptops/
Did you try vkcube and a vulkan game after getting that vulkaninfo output?
And start them from a terminal to see if there are errors in the terminal after.
And collect your Xorg log from cat /var/log/Xorg.0.log and upload that too to https://paste.ubuntu.com unless they suddenly work.
So far i have no tearing probs so i guess i can leave it like it is.
cat /var/log/Xorg.0.log:
https://paste.ubuntu.com/p/VQhSbhPMXH/
View PC info
But look what I found: https://insider.razer.com/index.php?threads/new-2020-stealth-linux-support.57151/#post-612849
Try what that user did to get the laptop you have working under Ubuntu with i915.modeset=0
and skip the autologin part for gdm, the gnome login manager since you use sddm
" boot the system, and in the grub menu press "e" again and add "i915.modeset=0" to the line that starts with "linux" and has the "quiet splash" parameters. "
in this line i have
linux /boot/vmlinux-5.8.14-xanmod1 root=UUID=595fd6b6-3c11-46a7-9d57-0711ade485c6 ro quiet splash srt_handoff
now the want include "i915.modeset=0"
like this ?
linux /boot/vmlinux-5.8.14-xanmod1 i915.modeset=0 root=UUID=595fd6b6-3c11-46a7-9d57-0711ade485c6 ro quiet splash srt_handoff?
View PC info
When you look at their point 4 for the permanent changes they suggest to put i915.modeset=0 at the end.
So try that too when you test it with 'e'
So i guess i need to live with it.
View PC info
Also have you tried it with the default kernel from20.04 instead of vmlinux-5.8.14-xanmod1?