marietto Is there a way to check if DRM_MAX_RESOLUTION is configured correctly ?
As long as its uncommented, it should be OK.
marietto ok. now inside the folder /etc/X11/xorg.conf.d I have a file called "xorg-modesetting.conf" with this content inside :
Section "Device"
Identifier "Card0"
Driver "modesetting"
BusID "pci:0:2:0"
EndSection
Even with BusID "pci:0:2:0"
added, things are the same with the Intel DRM driver:
[ 1.000000] [ 377.000000] nouveau* disabled
...
[ 1.015531] i915drmkms0 at pci0 dev 2 function 0: Intel UHD Graphics 630 (rev. 0x02)
...
[ 10.221872] kern.module.path=/stand/amd64/9.99.82/modules
[ 10.231872] kern info: [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 10.231872] kern info: [drm] Driver supports precise vblank timestamp query.
[ 10.231872] kern info: [drm] Failed to find VBIOS tables (VBT)
[ 10.231872] allocated pic msi9 type edge pin 0 level 6 to cpu1 slot 2 idt entry 98
[ 10.231872] i915drmkms0: interrupting at msi9 vec 0 (i915drmkms0)
[ 10.231872] kern info: [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_04.bin (v1.4)
[ 10.501871] kern info: [drm] failed to retrieve link info, disabling eDP
[ 10.521872] kern info: [drm] Initialized i915 1.6.0 20200114 for i915drmkms0 on minor 0
[ 12.071867] i915drmkms0: info: [drm] Cannot find any crtc or sizes
[ 12.081866] kern info: [drm] DRM_I915_DEBUG enabled
[ 12.081866] kern info: [drm] DRM_I915_DEBUG_GEM enabled
[ 14.231859] i915drmkms0: info: [drm] Cannot find any crtc or sizes
...
No intelfb0
framebuffer is created, and so we have in the Xorg.log
file:
[ 320.124] (EE) open /dev/dri/card0: No such file or directory
[ 320.124] (WW) Falling back to old probe method for modesetting
[ 320.124] (EE) open /dev/dri/card0: No such file or directory
[ 320.124] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 320.124] (EE) Screen 0 deleted because of no matching config section.
[ 320.125] (II) UnloadModule: "modesetting"
[ 320.125] (EE) Device(s) detected, but none match those in the config file.
X is still loading the nouveau
video driver for some reason...
Post these logs on Github.
For the Nvidia card:
marietto experiment n. 2,with this xorg.conf file 😀
Section "Device"
Identifier "Card0"
Driver "modesetting"
BusID "pci:1:0:0"
EndSection
The nouveau
DRM driver didn't configure either of your Nvidia cards, so only genfb
is running on all 3:
[ 1.000000] [ 373.000000] i915drmkms* disabled
...
[ 1.012984] genfb0 at pci1 dev 0 function 0: NVIDIA product 1e04 (rev. 0xa1)
[ 1.012984] genfb0: framebuffer at 0x40000000, size 1920x1080, depth 32, stride 7680
[ 1.012984] genfb0: shadow framebuffer enabled, size 8100 KB
[ 1.012984] wsdisplay0 at genfb0 kbdmux 1: console (default, vt100 emulation)
[ 1.012984] wsmux1: connecting to wsdisplay0
[ 1.012984] drm at genfb0 not configured
...
[ 1.012984] genfb1 at pci2 dev 0 function 0: NVIDIA GeForce GTX 1060 3GB (rev. 0xa1)
...
[ 1.012984] genfb2 at pci0 dev 2 function 0: Intel UHD Graphics 630 (rev. 0x02)
And, in Xorg.log
:
[ 53.577] (EE) open /dev/dri/card0: Operation not supported by device
[ 53.577] (WW) Falling back to old probe method for modesetting
[ 53.577] (EE) open /dev/dri/card0: Operation not supported by device
[ 53.577] (EE) No devices detected.
(in this case,for some reason,the screen didn't turn off,but X does not start)
The screen didn't turn off because you're running on genfb
(no Nvidia DRM drivers have taken over!); and X hasn't started because the modesetting
driver needs DRM kernel drivers. It won't run on top of genfb
.
- For the Intel test, the Intel card was set as primary in BIOS, right?
- And, no KVM (keyboard, video, mouse) switches between the card and monitor, right? Direct connection?
Fortune cookie: You have bad luck. Maybe luck will change later.