You are not logged in.
I just found out if I start Google Chrome with prime-run google-chrome-stable then there is no lag (after having uninstalled picom)
Offline
Turning off VSync inside the picom configuration file removes the lag as well
Offline
Do you know how I can change it such that my laptop does not go to sleep when closing the lid when an external monitor is connected?
Offline
Check /etc/systemd/logind.conf but please don't create shopping-list threads.
One thread per item, otherwise the threads become useless to others.
As for the lag in chrome, try https://wiki.archlinux.org/index.php/In … on_(VSYNC)
Offline
One thread per item, otherwise the threads become useless to others.
Noted
As for the lag in chrome, try https://wiki.archlinux.org/index.php/In … n_(VSYNC)]
I created the file .drirc in my home directory as described and that seems to fix it! Thanks!
Content of file:
<device screen="0" driver="dri2">
<application name="Default">
<option name="vblank_mode" value="0"/>
</application>
</device>
Last edited by Nilas (2020-11-15 18:56:43)
Offline
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Offline
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Done
Do you think it is possible to show tty on the external monitor now that I am using "Switchable Graphics" and using the early DRM kernel mode setting?
Currently when I have enabled "Switchable Graphics" in the firmware settings menu, tty is not shown at all on the external monitor. If "Discrete Graphics" is selected instead and if I am using the early DRM kernel mode setting, tty appears on the external monitor after switching to it from the Xorg server (CTRL+ALT+Fn keys). The same applies when I am using "Discrete Graphics" and no DRM kernel mode setting. If I am using "Discrete Graphics" and the late DRM kernel mode setting (the nvidia-drm.modeset=1 kernel parameter) then tty appears both when I boot up and when switching to tty from Xorg. However there are stripes through the login text of tty when booting up (probably due to the higher resolution of the external display?). The text looks fine when switching to tty from Xorg.
Last edited by Nilas (2020-11-16 00:45:23)
Offline
Do you think it is possible to show tty on the external monitor now that I am using "Switchable Graphics" and using the early DRM kernel mode setting?
I thougt this was working.
Did you try the "video=DP-1…" parameters w/ early KMS being enabled for nvidia?
If not, see https://www.kernel.org/doc/Documentation/fb/fbcon.txt - esp. "fbcon=map:" - "fbcon=map:10" might work
Offline
Did you try the "video=DP-1…" parameters w/ early KMS being enabled for nvidia?
Yes, I can disable the monitor of the laptop, but I cannot enable the external monitor. What I have tried:
video=DP-1-2:e video=eDP-1:d
video=DP-1:e video=eDP-1:d
video=DP-1-2:D video=eDP-1:d
If not, see https://www.kernel.org/doc/Documentation/fb/fbcon.txt - esp. "fbcon=map:" - "fbcon=map:10" might work
No dice unfortunately. I tried the following:
video=DP-1-2:e video=eDP-1:d fbcom=map:
video=DP-1-2:e video=eDP-1:d fbcom=map:10
fbcom=map:
fbcom=map:10
Offline
"fbcom=map:" is no useful parameter, please check the doc so you're not passing random stuff to the kernel.
First and foremost, it's "fbcon=map:10", not "fbcom=map:10"
Next you could try whether "fbcon=map:1" has any impact, "fbcon=map:2" should™ completely deactivate the console output.
If "fbcon=map:1" does something™ but not the desired, play around w/ the "video=DP-1-2:e" parameters, any reference I googled doesn't have the minor index - it's usually just "video=DP-1:e"
Offline
fbcon=map:1 video=DP-1:e video=eDP-1:d deactivates the console output completely (the same for fbcon=map:2 video=DP-1:e video=eDP-1:d). fbcon=map:10 video=DP-1:e video=eDP-1:d does nothing
Offline
lsinitcpio /boot/initramfs-linux.img | grep nvidia
cat /proc/cmdline
Offline
Output from lsinitcpio /boot/initramfs-linux.img | grep nvidia:
usr/lib/modprobe.d/nvidia.conf
usr/lib/modules/5.9.8-arch1-1/kernel/nvidia-drm.ko
usr/lib/modules/5.9.8-arch1-1/kernel/nvidia.ko
usr/lib/modules/5.9.8-arch1-1/kernel/nvidia-modeset.ko
usr/lib/modules/5.9.8-arch1-1/kernel/nvidia-uvm.ko
Output from cat /proc/cmdline:
BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=529a8e51-0047-405b-b14e-0d9ad69b119f rw loglevel=3 quiet
Offline
"nvidia-drm.modeset=1"?
Offline
That does not appear to fix it either. What I tried:
nvidia-drm.modeset=1
nvidia-drm.modeset=1 video=DP-1:e video=eDP-1:d
nvidia-drm.modeset=1 video=DP-1:e video=eDP-1:d fbcon=map:10
Offline
I am noticing that if I have set the setting nvidia-drm.modeset=1 then my external monitor does seem to receive a signal. It shows the message "Entering sleep mode" when entering tty and then immediately goes black. This does not happen when I have not set this setting.
Offline
nvidia-drm.modeset=1 fbcon=map:1
nvidia-drm.modeset=1 fbcon=map:1 video=DP-1:e video=DP-1-2:e
A problem could be that the outputs have different names on the nvidia driver, what's the output of "xrandr -q" w/ the dedicated graphics BIOS option?
Offline
They do indeed have different names when using the dedicated graphics BIOS option:
DP-0 disconnected primary (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-2 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
1920x1080 144.00*+
DP-3 connected (normal left inverted right x axis y axis)
2560x1440 59.95 +
1920x1200 59.88
1920x1080 60.00 59.94 50.00 23.98
1680x1050 59.95
1600x1200 60.00
1280x1024 75.02 60.02
1280x800 59.81
1280x720 60.00 59.94 50.00
1152x864 75.00
1024x768 75.03 60.00
800x600 75.00 60.32
720x576 50.00
720x480 59.94
640x480 75.00 59.93 59.94
DP-4 disconnected (normal left inverted right x axis y axis)
DP-3 is the external monitor and DP-2 is the integrated.
Offline
And did you try "nvidia-drm.modeset=1 fbcon=map:1 video=DP-3:e" ?
Offline
Yes. No luck unfortunately.
Offline