Created attachment 174093 [details] kwinoutputconfig shows 30 hz for one display that should be 60 SUMMARY Using ThinkPad P16v gen2 w/Intel GPU + NVidia a1000 GPU and IBM ThinkVision 4k monitor P32p-20 the external display has incorrect refresh rate. STEPS TO REPRODUCE 1. Install default Fedora 40 KDE spin on thinkpad 2. plug in 4k monitor using HDMI or USB-C 3. Install NVidia driver (maybe does not matter?) OBSERVED RESULT Correct 60 Hz refresh rate on laptop display Incorrect 30 Hz refresh rate on external monitor - should be 60, not 30. EXPECTED RESULT 60 Hz on both displays SOFTWARE/OS VERSIONS Fedora 40 KDE Plasma 6.1.5 KDE Frameworks 6.6.0 Qt 6.7.2 Wayland ADDITIONAL INFORMATION
Created attachment 174094 [details] output from kscreen-doctor -o"
60hz for a 4k screen requires HDMI 2.0 (or later). This means that the GPU, computer, cable, and monitor all have to support that version of HDMI, or a later one. If any link in the chain does not, then it will degrade to the oldest supported version of HDMI, which is likely 1.4. And HDMI 1.4 only supports 4K screens at 30hz. So I suspect this is what's happening. Can you check?
(In reply to Nate Graham from comment #2) > 60hz for a 4k screen requires HDMI 2.0 (or later). This means that the GPU, > computer, cable, and monitor all have to support that version of HDMI, or a > later one. If any link in the chain does not, then it will degrade to the > oldest supported version of HDMI, which is likely 1.4. And HDMI 1.4 only > supports 4K screens at 30hz. So I suspect this is what's happening. > > Can you check? I have used the laptop at 4k@60Hz with other monitors. Same w/the cables. Everything worked fine on my older ThinkPad. This P16v G2 is new and should do min 6k, maybe 8k. I'm seeing same behavior on HDMI and DP. Looks like correct EDID data appears but is not honored: # monitor-edid Name: LEN P32p-20 EISA ID: LEN62a2 EDID version: 1.4 EDID extension blocks: 1 Screen size: 69.7 cm x 39.2 cm (31.48 inches, aspect ratio 16/9 = 1.78) Gamma: 2.2 Digital signal Max video bandwidth: 600 MHz HorizSync 30-160 VertRefresh 23-76 # Monitor preferred modeline (60.0 Hz vsync, 133.3 kHz hsync, ratio 16/9, 139 dpi) ModeLine "3840x2160" 533.25 3840 3888 3920 4000 2160 2163 2168 2222 -hsync +vsync
Notice that in the screen-doctor output it's setting 30 Hz for ALL resolutions. Odd.
Thanks lot for the info.
Please attach the output of drm_info
Created attachment 174120 [details] drm_info output
Notice the max 30hz modes... │ ├───Connector 5 │ │ ├───Object ID: 286 │ │ ├───Type: DisplayPort │ │ ├───Status: connected │ │ ├───Physical size: 700×390 mm │ │ ├───Subpixel: unknown │ │ ├───Encoders: {16} │ │ ├───Modes │ │ │ ├───3840×2160@30.00 driver phsync pvsync 16:9 │ │ │ ├───3840×2160@29.97 driver phsync pvsync 16:9 │ │ │ ├───3840×2160@29.98 driver phsync nvsync
Yeah, those are the modes exposed by the kernel, which is why KWin doesn't offer you a 60Hz mode either. This is most likely a driver bug, which you can report at https://gitlab.freedesktop.org/drm/i915/kernel/-/issues
(In reply to Zamundaaa from comment #9) > This is most likely a driver bug, which you can report at > https://gitlab.freedesktop.org/drm/i915/kernel/-/issues Do you think it's an i915 or Nvidia bug? # inxi -G Graphics: Device-1: Intel Meteor Lake-P [Intel Arc Graphics] driver: i915 v: kernel Device-2: NVIDIA AD107GLM [RTX 1000 Ada Generation Laptop GPU] driver: nvidia v: 560.35.03 Device-3: Logitech HD Pro Webcam C920 driver: snd-usb-audio,uvcvideo type: USB Device-4: Luxvisions Innotech Integrated Camera driver: uvcvideo type: USB Display: server: X.Org v: 24.1.2 with: Xwayland v: 24.1.2 driver: X: loaded: modesetting dri: iris gpu: i915 resolution: 1: 6144x3456~30Hz 2: 3840x2400~60Hz API: EGL v: 1.5 drivers: iris,swrast platforms: gbm,x11,surfaceless,device API: OpenGL v: 4.6 compat-v: 4.5 vendor: nvidia mesa v: 560.35.03 renderer: NVIDIA RTX 1000 Ada Generation Laptop GPU/PCIe/SSE2 API: Vulkan v: 1.3.290 drivers: N/A surfaces: xcb,xlib # more /etc/environment KWIN_DRM_DEVICES=/dev/dri/card1:/dev/dri/card0 KWIN_DRM_NO_AMS=1 KWIN_FORCE_SW_CURSOR=1 __GL_SHOW_GRAPHICS_OSD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia __NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only