You are not logged in.

#1 2021-06-19 04:36:05

Biaogo
Member
Registered: 2020-08-07
Posts: 8

I cannot configure the external screen to 4k

My laptop is using archlinux KDE
Its resolution is 2k ,I connected a 4k monitor
But its resolution is only 1080p and cannot be adjusted to 4k
So I started using methods on the internet
I got some errors

The process is like this:

$ cvt 3840 2160 60

# 3840x2160 59.98 Hz (CVT 8.29M9) hsync: 134.18 kHz; pclk: 712.75 MHz
Modeline "3840x2160_60.00"  712.75  3840 4160 4576 5312  2160 2163 2168 2237 -hsync +vsync
$ xrandr --newmode "3840x2160_60.00"  712.75  3840 4160 4576 5312  2160 2163 2168 2237 -hsync +vsync
$ xrandr --addmode HDMI-0 3840x2160_60.00

X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  140 (RANDR)
  Minor opcode of failed request:  18 (RRAddOutputMode)
  Serial number of failed request:  41
  Current serial number in output stream:  42

Offline

#2 2021-06-19 09:42:14

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 9,452

Re: I cannot configure the external screen to 4k

Adding a custom modeline is not always the correct solution and definitely not the first thing to try.

please post full lspci -k output, brand and model of the external screen .
The spec of the HDMI cable would also be useful , how is it labeled [1]
Are you using X or wayland ?

If X also post xorg log[2]  and xrandr output.



[1] https://en.wikipedia.org/wiki/HDMI#Cables
[2] Incase you're not sure where to find xorg logfiles, check https://wiki.archlinux.org/title/Xorg#General


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
Did you use the guided installer ? If yes, I can't help you.

(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2021-06-21 13:25:31

Biaogo
Member
Registered: 2020-08-07
Posts: 8

Re: I cannot configure the external screen to 4k

Lone_Wolf wrote:

Adding a custom modeline is not always the correct solution and definitely not the first thing to try.

please post full lspci -k output, brand and model of the external screen .
The spec of the HDMI cable would also be useful , how is it labeled [1]
Are you using X or wayland ?

If X also post xorg log[2]  and xrandr output.



[1] https://en.wikipedia.org/wiki/HDMI#Cables
[2] Incase you're not sure where to find xorg logfiles, check https://wiki.archlinux.org/title/Xorg#General

00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Root Complex
	Subsystem: Lenovo Device 3814
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Renoir IOMMU
	Subsystem: Lenovo Device 3815
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
	Kernel driver in use: pcieport
00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
	Kernel driver in use: pcieport
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:02.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
	Kernel driver in use: pcieport
00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
	Kernel driver in use: pcieport
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus
	Kernel driver in use: pcieport
00:08.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus
	Kernel driver in use: pcieport
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 51)
	Subsystem: Lenovo Device 3842
	Kernel driver in use: piix4_smbus
	Kernel modules: i2c_piix4, sp5100_tco
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
	Subsystem: Lenovo Device 3840
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 166a
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 166b
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 166c
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 166d
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 166e
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 166f
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1670
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1671
01:00.0 VGA compatible controller: NVIDIA Corporation Device 2560 (rev a1)
	Subsystem: Lenovo Device 3a80
	Kernel driver in use: nvidia
	Kernel modules: nouveau, nvidia_drm, nvidia
01:00.1 Audio device: NVIDIA Corporation Device 228e (rev a1)
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
02:00.0 Non-Volatile memory controller: Sandisk Corp WD Black 2019/PC SN750 NVMe SSD
	Subsystem: Sandisk Corp WD Black 2019/PC SN750 NVMe SSD
	Kernel driver in use: nvme
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
	DeviceName: Realtek RTL8111E Ethernet LOM
	Subsystem: Lenovo Device 390b
	Kernel driver in use: r8169
	Kernel modules: r8169
04:00.0 Network controller: Intel Corporation Wi-Fi 6 AX200 (rev 1a)
	Subsystem: Intel Corporation Device 0084
	Kernel driver in use: iwlwifi
	Kernel modules: iwlwifi
05:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Zeppelin/Raven/Raven2 PCIe Dummy Function (rev c5)
	Subsystem: Lenovo Device 3803
05:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor
	Subsystem: Lenovo Device 382a
	Kernel driver in use: ccp
	Kernel modules: ccp
05:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir USB 3.1
	Subsystem: Lenovo Device 3828
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci
05:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir USB 3.1
	Subsystem: Lenovo Device 3829
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci
05:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) HD Audio Controller
	Subsystem: Lenovo Device 382b
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
06:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 81)
	Subsystem: Lenovo Device 383f
	Kernel driver in use: ahci
06:00.1 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 81)
	Subsystem: Lenovo Device 383f
	Kernel driver in use: ahci

Offline

#4 2021-06-22 11:42:15

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 9,452

Re: I cannot configure the external screen to 4k

lspci -k output clarifies you only have 1 videocard and it's powered by nvidia blob .

Apart from the other info i asked for also post pacman -Qs nvidia .
Are you using latest firmware for your laptop ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
Did you use the guided installer ? If yes, I can't help you.

(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#5 2021-06-23 12:08:40

Biaogo
Member
Registered: 2020-08-07
Posts: 8

Re: I cannot configure the external screen to 4k

Lone_Wolf wrote:

lspci -k output clarifies you only have 1 videocard and it's powered by nvidia blob .

Apart from the other info i asked for also post pacman -Qs nvidia .
Are you using latest firmware for your laptop ?

local/egl-wayland 1.1.7-1
    EGLStream-based Wayland external platform
local/lib32-libvdpau 1.4-1
    Nvidia VDPAU library
local/libvdpau 1.4-1
    Nvidia VDPAU library
local/libxnvctrl 465.31-1
    NVIDIA NV-CONTROL X extension
local/mhwd-nvidia 465.31-1
    MHWD module-ids for nvidia 465.31
local/mhwd-nvidia-390xx 390.143-1
    MHWD module-ids for nvidia 390.143
local/nvidia 465.31-10
    NVIDIA drivers for linux
local/nvidia-dkms 465.31-1
    NVIDIA drivers - module sources
local/nvidia-settings 465.31-1
    Tool for configuring the NVIDIA graphics driver
local/nvidia-utils 465.31-1
    NVIDIA drivers utilities
local/xf86-video-nouveau 1.0.17-1 (xorg-drivers)
    Open Source 3D acceleration driver for nVidia cards
$ lspci -k
lspci -k
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Root Complex
        Subsystem: Lenovo Device 3814
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Renoir IOMMU
        Subsystem: Lenovo Device 3815
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
        Kernel driver in use: pcieport
00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
        Kernel driver in use: pcieport
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:02.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
        Kernel driver in use: pcieport
00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
        Kernel driver in use: pcieport
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus
        Kernel driver in use: pcieport
00:08.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus
        Kernel driver in use: pcieport
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 51)
        Subsystem: Lenovo Device 3842
        Kernel driver in use: piix4_smbus
        Kernel modules: i2c_piix4, sp5100_tco
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
        Subsystem: Lenovo Device 3840
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 166a
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 166b
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 166c
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 166d
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 166e
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 166f
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1670
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1671
01:00.0 VGA compatible controller: NVIDIA Corporation Device 2560 (rev a1)
        Subsystem: Lenovo Device 3a80
        Kernel driver in use: nvidia
        Kernel modules: nouveau, nvidia_drm, nvidia
01:00.1 Audio device: NVIDIA Corporation Device 228e (rev a1)
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
02:00.0 Non-Volatile memory controller: Sandisk Corp WD Black 2019/PC SN750 NVMe SSD
        Subsystem: Sandisk Corp WD Black 2019/PC SN750 NVMe SSD
        Kernel driver in use: nvme
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
        DeviceName: Realtek RTL8111E Ethernet LOM
        Subsystem: Lenovo Device 390b
        Kernel driver in use: r8169
        Kernel modules: r8169
04:00.0 Network controller: Intel Corporation Wi-Fi 6 AX200 (rev 1a)
        Subsystem: Intel Corporation Device 0084
        Kernel driver in use: iwlwifi
        Kernel modules: iwlwifi
05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Device 1638 (rev c5)
        Subsystem: Lenovo Device 3a80
        Kernel driver in use: amdgpu
        Kernel modules: amdgpu
05:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor
        Subsystem: Lenovo Device 382a
        Kernel driver in use: ccp
        Kernel modules: ccp
05:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir USB 3.1
        Subsystem: Lenovo Device 3828
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci
05:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir USB 3.1
        Subsystem: Lenovo Device 3829
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci
05:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) HD Audio Controller
        Subsystem: Lenovo Device 382b
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
06:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 81)
        Subsystem: Lenovo Device 383f
        Kernel driver in use: ahci
06:00.1 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 81)
        Subsystem: Lenovo Device 383f
        Kernel driver in use: ahci
$ xrandr --addmode HDMI-0 "3840x2160_60.00"

X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  140 (RANDR)
  Minor opcode of failed request:  18 (RRAddOutputMode)
  Serial number of failed request:  39
  Current serial number in output stream:  40
$ xrandr 
Screen 0: minimum 8 x 8, current 1920 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 primary 1920x1080+0+0 (normal left inverted right x axis y axis) 601mm x 329mm
   1920x1080    144.00*+ 120.00   119.88   100.00   100.00    60.00    59.94    50.00  
   1680x1050     59.95  
   1600x900      60.00  
   1440x900      59.89  
   1440x810      60.00  
   1280x1024     75.02    60.02  
   1280x800      59.81  
   1280x720     119.88   100.00    60.00    59.94    50.00  
   1152x864      60.00  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   720x576       50.00  
   720x480       59.94  
   640x480       75.00    59.94    59.93  
DP-4 disconnected (normal left inverted right x axis y axis)
  3840x2160_60.00 (0x22e) 712.750MHz -HSync +VSync
        h: width  3840 start 4160 end 4576 total 5312 skew    0 clock 134.18KHz
        v: height 2160 start 2163 end 2168 total 2237           clock  59.98Hz

Last edited by Biaogo (2021-06-23 12:19:08)

Offline

#6 2021-06-24 13:35:09

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 9,452

Re: I cannot configure the external screen to 4k

From now on please post everything I ask for and answer questions, don't leave things out.

The output of pacman -Qs nvidia indicates you have several nvidia and nvidia-dkms installed, but also aur stuff backported from manjaro to archlinux .

In order to help you I need to know more about your setup.
as root run

# SYSTEMD_LESS=FRXMK journalctl |& curl -F 'f:1=<-' ix.io 
# dmesg -T |& curl -F 'f:1=<-' ix.io 

each of those commands will output a link, post them .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
Did you use the guided installer ? If yes, I can't help you.

(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

Board footer

Powered by FluxBB