You are not logged in.
One way is to add a custom edid in xorg.conf file.
https://unix.stackexchange.com/a/685477/716488
But my xorg.conf is empty. When I try to create one using nvidia-settings, system doesn't boot and stops at
[ok] reached target graphical interface on boot. If I then remove the xorg.conf from /etc/X11/ , the system boots properly
xrandr output:
❯ xrandr
Screen 0: minimum 8 x 8, current 3840 x 1080, maximum 32767 x 32767
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 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)
HDMI-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 531mm x 298mm
1920x1080 60.00*+ 144.00 119.98 119.88 100.00 99.93 74.99 59.94 50.00
1440x900 119.85
1280x1024 119.96 75.02 60.02
1280x960 100.00
1280x720 59.94 50.00
1024x768 119.99 75.03 60.00
800x600 119.97 100.00 75.00 60.32
720x576 50.00
720x480 59.94
640x480 120.01 75.00 59.94 59.93
DP-4 connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 344mm x 194mm
1920x1080 165.00*+Last edited by cakehunter (2025-02-25 14:05:48)
Offline
https://wiki.archlinux.org/title/Kernel … s_and_EDID
Afaik only the nvidia driver accepts a custom edid in the xorg config but even if you're using that, you most certainly don't want to use nvidia-settings to write a static server layout.
Please post your Xorg log, https://wiki.archlinux.org/title/Xorg#General
Offline
https://wiki.archlinux.org/title/Kernel … s_and_EDID
Tried adding the custom_edid.bin to the kernel parameter but it didnt make any different. Also tried one of the standard timings i.e "edid/1920x1080.bin" but it still didnt make any difference.
I really need to turn down the refresh rate when on battery. The laptop's different refresh rates are actually available when I turn on hybrid graphics in BIOS menu, but when on discrete graphics it seems only the 165hz is available. I don't want to use hybrid mode.
xorg log: http://0x0.st/8T21.txt
journalctl -b: http://0x0.st/8T2t.txt
Offline
I really need to turn down the refresh rate when on battery … I don't want to use hybrid mode.
Is DP-4 actually the internal panel of a notebook?
You do understand that you're most likely micro-optimizing one problem while wasting heaps of battery somewhere else?
Esp. if the outputs are not hard-wired to the nvidia GPU (ie. you can shut that off completely)
However w/ the nvidia driver, /etc/X11/xorg.conf.d/20-nvidia.conf
Section "Device"
Identifier "RTX 3060"
Driver "nvidia"
Option "CustomEDID" "DFP-4:/path/to/lg_edid.bin; DFP-5:/path/to/boe_edid.bin"
EndSectionshould™ just work?
Also 165Hz smells like VRR,
xrandr --verbosedrm_kms_helper.edid_firmware=DP-4:edid/1920x1080.bin
Where did you get that deprecated stanza?
Does /sys/class/drm/card0-DP-4/edid show the custom edid?
nb. that according to your journal nvidia loads before the root switch, ie. from the initramfs.
You'll have to add the edid to the initramfs files as well!
Offline
Is DP-4 actually the internal panel of a notebook?
It is DP-4 when in discrete mode, eDP-1 when in hybrid mode.
My internal display is wired to amd igpu and my hdmi output is wired to nvidia dgpu.
I think nvidia card uses a virtual display port when in discrete mode
You do understand that you're most likely micro-optimizing one problem while wasting heaps of battery somewhere else?
You are right, but until now I always had my external monitor plugged in, which makes system run reverse prime(since external monitor is wired to dgpu) instead of normal prime when I use hybrid mode. This I think is non different from discrete mode because in both the modes, nvidia gpu is rendering the output and the igpu just forwards the rendered frames to the internal display. So I thought it would be better to use discrete mode since I can save a bit of ram too that is shared to my igpu.
. . . wasting heaps of battery somewhere else?
since I had reverse prime I thought battery usage would be same. But since my new semester is starting, I realized hybrid mode would be better because I will not have my external monitor and the system will use Prime and actually save battery.(also accounting to my failure to lower the internal display refresh rate in discrete mode T-T ).
So after I changed to hybrid mode, there are a few new problems
When I try to turn off the internal display using xrandr (eg: when lid is closed)
xrandr --output eDP-1 --offmy external display freezes. I have to unplug and plug in the hdmi cable . Then both the displays start to work.
running the command
__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia glxgears opens the gears window in my external monitor and it lags severely.
❯ __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia glxgears
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
4 frames in 8.2 seconds = 0.488 FPS
3 frames in 8.9 seconds = 0.337 FPS
X connection to :0.0 broken (explicit kill or server shutdown).but if i move the window over to my internal monitor it runs smoothly.
❯ __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia glxgears
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
487 frames in 5.0 seconds = 97.374 FPS
825 frames in 5.0 seconds = 164.983 FPS
826 frames in 5.0 seconds = 164.974 FPS
826 frames in 5.0 seconds = 165.053 FPS
825 frames in 5.0 seconds = 164.980 FPS
826 frames in 5.0 seconds = 165.025 FPS
X connection to :0.0 broken (explicit kill or server shutdown).however, if i change the refresh rate of my internal monitor to 60hz, then it lags the same as in the external monitor.
xorg log : http://0x0.st/8TVk.txt (at the end i turned of my eDP-1 and had to replug the hdmi cable)
journalctl -b : http://0x0.st/8TVd.txt
xrandr --verbose:
❯ xrandr --verbose
Screen 0: minimum 320 x 200, current 3840 x 1092, maximum 16384 x 16384
eDP-1 connected 1920x1080+1920+12 (0x54) normal (normal left inverted right x axis y axis) 344mm x 194mm
Identifier: 0x52
Timestamp: 373992
Subpixel: unknown
Gamma: 1.0:1.0:1.0
Brightness: 1.0
Clones:
CRTC: 1
CRTCs: 1 2 3 4
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
EDID:
00ffffffffffff0009e5980900000000
221e0104b52213780754a5a7544c9b26
0f505400000001010101010101010101
010101010101b99c80a0703859403020
360058c21000001a000000fd003ca5c1
c128010a202020202020000000fe0042
4f452043510a202020202020000000fe
004e5631353646484d2d4e59380a00b1
GAMMA_LUT_SIZE: 4096
range: (0, -1)
DEGAMMA_LUT_SIZE: 4096
range: (0, -1)
GAMMA_LUT: 0
range: (0, 65535)
CTM: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
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: 1
range: (0, 1)
Colorspace: Default
supported: Default, BT709_YCC, opRGB, BT2020_RGB, BT2020_YCC
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: 87
supported: 87
non-desktop: 0
range: (0, 1)
1920x1080 (0x54) 401.210MHz +HSync -VSync *current +preferred
h: width 1920 start 1968 end 2000 total 2080 skew 0 clock 192.89KHz
v: height 1080 start 1083 end 1089 total 1169 clock 165.00Hz
1680x1050 (0x55) 401.210MHz +HSync -VSync
h: width 1680 start 1968 end 2000 total 2080 skew 0 clock 192.89KHz
v: height 1050 start 1083 end 1089 total 1169 clock 165.00Hz
1280x1024 (0x56) 401.210MHz +HSync -VSync
h: width 1280 start 1968 end 2000 total 2080 skew 0 clock 192.89KHz
v: height 1024 start 1083 end 1089 total 1169 clock 165.00Hz
1440x900 (0x57) 401.210MHz +HSync -VSync
h: width 1440 start 1968 end 2000 total 2080 skew 0 clock 192.89KHz
v: height 900 start 1083 end 1089 total 1169 clock 165.00Hz
1280x800 (0x58) 401.210MHz +HSync -VSync
h: width 1280 start 1968 end 2000 total 2080 skew 0 clock 192.89KHz
v: height 800 start 1083 end 1089 total 1169 clock 165.00Hz
1280x720 (0x59) 401.210MHz +HSync -VSync
h: width 1280 start 1968 end 2000 total 2080 skew 0 clock 192.89KHz
v: height 720 start 1083 end 1089 total 1169 clock 165.00Hz
1024x768 (0x5a) 401.210MHz +HSync -VSync
h: width 1024 start 1968 end 2000 total 2080 skew 0 clock 192.89KHz
v: height 768 start 1083 end 1089 total 1169 clock 165.00Hz
800x600 (0x5b) 401.210MHz +HSync -VSync
h: width 800 start 1968 end 2000 total 2080 skew 0 clock 192.89KHz
v: height 600 start 1083 end 1089 total 1169 clock 165.00Hz
640x480 (0x5c) 401.210MHz +HSync -VSync
h: width 640 start 1968 end 2000 total 2080 skew 0 clock 192.89KHz
v: height 480 start 1083 end 1089 total 1169 clock 165.00Hz
DP-1-0 disconnected (normal left inverted right x axis y axis)
Identifier: 0x1f9
Timestamp: 373992
Subpixel: unknown
Clones:
CRTCs: 0 5 6 7
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
PRIME Synchronization: 1
supported: 0, 1
CTM: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
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-1 disconnected (normal left inverted right x axis y axis)
Identifier: 0x1fa
Timestamp: 373992
Subpixel: unknown
Clones:
CRTCs: 0 5 6 7
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
PRIME Synchronization: 1
supported: 0, 1
CTM: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
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
DP-1-2 disconnected (normal left inverted right x axis y axis)
Identifier: 0x1fb
Timestamp: 373992
Subpixel: unknown
Clones:
CRTCs: 0 5 6 7
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
PRIME Synchronization: 1
supported: 0, 1
CTM: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
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: 2
_ConnectorLocation: 2
non-desktop: 0
supported: 0, 1
DP-1-3 disconnected (normal left inverted right x axis y axis)
Identifier: 0x1fc
Timestamp: 373992
Subpixel: unknown
Clones:
CRTCs: 0 5 6 7
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
PRIME Synchronization: 1
supported: 0, 1
CTM: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
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: 2
_ConnectorLocation: 2
non-desktop: 0
supported: 0, 1
HDMI-1-0 connected primary 1920x1080+0+0 (0x1ff) normal (normal left inverted right x axis y axis) 531mm x 298mm
Identifier: 0x1fd
Timestamp: 373992
Subpixel: unknown
Gamma: 1.0:1.0:1.0
Brightness: 1.0
Clones:
CRTC: 0
CRTCs: 0 5 6 7
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
EDID:
00ffffffffffff001e6d725bd7640900
091e010380351e78eaa435a5544f9e27
125054a54b80317c4568457c617c8168
818081bc953c023a801871382d40582c
4500132a2100001e8048801871382d40
582c4500132a2100001e000000fd0038
901ea021000a202020202020000000fc
003234474c363030460a20202020015a
02031ef1230907074b01020304111213
1f903f408301000065030c001000fc7e
80887038124018203500132a2100001e
866f80a07038404030203500132a2100
001efe5b80a07038354030203500132a
21000018000000ff003030394e545653
4a333633390a00000000000000000000
000000000000000000000000000000b1
PRIME Synchronization: 0
supported: 0, 1
CTM: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
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: 3
_ConnectorLocation: 3
non-desktop: 0
supported: 0, 1
1920x1080 (0x1fe) 148.500MHz +HSync +VSync +preferred
h: width 1920 start 2008 end 2052 total 2200 skew 0 clock 67.50KHz
v: height 1080 start 1084 end 1089 total 1125 clock 60.00Hz
1920x1080 (0x1ff) 325.080MHz +HSync +VSync *current
h: width 1920 start 1944 end 1976 total 2056 skew 0 clock 158.11KHz
v: height 1080 start 1083 end 1088 total 1098 clock 144.00Hz
1920x1080 (0x200) 285.500MHz +HSync +VSync
h: width 1920 start 1968 end 2000 total 2080 skew 0 clock 137.26KHz
v: height 1080 start 1083 end 1088 total 1144 clock 119.98Hz
1920x1080 (0x201) 296.700MHz +HSync +VSync
h: width 1920 start 2008 end 2052 total 2200 skew 0 clock 134.86KHz
v: height 1080 start 1084 end 1089 total 1125 clock 119.88Hz
1920x1080 (0x202) 297.000MHz +HSync +VSync
h: width 1920 start 2448 end 2492 total 2640 skew 0 clock 112.50KHz
v: height 1080 start 1084 end 1089 total 1125 clock 100.00Hz
1920x1080 (0x203) 235.500MHz -HSync -VSync
h: width 1920 start 1968 end 2000 total 2080 skew 0 clock 113.22KHz
v: height 1080 start 1083 end 1088 total 1133 clock 99.93Hz
1920x1080 (0x204) 185.600MHz +HSync +VSync
h: width 1920 start 2008 end 2052 total 2200 skew 0 clock 84.36KHz
v: height 1080 start 1084 end 1089 total 1125 clock 74.99Hz
1920x1080 (0x205) 148.350MHz +HSync +VSync
h: width 1920 start 2008 end 2052 total 2200 skew 0 clock 67.43KHz
v: height 1080 start 1084 end 1089 total 1125 clock 59.94Hz
1920x1080 (0x206) 148.500MHz +HSync +VSync
h: width 1920 start 2448 end 2492 total 2640 skew 0 clock 56.25KHz
v: height 1080 start 1084 end 1089 total 1125 clock 50.00Hz
1440x900 (0x207) 182.750MHz +HSync -VSync
h: width 1440 start 1488 end 1520 total 1600 skew 0 clock 114.22KHz
v: height 900 start 903 end 909 total 953 clock 119.85Hz
1280x1024 (0x208) 187.250MHz +HSync -VSync
h: width 1280 start 1328 end 1360 total 1440 skew 0 clock 130.03KHz
v: height 1024 start 1027 end 1034 total 1084 clock 119.96Hz
1280x1024 (0x209) 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 (0x20a) 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
1280x960 (0x20b) 178.990MHz -HSync +VSync
h: width 1280 start 1376 end 1520 total 1760 skew 0 clock 101.70KHz
v: height 960 start 961 end 964 total 1017 clock 100.00Hz
1280x720 (0x20c) 74.180MHz +HSync +VSync
h: width 1280 start 1390 end 1430 total 1650 skew 0 clock 44.96KHz
v: height 720 start 725 end 730 total 750 clock 59.94Hz
1280x720 (0x20d) 74.250MHz +HSync +VSync
h: width 1280 start 1720 end 1760 total 1980 skew 0 clock 37.50KHz
v: height 720 start 725 end 730 total 750 clock 50.00Hz
1024x768 (0x20e) 115.500MHz +HSync -VSync
h: width 1024 start 1072 end 1104 total 1184 skew 0 clock 97.55KHz
v: height 768 start 771 end 775 total 813 clock 119.99Hz
1024x768 (0x20f) 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 (0x210) 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 (0x211) 73.250MHz +HSync -VSync
h: width 800 start 848 end 880 total 960 skew 0 clock 76.30KHz
v: height 600 start 603 end 607 total 636 clock 119.97Hz
800x600 (0x212) 68.180MHz -HSync +VSync
h: width 800 start 848 end 936 total 1072 skew 0 clock 63.60KHz
v: height 600 start 601 end 604 total 636 clock 100.00Hz
800x600 (0x213) 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 (0x214) 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
720x576 (0x215) 27.000MHz -HSync -VSync
h: width 720 start 732 end 796 total 864 skew 0 clock 31.25KHz
v: height 576 start 581 end 586 total 625 clock 50.00Hz
720x480 (0x216) 27.000MHz -HSync -VSync
h: width 720 start 736 end 798 total 858 skew 0 clock 31.47KHz
v: height 480 start 489 end 495 total 525 clock 59.94Hz
640x480 (0x217) 52.410MHz -HSync +VSync
h: width 640 start 680 end 744 total 848 skew 0 clock 61.80KHz
v: height 480 start 481 end 484 total 515 clock 120.01Hz
640x480 (0x218) 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 (0x219) 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
640x480 (0x21a) 25.170MHz -HSync -VSync
h: width 640 start 656 end 752 total 800 skew 0 clock 31.46KHz
v: height 480 start 490 end 492 total 525 clock 59.93Hz
DP-1-4 disconnected (normal left inverted right x axis y axis)
Identifier: 0x21b
Timestamp: 373992
Subpixel: unknown
Clones:
CRTCs: 0 5 6 7
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
PRIME Synchronization: 1
supported: 0, 1
CTM: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
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: Panel
ConnectorNumber: 0
_ConnectorLocation: 0
non-desktop: 0
supported: 0, 1EDIT:
so i found out i'm wrong about the reverse prime rendering, the igpu is rendering and sending it to dgpu and is then passed to external monitor.
because
❯ glxinfo | grep "OpenGL renderer"
OpenGL renderer string: AMD Radeon Graphics (radeonsi, renoir, LLVM 19.1.7, DRM 3.60, 6.13.3-arch1-1)I also found the problem with having xf86-video-amdgpu and nvidia drivers . So i removed xf86-video-amdgpu.
but the issues in the list above still persist. ie: external monitor freezing and glxgears lagging in external monitor.
xorg log: http://0x0.st/8T4P.txt
journalctl-b: http://0x0.st/8T4Z.txt
xrandr --verbose: http://0x0.st/8T4N.txt
Last edited by cakehunter (2025-02-23 12:46:06)
Offline
since I had reverse prime I thought battery usage would be same.
No entirely, rendering on the GPU draws more power than just using it as VGA hub, but keeping both active instead of only the GPU might eat that.
You'll have to test and measure the actual demand for your usage profile.
https://wiki.archlinux.org/title/PRIME#Reverse_PRIME
https://wiki.archlinux.org/title/PRIME# … ronization
First off all drop xf86-video-amdgpu, then report back w/ the status quo.
Fwwi, the eDP only lists 165Hz modes and they're
vrr_capable: 1what means you (alternatively) likely want to enable AsyncFlipSecondaries, https://wiki.archlinux.org/title/Variab … figuration - not sure how you're currently running the output at a lower rate?
Offline
First off all drop xf86-video-amdgpu
I have removed it...
I also found the problem with having xf86-video-amdgpu and nvidia drivers . So i removed xf86-video-amdgpu.
not sure how you're currently running the output at a lower rate?
lower rates are already available in xrandr:
❯ xrandr
Screen 0: minimum 320 x 200, current 3840 x 1080, maximum 16384 x 16384
eDP-2 connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 344mm x 194mm
1920x1080 165.00 + 60.01 59.97 59.96 59.93*
1680x1050 165.00 59.95 59.88
1400x1050 74.76 59.98
1600x900 59.99 59.94 59.95 59.82
1280x1024 165.00 85.02 75.02 60.02
1440x900 165.00
1400x900 59.96 59.88
1280x960 85.00 60.00
1440x810 60.00 59.97
1368x768 59.88 59.85
1280x800 165.00 59.99 59.97 59.81 59.91
1152x864 75.00
1280x720 165.00 60.00 59.99 59.86 59.74
1024x768 165.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 165.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 165.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
DP-1-0 disconnected (normal left inverted right x axis y axis)
DP-1-1 disconnected (normal left inverted right x axis y axis)
DP-1-2 disconnected (normal left inverted right x axis y axis)
DP-1-3 disconnected (normal left inverted right x axis y axis)
HDMI-1-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 531mm x 298mm
1920x1080 60.00*+ 144.00 119.98 119.88 100.00 99.93 74.99 59.94 50.00
1440x900 119.85
1280x1024 119.96 75.02 60.02
1280x960 100.00
1280x720 59.94 50.00
1024x768 119.99 75.03 60.00
800x600 119.97 100.00 75.00 60.32
720x576 50.00
720x480 59.94
640x480 120.01 75.00 59.94 59.93
DP-1-4 disconnected (normal left inverted right x axis y axis)
1280x1024 (0x54) 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 (0x55) 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
1024x768 (0x6f) 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 (0x71) 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 (0x8d) 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 (0x8e) 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 (0xa2) 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 (0xa3) 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.94Hzthe only major problem I'm facing now is my external monitor freezing when i turn off the internal monitor using xrandr:
xrandr --output eDP-2 --offI get a black screen with a movable cursor on the external monitor, but cannot interact with anything until unplugging the HDMI cable.
and a minor problem is that glxgear when run with __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia glxgears on external monitor lags a lot.(doesn't run)
Last edited by cakehunter (2025-02-23 18:32:30)
Offline
I think the problem is at [ 119.002] (II) NVIDIA(G0): Setting mode "NULL"
xorg log: https://0x0.st/8Twc.txt
Offline
No, that's rather normal.
I get a black screen with a movable cursor on the external monitor
Are you running a composited session (picom, gnome, …)?
Which?
glxgears on external monitor lags a lot
See the first link in #6, try
__GL_SYNC_TO_VBLANK=0 prime-run glxgears
LIBGL_DRI3_DISABLE=true prime-run glxgearsAnd a mentioned enable AsyncFlipSecondaries
/etc/X11/xorg.conf.d/20-flipflop.conf
Section "Device"
Identifier "APU"
Driver "modesetting"
Option "AsyncFlipSecondaries" "True"
EndSectionOffline
Are you running a composited session (picom, gnome, …)?
xfwm4 (xfce desktop)
__GL_SYNC_TO_VBLANK=0 prime-run glxgears
LIBGL_DRI3_DISABLE=true prime-run glxgearsBoth gave the same result.
And a mentioned enable AsyncFlipSecondaries
/etc/X11/xorg.conf.d/20-flipflop.confSection "Device" Identifier "APU" Driver "modesetting" Option "AsyncFlipSecondaries" "True" EndSection
the system doesn't boot after adding this. Had to boot into recovery and remove it to get system functioning.
journalctl -b -2 : http://0x0.st/8Ame.txt
journalctl -b: http://0x0.st/8Am2.txt
Last edited by cakehunter (2025-02-24 10:27:39)
Offline
Disable https://wiki.archlinux.org/title/Xfwm#Composite_manager
the system doesn't boot after adding this.
I'm failry sure the system boots, see the 2nd link below on how to not boot into the GUI mode.
Do you have the xorg log for that configuration failing?
Offline
This worked! thanks!
after adding /etc/X11/xorg.conf.d/20-flipflop.conf
xorg log of failed configuration: https://0x0.st/8AQP.txt
Offline
Fixed the issue by adding busid of the igpu!
Thanks..!
the glxgears still dont run on external monitor..
❯ __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia glxgears
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
11070 frames in 5.0 seconds = 2213.765 FPS
5150 frames in 5.0 seconds = 1029.864 FPS
4097 frames in 5.0 seconds = 819.396 FPS
2343 frames in 5.0 seconds = 468.577 FPS
7402 frames in 5.0 seconds = 1480.171 FPS
4682 frames in 5.0 seconds = 936.236 FPS
3673 frames in 5.0 seconds = 734.466 FPS
3027 frames in 5.0 seconds = 605.259 FPS
X connection to :0.0 broken (explicit kill or server shutdown).it does run smoothly on the laptop display...
Applications like discord and spotify become unresponsive and laggy for first 20 seconds after opening.. Is that normal?
Offline
Other applications like Zoom, blender-benchmark, teams-for-linux, stremio, etc lag heavily like glxgears. I have to bring these windows into the internal display to get them working. As soon as i move the window over to the external display, they become unresponsive and I have to close them...
when my move the window in the external display it becomes something like this : https://imgur.com/a/6tdIkLv
Last edited by cakehunter (2025-02-24 19:35:06)
Offline
Is prime sync still off?
PRIME Synchronization: 0
supported: 0, 1https://wiki.archlinux.org/title/PRIME# … ronization
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
11070 frames in 5.0 seconds = 2213.765 FPS
So this seems to flip the external display asynchronously (and vsync blanking isn't a thing)
glxgears should™ update at some hundred fps, but isn't?
And you also didn't re-enable the compositor?
Have you tried "__GL_SYNC_TO_VBLANK=0 LIBGL_DRI3_DISABLE=true" with the current setup?
Do you prime-run the other clients as well or are they running on the APU?
Offline
LIBGL_DRI3_DISABLE=true solves everything!
Thanks
But when i do it with prime-run
LIBGL_DRI3_DISABLE=true prime-run glxgears it glitches out.
But I can live that.
Thank you for the help!
Offline
glitches out like https://imgur.com/a/6tdIkLv ?
Offline
yes, like that everytime on external monitor.
Offline
How's the behavior if you re-enable the compositor (or use eg. picom instead)?
Offline