You are not logged in.

#1 2023-12-31 14:04:38

truegeek
Member
Registered: 2023-12-31
Posts: 2

[SOLVED] Attempting to get 4K display to work at 60Hz

My goal is to get my display to show at a 60Hz refresh rate.  I have 4K TV connected to a Dell XPS 13 2-in-1 (9315) tablet via a USB-C Thunderbolt 4 capable hub.  Currently I'm triple booting (Windows, Ubuntu, and Arch).  Windows can provide me the expected refresh rate at full resolution (4096x2160, 60Hz).  Arch defaults to 3840x2160@30Hz.  I forced 4096x2160@60Hz using xrandr and had no output.  I also tried 3840x2160@60Hz and got a garbled output (picture was in the top third and there were scrolling lines on the bottom half. 

From what I read, it looks like this is typically a bandwidth issue. Since, windows works I assume that the Kernel is initializing/detecting something incorrectly.  My Google skills have been exhausted trying to puzzle this out.  Any input on how to troubleshoot this further is greatly appreciated.

I'm including /proc/version, lspci output, and lsusb output below as it seems they should have a pretty good baseline of what is going on.

/proc/version

Linux version 6.6.8-arch1-1 (linux@archlinux) (gcc (GCC) 13.2.1 20230801, GNU ld (GNU Binutils) 2.41.0) #1 SMP PREEMPT_DYNAMIC Thu, 21 Dec 2023 19:01:01 +0000

Linux lspci

0000:00:00.0 Host bridge: Intel Corporation Alder Lake Host and DRAM Controller (rev 06) 
0000:00:02.0 VGA compatible controller: Intel Corporation Alder Lake-UP4 GT2 [Iris Xe Graphics] (rev 0c) 
0000:00:04.0 Signal processing controller: Intel Corporation Alder Lake Innovation Platform Framework Processor Participant (rev 06) 
0000:00:05.0 Multimedia controller: Intel Corporation Alder Lake Imaging Signal Processor (rev 06) 
0000:00:06.0 System peripheral: Intel Corporation RST VMD Managed Controller 
0000:00:07.0 PCI bridge: Intel Corporation Alder Lake-P Thunderbolt 4 PCI Express Root Port #0 (rev 06) 
0000:00:07.1 PCI bridge: Intel Corporation Alder Lake-P Thunderbolt 4 PCI Express Root Port #1 (rev 06) 
0000:00:08.0 System peripheral: Intel Corporation 12th Gen Core Processor Gaussian & Neural Accelerator (rev 06) 
0000:00:0d.0 USB controller: Intel Corporation Alder Lake-P Thunderbolt 4 USB Controller (rev 06) 
0000:00:0d.2 USB controller: Intel Corporation Alder Lake-P Thunderbolt 4 NHI #0 (rev 06) 
0000:00:0e.0 RAID bus controller: Intel Corporation Volume Management Device NVMe RAID Controller 
0000:00:12.0 Serial controller: Intel Corporation Alder Lake-P Integrated Sensor Hub (rev 01) 
0000:00:14.0 USB controller: Intel Corporation Alder Lake PCH USB 3.2 xHCI Host Controller (rev 01) 
0000:00:14.2 RAM memory: Intel Corporation Alder Lake PCH Shared SRAM (rev 01) 
0000:00:14.3 Network controller: Intel Corporation Alder Lake-P PCH CNVi WiFi (rev 01) 
0000:00:15.0 Serial bus controller: Intel Corporation Alder Lake PCH Serial IO I2C Controller #0 (rev 01) 
0000:00:15.1 Serial bus controller: Intel Corporation Alder Lake PCH Serial IO I2C Controller #1 (rev 01) 
0000:00:15.2 Serial bus controller: Intel Corporation Alder Lake PCH Serial IO I2C Controller #2 (rev 01) 
0000:00:16.0 Communication controller: Intel Corporation Alder Lake PCH HECI Controller (rev 01) 
0000:00:19.0 Serial bus controller: Intel Corporation Alder Lake-P Serial IO I2C Controller #0 (rev 01) 
0000:00:1f.0 ISA bridge: Intel Corporation Alder Lake LPC Controller (rev 01) 
0000:00:1f.3 Audio device: Intel Corporation Alder Lake Smart Sound Technology Audio Controller (rev 01) 
0000:00:1f.4 SMBus: Intel Corporation Alder Lake PCH-P SMBus Host Controller (rev 01) 
0000:00:1f.5 Serial bus controller: Intel Corporation Alder Lake-P PCH SPI Controller (rev 01) 
10000:e0:06.0 PCI bridge: Intel Corporation 12th Gen Core Processor PCI Express x4 Controller #0 (rev 06) 
10000:e1:00.0 Non-Volatile memory controller: KIOXIA Corporation NVMe SSD Controller BG5 (DRAM-less)

Linux lsusb

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub 
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub 
Bus 002 Device 002: ID 291a:a817 Anker                   USB3.0 Hub              
Bus 002 Device 003: ID 2109:0824 VIA Labs, Inc. USB3.1 Hub              
Bus 002 Device 004: ID 0b95:1790 ASIX Electronics Corp. AX88179 Gigabit Ethernet 
Bus 002 Device 005: ID 0bda:8153 Realtek Semiconductor Corp. RTL8153 Gigabit Ethernet Adapter 
Bus 002 Device 006: ID 05e3:0749 Genesys Logic, Inc. SD Card Reader and Writer 
Bus 002 Device 007: ID 346d:3281 General USB Flash Disk 
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub 
Bus 003 Device 002: ID 27c6:6382 Shenzhen Goodix Technology Co.,Ltd. Goodix USB2.0 MISC 
Bus 003 Device 003: ID 291a:b817 Anker                   USB2.0 Hub              
Bus 003 Device 004: ID 2109:2824 VIA Labs, Inc. USB2.0 Hub              
Bus 003 Device 005: ID 8087:0033 Intel Corp. AX211 Bluetooth 
Bus 003 Device 006: ID 291a:8338 Anker Innovations Limited. Anker USB-C Hub Device  
Bus 003 Device 007: ID 1a40:0801 Terminus Technology Inc. USB 2.0 Hub 
Bus 003 Device 008: ID 248a:8873 Maxxter USB LOCK KEY 
Bus 003 Device 009: ID 3938:1283  Multi-Device Keyboard and Mouse 
Bus 003 Device 010: ID 3938:1283  Multi-Device Keyboard and Mouse 
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

lsusb Tree View

/:  Bus 001.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/1p, 480M 
    ID 1d6b:0002 Linux Foundation 2.0 root hub 
/:  Bus 002.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/2p, 20000M/x2 
    ID 1d6b:0003 Linux Foundation 3.0 root hub 
    |__ Port 001: Dev 002, If 0, Class=Hub, Driver=hub/4p, 5000M 
        ID 291a:a817   
        |__ Port 004: Dev 004, If 0, Class=Communications, Driver=cdc_ncm, 5000M 
            ID 0b95:1790 ASIX Electronics Corp. AX88179 Gigabit Ethernet 
        |__ Port 004: Dev 004, If 1, Class=CDC Data, Driver=cdc_ncm, 5000M 
            ID 0b95:1790 ASIX Electronics Corp. AX88179 Gigabit Ethernet 
    |__ Port 002: Dev 003, If 0, Class=Hub, Driver=hub/4p, 10000M 
        ID 2109:0824 VIA Labs, Inc.  
        |__ Port 001: Dev 005, If 0, Class=Vendor Specific Class, Driver=r8152, 5000M 
            ID 0bda:8153 Realtek Semiconductor Corp. RTL8153 Gigabit Ethernet Adapter 
        |__ Port 002: Dev 006, If 0, Class=Mass Storage, Driver=usb-storage, 5000M 
            ID 05e3:0749 Genesys Logic, Inc. SD Card Reader and Writer 
        |__ Port 003: Dev 007, If 0, Class=Mass Storage, Driver=usb-storage, 5000M 
            ID 346d:3281   
/:  Bus 003.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/12p, 480M 
    ID 1d6b:0002 Linux Foundation 2.0 root hub 
    |__ Port 003: Dev 002, If 0, Class=Vendor Specific Class, Driver=[none], 12M 
        ID 27c6:6382 Shenzhen Goodix Technology Co.,Ltd.  
    |__ Port 005: Dev 003, If 0, Class=Hub, Driver=hub/5p, 480M 
        ID 291a:b817   
        |__ Port 005: Dev 006, If 0, Class=Billboard, Driver=[none], 480M 
            ID 291a:8338   
    |__ Port 006: Dev 004, If 0, Class=Hub, Driver=hub/4p, 480M 
        ID 2109:2824 VIA Labs, Inc.  
        |__ Port 002: Dev 007, If 0, Class=Hub, Driver=hub/4p, 480M 
            ID 1a40:0801 Terminus Technology Inc.  
            |__ Port 001: Dev 009, If 0, Class=Human Interface Device, Driver=usbhid, 12M 
                ID 3938:1283   
            |__ Port 001: Dev 009, If 1, Class=Human Interface Device, Driver=usbhid, 12M 
                ID 3938:1283   
            |__ Port 002: Dev 010, If 0, Class=Human Interface Device, Driver=usbhid, 12M 
                ID 3938:1283   
            |__ Port 002: Dev 010, If 1, Class=Human Interface Device, Driver=usbhid, 12M 
                ID 3938:1283   
        |__ Port 004: Dev 008, If 0, Class=Human Interface Device, Driver=usbhid, 12M 
            ID 248a:8873 Maxxter  
        |__ Port 004: Dev 008, If 1, Class=Human Interface Device, Driver=usbhid, 12M 
            ID 248a:8873 Maxxter  
    |__ Port 010: Dev 005, If 0, Class=Wireless, Driver=btusb, 12M 
        ID 8087:0033 Intel Corp. AX211 Bluetooth 
    |__ Port 010: Dev 005, If 1, Class=Wireless, Driver=btusb, 12M 
        ID 8087:0033 Intel Corp. AX211 Bluetooth 
/:  Bus 004.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/4p, 10000M 
    ID 1d6b:0003 Linux Foundation 3.0 root hub 

Last edited by truegeek (2024-01-01 14:07:36)

Offline

#2 2023-12-31 15:12:10

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,403

Re: [SOLVED] Attempting to get 4K display to work at 60Hz

Please post your Xorg log, https://wiki.archlinux.org/title/Xorg#General and the output of "xrandr --verbose"
If you tried to add a naive modeline, that's probably gonna fail

# 4096x2160 @ 60.000 Hz (CVT) field rate 59.982 Hz; hsync: 134.181 kHz; pclk: 760.00 MHz
Modeline "4096x2160_60.00"  760.00  4096 4432 4880 5664  2160 2163 2173 2237 -hsync +vsync

Rather try CVT1.2 reduce blanking

# 4096x2160 @ 60.000 Hz Reduced Blank (CVT) field rate 60.000 Hz; hsync: 133.320 kHz; pclk: 556.74 MHz
Modeline "4096x2160_60.00_rb2"  556.74  4096 4104 4136 4176  2160 2208 2216 2222 +hsync -vsync

Because of windows:
1. 3rd link below. Mandatory.
Disable it (it's NOT the BIOS setting!) and reboot windows and linux twice for voodo reasons.
2. Did you check the mode in windows or the monitors OSD?

Is the TV attached via DP or HDMI?
Also, what is "a USB-C Thunderbolt 4 capable hub" (vendor/model)?

Offline

#3 2024-01-01 14:06:49

truegeek
Member
Registered: 2023-12-31
Posts: 2

Re: [SOLVED] Attempting to get 4K display to work at 60Hz

Seth, thanks for the help, that gave me the direction to get this working.  For posterities sake, here is what I did:

1. Disabled Windows fast boot as instructed.
2. Set 4096x2160 at 60Hz, which worked using below commands

xrandr --newmode "4096x2160_60.00_rb2"  556.74  4096 4104 4136 4176  2160 2208 2216 2222 +hsync -vsync
xrandr --addmode DP-2 "4096x2160_60.00_rb2"
xrandr --output DP-2 --mode "4096x2160_60.00_rb2"

3. Since the display is actually 3840x2160, I then generated a new Modline and change to that mode using the below commands:

cvt -r 3840 2160 60
xrandr --newmode "3840x2160R"  533.00  3840 3888 3920 4000  2160 2163 2168 2222 +hsync -vsync
xrandr --addmode DP-2 "3840x2160R"
xrandr --output DP-2 --mode "3840x2160R"

A couple more points for reference:

Offline

#4 2024-01-01 14:16:46

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,403

Re: [SOLVED] Attempting to get 4K display to work at 60Hz

https://aur.archlinux.org/packages/cvt12-git

 ◉ cvt12 3840 2160 60 -b                    
# 3840x2160 @ 60.000 Hz Reduced Blank (CVT) field rate 60.000 Hz; hsync: 133.320 kHz; pclk: 522.61 MHz
Modeline "3840x2160_60.00_rb2"  522.61  3840 3848 3880 3920  2160 2208 2216 2222 +hsync -vsync

https://en.wikipedia.org/wiki/Coordinated_Video_Timings

Offline

Board footer

Powered by FluxBB