System: ASUS Z390-PRO with i5-9600K and Debian 4.19.67-2+deb10u2 and i915 Intel graphics
I am trying to install a second graphics adapter (MSI Radeon HD 5450). Relevant output from lspci:
00:02.0 VGA compatible controller: Intel Corporation Device 3e98
02:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cedar [Radeon HD 5000/6000/7350/8350 Series]
The system is a clean install that is working fine without the second adapter. I think I have come a long way with the configuration but something is still missing after two days of work. I get the following error in my /var/log/lightdm/x-0.log:
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
modprobe: FATAL: Module fbcon not found in directory /lib/modules/4.19.0-6-amd64
intel: waited 2020 ms for i915.ko driver to load
(II) [KMS] Kernel modesetting enabled.
I can not access the tty[1-6] nor is there anything on the graphics output post the GRUB menu when the second card is booted up. Interestingly, when I xrdp into the box, I can start my Xcfe4 desktop just fine!
I am using the following xorg.conf file, which should be OK for the system:
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "Screen0"
EndSection
Section "Module"
Load "glx"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Monitor"
Identifier "Monitor1"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Device"
Identifier "Intel Graphics 3e98 i915"
Driver "intel"
BusID "PCI:0@0:2:0"
Option "Primary" "true"
EndSection
Section "Device"
Identifier "MSI Radeon HD 5450"
Driver "amdgpu"
BusID "PCI:2@0:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Intel Graphics 3e98 i915"
Monitor "Monitor0"
EndSection
Section "Screen"
Identifier "Screen1"
Device "MSI Radeon HD 5450"
Monitor "Monitor1"
EndSection
The Xorg.0.log file does not look too bad:
[ 693.077]
X.Org X Server 1.20.4
X Protocol Version 11, Revision 0
[ 693.077] Build Operating System: Linux 4.9.0-8-amd64 x86_64 Debian
[ 693.077] Current Operating System: Linux server 4.19.0-6-amd64 #1 SMP Debian 4.19.67-2+deb10u2 (2019-11-11) x86_64
[ 693.077] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.19.0-6-amd64 root=UUID=854d6368-fdc4-4385-bdca-904c7f993755 ro quiet intel_iommu=on
[ 693.077] Build Date: 05 March 2019 08:11:12PM
[ 693.077] xorg-server 2:1.20.4-1 (https://www.debian.org/support)
[ 693.077] Current version of pixman: 0.36.0
[ 693.077] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 693.077] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 693.077] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Jan 24 18:50:15 2020
[ 693.077] (==) Using config file: "/etc/X11/xorg.conf"
[ 693.077] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 693.078] (==) ServerLayout "X.org Configured"
[ 693.078] (**) |-->Screen "Screen0" (0)
[ 693.078] (**) | |-->Monitor "Monitor0"
[ 693.078] (**) | |-->Device "Intel Graphics 3e98 i915"
[ 693.078] (**) |-->Screen "Screen1" (1)
[ 693.078] (**) | |-->Monitor "Monitor1"
[ 693.078] (**) | |-->Device "MSI Radeon HD 5450"
[ 693.078] (==) Automatically adding devices
[ 693.078] (==) Automatically enabling devices
[ 693.078] (==) Automatically adding GPU devices
[ 693.078] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 693.078] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 693.078] Entry deleted from font path.
[ 693.078] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
built-ins
[ 693.078] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 693.078] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 693.078] (II) Loader magic: 0x558509423e20
[ 693.078] (II) Module ABI versions:
[ 693.078] X.Org ANSI C Emulation: 0.4
[ 693.078] X.Org Video Driver: 24.0
[ 693.078] X.Org XInput driver : 24.1
[ 693.078] X.Org Server Extension : 10.0
[ 693.078] (++) using VT number 7
[ 693.078] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 693.079] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 693.079] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[ 693.080] (--) PCI: (0@0:2:0) 8086:3e98:1043:8694 rev 0, Mem @ 0xa0000000/16777216, 0x80000000/268435456, I/O @ 0x00004000/64
[ 693.080] (--) PCI:*(2@0:0:0) 1002:68f9:1462:2131 rev 0, Mem @ 0x90000000/268435456, 0xa1220000/131072, I/O @ 0x00003000/256, BIOS @ 0x????????/131072
[ 693.080] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[ 693.080] (II) LoadModule: "glx"
[ 693.080] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 693.080] (II) Module glx: vendor="X.Org Foundation"
[ 693.080] compiled for 1.20.4, module version = 1.0.0
[ 693.080] ABI class: X.Org Server Extension, version 10.0
[ 693.080] (II) LoadModule: "intel"
[ 693.080] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 693.081] (II) Module intel: vendor="X.Org Foundation"
[ 693.081] compiled for 1.20.1, module version = 2.99.917
[ 693.081] Module class: X.Org Video Driver
[ 693.081] ABI class: X.Org Video Driver, version 24.0
[ 693.081] (II) LoadModule: "amdgpu"
[ 693.081] (II) Loading /usr/lib/xorg/modules/drivers/amdgpu_drv.so
[ 693.081] (II) Module amdgpu: vendor="X.Org Foundation"
[ 693.081] compiled for 1.20.3, module version = 18.1.99
[ 693.081] Module class: X.Org Video Driver
[ 693.081] ABI class: X.Org Video Driver, version 24.0
[ 693.081] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[ 693.081] (II) intel: Driver for Intel(R) HD Graphics
[ 693.081] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[ 693.081] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[ 693.081] (II) AMDGPU: Driver for AMD Radeon:
All GPUs supported by the amdgpu kernel driver
I feel I am close but how can I proceed from here??? Any suggestions are welcome.
Update:
I think there is a problem with the Intel UHD Graphics 630 driver. In lspci it should say:
Kernel driver in use: i915
Kernel modules: i915
But that part is missing. Also, when I unplug the second graphics card, remove the xorg.conf and reboot, the tty terminals and the display manager are working fine but there are still errors in the Xorg.0.log:
[ 2.849]
X.Org X Server 1.20.4
X Protocol Version 11, Revision 0
[ 2.849] Build Operating System: Linux 4.9.0-8-amd64 x86_64 Debian
[ 2.849] Current Operating System: Linux server 4.19.0-6-amd64 #1 SMP Debian 4.19.67-2+deb10u2 (2019-11-11) x86_64
[ 2.849] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.19.0-6-amd64 root=UUID=854d6368-fdc6-4385-bdca-904c7f993755 ro quiet intel_iommu=on
[ 2.849] Build Date: 05 March 2019 08:11:12PM
[ 2.849] xorg-server 2:1.20.4-1 (https://www.debian.org/support)
[ 2.849] Current version of pixman: 0.36.0
[ 2.849] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 2.849] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 2.849] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Jan 24 23:17:27 2020
[ 2.850] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 2.851] (==) No Layout section. Using the first Screen section.
[ 2.851] (==) No screen section available. Using defaults.
[ 2.851] (**) |-->Screen "Default Screen Section" (0)
[ 2.851] (**) | |-->Monitor "<default monitor>"
[ 2.852] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 2.852] (==) Automatically adding devices
[ 2.852] (==) Automatically enabling devices
[ 2.852] (==) Automatically adding GPU devices
[ 2.852] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 2.853] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 2.853] Entry deleted from font path.
[ 2.854] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
built-ins
[ 2.854] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 2.854] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 2.854] (II) Loader magic: 0x5646db8e8e20
[ 2.854] (II) Module ABI versions:
[ 2.854] X.Org ANSI C Emulation: 0.4
[ 2.854] X.Org Video Driver: 24.0
[ 2.854] X.Org XInput driver : 24.1
[ 2.854] X.Org Server Extension : 10.0
[ 2.855] (++) using VT number 7
[ 2.855] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 2.855] (--) PCI:*(0@0:2:0) 8086:3e98:1043:8694 rev 0, Mem @ 0xa0000000/16777216, 0x90000000/268435456, I/O @ 0x00003000/64, BIOS @ 0x????????/131072
[ 2.856] (II) LoadModule: "glx"
[ 2.856] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 2.862] (II) Module glx: vendor="X.Org Foundation"
[ 2.862] compiled for 1.20.4, module version = 1.0.0
[ 2.862] ABI class: X.Org Server Extension, version 10.0
[ 2.862] (==) Matched modesetting as autoconfigured driver 0
[ 2.862] (==) Matched fbdev as autoconfigured driver 1
[ 2.862] (==) Matched vesa as autoconfigured driver 2
[ 2.862] (==) Assigned the driver to the xf86ConfigLayout
[ 2.862] (II) LoadModule: "modesetting"
[ 2.862] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 2.862] (II) Module modesetting: vendor="X.Org Foundation"
[ 2.862] compiled for 1.20.4, module version = 1.20.4
[ 2.862] Module class: X.Org Video Driver
[ 2.862] ABI class: X.Org Video Driver, version 24.0
[ 2.862] (II) LoadModule: "fbdev"
[ 2.863] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 2.863] (II) Module fbdev: vendor="X.Org Foundation"
[ 2.863] compiled for 1.20.0, module version = 0.5.0
[ 2.863] Module class: X.Org Video Driver
[ 2.863] ABI class: X.Org Video Driver, version 24.0
[ 2.863] (II) LoadModule: "vesa"
[ 2.863] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[ 2.864] (II) Module vesa: vendor="X.Org Foundation"
[ 2.864] compiled for 1.20.1, module version = 2.4.0
[ 2.864] Module class: X.Org Video Driver
[ 2.864] ABI class: X.Org Video Driver, version 24.0
[ 2.864] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 2.864] (II) FBDEV: driver for framebuffer: fbdev
[ 2.864] (II) VESA: driver for VESA chipsets: vesa
[ 2.868] (EE) open /dev/dri/card0: No such file or directory
[ 2.868] (WW) Falling back to old probe method for modesetting
[ 2.868] (EE) open /dev/dri/card0: No such file or directory
[ 2.868] (II) Loading sub module "fbdevhw"
[ 2.868] (II) LoadModule: "fbdevhw"
[ 2.868] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 2.869] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 2.869] compiled for 1.20.4, module version = 0.0.2
[ 2.869] ABI class: X.Org Video Driver, version 24.0
[ 2.869] (EE) Unable to find a valid framebuffer device
[ 2.869] (WW) Falling back to old probe method for fbdev
[ 2.869] (II) Loading sub module "fbdevhw"
[ 2.869] (II) LoadModule: "fbdevhw"
[ 2.869] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 2.869] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 2.869] compiled for 1.20.4, module version = 0.0.2
[ 2.869] ABI class: X.Org Video Driver, version 24.0
[ 2.869] (EE) open /dev/fb0: No such file or directory
[ 2.869] (EE) Screen 0 deleted because of no matching config section.
[ 2.869] (II) UnloadModule: "modesetting"
[ 2.869] (EE) Screen 0 deleted because of no matching config section.
[ 2.869] (II) UnloadModule: "fbdev"
[ 2.869] (II) UnloadSubModule: "fbdevhw"
[ 2.869] (II) Loading sub module "vbe"
[ 2.869] (II) LoadModule: "vbe"
[ 2.869] (II) Loading /usr/lib/xorg/modules/libvbe.so
[ 2.869] (II) Module vbe: vendor="X.Org Foundation"
[ 2.869] compiled for 1.20.4, module version = 1.1.0
[ 2.869] ABI class: X.Org Video Driver, version 24.0
[ 2.869] (II) Loading sub module "int10"
[ 2.869] (II) LoadModule: "int10"
[ 2.869] (II) Loading /usr/lib/xorg/modules/libint10.so
[ 2.870] (II) Module int10: vendor="X.Org Foundation"
[ 2.870] compiled for 1.20.4, module version = 1.0.0
[ 2.870] ABI class: X.Org Video Driver, version 24.0
[ 2.870] (II) VESA(0): initializing int10
[ 2.870] (II) VESA(0): Primary V_BIOS segment is: 0xc000
[ 2.873] (II) VESA(0): VESA BIOS detected
[ 2.873] (II) VESA(0): VESA VBE Version 3.0
[ 2.873] (II) VESA(0): VESA VBE Total Mem: 65472 kB
[ 2.873] (II) VESA(0): VESA VBE OEM: Intel(R) CFL Mobile/Desktop Graphics Chipset Accelerated VGA BIOS
[ 2.873] (II) VESA(0): VESA VBE OEM Software Rev: 0.0
[ 2.921] (II) VESA(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 2.921] (==) VESA(0): Depth 24, (--) framebuffer bpp 32
[ 2.921] (==) VESA(0): RGB weight 888
[ 2.921] (==) VESA(0): Default visual is TrueColor
[ 2.921] (==) VESA(0): Using gamma correction (1.0, 1.0, 1.0)
Seeing you're having a DRM error, maybe this can help? https://aur.archlinux.org/packages/linux-drm-tip-git/
User contributions licensed under CC BY-SA 3.0