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
- KDE Plasma 6.3 will have much better fractional scaling
- New Linux kernel patch submitted to improve Lenovo Legion series support including Lenovo Legion Go
- The Steam Deck Stars Bundle on Steam has some top Deck Verified games for cheap
- Horror scavenging game KLETKA is like Lethal Company but an elevator wants to eat you
- Xfce 4.20 desktop released with experimental Wayland support
- > See more over 30 days here
Linux Distribution: Ubuntu 20.04 LTS
Desktop Environment: KDE Plasma
Graphics Card: nVidia GeForce GTX 1650 Ti with max Q
GPU Driver Version: 450.66.0
Have you checked for system updates?: [Yes]
If this is to do with Steam, please add your system read-out from Steam -> Help -> System Information https://pastebin.com/pbPvgeZ2
You can note your issue below here
Hey guys,
i installed Kubuntu 20 on a new Razer Blade Stealth 2020.
Intel Core i7-1065G7 16 GB RAM nVidia GeForce GTX 1650 Ti.
Everything seem to work. But when i move the mouse in for example Prey. The textures pops up like glitches.
I guess its the Nvidia Graphic Driver. I installed the driver on different ways. Same result.
My driver version : 450.66.0 (also tried the newest 455)
Vulkan: 1.2.133
Proton 5.
Is thery any tool i try out if the card works correct?
Edit: ok i tried now vkcube and i guess the cube should be turn around smooth but its stuck on one place and tried to turn without succes and it creates kind of the same texture popup as i have in prey. So i guess there so something wrong with vulkan.
Also found another error:
lspci | grep 3D && vulkaninfo | grep deviceName
58:00.0 3D controller: NVIDIA Corporation Device 1f95 (rev a1)
ERROR: [Loader Message] Code 0 : /usr/lib/i386-linux-gnu/libvulkan_radeon.so: wrong ELF class: ELFCLASS32
ERROR: [Loader Message] Code 0 : /usr/lib/i386-linux-gnu/libvulkan_intel.so: wrong ELF class: ELFCLASS32
deviceName = GeForce GTX 1650 Ti with Max-Q Design
Last edited by Spirimint on 7 October 2020 at 7:59 pm UTC
https://ubuntuforums.org/showthread.php?t=2450147&p=13985186#post13985186
Can anybody explain,bwhy it worked? Whats the diffetence compare to normal driver install?
Last edited by Spirimint on 4 October 2020 at 10:50 pm UTC
View PC info
It is actually more or less the normal install in Ubuntu, you just get the packages form the semi-official PPA instead of the Ubuntu repositories. For 450 its currently the same version, so probably did not make the difference.
Else it describes to use the on-demand mode, where the Intel GPU is used for the desktop and all programs as default, unless you start it in the way described there. But you could also just right click on the icon and choose run on dedicated graphic card.
In optimus laptops, which I assume yours is, since most laptops with Nvidia are, you can choose between 3 modes (and that is not dependant on the PPA, it comes so in Ubuntu and most other distros now)
Power saving - Intel GPU only, use it when on battery and not interest in using the Nvidia GPU
Performance Mode - Nvidia GPU only, use it when plugged in, and for some models the HDMI output only works then, and you want to use the nvidia often, or have to because of
On Demand Mode - Intel GPU is used for the desktop and all programs as default, unless you start them as described there or
use the right click menu, and there could be m ore ways.
You can switch between those modes with the prime-select command, the nvidia-settings app, or the mate-optimus applet (which also works in Gnome)
Did you check before when you had problems if you actually where using the Nvidia GPU, with Nvidia settings , the command or the applet?
But good to know its more or less the same. So maybe something wrong in the official one. I still will keep it in mind if i have again some probs with the official way :)
Just asked to get better in linux :)
View PC info
In my case, No Man's Sky don't really like Proton version up to 5.0.9 (it causes crashes and glitches).
Last edited by Nasra on 6 October 2020 at 6:24 am UTC
View PC info
Do you right click and choose use dedicated graphic card or the environment variables to launch the games with nvidia when you use on demand mode? If not then you use the Intel GPU, and that points to that you have something missing with vulkan for nvidia but have it correctly installed for Intel. If yoiu did not try any Linux native vulkan games in performance mode and they worked there.
What happens if you run vkcube a vulkan demo with a spinning cube in performance mode?
What does
apt list --installed|grep -i nvidia
show
and
gpu-manager
both in on demand and in performance mode? It will show what ubuntu finds of GPUs and how they are used.
If i try "vkcube" in performance mode o got a black windows. The cube only spins in "on demand" mode.
not sure how i can do that.
apt list --installed|grep -i nvidia
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
libnvidia-cfg1-450/focal-updates,focal,now 450.66-0ubuntu0.20.04.1 amd64 [Installiert,automatisch]
libnvidia-common-450/focal-updates,focal-updates,focal,focal,now 450.66-0ubuntu0.20.04.1 all [installiert]
libnvidia-compute-450/focal-updates,focal,now 450.66-0ubuntu0.20.04.1 amd64 [Installiert,automatisch]
libnvidia-compute-450/focal-updates,focal,now 450.66-0ubuntu0.20.04.1 i386 [Installiert,automatisch]
libnvidia-decode-450/focal-updates,focal,now 450.66-0ubuntu0.20.04.1 amd64 [Installiert,automatisch]
libnvidia-decode-450/focal-updates,focal,now 450.66-0ubuntu0.20.04.1 i386 [Installiert,automatisch]
libnvidia-encode-450/focal-updates,focal,now 450.66-0ubuntu0.20.04.1 amd64 [Installiert,automatisch]
libnvidia-encode-450/focal-updates,focal,now 450.66-0ubuntu0.20.04.1 i386 [Installiert,automatisch]
libnvidia-extra-450/focal-updates,focal,now 450.66-0ubuntu0.20.04.1 amd64 [Installiert,automatisch]
libnvidia-fbc1-450/focal-updates,focal,now 450.66-0ubuntu0.20.04.1 amd64 [Installiert,automatisch]
libnvidia-fbc1-450/focal-updates,focal,now 450.66-0ubuntu0.20.04.1 i386 [Installiert,automatisch]
libnvidia-gl-450/focal-updates,focal,now 450.66-0ubuntu0.20.04.1 amd64 [Installiert,automatisch]
libnvidia-gl-450/focal-updates,focal,now 450.66-0ubuntu0.20.04.1 i386 [Installiert,automatisch]
libnvidia-ifr1-450/focal-updates,focal,now 450.66-0ubuntu0.20.04.1 amd64 [Installiert,automatisch]
libnvidia-ifr1-450/focal-updates,focal,now 450.66-0ubuntu0.20.04.1 i386 [Installiert,automatisch]
nvidia-compute-utils-450/focal-updates,focal,now 450.66-0ubuntu0.20.04.1 amd64 [Installiert,automatisch]
nvidia-dkms-450/focal-updates,focal,now 450.66-0ubuntu0.20.04.1 amd64 [Installiert,automatisch]
nvidia-driver-450/focal-updates,focal,now 450.66-0ubuntu0.20.04.1 amd64 [installiert]
nvidia-kernel-common-450/focal-updates,focal,now 450.66-0ubuntu0.20.04.1 amd64 [Installiert,automatisch]
nvidia-kernel-source-450/focal-updates,focal,now 450.66-0ubuntu0.20.04.1 amd64 [Installiert,automatisch]
nvidia-prime/focal,focal,now 0.8.14 all [installiert]
nvidia-settings/focal-updates,focal,now 440.82-0ubuntu0.20.04.1 amd64 [installiert]
nvidia-utils-450/focal-updates,focal,now 450.66-0ubuntu0.20.04.1 amd64 [Installiert,automatisch]
xserver-xorg-video-nvidia-450/focal-updates,focal,now 450.66-0ubuntu0.20.04.1 amd64 [Installiert,automatisch]
gpu-manager
last_boot_file: /var/lib/ubuntu-drivers-common/last_gfx_boot
new_boot_file: /var/lib/ubuntu-drivers-common/last_gfx_boot
can't access /opt/amdgpu-pro/bin/amdgpu-pro-px
Looking for nvidia modules in /lib/modules/5.8.14-xanmod1/updates/dkms
Found nvidia module: nvidia.ko
Looking for amdgpu modules in /lib/modules/5.8.14-xanmod1/updates/dkms
Is nvidia loaded? yes
Was nvidia unloaded? no
Is nvidia blacklisted? no
Is intel loaded? yes
Is radeon loaded? no
Is radeon blacklisted? no
Is amdgpu loaded? no
Is amdgpu blacklisted? no
Is amdgpu versioned? no
Is amdgpu pro stack? no
Is nouveau loaded? no
Is nouveau blacklisted? yes
Is nvidia kernel module available? yes
Is amdgpu kernel module available? no
Vendor/Device Id: 8086:8a52
BusID "PCI:0@0:2:0"
Is boot vga? yes
Vendor/Device Id: 10de:1f95
BusID "PCI:88@0:0:0"
Is boot vga? no
Skipping "/dev/dri/card0", driven by "i915"
Skipping "/dev/dri/card1", driven by "nvidia-drm"
Skipping "/dev/dri/card0", driven by "i915"
Skipping "/dev/dri/card1", driven by "nvidia-drm"
Skipping "/dev/dri/card0", driven by "i915"
Skipping "/dev/dri/card1", driven by "nvidia-drm"
Found "/dev/dri/card0", driven by "i915"
output 0:
card0-eDP-1
Number of connected outputs for /dev/dri/card0: 1
Does it require offloading? yes
last cards number = 2
I couldn't open /var/lib/ubuntu-drivers-common/last_gfx_boot for writing.
Error: can't write to /var/lib/ubuntu-drivers-common/last_gfx_boot
Last edited by Spirimint on 8 October 2020 at 8:18 pm UTC
View PC info
On demand is to use the Intel GPU for all, except those you run with the right click to choose dedicated graphic card, or use the script from the forum you linked.
So Nvidia does work except for vulkan. there was a bug a while ago that some file had wrong contents, maybe that happened to you.
See https://askubuntu.com/questions/967335/vulkan-does-not-work
What does /usr/share/vulkan/icd.d/nvidia_icd.json look like on your system:
Mine is
{
"file_format_version" : "1.0.0",
"ICD": {
"library_path": "libGLX_nvidia.so.0",
"api_version" : "1.2.133"
}
}
The important part is that its libGLX_nvidia.so.0 and not libGL.so.1
the version number will change over time.
I have above file with the 450 driver
/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?