I use the Nvidia card for both the built-in monitor as the external one. As Nvidia driver I use nvidia-video-G06 for GeForce 700 and newer.
In /etc/X11/xorg.conf.d I got a file with name 90-nvidia.conf. This file was placed there during install I think, I did not place it there. When I add the FullCompositionPipeLine option line and reboot I still have tearing and the option line has disappeared from the file, it is obviously rewritten at boot.
Nvidia-settings creates the file xorg.conf and there I do see this (also after reboot):
But this file is not used since I still have tearing images. Is there a way to make the system use the xorg.conf file nvidia-settings created instead of the 90-nvidia.conf file which was added during driver installation, or to permanently add the composition option to the 90-nvidia.conf file?
I have tried to use Wayland but ended up with 2 black screens after reboot.
Is the Nvidia driver the correct one for my card?
Is there another way to prevent tearing.
Many questions I know but I would like to have this laptop do what it is supposed to do, the way it is supposed to do it.
Thank you all.
Hello, when I just looked I saw I was running in System default. I now switched to X11, something I really thought I was using all the time.
Playing a Youtube video tells me something has changed for the better, although scrolling through the various videos Youtube is kindly offering me on the home page I stil see glitches.
Regarding the 2 conf files in /etc/X11/xorg.conf.d: how do I tell the system to use the file which is generated by the Nvidia settings program? The other one: 90-nvidia.conf keeps coming back. I can throw it away but after the next boot it is there again. So I guess it is being used as well. I can write the line for Nvidia’s composition pipeline in it, but since the file is replaced at boot, that line is gone.
@JanMussche I suspect suse-prime is running since it probably determined at install it was an ‘optimus’ type setup and maybe you selected the nvidia card here and it created the 90-nvidia.conf file…
Sure it’s not the amd gpu needed to drive the external monitor?
Hello Conram,
this is in the contents of the directory /etc/X11/xorg.conf.d:
ls
total 12K
-rw-r–r-- 1 root root 404 Jun 16 15:59 00-keyboard.conf
-rw-r–r-- 1 root root 704 Jun 19 15:50 90-nvidia.conf
-rw-r–r-- 1 root root 1.8K Jun 18 07:22 xorg.conf
xorg.conf is the output of the Nvidia-settings program in which I added the CompositionPipeLine line, the 90-nvidia.conf is a file which is autogenerated somehow. I can change the file but after a reboot it has the old contents.
Hello Malcom,
I don’t see a process called suse-prime at the moment, I do see nvidia-settings. Didn’t start that one by hand.
I did use suse-prime to choose the Nvidia card to be used. I would love to keep using it, I bought it, payed for it so I want to use it, unless I do have to start using the AMD gpu.
Talking about the latter, how do I switch to that GPU? I have tried using select AMD, select AMDGPU but it doesn’t work. What is the code I have to use to start using the AMD GPU?
Hi enziosavio, thank you for your help.
I did what you wrote but I can’t see any differences with before creating this file. Browsing the main Youtube age still gives me the artifacts and watching a video is also not perfect.
/usr/sbin/prime-select list
NVIDIA/Intel video card selection for NVIDIA Optimus laptops.
usage: prime-select nvidia|intel|intel2|amd|offload|unset|get-current|get-boot|offload-set|log-view|log-clean
usage: prime-select boot nvidia|intel|intel2|amd|offload|last
usage: prime-select next-boot nvidia|intel|intel2|amd|offload|abort
usage: prime-select service check|disable|restore
nvidia: use the NVIDIA proprietary driver
intel: use the Intel card with the "modesetting" driver
intel2: use the Intel card with the "intel" Open Source driver (xf86-video-intel)
amd: use the Amd card with the "amd" Open Source driver (xf86-video-amdgpu)
offload PRIME Render Offload possible with >= 435.xx NVIDIA driver
offload-set choose which intel driver use in PRIME Render Offload
unset: disable effects of this script and let Xorg decide what driver to use
get-current: display driver currently configured
log-view: view logfile
log-clean: clean logfile
boot: select default card at boot or set last used
supports kernel parameter nvidia.prime=intel|intel2|nvidia|amd|offload
next-boot: select card ONLY for next boot, it not touches your boot preference. abort: restores next boot to default
get-boot: display default card at boot
service: disable, check or restore prime-select service.
As I wrote before when I used AMD as option it didn’t work, so what to choose to get the AMD GPU?
@JanMussche Yes all very strange, are there system BIOS settings for the GPU’s?
Normally the primary device would be amdgpu and secondary nvidia, I suspect that selecting nvidia during install has set some defaults as I would have expected amd to be primary and nvidia secondary. Perhaps that’s related to suse-prime being installed.
/usr/sbin/prime-select list
NVIDIA/Intel video card selection for NVIDIA Optimus laptops.
usage: prime-select nvidia|intel|intel2|amd|offload|unset|get-current|get-boot|offload-set|log-view|log-clean
usage: prime-select boot nvidia|intel|intel2|amd|offload|last
usage: prime-select next-boot nvidia|intel|intel2|amd|offload|abort
usage: prime-select service check|disable|restore
nvidia: use the NVIDIA proprietary driver
intel: use the Intel card with the "modesetting" driver
intel2: use the Intel card with the "intel" Open Source driver (xf86-video-intel)
amd: use the Amd card with the "amd" Open Source driver (xf86-video-amdgpu)
offload PRIME Render Offload possible with >= 435.xx NVIDIA driver
offload-set choose which intel driver use in PRIME Render Offload
unset: disable effects of this script and let Xorg decide what driver to use
get-current: display driver currently configured
log-view: view logfile
log-clean: clean logfile
boot: select default card at boot or set last used
supports kernel parameter nvidia.prime=intel|intel2|nvidia|amd|offload
next-boot: select card ONLY for next boot, it not touches your boot preference. abort: restores next boot to default
get-boot: display default card at boot
service: disable, check or restore prime-select service.
Here it says I can select amd as a choice.
In BIOS I do have a choice between 2 GPU’s:
Discrete and switchable. It was set to switchable, I now selected Discrete. No idea what changed. I am still running the Nvidia GPU according to:
/usr/sbin/prime-select list
NVIDIA/Intel video card selection for NVIDIA Optimus laptops.
usage: prime-select nvidia|intel|intel2|amd|offload|unset|get-current|get-boot|offload-set|log-view|log-clean
usage: prime-select boot nvidia|intel|intel2|amd|offload|last
usage: prime-select next-boot nvidia|intel|intel2|amd|offload|abort
usage: prime-select service check|disable|restore
nvidia: use the NVIDIA proprietary driver
intel: use the Intel card with the "modesetting" driver
intel2: use the Intel card with the "intel" Open Source driver (xf86-video-intel)
amd: use the Amd card with the "amd" Open Source driver (xf86-video-amdgpu)
offload PRIME Render Offload possible with >= 435.xx NVIDIA driver
offload-set choose which intel driver use in PRIME Render Offload
unset: disable effects of this script and let Xorg decide what driver to use
get-current: display driver currently configured
log-view: view logfile
log-clean: clean logfile
boot: select default card at boot or set last used
supports kernel parameter nvidia.prime=intel|intel2|nvidia|amd|offload
next-boot: select card ONLY for next boot, it not touches your boot preference. abort: restores next boot to default
get-boot: display default card at boot
service: disable, check or restore prime-select service.
Here it says I can select amd as a choice.
In BIOS I do have a choice between 2 GPU’s:
Discrete and switchable. It was set to switchable, I now selected Discrete. No idea what changed. I am still running the Nvidia GPU according to:
What I didn’t mention before is this:
Yast softwaremanager’s windows is too high. I see the bottom 3/4 of the window and at the top of the monitor I can just see the field in which you type what you are looking for. Everything above that is off monitor. This happens in both Switchable GPU as in Discrete.
Now in Discrete my Conky is not visible, it has to be on the built-in monitor but it isn’t there. System-monitor says it isn’t running at all.
I’ll try to switch to the AMD GPU and use that for a while to see if it is any better. Will let you know as soon as I have some results. In the mean time, thanks for all the time and effort you put into my problem.
@JanMussche ahhh so likely to get things working is switchable, also the screen resolution is not set properly hence your issues with some applications.
Plus point: no tearing anymore
Negative point: I only can use the built-in monitor, the external gives me a black screen.
How to start using the external monitor as well and please don’t tell me this is impossible.
@JanMussche Can you show the output from both of the following commands, once when with AMD and once with Nvidia, and with all monitors connected, even if no image/output;
xrandr --listproviders
xrandr --listmonitors
Then need to look at getting rid of all the suse-prime, bbswitch etc and then seeing what the default is… I think it could be suse-prime related…