You are not logged in.

#1 2023-05-13 06:31:54

chesselitist
Member
Registered: 2020-05-30
Posts: 17

Cannot boot Xorg after new motherboard

Hey guys I need some help with a problem.
My setup was a AMD 7950x, ASUS b650m plus tufgaming, Nvidia 4090. Because of issues, I had to return it and get a MSI b650m plus. (Btw the board is great, not perfect, but solid and no issues, in contrast to many issues I encountered with ASUS and Gigabyte. Also has the option to enable integrated gpu unlike ASUS)
It seemed that it may be possible to just migrate everything directly onto the new board so I tried just that.
First off, the ssd was not detected in boot priority, but running grub-install from arch-chroot was enough to fix that.
Everything seems fine up until the display manager. Neither ly nor lightdm work, so I tried going into tty is fine.

I thought it may be that motherboard needs new drivers, but wasn't sure what drivers I need to reinstall.
I reinstalled my two dkms modules (one is nvidia).
I reinstalled the graphics drivers under https://wiki.archlinux.org/title/xorg
At this point, I should note that I'd like to use the iGPU for monitor and discrete GPU for processing/vfio, so cable is plugged into motherboard and integrated graphics is on in BIOS and I have vfio_pci vfio vfio_iommu_type1 in my mkinit modules. It doesn't seem these are relevant though to my Xorg error though.
So I then I rebuilt initramfs, added amdgpu to MODULES for early KMS and rebuilt initramfs, no change.
This is my /var/log/xorg.0.1.conf


[     9.394] 
X.Org X Server 1.21.1.8
X Protocol Version 11, Revision 0
[     9.394] Current Operating System: Linux ##### 6.3.1-arch2-1 #1 SMP PREEMPT_DYNAMIC Wed, 10 May 2023 08:54:47 +0000 x86_64
[     9.394] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=4a604bc5-1e3a-4ec1-ab35-5337fad9bda9 rw rootflags=subvol=@ nomodeset log-level=3
[     9.394]  
[     9.394] Current version of pixman: 0.42.2
[     9.394] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[     9.394] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[     9.395] (==) Log file: "/var/log/Xorg.0.log", Time: Fri May 12 20:32:54 2023
[     9.395] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[     9.395] (==) No Layout section.  Using the first Screen section.
[     9.395] (==) No screen section available. Using defaults.
[     9.395] (**) |-->Screen "Default Screen Section" (0)
[     9.395] (**) |   |-->Monitor "<default monitor>"
[     9.395] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[     9.395] (==) Automatically adding devices
[     9.395] (==) Automatically enabling devices
[     9.395] (==) Automatically adding GPU devices
[     9.395] (==) Automatically binding GPU devices
[     9.395] (==) Max clients allowed: 256, resource mask: 0x1fffff
[     9.395] (WW) The directory "/usr/share/fonts/misc" does not exist.
[     9.395] 	Entry deleted from font path.
[     9.396] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[     9.396] 	Entry deleted from font path.
[     9.396] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[     9.396] 	Entry deleted from font path.
[     9.397] (==) FontPath set to:
	/usr/share/fonts/TTF,
	/usr/share/fonts/100dpi,
	/usr/share/fonts/75dpi
[     9.397] (==) ModulePath set to "/usr/lib/xorg/modules"
[     9.397] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[     9.397] (II) Module ABI versions:
[     9.397] 	X.Org ANSI C Emulation: 0.4
[     9.397] 	X.Org Video Driver: 25.2
[     9.397] 	X.Org XInput driver : 24.4
[     9.397] 	X.Org Server Extension : 10.0
[     9.397] (++) using VT number 2

[     9.397] (--) controlling tty is VT number 2, auto-enabling KeepTty
[     9.397] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[     9.397] (II) xfree86: Adding drm device (/dev/dri/card0)
[     9.397] (II) Platform probe for /sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/drm/card0
[     9.398] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 13 paused 0
[     9.399] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/xorg/modules"
[     9.399] (--) PCI: (1@0:0:0) 10de:2684:10de:16f4 rev 161, Mem @ 0xfb000000/16777216, 0xf000000000/34359738368, 0xf800000000/33554432, I/O @ 0x0000f000/128, BIOS @ 0x????????/524288
[     9.399] (--) PCI:*(17@0:0:0) 1002:164e:1462:7d77 rev 193, Mem @ 0xf810000000/268435456, 0xf820000000/2097152, 0xfca00000/524288, I/O @ 0x0000d000/256
[     9.399] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[     9.399] (II) LoadModule: "glx"
[     9.400] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[     9.402] (II) Module glx: vendor="X.Org Foundation"
[     9.402] 	compiled for 1.21.1.8, module version = 1.0.0
[     9.402] 	ABI class: X.Org Server Extension, version 10.0
[     9.402] (II) Applying OutputClass "nvidia" to /dev/dri/card0
[     9.402] 	loading driver: nvidia
[     9.402] (==) Matched nvidia as autoconfigured driver 0
[     9.402] (==) Matched nouveau as autoconfigured driver 1
[     9.402] (==) Matched nv as autoconfigured driver 2
[     9.402] (==) Matched ati as autoconfigured driver 3
[     9.402] (==) Matched modesetting as autoconfigured driver 4
[     9.402] (==) Matched fbdev as autoconfigured driver 5
[     9.402] (==) Matched vesa as autoconfigured driver 6
[     9.402] (==) Assigned the driver to the xf86ConfigLayout
[     9.402] (II) LoadModule: "nvidia"
[     9.402] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[     9.405] (II) Module nvidia: vendor="NVIDIA Corporation"
[     9.405] 	compiled for 1.6.99.901, module version = 1.0.0
[     9.405] 	Module class: X.Org Video Driver
[     9.405] (II) LoadModule: "nouveau"
[     9.405] (WW) Warning, couldn't open module nouveau
[     9.405] (EE) Failed to load module "nouveau" (module does not exist, 0)
[     9.405] (II) LoadModule: "nv"
[     9.405] (WW) Warning, couldn't open module nv
[     9.405] (EE) Failed to load module "nv" (module does not exist, 0)
[     9.405] (II) LoadModule: "ati"
[     9.405] (WW) Warning, couldn't open module ati
[     9.405] (EE) Failed to load module "ati" (module does not exist, 0)
[     9.405] (II) LoadModule: "modesetting"
[     9.405] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[     9.406] (II) Module modesetting: vendor="X.Org Foundation"
[     9.406] 	compiled for 1.21.1.8, module version = 1.21.1
[     9.406] 	Module class: X.Org Video Driver
[     9.406] 	ABI class: X.Org Video Driver, version 25.2
[     9.406] (II) LoadModule: "fbdev"
[     9.406] (WW) Warning, couldn't open module fbdev
[     9.406] (EE) Failed to load module "fbdev" (module does not exist, 0)
[     9.406] (II) LoadModule: "vesa"
[     9.406] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[     9.407] (II) Module vesa: vendor="X.Org Foundation"
[     9.407] 	compiled for 1.21.1.4, module version = 2.6.0
[     9.407] 	Module class: X.Org Video Driver
[     9.407] 	ABI class: X.Org Video Driver, version 25.2
[     9.407] (II) NVIDIA dlloader X Driver  530.41.03  Thu Mar 16 19:25:45 UTC 2023
[     9.407] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[     9.407] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[     9.407] (II) VESA: driver for VESA chipsets: vesa
[     9.407] (WW) Falling back to old probe method for modesetting
[     9.407] vesa: Refusing to run, Framebuffer or dri device present
[     9.407] (II) systemd-logind: releasing fd for 226:0
[     9.407] (II) Loading sub module "fb"
[     9.407] (II) LoadModule: "fb"
[     9.407] (II) Module "fb" already built-in
[     9.407] (II) Loading sub module "wfb"
[     9.407] (II) LoadModule: "wfb"
[     9.407] (II) Loading /usr/lib/xorg/modules/libwfb.so
[     9.407] (II) Module wfb: vendor="X.Org Foundation"
[     9.407] 	compiled for 1.21.1.8, module version = 1.0.0
[     9.407] 	ABI class: X.Org ANSI C Emulation, version 0.4
[     9.408] (EE) Screen 0 deleted because of no matching config section.
[     9.408] (II) UnloadModule: "modesetting"
[     9.408] (EE) Device(s) detected, but none match those in the config file.
[     9.408] (EE) 
Fatal server error:
[     9.408] (EE) no screens found(EE) 
[     9.408] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[     9.408] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[     9.408] (EE) 
[     9.409] (EE) Server terminated with error (1). Closing log file.

I'm pretty unexperienced with this, seems like vesa loading is promising, as that's what I'm trying to achieve maybe, not sure what's wrong with wfb.

My /usr/share/X11/xorg/conf.d contains 10-nvidia-drnm-outputclass.conf 10-quircks.conf 40-libinput.conf.

Finally, lsmod shows:

what Module                  Size  Used by
ccm                    20480  6
mousedev               24576  0
vfat                   24576  1
fat                   102400  1 vfat
joydev                 28672  0
razermouse            184320  0
intel_rapl_msr         20480  0
intel_rapl_common      36864  1 intel_rapl_msr
edac_mce_amd           57344  0
snd_hda_codec_realtek   196608  1
kvm_amd               204800  0
snd_hda_codec_generic   114688  1 snd_hda_codec_realtek
mt7921e                36864  0
ledtrig_audio          16384  1 snd_hda_codec_generic
mt7921_common         118784  1 mt7921e
mt76_connac_lib        86016  2 mt7921e,mt7921_common
snd_hda_codec_hdmi     94208  2
mt76                  122880  3 mt7921e,mt7921_common,mt76_connac_lib
ccp                   151552  1 kvm_amd
btusb                  77824  0
snd_hda_intel          65536  0
snd_intel_dspcfg       36864  1 snd_hda_intel
btrtl                  28672  1 btusb
kvm                  1327104  1 kvm_amd
mac80211             1503232  3 mt76,mt7921_common,mt76_connac_lib
snd_intel_sdw_acpi     20480  1 snd_intel_dspcfg
btbcm                  24576  1 btusb
snd_hda_codec         217088  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
btintel                57344  1 btusb
crct10dif_pclmul       16384  1
libarc4                16384  1 mac80211
crc32_pclmul           16384  0
btmtk                  16384  1 btusb
polyval_clmulni        16384  0
bluetooth            1081344  6 btrtl,btmtk,btintel,btbcm,btusb
polyval_generic        16384  1 polyval_clmulni
uas                    36864  0
snd_hda_core          139264  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
gf128mul               16384  1 polyval_generic
ecdh_generic           16384  1 bluetooth
ghash_clmulni_intel    16384  0
usb_storage            86016  1 uas
crc16                  16384  1 bluetooth
cfg80211             1286144  4 mt76,mac80211,mt7921_common,mt76_connac_lib
r8169                 114688  0
sha512_ssse3           49152  0
snd_hwdep              20480  1 snd_hda_codec
aesni_intel           401408  4
snd_pcm               200704  4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
crypto_simd            16384  1 aesni_intel
realtek                40960  1
cryptd                 32768  2 crypto_simd,ghash_clmulni_intel
mdio_devres            16384  1 r8169
sp5100_tco             20480  0
snd_timer              53248  1 snd_pcm
wmi_bmof               16384  0
nvidia_drm             94208  0
rapl                   20480  0
pcspkr                 16384  0
rfkill                 40960  4 bluetooth,cfg80211
libphy                217088  3 r8169,mdio_devres,realtek
snd                   151552  8 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm
nvidia_modeset       1519616  1 nvidia_drm
i2c_piix4              36864  0
k10temp                16384  0
soundcore              16384  1 snd
gpio_amdpt             20480  0
gpio_generic           24576  1 gpio_amdpt
acpi_cpufreq           32768  0
mac_hid                16384  0
usbhid                 77824  0
vboxnetflt             40960  0
vboxnetadp             28672  0
vboxdrv               659456  2 vboxnetadp,vboxnetflt
i2c_dev                28672  0
nvidia_uvm           3207168  0
nvidia              61693952  2 nvidia_uvm,nvidia_modeset
dm_multipath           49152  0
crypto_user            20480  0
dm_mod                225280  1 dm_multipath
fuse                  204800  1
loop                   40960  0
bpf_preload            24576  0
ip_tables              40960  0
x_tables               61440  1 ip_tables
btrfs                2052096  2
blake2b_generic        24576  0
xor                    24576  1 btrfs
raid6_pq              122880  1 btrfs
libcrc32c              16384  1 btrfs
i2c_algo_bit           20480  0
crc32c_generic         16384  0
drm_ttm_helper         16384  0
ttm                   102400  1 drm_ttm_helper
drm_buddy              20480  0
gpu_sched              57344  0
nvme                   65536  4
drm_display_helper    208896  0
nvme_core             237568  6 nvme
xhci_pci               24576  0
crc32c_intel           24576  3
cec                    86016  1 drm_display_helper
xhci_pci_renesas       24576  1 xhci_pci
video                  77824  1 nvidia_modeset
nvme_common            24576  1 nvme_core
wmi                    45056  2 video,wmi_bmof
vfio_pci               16384  0
vfio_pci_core          90112  1 vfio_pci
irqbypass              16384  2 vfio_pci_core,kvm
vfio_iommu_type1       49152  0
vfio                   61440  3 vfio_pci_core,vfio_iommu_type1,vfio_pci
iommufd                81920  1 vfio

Not sure if I should try switched off integrated graphics in BIOS, remove amdgpu from mkinitcpio and connect monitor to GPU instead of mb, see if there's any change. Since it's getting late and its not what I want to achieve though, I will try that tomorrow.

Last edited by chesselitist (2023-05-13 06:32:25)

Offline

#2 2023-05-13 14:48:58

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,041

Re: Cannot boot Xorg after new motherboard

It does look like your amdgpu card is not correctly picked up by the system.

Please post the outputs of

$ lspci -k
$ ls -l /dev/dri

Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2023-05-13 14:57:44

progandy
Member
Registered: 2012-05-17
Posts: 5,311

Re: Cannot boot Xorg after new motherboard

It looks like you have nomodeset in your kernel commandline. That will cause problems as well.
https://wiki.archlinux.org/title/AMDGPU#Loading

If you added to it get to the console, then disable the display manager service and reboot without that parameter.

Last edited by progandy (2023-05-13 14:59:35)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#4 2023-05-13 15:19:43

chesselitist
Member
Registered: 2020-05-30
Posts: 17

Re: Cannot boot Xorg after new motherboard

Removing nomodeset works! Thank you so much!

Last edited by chesselitist (2023-05-13 15:20:04)

Offline

Board footer

Powered by FluxBB