You are not logged in.
Pages: 1
I have a Ryzen 7 laptop, with an nvidia GTX 1660 ti (specifically this: https://www.omen.com/us/en/laptops/2020 … ions.html).
The Ryzen CPU comes with its own integrated GPU, which Arch seems to use by default. I want Arch to use the nvidia 1660 by default, and I've been able to make that happen (kinda) by following the instructions on the wiki: https://wiki.archlinux.org/index.php/NV … phics_only
However, even though I tried to enable "prime sync", as instructed in that section of the wiki, by adding the "nvidia-drm.modeset=1" kernel parameter in grub options, I still seem to boot into an environment where prime sync is disabled, because running glxgears reports some crazy framerate that's around ~18000, when it should be matching the laptop screen refresh rate, which should be 144 Hz.
Looking at "X Server Display Configuration" in nvidia-settings seems to confirm this: There is a "PRIME Display" screen, with a Viewport of "1920x1080+0+0", and a line that lists "Synchronization: Off". That "Off" is just a label, not a toggle as I would hope, so I can't change it there.
Needless to say, being unable to vsync is causing some serious tearing problems, and I would like to resolve this as soon as possible.
Any help that you could provide in this matter would be appreciated.
Thanks.
Offline
by adding the "nvidia-drm.modeset=1" kernel parameter in grub options
cat /proc/cmdlineAlso: can you disable the IGP in your BIOS/UEFI settings? (Removing the indirection is preferable if you don't intend to use it at all)
Online
cat /proc/cmdline prints:
BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=a94a20e2-307f-4d20-871d-3ca4ec9c0d7f rw loglevel=3 quiet nvidia-drm.modset=1The UEFI configuration options are very few, and none of them relate to the integrated graphics processor.
I would certainly wish to disable the IGP, if it were possible, but I suspect that it's actually the only one directly connected to the laptop screen, and that the nvidia GPU would therefore need to use it, just to copy over the rendered buffer, and have it show up on the screen.
It may also be useful to know my kernel and driver version:
Linux 5.7.9-arch1-1
nvidia 450.57-3
If there is any other information that you would find helpful, please let me know.
Offline
I would certainly wish to disable the IGP
That's usually doable in the BIOS.
Offline
Output of "xrandr -q"?
Can you
xrandr --output HDMI-0 --set "PRIME Synchronization" 1(replace the output name)
Edit: also https://bbs.archlinux.org/viewtopic.php?id=248346
Last edited by seth (2020-07-21 20:48:57)
Online
xrandr -q:
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
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 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
eDP-1-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
1920x1080 144.00*+ 60.01 59.97 59.96 60.00 59.93
1680x1050 144.00 59.95 59.88
1400x1050 74.76 59.98
1600x900 59.99 59.94 59.95 59.82
1280x1024 144.00 85.02 75.02 60.02
1440x900 144.00
1400x900 59.96 59.88
1280x960 85.00 60.00
1440x810 60.00 59.97
1368x768 59.88 59.85
1280x800 144.00 59.99 59.97 59.81 59.91
1152x864 75.00
1280x720 144.00 60.00 59.99 59.86 59.74
1024x768 144.00 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 144.00 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 144.00 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 Running:
xrandr --output eDP-1-1 --set "PRIME Synchronization" 1The screen flashes, but the situation remains the same.
As for the referenced thread:
They seem to be following a different method, using nvidia-xrun, and there were apparently some issues with the 5.4 kernel that made things difficult, but that have since been fixed (at least, according to the wiki: https://wiki.archlinux.org/index.php/NV … ken_VSync).
I've followed the wiki page I referenced in my original post, so I have a /etc/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf that looks like this:
Section "OutputClass"
Identifier "amd"
MatchDriver "amdgpu"
Driver "modesetting"
EndSection
Section "OutputClass"
Identifier "nvidia"
MatchDriver "nvidia-drm"
Driver "nvidia"
Option "AllowEmptyInitialConfiguration"
Option "PrimaryGPU" "yes"
ModulePath "/usr/lib/nvidia/xorg"
ModulePath "/usr/lib/xorg/modules"
EndSectionI tried what they did, more or less, by replacing "modesetting" with "amdgpu" - There was no noticeable change.
Last edited by Goran (2020-07-21 21:27:43)
Offline
I assume you also did install xf86-video-amdgpu?
Does "xrandr --verbose" reflect the "PRIME Synchronization" setting change approach?
That was which *would* have affected you but is supposed to the fixed w/ 5.5 … nevertheless you could try the behavior w/ the lts kernel (don't forget to install nvidia-lts)
Online
I installed xf86-video-amdgpu, and it didn't change anything.
xrandr --verbose:
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
DP-0 disconnected primary (normal left inverted right x axis y axis)
Identifier: 0x1bd
Timestamp: 483732
Subpixel: unknown
Clones:
CRTCs: 0 1 2 3
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0
0 1
CscMatrix: 65536 0 0 0 0 65536 0 0 0 0 65536 0
BorderDimensions: 4
supported: 4
Border: 0 0 0 0
range: (0, 65535)
SignalFormat: DisplayPort
supported: DisplayPort
ConnectorType: DisplayPort
ConnectorNumber: 1
_ConnectorLocation: 1
non-desktop: 0
supported: 0, 1
DP-1 disconnected (normal left inverted right x axis y axis)
Identifier: 0x1be
Timestamp: 483732
Subpixel: unknown
Clones:
CRTCs: 0 1 2 3
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0
0 1
CscMatrix: 65536 0 0 0 0 65536 0 0 0 0 65536 0
BorderDimensions: 4
supported: 4
Border: 0 0 0 0
range: (0, 65535)
SignalFormat: TMDS
supported: TMDS
ConnectorType: DisplayPort
ConnectorNumber: 1
_ConnectorLocation: 1
non-desktop: 0
supported: 0, 1
HDMI-0 disconnected (normal left inverted right x axis y axis)
Identifier: 0x1bf
Timestamp: 483732
Subpixel: unknown
Clones:
CRTCs: 0 1 2 3
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0
0 1
CscMatrix: 65536 0 0 0 0 65536 0 0 0 0 65536 0
BorderDimensions: 4
supported: 4
Border: 0 0 0 0
range: (0, 65535)
SignalFormat: TMDS
supported: TMDS
ConnectorType: HDMI
ConnectorNumber: 2
_ConnectorLocation: 2
non-desktop: 0
supported: 0, 1
DP-2 disconnected (normal left inverted right x axis y axis)
Identifier: 0x1c0
Timestamp: 483732
Subpixel: unknown
Clones:
CRTCs: 0 1 2 3
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0
0 1
CscMatrix: 65536 0 0 0 0 65536 0 0 0 0 65536 0
BorderDimensions: 4
supported: 4
Border: 0 0 0 0
range: (0, 65535)
SignalFormat: DisplayPort
supported: DisplayPort
ConnectorType: DisplayPort
ConnectorNumber: 4
_ConnectorLocation: 4
non-desktop: 0
supported: 0, 1
DP-3 disconnected (normal left inverted right x axis y axis)
Identifier: 0x1c1
Timestamp: 483732
Subpixel: unknown
Clones:
CRTCs: 0 1 2 3
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0
0 1
CscMatrix: 65536 0 0 0 0 65536 0 0 0 0 65536 0
BorderDimensions: 4
supported: 4
Border: 0 0 0 0
range: (0, 65535)
SignalFormat: TMDS
supported: TMDS
ConnectorType: DisplayPort
ConnectorNumber: 4
_ConnectorLocation: 4
non-desktop: 0
supported: 0, 1
eDP-1-0 connected 1920x1080+0+0 (0x1e7) normal (normal left inverted right x axis y axis) 344mm x 194mm
Identifier: 0x1e5
Timestamp: 483732
Subpixel: unknown
Gamma: 1.0:1.0:1.0
Brightness: 1.0
Clones:
CRTC: 4
CRTCs: 4 5 6 7
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
EDID:
00ffffffffffff0030e4fe0500000000
001c0104a5221378eae085a3544e9b26
0e505400000001010101010101010101
0101010101015e8780a070384d403020
350058c21000001b683880a070384d40
3020350058c21000001b000000000000
00000000000000000000000000000002
000c30f20f3c962e12309e0000000083
PRIME Synchronization: 0
supported: 0, 1
GAMMA_LUT_SIZE: 4096
range: (0, -1)
DEGAMMA_LUT_SIZE: 4096
range: (0, -1)
GAMMA_LUT: 0
range: (0, 65535)
CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0
0 1
DEGAMMA_LUT: 0
range: (0, 65535)
TearFree: auto
supported: off, on, auto
HDCP Content Type: HDCP Type0
supported: HDCP Type0, HDCP Type1
Content Protection: Undesired
supported: Undesired, Desired, Enabled
vrr_capable: 0
range: (0, 1)
abm level: 0
range: (0, 4)
max bpc: 16
range: (8, 16)
underscan vborder: 0
range: (0, 128)
underscan hborder: 0
range: (0, 128)
underscan: off
supported: off, on, auto
scaling mode: None
supported: None, Full, Center, Full aspect
link-status: Good
supported: Good, Bad
CONNECTOR_ID: 64
supported: 64
non-desktop: 0
range: (0, 1)
1920x1080 (0x1e7) 346.540MHz +HSync -VSync *current +preferred
h: width 1920 start 1968 end 2000 total 2080 skew 0 clock 166.61KHz
v: height 1080 start 1083 end 1088 total 1157 clock 144.00Hz
1920x1080 (0x1e8) 144.400MHz +HSync -VSync
h: width 1920 start 1968 end 2000 total 2080 skew 0 clock 69.42KHz
v: height 1080 start 1083 end 1088 total 1157 clock 60.00Hz
1680x1050 (0x1e9) 346.540MHz +HSync -VSync
h: width 1680 start 1968 end 2000 total 2080 skew 0 clock 166.61KHz
v: height 1050 start 1083 end 1088 total 1157 clock 144.00Hz
1280x1024 (0x1ea) 346.540MHz +HSync -VSync
h: width 1280 start 1968 end 2000 total 2080 skew 0 clock 166.61KHz
v: height 1024 start 1083 end 1088 total 1157 clock 144.00Hz
1440x900 (0x1eb) 346.540MHz +HSync -VSync
h: width 1440 start 1968 end 2000 total 2080 skew 0 clock 166.61KHz
v: height 900 start 1083 end 1088 total 1157 clock 144.00Hz
1280x800 (0x1ec) 346.540MHz +HSync -VSync
h: width 1280 start 1968 end 2000 total 2080 skew 0 clock 166.61KHz
v: height 800 start 1083 end 1088 total 1157 clock 144.00Hz
1280x720 (0x1ed) 346.540MHz +HSync -VSync
h: width 1280 start 1968 end 2000 total 2080 skew 0 clock 166.61KHz
v: height 720 start 1083 end 1088 total 1157 clock 144.00Hz
1024x768 (0x1ee) 346.540MHz +HSync -VSync
h: width 1024 start 1968 end 2000 total 2080 skew 0 clock 166.61KHz
v: height 768 start 1083 end 1088 total 1157 clock 144.00Hz
800x600 (0x1ef) 346.540MHz +HSync -VSync
h: width 800 start 1968 end 2000 total 2080 skew 0 clock 166.61KHz
v: height 600 start 1083 end 1088 total 1157 clock 144.00Hz
640x480 (0x1f0) 346.540MHz +HSync -VSync
h: width 640 start 1968 end 2000 total 2080 skew 0 clock 166.61KHz
v: height 480 start 1083 end 1088 total 1157 clock 144.00HzOne thing I noticed is that the name of the output seems to have changed at some point. It was eDP-1-1, but now it's eDP-1-0. I don't know if that was due to installing the amd driver, or something else, but in either case, trying to set "PRIME Synchronization" doesn't change anything.
I'd prefer to figure out at least what's causing this before I try using the lts kernel, but I guess that's something I can try if there's absolutely no answer to why this is happening with the latest kernel and drivers.
Offline
I just noticed I was typing nvidia-drm.modset=1 instead of nvidia-drm.modeset=1 ...
It can be seen in the output of cat /proc/cmdline, visible in post #3, so I guess I'm not the only one who missed it ![]()
Anyway, typing in the kernel parameter correctly seems to make glxgears run at 144hz, and nvidia-settings now shows Synchronization as being On.
However, I'm still not sure if everything is synced system wide, because xrandr --verbose still shows it as being off:
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
DP-0 disconnected primary (normal left inverted right x axis y axis)
Identifier: 0x1bd
Timestamp: 802656
Subpixel: unknown
Clones:
CRTCs: 0 1 2 3
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0
0 1
CscMatrix: 65536 0 0 0 0 65536 0 0 0 0 65536 0
BorderDimensions: 4
supported: 4
Border: 0 0 0 0
range: (0, 65535)
SignalFormat: DisplayPort
supported: DisplayPort
ConnectorType: DisplayPort
ConnectorNumber: 1
_ConnectorLocation: 1
non-desktop: 0
supported: 0, 1
DP-1 disconnected (normal left inverted right x axis y axis)
Identifier: 0x1be
Timestamp: 802656
Subpixel: unknown
Clones:
CRTCs: 0 1 2 3
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0
0 1
CscMatrix: 65536 0 0 0 0 65536 0 0 0 0 65536 0
BorderDimensions: 4
supported: 4
Border: 0 0 0 0
range: (0, 65535)
SignalFormat: TMDS
supported: TMDS
ConnectorType: DisplayPort
ConnectorNumber: 1
_ConnectorLocation: 1
non-desktop: 0
supported: 0, 1
HDMI-0 disconnected (normal left inverted right x axis y axis)
Identifier: 0x1bf
Timestamp: 802656
Subpixel: unknown
Clones:
CRTCs: 0 1 2 3
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0
0 1
CscMatrix: 65536 0 0 0 0 65536 0 0 0 0 65536 0
BorderDimensions: 4
supported: 4
Border: 0 0 0 0
range: (0, 65535)
SignalFormat: TMDS
supported: TMDS
ConnectorType: HDMI
ConnectorNumber: 2
_ConnectorLocation: 2
non-desktop: 0
supported: 0, 1
DP-2 disconnected (normal left inverted right x axis y axis)
Identifier: 0x1c0
Timestamp: 802656
Subpixel: unknown
Clones:
CRTCs: 0 1 2 3
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0
0 1
CscMatrix: 65536 0 0 0 0 65536 0 0 0 0 65536 0
BorderDimensions: 4
supported: 4
Border: 0 0 0 0
range: (0, 65535)
SignalFormat: DisplayPort
supported: DisplayPort
ConnectorType: DisplayPort
ConnectorNumber: 4
_ConnectorLocation: 4
non-desktop: 0
supported: 0, 1
DP-3 disconnected (normal left inverted right x axis y axis)
Identifier: 0x1c1
Timestamp: 802656
Subpixel: unknown
Clones:
CRTCs: 0 1 2 3
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0
0 1
CscMatrix: 65536 0 0 0 0 65536 0 0 0 0 65536 0
BorderDimensions: 4
supported: 4
Border: 0 0 0 0
range: (0, 65535)
SignalFormat: TMDS
supported: TMDS
ConnectorType: DisplayPort
ConnectorNumber: 4
_ConnectorLocation: 4
non-desktop: 0
supported: 0, 1
eDP-1-0 connected 1920x1080+0+0 (0x1e7) normal (normal left inverted right x axis y axis) 344mm x 194mm
Identifier: 0x1e5
Timestamp: 802656
Subpixel: unknown
Gamma: 1.0:1.0:1.0
Brightness: 1.0
Clones:
CRTC: 4
CRTCs: 4 5 6 7
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
EDID:
00ffffffffffff0030e4fe0500000000
001c0104a5221378eae085a3544e9b26
0e505400000001010101010101010101
0101010101015e8780a070384d403020
350058c21000001b683880a070384d40
3020350058c21000001b000000000000
00000000000000000000000000000002
000c30f20f3c962e12309e0000000083
PRIME Synchronization: 0
supported: 0, 1
GAMMA_LUT_SIZE: 4096
range: (0, -1)
DEGAMMA_LUT_SIZE: 4096
range: (0, -1)
GAMMA_LUT: 0
range: (0, 65535)
CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0
0 1
DEGAMMA_LUT: 0
range: (0, 65535)
TearFree: auto
supported: off, on, auto
HDCP Content Type: HDCP Type0
supported: HDCP Type0, HDCP Type1
Content Protection: Undesired
supported: Undesired, Desired, Enabled
vrr_capable: 0
range: (0, 1)
abm level: 0
range: (0, 4)
max bpc: 16
range: (8, 16)
underscan vborder: 0
range: (0, 128)
underscan hborder: 0
range: (0, 128)
underscan: off
supported: off, on, auto
scaling mode: None
supported: None, Full, Center, Full aspect
link-status: Good
supported: Good, Bad
CONNECTOR_ID: 64
supported: 64
non-desktop: 0
range: (0, 1)
1920x1080 (0x1e7) 346.540MHz +HSync -VSync *current +preferred
h: width 1920 start 1968 end 2000 total 2080 skew 0 clock 166.61KHz
v: height 1080 start 1083 end 1088 total 1157 clock 144.00Hz
1920x1080 (0x1e8) 144.400MHz +HSync -VSync
h: width 1920 start 1968 end 2000 total 2080 skew 0 clock 69.42KHz
v: height 1080 start 1083 end 1088 total 1157 clock 60.00Hz
1680x1050 (0x1e9) 346.540MHz +HSync -VSync
h: width 1680 start 1968 end 2000 total 2080 skew 0 clock 166.61KHz
v: height 1050 start 1083 end 1088 total 1157 clock 144.00Hz
1280x1024 (0x1ea) 346.540MHz +HSync -VSync
h: width 1280 start 1968 end 2000 total 2080 skew 0 clock 166.61KHz
v: height 1024 start 1083 end 1088 total 1157 clock 144.00Hz
1440x900 (0x1eb) 346.540MHz +HSync -VSync
h: width 1440 start 1968 end 2000 total 2080 skew 0 clock 166.61KHz
v: height 900 start 1083 end 1088 total 1157 clock 144.00Hz
1280x800 (0x1ec) 346.540MHz +HSync -VSync
h: width 1280 start 1968 end 2000 total 2080 skew 0 clock 166.61KHz
v: height 800 start 1083 end 1088 total 1157 clock 144.00Hz
1280x720 (0x1ed) 346.540MHz +HSync -VSync
h: width 1280 start 1968 end 2000 total 2080 skew 0 clock 166.61KHz
v: height 720 start 1083 end 1088 total 1157 clock 144.00Hz
1024x768 (0x1ee) 346.540MHz +HSync -VSync
h: width 1024 start 1968 end 2000 total 2080 skew 0 clock 166.61KHz
v: height 768 start 1083 end 1088 total 1157 clock 144.00Hz
800x600 (0x1ef) 346.540MHz +HSync -VSync
h: width 800 start 1968 end 2000 total 2080 skew 0 clock 166.61KHz
v: height 600 start 1083 end 1088 total 1157 clock 144.00Hz
640x480 (0x1f0) 346.540MHz +HSync -VSync
h: width 640 start 1968 end 2000 total 2080 skew 0 clock 166.61KHz
v: height 480 start 1083 end 1088 total 1157 clock 144.00HzAnd both chromium and firefox seem unable to sync to 144hz: Going to vsynctester.com shows the framerate at around 51 fps on chromium, and 60 fps on firefox.
Are these just browser issues, or do I have some other systemic vsync problems?
In other words: Should I mark this thread as solved, and start a new thread that relates to my browser problems?
Thanks, and sorry for the trouble.
Offline
D'ohh - didn't see the typo either.
For chromium, try passing it "--disable-frame-rate-limit". FF has probably a similar feature.
vsync should™ still work, you're currently just capping the maximum FPS (to lower CPU/GPU load)
Online
[...]
And both chromium and firefox seem unable to sync to 144hz: Going to vsynctester.com shows the framerate at around 51 fps on chromium, and 60 fps on firefox.
Are these just browser issues, or do I have some other systemic vsync problems?
[...]
For Firefox, you need to force the use of hardware accelerated graphics rendering. You can do that by opening the URL "about:config", then changing the entry "gfx.webrender.all" to "true".
Firefox runs with software rendering by default on Linux. It then renders at 60fps because it cannot detect the monitor refresh. When you force hardware acceleration, it starts using OpenGL and can then see the monitor refresh through OpenGL.
Last edited by Ropid (2020-07-22 06:34:21)
Offline
Starting chromium with the "--disable-frame-rate-limit" option makes it run at ~500 fps, as reported by vsynctester.com, so that doesn't seem to work.
Setting "gfx.webrender.all" to "true" in firefox changes nothing; It still renders at 60 fps, as before.
Offline
Does chrome://gpu/ say that it's HW accelerated?
Online
By default, the listing is as follows:
Canvas: Hardware accelerated
Flash: Hardware accelerated
Flash Stage3D: Hardware accelerated
Flash Stage3D Baseline profile: Hardware accelerated
Compositing: Hardware accelerated
Multiple Raster Threads: Enabled
Out-of-process Rasterization: Disabled
OpenGL: Enabled
Hardware Protected Video Decode: Unavailable
Rasterization: Software only. Hardware acceleration disabled
Skia Renderer: Enabled
Video Decode: Unavailable
Vulkan: Disabled
WebGL: Hardware accelerated
WebGL2: Hardware acceleratedBy going to chrome://flags, and directly enabling:
Override software rendering list
GPU Rasterization
Out of process rasterization
Zero-copy rasterizerI can (seemingly) enable everything but Vulkan, making the list look like this:
Canvas: Hardware accelerated
Flash: Hardware accelerated
Flash Stage3D: Hardware accelerated
Flash Stage3D Baseline profile: Hardware accelerated
Compositing: Hardware accelerated
Multiple Raster Threads: Enabled
Out-of-process Rasterization: Hardware accelerated
OpenGL: Enabled
Hardware Protected Video Decode: Hardware accelerated
Rasterization: Hardware accelerated on all pages
Skia Renderer: Enabled
Video Decode: Hardware accelerated
Vulkan: Disabled
WebGL: Hardware accelerated
WebGL2: Hardware acceleratedHowever, even then, chromium is still unable to vsync to screen refresh rate, and vsynctester.com shows the frame rate at ~50 fps.
Offline
Despite running it "--disable-frame-rate-limit" ?
Online
It's the same when I ran it before, with "--disable-frame-rate-limit": vsync tester shows a highly erratic frame rate ranging from 400 to 500 fps ... I don't think that option does anything more than what it literally means.
Offline
Or if sync'd swapping is otherwise enabled, it might explicitly disable it. You could try to override the client:
export __GL_SYNC_TO_VBLANK=1
chromium --disable-frame-rate-limitOnline
Same results.
Offline
Hello Goran,
I had exactly the same issue as yours, and it took me a while to figure it out but I did. I hope this helps you too. After setting up the dGPU as my primary, I faced the screen tearing as well and setting up the nvidia-drm.modeset=1 parameter did not help. After hours of tinkering I figured out that nvidia-prime package was in conflict with the setting that we did. Try removing the nvidia-prime package completely and see if it solves the issue for you!
Offline
a) Please don't necrobump.
b) unlikely. The nvidia-prime package only provide a shell script that allows you "prime-run stuff", the presence of the package is idempotent.
Online
Pages: 1