You are not logged in.

#1 2020-12-31 10:42:56

bjornp_
Member
Registered: 2020-12-31
Posts: 6

[SOLVED] Kernel 5.10 External Monitor Issues

I've updated to Kernel 5.10 this morning and my external monitor refuses to work. Xrandr throws a bunch of errors I don't understand.

I have my xorg server running on an Intel integrated gpu. I use my nvidia gpu for prime rendering and for a second display that it's connected to. I don't have an xorg.conf and normally this allows me to use both my internal laptop display and my external nvidia display.

The output of `xrandr --auto`:

$ xrandr --auto
xrandr: Configure crtc 3 failed
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  140 (RANDR)
  Minor opcode of failed request:  21 (RRSetCrtcConfig)
  Value in failed request:  0x0
  Serial number of failed request:  57
  Current serial number in output stream:  57

The exact same error occurs when manually setting the resolution of the second display with --output HDMI-1-0 --mode.

Some extra maybe helpful information:

$ inxi -aG
Graphics:  Device-1: Intel UHD Graphics 630 vendor: Lenovo driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:3e9b 
           Device-2: NVIDIA TU117M [GeForce GTX 1650 Mobile / Max-Q] vendor: Lenovo driver: nvidia v: 455.45.01 
           alternate: nouveau,nvidia_drm bus ID: 01:00.0 chip ID: 10de:1f91 
           Device-3: Lite-On Integrated Camera type: USB driver: uvcvideo bus ID: 1-8:5 chip ID: 04ca:7070 
           Display: x11 server: X.Org 1.20.10 compositor: picom v: git-dac85 driver: modesetting,nvidia 
           alternate: fbdev,intel,nouveau,nv,vesa display ID: :0 screens: 1 
           Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") s-diag: 582mm (22.9") 
           Monitor-1: eDP-1 res: 1920x1080 hz: 60 dpi: 142 size: 344x193mm (13.5x7.6") diag: 394mm (15.5") 
           OpenGL: renderer: Mesa Intel UHD Graphics 630 (CFL GT2) v: 4.6 Mesa 20.3.1 direct render: Yes 
$ xrandr -q
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
   1920x1080     60.01*+  60.01    59.97    59.96    59.93  
   1680x1050     59.95    59.88  
   1400x1050     59.98  
   1600x900      59.99    59.94    59.95    59.82  
   1280x1024     60.02  
   1400x900      59.96    59.88  
   1280x960      60.00  
   1440x810      60.00    59.97  
   1368x768      59.88    59.85  
   1280x800      59.99    59.97    59.81    59.91  
   1280x720      60.00    59.99    59.86    59.74  
   1024x768      60.04    60.00  
   960x720       60.00  
   928x696       60.05  
   896x672       60.01  
   1024x576      59.95    59.96    59.90    59.82  
   960x600       59.93    60.00  
   960x540       59.96    59.99    59.63    59.82  
   800x600       60.00    60.32    56.25  
   840x525       60.01    59.88  
   864x486       59.92    59.57  
   700x525       59.98  
   800x450       59.95    59.82  
   640x512       60.02  
   700x450       59.96    59.88  
   640x480       60.00    59.94  
   720x405       59.51    58.99  
   684x384       59.88    59.85  
   640x400       59.88    59.98  
   640x360       59.86    59.83    59.84    59.32  
   512x384       60.00  
   512x288       60.00    59.92  
   480x270       59.63    59.82  
   400x300       60.32    56.34  
   432x243       59.92    59.57  
   320x240       60.05  
   360x202       59.51    59.13  
   320x180       59.84    59.32  
DP-1-0 disconnected
DP-1-1 disconnected
HDMI-1-0 connected
   1920x1080     60.00 +  59.94    50.00  
   1680x1050     59.95  
   1600x900      60.00  
   1440x900      59.89  
   1280x1024     60.02  
   1280x800      59.81  
   1280x720      60.00    59.94    50.00  
   1024x768      60.00  
   800x600       60.32  
   720x576       50.00  
   720x480       59.94  
   640x480       59.94    59.93  
  1680x1050 (0x49) 146.250MHz -HSync +VSync
        h: width  1680 start 1784 end 1960 total 2240 skew    0 clock  65.29KHz
        v: height 1050 start 1053 end 1059 total 1089           clock  59.95Hz
  1280x1024 (0x50) 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
  1280x800 (0x5a) 83.500MHz -HSync +VSync
        h: width  1280 start 1352 end 1480 total 1680 skew    0 clock  49.70KHz
        v: height  800 start  803 end  809 total  831           clock  59.81Hz
  1024x768 (0x61) 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 (0x70) 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 (0x7d) 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

Any help would be greatly appreciated

Edit: I've temporarily fixed the issue by letting my nvidia card run xorg instead of intel using `nvidia-xconfig --prime` then following the instructions. While this works, it's for me less then ideal since I can't use my laptop without the second monitor now.

Edit2: Reverting to linux-lts kernel has solved the issue so I'll stay there for now

Edit3 (Jan 7th): It seems the issue is fixed by using the latest versions for linux and nvidia both released earlier today. For me that is linux 5.10.5.arch1-1 and nvidia 460.32.03-1.

Last edited by bjornp_ (2021-01-07 18:23:21)

Offline

#2 2021-01-01 15:03:18

bastardo
Member
Registered: 2008-11-29
Posts: 14

Re: [SOLVED] Kernel 5.10 External Monitor Issues

Thank you for your workarounds. I don't have much to help solve your issue, I just wanted to say that I have the exact same errors.

My GPU is an 1060M and my external hdmi is also connected to it and I'm using reverse prime.
Laptop is an A717-72G with an i7-8750H.

Offline

#3 2021-01-02 20:33:46

archsavedme
Member
Registered: 2021-01-02
Posts: 1

Re: [SOLVED] Kernel 5.10 External Monitor Issues

Hi, I also have this issue (after the update but I'm not sure of what since I did pacman -Syu). xrandr doesn't find the monitor but it say HDMI is connected showing also the available resolutions.
Actually, I tried to fix it through the configuration of xorg.conf. I used nvidia-xconfig as base and modified it.

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    Screen      1  "Screen1"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    Option         "DPMS"
EndSection
Section "Device"
    Identifier     "Device0"
    Driver         "intel"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "Unknown"
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "Nvidia Corporation"
EndSection
Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
EndSection

I tried to add the  BusID, use nvidia and intel drivers, set only one screen and any possible combination. The best result I achieved is to let the second monitor work with nvidia driver but the main one is not even detected. Intel-virtual-output doesn't help or it even makes the GUI crash. I don't know what else to try

Offline

#4 2021-01-04 08:05:57

bjornp_
Member
Registered: 2020-12-31
Posts: 6

Re: [SOLVED] Kernel 5.10 External Monitor Issues

With today's update to linux 5.10.4.arch2-1 and nvidia 455.45.01-12, the issue is not yet fixed

Offline

#5 2021-01-04 10:56:06

Moopy
Member
Registered: 2020-03-02
Posts: 4

Re: [SOLVED] Kernel 5.10 External Monitor Issues

I also want to add that I have the exact same issues.
Laptop: MSI GS75 Stealth

$lspci -k  | grep -A 2 -E "(VGA|3D)" 
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics (rev 05)
	DeviceName: Onboard - Video
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device 12b0
--
01:00.0 VGA compatible controller: NVIDIA Corporation TU106M [GeForce RTX 2060 Mobile] (rev a1)
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device 12b0
$xrandr --auto
xrandr: Configure crtc 4 failed
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  140 (RANDR)
  Minor opcode of failed request:  21 (RRSetCrtcConfig)
  Value in failed request:  0x0
  Serial number of failed request:  74
  Current serial number in output stream:  74

I'll also point out  that I'm using a USB-C dock to which my 2 external monitors are attached. Never been an issue until now.

Initially I reverted back to linux 5.9.14.arch1-1 which worked but I don't want to have my other software be outdated too so I changed to linux-lts and nvidia-lts which lets me keep working with my external monitors. Please don't mark this thread as solved until linux (not linux-lts) works again. Other threads seem content with linux-lts but that's just avoiding the problem.

Offline

#6 2021-01-05 13:30:22

bastardo
Member
Registered: 2008-11-29
Posts: 14

Re: [SOLVED] Kernel 5.10 External Monitor Issues

bjornp_ wrote:

With today's update to linux 5.10.4.arch2-1 and nvidia 455.45.01-12, the issue is not yet fixed

Again, thank you for testing and same here.

Offline

#7 2021-01-07 16:24:51

abhixec
Member
Registered: 2019-07-08
Posts: 23

Re: [SOLVED] Kernel 5.10 External Monitor Issues

https://bbs.archlinux.org/viewtopic.php … 9#p1948339
Installing nvidia beta driver from aur fixes this issue.

Offline

#8 2021-01-07 18:21:07

bjornp_
Member
Registered: 2020-12-31
Posts: 6

Re: [SOLVED] Kernel 5.10 External Monitor Issues

It seems the issue is fixed by using the latest packages for linux and nvidia. For me that is 5.10.5.arch1-1 and 460.32.03-1 respectively

Offline

#9 2021-01-07 18:22:07

bastardo
Member
Registered: 2008-11-29
Posts: 14

Re: [SOLVED] Kernel 5.10 External Monitor Issues

bjornp_ wrote:

It seems the issue is fixed by using the latest packages for linux and nvidia. For me that is 5.10.5.arch1-1 and 460.32.03-1 respectively

Also for me!
Solved

Offline

#10 2021-01-19 23:14:02

alu1
Member
Registered: 2014-05-16
Posts: 14

Re: [SOLVED] Kernel 5.10 External Monitor Issues

I've still got external monitor issues with 5.10.7-arch1-1 and 460.32.03-1 (for completeness intel i915 driving intel integrated gpu, using bumblee and xorg).  My laptop that has been rock solid in this setup for years freezes several times a day requiring hard power down.  The crash is weird in that the screen becomes static but the mouse cursor still moves but is locked to the external monitor (rather than usual spanning across two screens).  Mouse clicks and internal/external keyboard input are unresponsive.  No way to get into a console or restart the xserver.  On reboot I cannot find any errors in journalctl.  On reboot on most occasions the external monitor attached becomes no longer recognised.  Only on power cycling the monitor and/or removing the HDMI cable from the laptop (not sure which) does xrandr (mostly but not always) recognise the external monitor again.  Been going on most of Jan.  I'm finding it very difficult to pin this one down.

Offline

#11 2021-01-19 23:16:30

bjornp_
Member
Registered: 2020-12-31
Posts: 6

Re: [SOLVED] Kernel 5.10 External Monitor Issues

I've actually been having similar issues too. I've also found that disabling the internal display of my laptop makes performance on the external display unusable. I guess we'll have to wait on new updates to fix this as I can't get any logs either

Offline

#12 Yesterday 21:16:00

str0gg
Member
Registered: 2012-12-01
Posts: 22
Website

Re: [SOLVED] Kernel 5.10 External Monitor Issues

5.10.9 + 460.32.03-5 broken again... (primu-run config)

Last edited by str0gg (Yesterday 21:16:24)

Offline

Board footer

Powered by FluxBB