Hi guys, I'v configured my Xorg to use both intel & nvidia card on my laptop.
And I also have a dock with my Thinkpad T470. When I disconnected the laptop from dock then connect the laptop to the dock again, the secondary monitor can not light-up. There is an error with /var/log/Xorg.0.log : ``` [ 152.296] (II) modeset(0): Allocate new frame buffer 3840x1080 stride [ 152.339] (EE) modeset(0): failed to set mode: Invalid argument [ 152.692] (II) modeset(0): Allocate new frame buffer 1920x1080 stride ``` 3480 is just equal to my 2 monitors width (each 1920, 1920 x 2 = 3480) And if I try to use xrandr to active the secondary monitor, there is an error too: ``` >> xrandr --output DP-2-1 --mode '1920x1080' --right-of eDP-1 --verbose screen 0: 3840x1080 814x229 mm 119.79dpi crtc 1: 1920x1080 60.00 +1920+0 "DP-2-1" xrandr: Configure crtc 1 failed crtc 0: disable crtc 1: disable crtc 2: disable screen 0: revert crtc 0: revert crtc 1: revert crtc 2: revert ``` It seems I didn't configure my screen correctly, is there anyone knows how to fix this problem ? Below is my Xorg's monitor configuration: ``` Section "ServerLayout" Identifier "layout" Screen 0 "iGPU" Option "AllowNVIDIAGPUScreens" EndSection Section "Device" Identifier "iGPU" Driver "modesetting" BusID "PCI:0:2:0" Option "PrimaryGPU" "yes" Option "monitor-eDP-1" "LaptopMonitor" Option "monitor-DP-2-1" "CompanyMonitor" EndSection Section "Screen" Identifier "iGPU" Device "iGPU" EndSection Section "Device" Identifier "dGPU" Driver "nvidia" Option "AllowEmptyInitialConfiguration" "true" EndSection Section "Monitor" Identifier "LaptopMonitor" #DisplaySize 541 304 DisplaySize 406 229 Option "Primary" "true" Option "DPMS" EndSection Section "Monitor" Identifier "CompanyMonitor" #DisplaySize 508 285 DisplaySize 406 229 Option "DPMS" Option "LeftOf" "LaptopMonitor" EndSection ```
_______________________________________________ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: https://lists.x.org/mailman/listinfo/xorg Your subscription address: %(user_address)s