You are not logged in.
Hi, I have a system with an Intel integrated GPU and a discrete NVIDIA GPU. I have installed the nvidia package as well as the nvidia-prime package in order to use PRIME render offload. When I run the command glxinfo | grep "OpenGL renderer" i get the output:
OpenGL renderer string: Mesa Intel(R) UHD Graphics 630 (CFL GT2)
And when I run the command prime-run glxinfo | grep "OpenGL renderer" i get:
OpenGL renderer string: GeForce GTX 1660 Ti/PCIe/SSE2
So it seems to be working. However, when I connect my external monitor the screen refresh rate of the external monitor is slow. I think the reason for this is that my computer is still using the Intel integrated GPU when connected to the external monitor, which it probably cannot handle due to the higher resolution (I am still getting the Intel GPU as output when running the command glxinfo | grep "OpenGL renderer"). If this is the case how do I make my computer switch to the NVIDIA GPU when connected to the external monitor? I have tried switching to only using the NVIDIA GPU by running the command systemctl reboot --firmware-setup and switching the "Graphic Device" from "Switchable Graphics" to "Discrete Graphics" in which case I my refresh rate was normal (but had tearing artifacts on certain websites). However I would like to use PRIME render offload.
Do somebody know what the cause of the slow refresh rate might be or how I can figure it out? I am also not entirely certain if it is the refresh rate that is slow or if my computer is just becoming slow when using the external monitor.
Help would be much appreciated.
Edit:
I solved this problem. The solution was to disable VSync in the compositor picom in order to fix slow keyboard updates and to disable VSync for Intel graphics by creating the file .drirc in my home directory in order to solve Chomium/Chrome lag:
<device screen="0" driver="dri2">
<application name="Default">
<option name="vblank_mode" value="0"/>
</application>
</device>
The problem was solved in this thread.
For more info about VSync lag using picom see here
Last edited by Nilas (2020-11-16 11:30:50)
Offline
This is the command I use to switch to the external monitor:
xrandr --output eDP-1 --off --output DP-1-2 --auto
Offline
This is the output i get when running xrandr -q when I have switched to the external monitor (DP-1-2):
Screen 0: minimum 320 x 200, current 2560 x 1440, maximum 16384 x 16384
eDP-1 connected primary (normal left inverted right x axis y axis)
1920x1080 144.00 + 60.01 59.97 59.96 59.93
1680x1050 59.95 59.88
1400x1050 74.76 59.98
1600x900 59.99 59.94 59.95 59.82
1280x1024 85.02 75.02 60.02
1400x900 59.96 59.88
1280x960 85.00 60.00
1440x810 60.00 59.97
1368x768 59.88 59.85
1280x800 59.99 59.97 59.81 59.91
1152x864 75.00
1280x720 60.00 59.99 59.86 59.74
1024x768 85.00 75.05 60.04 85.00 75.03 70.07 60.00
1024x768i 86.96
960x720 85.00 75.00 60.00
928x696 75.00 60.05
896x672 75.05 60.01
1024x576 59.95 59.96 59.90 59.82
960x600 59.93 60.00
832x624 74.55
960x540 59.96 59.99 59.63 59.82
800x600 85.00 75.00 70.00 65.00 60.00 85.14 72.19 75.00 60.32 56.25
840x525 60.01 59.88
864x486 59.92 59.57
700x525 74.76 59.98
800x450 59.95 59.82
640x512 85.02 75.02 60.02
700x450 59.96 59.88
640x480 85.09 60.00 85.01 72.81 75.00 59.94
720x405 59.51 58.99
720x400 85.04
684x384 59.88 59.85
640x400 59.88 59.98 85.08
576x432 75.00
640x360 59.86 59.83 59.84 59.32
640x350 85.08
512x384 85.00 75.03 70.07 60.00
512x384i 87.06
512x288 60.00 59.92
416x312 74.66
480x270 59.63 59.82
400x300 85.27 72.19 75.12 60.32 56.34
432x243 59.92 59.57
320x240 85.18 72.81 75.00 60.05
360x202 59.51 59.13
360x200 85.04
320x200 85.27
320x180 59.84 59.32
320x175 85.27
DP-1-0 disconnected
DP-1-1 disconnected
HDMI-1-0 disconnected
DP-1-2 connected 2560x1440+0+0 597mm x 336mm
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-1-3 disconnected
1680x1050 (0x49) 146.250MHz -HSync +VSync
h: width 1680 start 1784 end 1960 total 2240 skew 0 clock 65.29KHz
v: height 1050 start 1053 end 1059 total 1089 clock 59.95Hz
1280x1024 (0x52) 135.000MHz +HSync +VSync
h: width 1280 start 1296 end 1440 total 1688 skew 0 clock 79.98KHz
v: height 1024 start 1025 end 1028 total 1066 clock 75.02Hz
1280x1024 (0x53) 108.000MHz +HSync +VSync
h: width 1280 start 1328 end 1440 total 1688 skew 0 clock 63.98KHz
v: height 1024 start 1025 end 1028 total 1066 clock 60.02Hz
1280x800 (0x5e) 83.500MHz -HSync +VSync
h: width 1280 start 1352 end 1480 total 1680 skew 0 clock 49.70KHz
v: height 800 start 803 end 809 total 831 clock 59.81Hz
1152x864 (0x60) 108.000MHz +HSync +VSync
h: width 1152 start 1216 end 1344 total 1600 skew 0 clock 67.50KHz
v: height 864 start 865 end 868 total 900 clock 75.00Hz
1024x768 (0x69) 78.750MHz +HSync +VSync
h: width 1024 start 1040 end 1136 total 1312 skew 0 clock 60.02KHz
v: height 768 start 769 end 772 total 800 clock 75.03Hz
1024x768 (0x6b) 65.000MHz -HSync -VSync
h: width 1024 start 1048 end 1184 total 1344 skew 0 clock 48.36KHz
v: height 768 start 771 end 777 total 806 clock 60.00Hz
800x600 (0x86) 49.500MHz +HSync +VSync
h: width 800 start 816 end 896 total 1056 skew 0 clock 46.88KHz
v: height 600 start 601 end 604 total 625 clock 75.00Hz
800x600 (0x87) 40.000MHz +HSync +VSync
h: width 800 start 840 end 968 total 1056 skew 0 clock 37.88KHz
v: height 600 start 601 end 605 total 628 clock 60.32Hz
640x480 (0x9a) 31.500MHz -HSync -VSync
h: width 640 start 656 end 720 total 840 skew 0 clock 37.50KHz
v: height 480 start 481 end 484 total 500 clock 75.00Hz
640x480 (0x9b) 25.175MHz -HSync -VSync
h: width 640 start 656 end 752 total 800 skew 0 clock 31.47KHz
v: height 480 start 490 end 492 total 525 clock 59.94Hz
Last edited by Nilas (2020-11-11 19:08:39)
Offline
It seems like I am experiencing this issue as using the command xrandr --output DP-1-2 --auto instead of xrandr --output eDP-1 --off --output DP-1-2 --auto to connect to my external monitor seems to fix the slow refresh rate. That is by not disabling my laptop monitor when connecting to the external monitor.
Edit:
This was not the cause - see the comment bellow.
Last edited by Nilas (2020-11-16 11:11:49)
Offline
The problem has been solved. The solution was to disable VSync in the compositor picom in order to fix slow keyboard updates and to disable VSync for Intel graphics by creating the file .drirc in my home directory in order to solve Chomium/Chrome lag:
<device screen="0" driver="dri2">
<application name="Default">
<option name="vblank_mode" value="0"/>
</application>
</device>
The problem was solved in this thread.
For more info about VSync lag using picom see here
Last edited by Nilas (2020-11-16 11:19:43)
Offline