You are not logged in.

#1 2022-06-13 13:01:55

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,390

xrandr "fakes" the switch to a different refresh rate.

I've a dell latitude 7200 and i would like to switch to 48hz like it currently works under Windows.
Using linux 5.18.2, xrandr reports only 60hz for the native 1920x1280 resolution.
Using linux-lts version 5.15.45 reports 60hz and 48hz, but when i tell xrandr to switch to 48hz, it doesnt give me an error and it even reports that it switched to that refresh rate, but the screen don't flickers during the change and vsync tester on firefox or glxgears still reports 60fps.
I tried to use xf86-video-intel, modesettings or even a bare wayland kde session with the same results.
xrandr -q

koko@latitude# xrandr -q
Screen 0: minimum 8 x 8, current 1920 x 1280, maximum 32767 x 32767
eDP1 connected primary 1920x1280+0+0 (normal left inverted right x axis y axis) 260mm x 170mm
   1920x1280     60.00 +  48.00* 
   1920x1200     59.95  
   1920x1080     59.93  
   1600x1200     60.00  
   1680x1050     59.95    59.88  
   1400x1050     59.98  
   1600x900      59.95    59.82  
   1280x1024     60.02  
   1400x900      59.96    59.88  
   1280x960      60.00  
   1368x768      59.88    59.85  
   1280x800      59.81    59.91  
   1280x720      59.86    59.74  
   1024x768      60.00  
   960x640       60.00  
   1024x576      59.90    59.82  
   960x540       59.63    59.82  
   800x600       60.32    56.25  
   864x486       59.92    59.57  
   640x480       59.94  
   720x405       59.51    58.99  
   640x360       59.84    59.32  
DP1 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)

Xorg log:

[    56.253] (--) Log file renamed from "/var/log/Xorg.pid-1079.log" to "/var/log/Xorg.0.log"
[    56.254] 
X.Org X Server 1.21.1.3
X Protocol Version 11, Revision 0
[    56.254] Current Operating System: Linux latitude 5.15.45-1-lts #1 SMP Mon, 06 Jun 2022 09:19:52 +0000 x86_64
[    56.254] Kernel command line: BOOT_IMAGE=/vmlinuz-linux-lts root=UUID=a6b9f27e-6c83-4e7a-a11e-03d3b4df5528 rw vt.global_cursor_default=0 sysrq_always_enabled=1 i915.mitigations=off mitigations=off rd.systemd.show_status=auto rd.udev.log_level=3 audit=0 ipv6.disable=1 quiet loglevel=3 console=tty3
[    56.254]  
[    56.254] Current version of pixman: 0.40.0
[    56.254] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    56.254] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    56.254] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Jun 13 14:53:10 2022
[    56.254] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    56.254] (==) No Layout section.  Using the first Screen section.
[    56.254] (==) No screen section available. Using defaults.
[    56.254] (**) |-->Screen "Default Screen Section" (0)
[    56.254] (**) |   |-->Monitor "<default monitor>"
[    56.254] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    56.254] (==) Automatically adding devices
[    56.254] (==) Automatically enabling devices
[    56.254] (==) Automatically adding GPU devices
[    56.254] (==) Automatically binding GPU devices
[    56.254] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    56.254] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[    56.254] 	Entry deleted from font path.
[    56.254] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[    56.254] 	Entry deleted from font path.
[    56.254] (==) FontPath set to:
	/usr/share/fonts/misc,
	/usr/share/fonts/TTF,
	/usr/share/fonts/100dpi,
	/usr/share/fonts/75dpi
[    56.254] (==) ModulePath set to "/usr/lib/xorg/modules"
[    56.254] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    56.254] (II) Module ABI versions:
[    56.255] 	X.Org ANSI C Emulation: 0.4
[    56.255] 	X.Org Video Driver: 25.2
[    56.255] 	X.Org XInput driver : 24.4
[    56.255] 	X.Org Server Extension : 10.0
[    56.256] (++) using VT number 1

[    56.256] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    56.256] (II) xfree86: Adding drm device (/dev/dri/card0)
[    56.256] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card0
[    56.259] (--) PCI:*(0@0:2:0) 8086:3ea0:1028:08e9 rev 2, Mem @ 0xdb000000/16777216, 0x50000000/268435456, I/O @ 0x00003000/64, BIOS @ 0x????????/131072
[    56.259] (II) Open ACPI successful (/var/run/acpid.socket)
[    56.259] (II) LoadModule: "glx"
[    56.260] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    56.261] (II) Module glx: vendor="X.Org Foundation"
[    56.261] 	compiled for 1.21.1.3, module version = 1.0.0
[    56.261] 	ABI class: X.Org Server Extension, version 10.0
[    56.261] (==) Matched intel as autoconfigured driver 0
[    56.261] (==) Matched modesetting as autoconfigured driver 1
[    56.261] (==) Matched fbdev as autoconfigured driver 2
[    56.261] (==) Matched vesa as autoconfigured driver 3
[    56.261] (==) Assigned the driver to the xf86ConfigLayout
[    56.261] (II) LoadModule: "intel"
[    56.261] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[    56.262] (II) Module intel: vendor="X.Org Foundation"
[    56.262] 	compiled for 1.21.1.1, module version = 2.99.917
[    56.262] 	Module class: X.Org Video Driver
[    56.262] 	ABI class: X.Org Video Driver, version 25.2
[    56.262] (II) LoadModule: "modesetting"
[    56.262] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    56.262] (II) Module modesetting: vendor="X.Org Foundation"
[    56.262] 	compiled for 1.21.1.3, module version = 1.21.1
[    56.262] 	Module class: X.Org Video Driver
[    56.262] 	ABI class: X.Org Video Driver, version 25.2
[    56.262] (II) LoadModule: "fbdev"
[    56.262] (WW) Warning, couldn't open module fbdev
[    56.262] (EE) Failed to load module "fbdev" (module does not exist, 0)
[    56.262] (II) LoadModule: "vesa"
[    56.262] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[    56.262] (II) Module vesa: vendor="X.Org Foundation"
[    56.262] 	compiled for 1.21.1.1, module version = 2.5.0
[    56.262] 	Module class: X.Org Video Driver
[    56.263] 	ABI class: X.Org Video Driver, version 25.2
[    56.263] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
	i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
	915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
	Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
	GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[    56.263] (II) intel: Driver for Intel(R) HD Graphics
[    56.263] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[    56.263] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[    56.263] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    56.263] (II) VESA: driver for VESA chipsets: vesa
[    56.263] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20201103
[    56.263] (II) intel(0): SNA compiled from 2.99.917-916-g31486f40
[    56.287] (WW) Falling back to old probe method for modesetting
[    56.287] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics
[    56.287] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx, avx2; using a maximum of 4 threads
[    56.287] (II) intel(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[    56.287] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[    56.287] (==) intel(0): RGB weight 888
[    56.287] (==) intel(0): Default visual is TrueColor
[    56.288] (II) intel(0): Output eDP1 has no monitor section
[    56.288] (**) intel(0): Found backlight control interface intel_backlight (type 'raw') for output eDP1
[    56.288] (II) intel(0): Enabled output eDP1
[    56.288] (II) intel(0): Output DP1 has no monitor section
[    56.288] (II) intel(0): Enabled output DP1
[    56.288] (II) intel(0): Output DP2 has no monitor section
[    56.288] (II) intel(0): Enabled output DP2
[    56.288] (--) intel(0): Using a maximum size of 256x256 for hardware cursors
[    56.288] (II) intel(0): Output VIRTUAL1 has no monitor section
[    56.288] (II) intel(0): Enabled output VIRTUAL1
[    56.288] (--) intel(0): Output eDP1 using initial mode 1920x1280 on pipe 0
[    56.288] (==) intel(0): TearFree enabled
[    56.288] (==) intel(0): Using gamma correction (1.0, 1.0, 1.0)
[    56.288] (==) intel(0): DPI set to (96, 96)
[    56.288] (II) Loading sub module "dri3"
[    56.288] (II) LoadModule: "dri3"
[    56.288] (II) Module "dri3" already built-in
[    56.288] (II) Loading sub module "dri2"
[    56.288] (II) LoadModule: "dri2"
[    56.288] (II) Module "dri2" already built-in
[    56.288] (II) Loading sub module "present"
[    56.288] (II) LoadModule: "present"
[    56.288] (II) Module "present" already built-in
[    56.290] (II) UnloadModule: "modesetting"
[    56.290] (II) Unloading modesetting
[    56.290] (II) UnloadModule: "vesa"
[    56.290] (II) Unloading vesa
[    56.290] (II) intel(0): SNA initialized with Coffeelake (gen9) backend
[    56.290] (==) intel(0): Backing store enabled
[    56.290] (==) intel(0): Silken mouse enabled
[    56.290] (II) intel(0): HW Cursor enabled
[    56.290] (==) intel(0): DPMS enabled
[    56.290] (==) intel(0): Display hotplug detection enabled
[    56.290] (II) intel(0): [DRI2] Setup complete
[    56.290] (II) intel(0): [DRI2]   DRI driver: i965
[    56.290] (II) intel(0): [DRI2]   VDPAU driver: va_gl
[    56.290] (II) intel(0): direct rendering: DRI2 DRI3 enabled
[    56.290] (II) intel(0): hardware support for Present enabled
[    56.290] (II) Initializing extension Generic Event Extension
[    56.290] (II) Initializing extension SHAPE
[    56.291] (II) Initializing extension MIT-SHM
[    56.291] (II) Initializing extension XInputExtension
[    56.291] (II) Initializing extension XTEST
[    56.291] (II) Initializing extension BIG-REQUESTS
[    56.291] (II) Initializing extension SYNC
[    56.291] (II) Initializing extension XKEYBOARD
[    56.291] (II) Initializing extension XC-MISC
[    56.291] (II) Initializing extension SECURITY
[    56.291] (II) Initializing extension XFIXES
[    56.292] (II) Initializing extension RENDER
[    56.292] (II) Initializing extension RANDR
[    56.292] (II) Initializing extension COMPOSITE
[    56.292] (II) Initializing extension DAMAGE
[    56.292] (II) Initializing extension MIT-SCREEN-SAVER
[    56.292] (II) Initializing extension DOUBLE-BUFFER
[    56.292] (II) Initializing extension RECORD
[    56.292] (II) Initializing extension DPMS
[    56.292] (II) Initializing extension Present
[    56.293] (II) Initializing extension DRI3
[    56.293] (II) Initializing extension X-Resource
[    56.293] (II) Initializing extension XVideo
[    56.293] (II) Initializing extension XVideo-MotionCompensation
[    56.293] (II) Initializing extension GLX
[    56.293] (EE) AIGLX error: dlopen of /usr/lib/dri/i965_dri.so failed (/usr/lib/dri/i965_dri.so: cannot open shared object file: No such file or directory)
[    56.293] (EE) AIGLX error: unable to load driver i965
[    56.319] (II) IGLX: Loaded and initialized swrast
[    56.319] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[    56.319] (II) Initializing extension XFree86-VidModeExtension
[    56.319] (II) Initializing extension XFree86-DGA
[    56.319] (II) Initializing extension XFree86-DRI
[    56.319] (II) Initializing extension DRI2
[    56.322] (II) intel(0): switch to mode 1920x1280@60.0 on eDP1 using pipe 0, position (0, 0), rotation normal, reflection none
[    56.325] (II) intel(0): Setting screen physical size to 508 x 338
[    56.372] (II) config/udev: Adding input device Video Bus (/dev/input/event4)
[    56.372] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[    56.372] (II) LoadModule: "libinput"
[    56.372] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[    56.373] (II) Module libinput: vendor="X.Org Foundation"
[    56.373] 	compiled for 1.21.1.3, module version = 1.2.1
[    56.373] 	Module class: X.Org XInput Driver
[    56.373] 	ABI class: X.Org XInput driver, version 24.4
[    56.373] (II) Using input driver 'libinput' for 'Video Bus'
[    56.373] (**) Video Bus: always reports core events
[    56.373] (**) Option "Device" "/dev/input/event4"
[    56.374] (II) event4  - Video Bus: is tagged by udev as: Keyboard
[    56.374] (II) event4  - Video Bus: device is a keyboard
[    56.374] (II) event4  - Video Bus: device removed
[    56.478] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input4/event4"
[    56.478] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 6)
[    56.481] (II) event4  - Video Bus: is tagged by udev as: Keyboard
[    56.481] (II) event4  - Video Bus: device is a keyboard
[    56.482] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[    56.482] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[    56.482] (II) Using input driver 'libinput' for 'Power Button'
[    56.482] (**) Power Button: always reports core events
[    56.482] (**) Option "Device" "/dev/input/event1"
[    56.484] (II) event1  - Power Button: is tagged by udev as: Keyboard
[    56.484] (II) event1  - Power Button: device is a keyboard
[    56.484] (II) event1  - Power Button: device removed
[    56.547] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input1/event1"
[    56.547] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 7)
[    56.549] (II) event1  - Power Button: is tagged by udev as: Keyboard
[    56.549] (II) event1  - Power Button: device is a keyboard
[    56.550] (II) config/udev: Adding input device Lid Switch (/dev/input/event0)
[    56.551] (II) No input driver specified, ignoring this device.
[    56.551] (II) This device may have been added with another device file.
[    56.551] (II) config/udev: Adding input device Sleep Button (/dev/input/event2)
[    56.552] (**) Sleep Button: Applying InputClass "libinput keyboard catchall"
[    56.552] (II) Using input driver 'libinput' for 'Sleep Button'
[    56.552] (**) Sleep Button: always reports core events
[    56.552] (**) Option "Device" "/dev/input/event2"
[    56.553] (II) event2  - Sleep Button: is tagged by udev as: Keyboard
[    56.553] (II) event2  - Sleep Button: device is a keyboard
[    56.554] (II) event2  - Sleep Button: device removed
[    56.586] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input2/event2"
[    56.586] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 8)
[    56.589] (II) event2  - Sleep Button: is tagged by udev as: Keyboard
[    56.589] (II) event2  - Sleep Button: device is a keyboard
[    56.591] (II) config/udev: Adding input device Alps Alps Touchpad Mouse (/dev/input/event11)
[    56.591] (**) Alps Alps Touchpad Mouse: Applying InputClass "libinput pointer catchall"
[    56.591] (II) Using input driver 'libinput' for 'Alps Alps Touchpad Mouse'
[    56.591] (**) Alps Alps Touchpad Mouse: always reports core events
[    56.591] (**) Option "Device" "/dev/input/event11"
[    56.659] (II) event11 - Alps Alps Touchpad Mouse: is tagged by udev as: Mouse
[    56.659] (II) event11 - Alps Alps Touchpad Mouse: device is a pointer
[    56.660] (II) event11 - Alps Alps Touchpad Mouse: device removed
[    56.766] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/0003:044E:1218.0001/input/input19/event11"
[    56.766] (II) XINPUT: Adding extended input device "Alps Alps Touchpad Mouse" (type: MOUSE, id 9)
[    56.767] (**) Option "AccelerationScheme" "none"
[    56.767] (**) Alps Alps Touchpad Mouse: (accel) selected scheme none/0
[    56.767] (**) Alps Alps Touchpad Mouse: (accel) acceleration factor: 2.000
[    56.767] (**) Alps Alps Touchpad Mouse: (accel) acceleration threshold: 4
[    56.839] (II) event11 - Alps Alps Touchpad Mouse: is tagged by udev as: Mouse
[    56.840] (II) event11 - Alps Alps Touchpad Mouse: device is a pointer
[    56.841] (II) config/udev: Adding input device Alps Alps Touchpad Mouse (/dev/input/mouse2)
[    56.841] (II) No input driver specified, ignoring this device.
[    56.841] (II) This device may have been added with another device file.
[    56.842] (II) config/udev: Adding input device Alps Alps Touchpad (/dev/input/event12)
[    56.842] (**) Alps Alps Touchpad: Applying InputClass "libinput touchpad catchall"
[    56.842] (II) Using input driver 'libinput' for 'Alps Alps Touchpad'
[    56.842] (**) Alps Alps Touchpad: always reports core events
[    56.842] (**) Option "Device" "/dev/input/event12"
[    56.843] (II) event12 - Alps Alps Touchpad: is tagged by udev as: Touchpad
[    56.844] (II) event12 - Alps Alps Touchpad: device is a touchpad
[    56.844] (II) event12 - Alps Alps Touchpad: device removed
[    56.938] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/0003:044E:1218.0001/input/input20/event12"
[    56.938] (II) XINPUT: Adding extended input device "Alps Alps Touchpad" (type: TOUCHPAD, id 10)
[    56.941] (**) Option "AccelerationScheme" "none"
[    56.941] (**) Alps Alps Touchpad: (accel) selected scheme none/0
[    56.941] (**) Alps Alps Touchpad: (accel) acceleration factor: 2.000
[    56.941] (**) Alps Alps Touchpad: (accel) acceleration threshold: 4
[    56.944] (II) event12 - Alps Alps Touchpad: is tagged by udev as: Touchpad
[    56.947] (II) event12 - Alps Alps Touchpad: device is a touchpad
[    56.948] (II) config/udev: Adding input device Alps Alps Touchpad (/dev/input/mouse3)
[    56.948] (II) No input driver specified, ignoring this device.
[    56.948] (II) This device may have been added with another device file.
[    56.950] (II) config/udev: Adding input device Alps Alps Touchpad UNKNOWN (/dev/input/event13)
[    56.950] (II) No input driver specified, ignoring this device.
[    56.950] (II) This device may have been added with another device file.
[    56.951] (II) config/udev: Adding input device Integrated_Webcam_5M: Integrate (/dev/input/event6)
[    56.951] (**) Integrated_Webcam_5M: Integrate: Applying InputClass "libinput keyboard catchall"
[    56.951] (II) Using input driver 'libinput' for 'Integrated_Webcam_5M: Integrate'
[    56.951] (**) Integrated_Webcam_5M: Integrate: always reports core events
[    56.951] (**) Option "Device" "/dev/input/event6"
[    56.953] (II) event6  - Integrated_Webcam_5M: Integrate: is tagged by udev as: Keyboard
[    56.953] (II) event6  - Integrated_Webcam_5M: Integrate: device is a keyboard
[    56.954] (II) event6  - Integrated_Webcam_5M: Integrate: device removed
[    57.046] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/input/input6/event6"
[    57.046] (II) XINPUT: Adding extended input device "Integrated_Webcam_5M: Integrate" (type: KEYBOARD, id 11)
[    57.049] (II) event6  - Integrated_Webcam_5M: Integrate: is tagged by udev as: Keyboard
[    57.050] (II) event6  - Integrated_Webcam_5M: Integrate: device is a keyboard
[    57.051] (II) config/udev: Adding input device Integrated_Webcam_8M: Rear Inte (/dev/input/event5)
[    57.051] (**) Integrated_Webcam_8M: Rear Inte: Applying InputClass "libinput keyboard catchall"
[    57.051] (II) Using input driver 'libinput' for 'Integrated_Webcam_8M: Rear Inte'
[    57.051] (**) Integrated_Webcam_8M: Rear Inte: always reports core events
[    57.051] (**) Option "Device" "/dev/input/event5"
[    57.053] (II) event5  - Integrated_Webcam_8M: Rear Inte: is tagged by udev as: Keyboard
[    57.054] (II) event5  - Integrated_Webcam_8M: Rear Inte: device is a keyboard
[    57.054] (II) event5  - Integrated_Webcam_8M: Rear Inte: device removed
[    57.187] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.0/input/input5/event5"
[    57.187] (II) XINPUT: Adding extended input device "Integrated_Webcam_8M: Rear Inte" (type: KEYBOARD, id 12)
[    57.190] (II) event5  - Integrated_Webcam_8M: Rear Inte: is tagged by udev as: Keyboard
[    57.190] (II) event5  - Integrated_Webcam_8M: Rear Inte: device is a keyboard
[    57.192] (II) config/udev: Adding input device Wacom HID 48CE Pen (/dev/input/event14)
[    57.192] (**) Wacom HID 48CE Pen: Applying InputClass "libinput tablet catchall"
[    57.192] (II) Using input driver 'libinput' for 'Wacom HID 48CE Pen'
[    57.192] (**) Wacom HID 48CE Pen: always reports core events
[    57.192] (**) Option "Device" "/dev/input/event14"
[    57.194] (II) event14 - Wacom HID 48CE Pen: is tagged by udev as: Tablet
[    57.242] (II) event14 - Wacom HID 48CE Pen: device is a tablet
[    57.242] (II) event14 - Wacom HID 48CE Pen: device removed
[    57.377] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-7/i2c-WCOM48CE:00/0018:056A:48CE.0002/input/input22/event14"
[    57.377] (II) XINPUT: Adding extended input device "Wacom HID 48CE Pen" (type: TABLET, id 13)
[    57.379] (II) event14 - Wacom HID 48CE Pen: is tagged by udev as: Tablet
[    57.416] (II) event14 - Wacom HID 48CE Pen: device is a tablet
[    57.416] (II) config/udev: Adding input device Wacom HID 48CE Pen (/dev/input/mouse0)
[    57.416] (II) No input driver specified, ignoring this device.
[    57.416] (II) This device may have been added with another device file.
[    57.417] (II) config/udev: Adding input device Wacom HID 48CE Finger (/dev/input/event15)
[    57.417] (**) Wacom HID 48CE Finger: Applying InputClass "libinput touchscreen catchall"
[    57.417] (II) Using input driver 'libinput' for 'Wacom HID 48CE Finger'
[    57.417] (**) Wacom HID 48CE Finger: always reports core events
[    57.417] (**) Option "Device" "/dev/input/event15"
[    57.418] (II) event15 - Wacom HID 48CE Finger: is tagged by udev as: Touchscreen
[    57.418] (II) event15 - Wacom HID 48CE Finger: device is a touch device
[    57.419] (II) event15 - Wacom HID 48CE Finger: device removed
[    57.536] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-7/i2c-WCOM48CE:00/0018:056A:48CE.0002/input/input23/event15"
[    57.536] (II) XINPUT: Adding extended input device "Wacom HID 48CE Finger" (type: TOUCHSCREEN, id 14)
[    57.536] (**) Option "AccelerationScheme" "none"
[    57.536] (**) Wacom HID 48CE Finger: (accel) selected scheme none/0
[    57.536] (**) Wacom HID 48CE Finger: (accel) acceleration factor: 2.000
[    57.536] (**) Wacom HID 48CE Finger: (accel) acceleration threshold: 4
[    57.539] (II) event15 - Wacom HID 48CE Finger: is tagged by udev as: Touchscreen
[    57.539] (II) event15 - Wacom HID 48CE Finger: device is a touch device
[    57.541] (II) config/udev: Adding input device Wacom HID 48CE Finger (/dev/input/mouse1)
[    57.541] (II) No input driver specified, ignoring this device.
[    57.541] (II) This device may have been added with another device file.
[    57.541] (II) config/udev: Adding input device HDA Intel PCH Headphone Mic (/dev/input/event16)
[    57.541] (II) No input driver specified, ignoring this device.
[    57.541] (II) This device may have been added with another device file.
[    57.541] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=3 (/dev/input/event17)
[    57.541] (II) No input driver specified, ignoring this device.
[    57.541] (II) This device may have been added with another device file.
[    57.541] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=7 (/dev/input/event18)
[    57.541] (II) No input driver specified, ignoring this device.
[    57.541] (II) This device may have been added with another device file.
[    57.542] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=8 (/dev/input/event19)
[    57.542] (II) No input driver specified, ignoring this device.
[    57.542] (II) This device may have been added with another device file.
[    57.542] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=9 (/dev/input/event20)
[    57.542] (II) No input driver specified, ignoring this device.
[    57.542] (II) This device may have been added with another device file.
[    57.542] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=10 (/dev/input/event21)
[    57.542] (II) No input driver specified, ignoring this device.
[    57.542] (II) This device may have been added with another device file.
[    57.542] (II) config/udev: Adding input device Intel HID events (/dev/input/event7)
[    57.542] (**) Intel HID events: Applying InputClass "libinput keyboard catchall"
[    57.542] (II) Using input driver 'libinput' for 'Intel HID events'
[    57.542] (**) Intel HID events: always reports core events
[    57.542] (**) Option "Device" "/dev/input/event7"
[    57.543] (II) event7  - Intel HID events: is tagged by udev as: Keyboard
[    57.543] (II) event7  - Intel HID events: device is a keyboard
[    57.543] (II) event7  - Intel HID events: device removed
[    57.596] (**) Option "config_info" "udev:/sys/devices/platform/INT33D5:00/input/input7/event7"
[    57.596] (II) XINPUT: Adding extended input device "Intel HID events" (type: KEYBOARD, id 15)
[    57.599] (II) event7  - Intel HID events: is tagged by udev as: Keyboard
[    57.599] (II) event7  - Intel HID events: device is a keyboard
[    57.600] (II) config/udev: Adding input device Intel HID 5 button array (/dev/input/event8)
[    57.600] (**) Intel HID 5 button array: Applying InputClass "libinput keyboard catchall"
[    57.600] (II) Using input driver 'libinput' for 'Intel HID 5 button array'
[    57.600] (**) Intel HID 5 button array: always reports core events
[    57.600] (**) Option "Device" "/dev/input/event8"
[    57.601] (II) event8  - Intel HID 5 button array: is tagged by udev as: Keyboard
[    57.602] (II) event8  - Intel HID 5 button array: device is a keyboard
[    57.602] (II) event8  - Intel HID 5 button array: device removed
[    57.657] (**) Option "config_info" "udev:/sys/devices/platform/INT33D5:00/input/input8/event8"
[    57.657] (II) XINPUT: Adding extended input device "Intel HID 5 button array" (type: KEYBOARD, id 16)
[    57.659] (II) event8  - Intel HID 5 button array: is tagged by udev as: Keyboard
[    57.659] (II) event8  - Intel HID 5 button array: device is a keyboard
[    57.661] (II) config/udev: Adding input device Dell WMI hotkeys (/dev/input/event10)
[    57.661] (**) Dell WMI hotkeys: Applying InputClass "libinput keyboard catchall"
[    57.661] (II) Using input driver 'libinput' for 'Dell WMI hotkeys'
[    57.661] (**) Dell WMI hotkeys: always reports core events
[    57.661] (**) Option "Device" "/dev/input/event10"
[    57.663] (II) event10 - Dell WMI hotkeys: is tagged by udev as: Keyboard
[    57.663] (II) event10 - Dell WMI hotkeys: device is a keyboard
[    57.663] (II) event10 - Dell WMI hotkeys: device removed
[    57.696] (**) Option "config_info" "udev:/sys/devices/platform/PNP0C14:03/wmi_bus/wmi_bus-PNP0C14:03/9DBB5994-A997-11DA-B012-B622A1EF5492/input/input18/event10"
[    57.696] (II) XINPUT: Adding extended input device "Dell WMI hotkeys" (type: KEYBOARD, id 17)
[    57.699] (II) event10 - Dell WMI hotkeys: is tagged by udev as: Keyboard
[    57.699] (II) event10 - Dell WMI hotkeys: device is a keyboard
[    57.701] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event3)
[    57.701] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[    57.701] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
[    57.701] (**) AT Translated Set 2 keyboard: always reports core events
[    57.701] (**) Option "Device" "/dev/input/event3"
[    57.702] (II) event3  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[    57.703] (II) event3  - AT Translated Set 2 keyboard: device is a keyboard
[    57.705] (II) event3  - AT Translated Set 2 keyboard: device removed
[    57.766] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input3/event3"
[    57.766] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 18)
[    57.767] (II) event3  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[    57.767] (II) event3  - AT Translated Set 2 keyboard: device is a keyboard
[    57.768] (II) config/udev: Adding input device PC Speaker (/dev/input/event9)
[    57.768] (II) No input driver specified, ignoring this device.
[    57.768] (II) This device may have been added with another device file.
[    58.311] (II) intel(0): EDID vendor "SHP", prod id 5283
[    58.311] (II) intel(0): Printing DDC gathered Modelines:
[    58.311] (II) intel(0): Modeline "1920x1280"x0.0  164.25  1920 1968 2000 2080  1280 1283 1293 1316 -hsync -vsync (79.0 kHz eP)
[    58.311] (II) intel(0): Modeline "1920x1280"x0.0  131.40  1920 1968 2000 2080  1280 1283 1293 1316 -hsync -vsync (63.2 kHz e)
[   443.940] (II) intel(0): switch to mode 1920x1280@48.0 on eDP1 using pipe 0, position (0, 0), rotation normal, reflection none
[   446.448] (II) intel(0): switch to mode 1920x1280@60.0 on eDP1 using pipe 0, position (0, 0), rotation normal, reflection none
[   450.270] (II) intel(0): switch to mode 1920x1280@48.0 on eDP1 using pipe 0, position (0, 0), rotation normal, reflection none
[   451.999] (II) intel(0): switch to mode 1920x1280@60.0 on eDP1 using pipe 0, position (0, 0), rotation normal, reflection none
[   469.744] (II) intel(0): switch to mode 1920x1280@48.0 on eDP1 using pipe 0, position (0, 0), rotation normal, reflection none
koko@latitude# sudo cat /sys/class/drm/card0/card0-eDP-1/edid |edid-decode -c
edid-decode (hex):

00 ff ff ff ff ff ff 00 4d 10 a3 14 00 00 00 00
05 1d 01 04 a5 1a 11 78 0e de 50 a3 54 4c 99 26
0f 50 54 00 00 00 01 01 01 01 01 01 01 01 01 01
01 01 01 01 01 01 29 40 80 a0 70 00 24 50 30 20
3a 00 03 ad 10 00 00 18 54 33 80 a0 70 00 24 50
30 20 3a 00 03 ad 10 00 00 18 00 00 00 fe 00 4d
52 4e 39 37 80 4c 51 31 32 33 4e 31 00 00 00 00
00 02 41 03 28 01 12 00 00 0a 01 0a 20 20 00 63

----------------

Block 0, Base EDID:
  EDID Structure Version & Revision: 1.4
  Vendor & Product Identification:
    Manufacturer: SHP
    Model: 5283
    Made in: week 5 of 2019
  Basic Display Parameters & Features:
    Digital display
    Bits per primary color channel: 8
    DisplayPort interface
    Maximum image size: 26 cm x 17 cm
    Gamma: 2.20
    Supported color formats: RGB 4:4:4, YCrCb 4:4:4
    Default (sRGB) color space is primary color space
    First detailed timing includes the native pixel format and preferred refresh rate
  Color Characteristics:
    Red  : 0.6396, 0.3291
    Green: 0.2998, 0.5996
    Blue : 0.1494, 0.0595
    White: 0.3125, 0.3281
  Established Timings I & II: none
  Standard Timings: none
  Detailed Timing Descriptors:
    DTD 1:  1920x1280   60.004822 Hz   3:2     78.966 kHz    164.250000 MHz (259 mm x 173 mm)
                 Hfront   48 Hsync  32 Hback   80 Hpol N
                 Vfront    3 Vsync  10 Vback   23 Vpol N
    DTD 2:  1920x1280   48.003858 Hz   3:2     63.173 kHz    131.400000 MHz (259 mm x 173 mm)
                 Hfront   48 Hsync  32 Hback   80 Hpol N
                 Vfront    3 Vsync  10 Vback   23 Vpol N
    Alphanumeric Data String: 'MRN97'
    Manufacturer-Specified Display Descriptor (0x00): 00 00 00 02 41 03 28 01 12 00 00 0a 01 0a 20 20 '....A.(.......  '
Checksum: 0x63

----------------

edid-decode SHA: cc1aeb00500d 2022-05-25 10:31:34

Failures:

Block 0, Base EDID:
  Basic Display Parameters & Features: sRGB is signaled, but the chromaticities do not match.
  Alphanumeric Data String: Non-printable character.
  Missing Display Product Name.

EDID conformity: FAIL

Any clue?
Thanks!

-EDIT-
Further investigation by starting the latest kernel, the one which doesn't show 48hz as a valid mode,  done by starting the lernel with: drm.debug=0x14
I've the following in the journal:

giu 13 15:35:29 latitude kernel: [drm:drm_mode_debug_printmodeline] Modeline "1920x1280": 48 131400 1920 1968 2000 2080 1280 1283 1293 1316 0x40 0xa
giu 13 15:35:29 latitude kernel: [drm:drm_mode_prune_invalid] Not using 1920x1280 mode: PANEL

...which in drm_modes.h means "exceeds panel dimensions"

Last edited by kokoko3k (2022-06-13 13:50:02)


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#2 2022-06-13 13:48:43

seth
Member
Registered: 2012-09-03
Posts: 49,992

Re: xrandr "fakes" the switch to a different refresh rate.

xrandr will not impact wayland.

Where does glxgears land when you suspend the kwin compositor?

[    56.293] (EE) AIGLX error: dlopen of /usr/lib/dri/i965_dri.so failed (/usr/lib/dri/i965_dri.so: cannot open shared object file: No such file or directory)
[    56.293] (EE) AIGLX error: unable to load driver i965
[    56.319] (II) IGLX: Loaded and initialized swrast

Get rid of intel and test the modesetting driver only, you're on that X11 session running software GL which won't sync to anything.

Offline

#3 2022-06-13 13:52:47

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,390

Re: xrandr "fakes" the switch to a different refresh rate.

Yes, i know xrandr is for Xorg.
I already tried xorg with xf86-video-intel, xorg with modesetting (pacman -R xf86-video-intel), and plasma wayland session, all of them (gl)accelerated.
I just edited the main post, the problem seems related to libdrm and some picky mode validation rules.
In the new kernel 48hz modes are completely rejected, while in the lts they are allowed, but not used.

-EDIT-
I don't know why xorg gives that error, but gl works:

 koko@latitude# glxinfo |grep -i string
server glx vendor string: SGI
server glx version string: 1.4
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) UHD Graphics 620 (WHL GT2)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 22.1.1
OpenGL core profile shading language version string: 4.60
OpenGL version string: 4.6 (Compatibility Profile) Mesa 22.1.1
OpenGL shading language version string: 4.60
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 22.1.1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
koko@latitude# glxinfo |grep -i direct
direct rendering: Yes
    GL_AMD_gpu_shader_int64, GL_AMD_multi_draw_indirect, 
    GL_ARB_depth_clamp, GL_ARB_derivative_control, GL_ARB_direct_state_access, 
    GL_ARB_draw_elements_base_vertex, GL_ARB_draw_indirect, 
    GL_ARB_half_float_vertex, GL_ARB_indirect_parameters, 
    GL_ARB_multi_draw_indirect, GL_ARB_occlusion_query2, 
    GL_AMD_multi_draw_indirect, GL_AMD_performance_monitor, 
    GL_ARB_direct_state_access, GL_ARB_draw_buffers, 
    GL_ARB_draw_indirect, GL_ARB_draw_instanced, GL_ARB_enhanced_layouts, 
    GL_ARB_half_float_vertex, GL_ARB_indirect_parameters, 
    GL_ARB_multi_draw_indirect, GL_ARB_multisample, GL_ARB_multitexture, 
    GL_EXT_demote_to_helper_invocation, GL_EXT_direct_state_access, 

Last edited by kokoko3k (2022-06-13 13:57:21)


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#4 2022-06-13 14:36:01

seth
Member
Registered: 2012-09-03
Posts: 49,992

Re: xrandr "fakes" the switch to a different refresh rate.

https://www.kernel.org/doc/html/v5.18/gpu/drm-kms.html
MODE_PANEL: exceeds panel dimensions

The 60Hz modeline is for reduced blanking, but the 48Hz modeline doesn't fit cvt12 rb (let alone "unreduced")

You could try whether you get away w/

# 1920x1280 @ 48.000 Hz Reduced Blank (CVT) field rate 48.000 Hz; hsync: 62.832 kHz; pclk: 125.66 MHz
Modeline "1920x1280_48.00_rb2"  125.66  1920 1928 1960 2000  1280 1295 1303 1309 +hsync -vsync

Offline

#5 2022-06-13 15:14:47

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,390

Re: xrandr "fakes" the switch to a different refresh rate.

Thanks, but xandr gives me "configure crtc 0 failed", both wirth xf86-video intel and modesetting.
I'm trying to load a custom edid but it fails with:
[drm:edid_load] *ERROR* Requesting EDID firmware "edid/edid.benq.bin" failed (err=-2)

Edit
Silly me, i was using early kms without providing the edid to the initramfs image.

Last edited by kokoko3k (2022-06-13 15:33:05)


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#6 2022-06-13 15:33:34

seth
Member
Registered: 2012-09-03
Posts: 49,992

Re: xrandr "fakes" the switch to a different refresh rate.

-2 is ENOENT, file not found.

Offline

#7 2022-06-13 15:55:50

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,390

Re: xrandr "fakes" the switch to a different refresh rate.

Yes, i managed to load the edid from another arch machine.
While in that machine i was able to change the refresh rate from 50 to 72hz, on this one it only works for 60hz.
Anything different make xrandr returns configure crtc 0 failed.
And this is with the current kernel
With the lts one, the behaviour is perfectly the same, as with non custom edid-loaded.
It say it reconfigured the screen for other refresh rates, but it just did not.

From all of the above i think i can deduce that the problem is not the edid smile

seth wrote:

You could try whether you get away w/

# 1920x1280 @ 48.000 Hz Reduced Blank (CVT) field rate 48.000 Hz; hsync: 62.832 kHz; pclk: 125.66 MHz
Modeline "1920x1280_48.00_rb2"  125.66  1920 1928 1960 2000  1280 1295 1303 1309 +hsync -vsync

Tried.
With the lts kernel to manually add the reduced blanking modeline via xrandr, but as usual it silently set the display to 60hz.
With the current kernel, the same xrandr error.

Last edited by kokoko3k (2022-06-13 16:59:59)


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#8 2022-06-13 20:25:20

seth
Member
Registered: 2012-09-03
Posts: 49,992

Re: xrandr "fakes" the switch to a different refresh rate.

Maybe the PSR doesn't like "random" refresh rates… "i915.enable_psr=0"?

Offline

#9 2022-06-14 08:18:49

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,390

Re: xrandr "fakes" the switch to a different refresh rate.

Good idea, but unfortunately it wasn't it.
Tried with i915.enable_psr=0 and i915.enable_psr2_sel_fetch too.


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#10 2022-06-14 09:20:54

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,390

Re: xrandr "fakes" the switch to a different refresh rate.

I think i understood.
48hz is a powersaving feature named drrs:
https://github.com/torvalds/linux/blob/ … tel_drrs.c

...indeed in the drm debug i see multiple messages saying my panel changed the refresh from 48 to 60 and the error about panel dimension seems misleading:

giu 13 15:35:29 latitude kernel: [drm:drm_mode_prune_invalid] Not using 1920x1280 mode: PANEL

This is from drivers/gpu/drm/i915/display/intel_panel.c:

intel_panel_mode_valid(struct intel_connector *connector,
		       const struct drm_display_mode *mode)
{
	const struct drm_display_mode *fixed_mode =
		intel_panel_fixed_mode(connector, mode);

	if (!fixed_mode)
		return MODE_OK;

	if (mode->hdisplay != fixed_mode->hdisplay)
		return MODE_PANEL;

	if (mode->vdisplay != fixed_mode->vdisplay)
		return MODE_PANEL;

	if (drm_mode_vrefresh(mode) != drm_mode_vrefresh(fixed_mode))
		return MODE_PANEL;

	return MODE_OK;
}

Still, in windows, it is possible to stick to 48hz, which is good for 24p playback

And the question on why it is not possible to switch to arbitrary refresh rates is open, but probably an imposed hardware restriction.

Last edited by kokoko3k (2022-06-14 09:36:00)


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#11 2022-06-14 09:54:58

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,390

Re: xrandr "fakes" the switch to a different refresh rate.

https://gitlab.freedesktop.org/drm/intel/-/issues/6226
seems i've to wait 5.19.
https://gitlab.freedesktop.org/drm/intel/-/issues/125

Last edited by kokoko3k (2022-06-14 11:08:24)


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

Board footer

Powered by FluxBB