So, I’ve been using Manjaro for a while and recently got a new laptop with Nvidia graphics card. The laptop has 2 disks and Manjaro and Windows live on different ones. I’ve disabled fast-start on Windows.
Issue that I have is that there is a lot of screen tearing and “glitches” that take place. I looked through the forum and wiki but my Nvidia X server settings manager don’t seem to have the options that are listed in the wiki or the forum solutions.
I use the laptop screen 1920x1080 144Hz + external monitor 1920x1080 60Hz. And sometimes only the external monitor with the laptop screen off (in case this makes a difference in how configuration should be approached).
Appreciate it if you could point me in the right direction.
Unfortunately, using that conf file with the following configurations causes the boot process to get stuck on reached graphical.target and sddm does not start up. I switched to virtual terminal and deleted that file.
This was my first thought as well and tried kernel 6 a couple days ago. Had the same screen tearing experience. So removed it and switched back to the LTS one before posting on the forum.
However, you make a fair point. I’ve switched to Linux wrapper 6.0.2-2-MANJARO #1 SMP PREEMPT_DYNAMIC Sat Oct 15 13:31:58 UTC 2022 x86_64 GNU/Linux now.
My “Nvidia settings” does not have anything for me to change, its mostly just information such as driver version etc. Is that how it looks for others as well (This is the first time that I’ve bought a laptop with Nvidia, hence all the questions)?.
your nvidia settings dont have any options there because you are now running in hybrid mode, which means you are on your intel gpu and nvidia is ‘dormant’ … so its very likely that the screen tearing is not related to nvidia, but who knows… i would suggest to install optimus manager to switch between gpus:
edit your sddm.conf: kate /etc/sddm.conf
and put a # before the line starting with DisplayCommand and the one starting with DisplayStopCommand - you may not have these display command lines there, so proceed with install: sudo pacman -S optimus-manager optimus-manager-plasma
reboot and check if it helped with the tearing…if not switch to intel only via the optimus tray gui, it will log you out/log in and test if the screen tear is present… if yes its not related to nvidia … if its not present, switch to nvidia and test if its present there… in nvidia mode you will have now more options in your nvidia settings
I commented out DisplayCommand & DisplayStopCommand in /etc/sddm.conf, installed the 2 packages and rebooted. Journalctl shows the following for sddm.service
Oct 19 23:23:54 wrapper systemd[1]: Started Simple Desktop Display Manager.
Oct 19 23:23:54 wrapper sddm[667]: Initializing...
Oct 19 23:23:54 wrapper sddm[667]: Starting...
Oct 19 23:23:54 wrapper sddm[667]: Logind interface found
Oct 19 23:23:58 wrapper sddm[667]: Adding new display on vt 1 ...
Oct 19 23:23:58 wrapper sddm[667]: Loading theme configuration from ""
Oct 19 23:23:58 wrapper sddm[667]: Display server starting...
Oct 19 23:23:58 wrapper sddm[667]: Adding cookie to "/var/run/sddm/{a5a1f6bb-2097-4a0c-b6b0-9d104e6b8ac8}"
Oct 19 23:23:58 wrapper sddm[667]: Running: /usr/bin/X -nolisten tcp -background none -seat seat0 vt1 -auth /var/run/sddm/{a5a1f6bb-2097-4a0c-b6b0-9d104e6b8ac8} -noreset -displayfd 17
Oct 19 23:23:59 wrapper sddm[667]: Failed to read display number from pipe
Oct 19 23:23:59 wrapper sddm[667]: Display server stopping...
Oct 19 23:23:59 wrapper sddm[667]: Attempt 1 starting the Display server on vt 1 failed
Oct 19 23:24:01 wrapper sddm[667]: Display server starting...
Oct 19 23:24:01 wrapper sddm[667]: Adding cookie to "/var/run/sddm/{a5a1f6bb-2097-4a0c-b6b0-9d104e6b8ac8}"
Oct 19 23:24:01 wrapper sddm[667]: Running: /usr/bin/X -nolisten tcp -background none -seat seat0 vt1 -auth /var/run/sddm/{a5a1f6bb-2097-4a0c-b6b0-9d104e6b8ac8} -noreset -displayfd 17
Oct 19 23:24:01 wrapper sddm[667]: Failed to read display number from pipe
Oct 19 23:24:01 wrapper sddm[667]: Display server stopping...
Oct 19 23:24:01 wrapper sddm[667]: Attempt 2 starting the Display server on vt 1 failed
Oct 19 23:24:03 wrapper sddm[667]: Display server starting...
Oct 19 23:24:03 wrapper sddm[667]: Adding cookie to "/var/run/sddm/{a5a1f6bb-2097-4a0c-b6b0-9d104e6b8ac8}"
Oct 19 23:24:03 wrapper sddm[667]: Running: /usr/bin/X -nolisten tcp -background none -seat seat0 vt1 -auth /var/run/sddm/{a5a1f6bb-2097-4a0c-b6b0-9d104e6b8ac8} -noreset -displayfd 17
Oct 19 23:24:03 wrapper sddm[667]: Failed to read display number from pipe
Oct 19 23:24:03 wrapper sddm[667]: Display server stopping...
Oct 19 23:24:03 wrapper sddm[667]: Attempt 3 starting the Display server on vt 1 failed
Oct 19 23:24:03 wrapper sddm[667]: Could not start Display server on vt 1
Oct 19 23:26:21 wrapper systemd[1]: Stopping Simple Desktop Display Manager...
Oct 19 23:26:21 wrapper sddm[667]: Signal received: SIGTERM
Oct 19 23:26:21 wrapper systemd[1]: sddm.service: Deactivated successfully.
Oct 19 23:26:21 wrapper systemd[1]: Stopped Simple Desktop Display Manager.
Logged into VT2 removed optimus-manager, optimus-manager-plasma, removed comments in /etc/sddm.conf and rebooted to get a working system. Are there any steps I may have missed?
so you had actually the comments there in the sddm.conf?
and edited them to look like this: #DisplayCommand #DisplayStopCommand
and optimus doesnt support wayland
so dont know why it didnt worked… did you tried booting also with the 5.15 kernel?
also check if there is some leftover optimus conf: find /etc/X11/ -name "*.conf"
if yes remove it, and install this: pamac build envycontrol
its another gpu switching tool… when its installed run this: sudo envycontrol -s integrated
it will prompt you for a reboot, so do it and see if there is tearing on only intel one, if its not, switch to nvidia: sudo envycontrol -s nvidia
reboot and see if the tearing is present here
I forgot about the 515 kernel after installing optimus. I should try that. I think there are some changes made in the kernel after 518 that causes Nvidia drivers to break if we don’t use ibt=off as a kernel parameter. I’ve been using that. That might have some impact on optimus working or not on the 6 kernel.
I think it came with the installation. It’s empty. Same with /etc/X11/mhwd.d/nvidia.conf which contains a comment about being installed by Manjaro hardware manager.
Hey, I had a similar experience with my laptop, I have an ACER laptop with an integrated (in my case AMD) GPU and a dedicated Nvidia GPU 1650 Mobile. I had problems with screen tearing for a while now, mostly when running games through Wine or Bottles (Games ran with Proton for some reason didn’t trigger the screen tearing issue) and the only solution I found was switching from X11 to Wayland.
I tried Optimus Manager but it had some strange side effects which when I switched to only the dedicated GPU the games would run like 50% faster, making them unplayable. I’m not particularly skilled with Linux yet, so I ditched Optimus Manager in favor of Wayland and so far my experience is way smoother compared to X11. I’m currently running GNOME and I followed this guide to activate the Wayland session since it doesn’t come active by default: https://forum.manjaro.org/t/howto-use-wayland-with-proprietary-nvidia-drivers/36130
I suggest you give Wayland a shot, you can always switch back to X if it doesn’t work for you.
Yep, tried switching to wayland, but its got its own set of issues (no maximize/minimize buttons for flatpak applications, kwin_wayland consuming 2% of CPU which seems strange, strange freezes etc.).
But that might have been because I’m on Plasma, I suspect GNOME is more feature rich on the Wayland side.
Using a newer kernel was the right approach (I’ve not been ignoring this thread, just switched to a newer kernel and let it run for a couple months to be sure). I’ve been with 6.1 for a while now and it’s working well.
But, I’ve run into other issues (will post on a new thread as this one was for screen tearing), dead slow 1 FPS external screen, workaround for which is to use reverse-prime - PRIME - ArchWiki