You are not logged in.

#1 2023-02-11 22:43:58

xfqt
Member
From: .de
Registered: 2022-01-12
Posts: 13

[SOLVED] NVMe SSD disables Xorg or is not recognized

Hello,

I just bought a new NVMe M.2 SSD (PCIE 3.0 x4) which I tried adding into my system. When booting, I noticed how lightdm would startup and finally figured Xorg wasn't starting either. At least the SSD was recognized within fdisk and lsblk. I then moved the SSD to another slot on my mainboard and voila - Xorg functioned as normal again. Only now the SSD is not showing up in neither linux nor the BIOS.

I am using an ASRock B450m Pro4. The slots I used are shown in this mainboard manual on page 7. https://download.asrock.com/Manual/B450M%20Pro4.pdf

My CPU is and AMD Ryzen 5 3600, the SSD in Question is a Crucial P3 2TB. According to the SSD's manufacturers webpage it should be compatible with my mainboard. My GPU is a Nvidia GTX 1070 which is in PCI2 in above shown link. The GPU is still shown in lscpi. I also have my display working, so I can fiddle about in TTY2.

I did reinstall xorg and xorg-server and made a system update while trying to get all of this going. I also reinstalled lightdm. None of that worked and after 3+ hours of troubleshooting I'm exhausted. There is only one other topic on the internet where one person can't use a third NVMe without problems, as they had to unplug another SATA Port which would share lanes. My mainboard specifically mentions this, so I did unplug SATA3_3 when I switched my SSD to M2_2, but as stated before it would not be recoginzed by the BIOS.

The full /var/log/Xorg.0.log: https://pastebin.com/NF7ehdUk
tl;dr:

[    15.927] (EE) No devices detected.
[    15.927] (EE) 
Fatal server error:
[    15.927] (EE) no screens found(EE) 
[    15.927] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[    15.927] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    15.927] (EE) 
[    15.929] (EE) Server terminated with error (1). Closing log file.

Is my mainboard incapable of running both the gpu and the ssd? Is there something else blocking xorg from startig up? I do not understand what is going on.

Versions used:

xorg-server 21.1.7-1
lightdm 1:1.32.0-4
nvidia-dks 525.89.02-1
linux 6.1.11.arch1-1

Last edited by xfqt (2023-02-12 09:13:05)

Offline

#2 2023-02-11 23:21:49

Irets
Member
Registered: 2019-02-01
Posts: 143

Re: [SOLVED] NVMe SSD disables Xorg or is not recognized

[    15.922] (==) Using config file: "/etc/X11/xorg.conf"

What happens if you try to start X without your config?

Offline

#3 2023-02-12 08:06:01

xfqt
Member
From: .de
Registered: 2022-01-12
Posts: 13

Re: [SOLVED] NVMe SSD disables Xorg or is not recognized

Same thing pretty much. I removed the file and tried again, nothing changed.

Offline

#4 2023-02-12 08:42:00

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,718

Re: [SOLVED] NVMe SSD disables Xorg or is not recognized

Post an updated xorg log, the configu you had was off by a mile (there's an nvidia GPU and you've an AMD CPU, but configured the system to use the intel driver)

Offline

#5 2023-02-12 09:01:55

xfqt
Member
From: .de
Registered: 2022-01-12
Posts: 13

Re: [SOLVED] NVMe SSD disables Xorg or is not recognized

It's interesting that you noted that, since I was wondering about that. I'll uninstall xf86-video-intel now, but just for clarification: The system runs fine with the driver installed.

I just noted in vimdiff that the Platform probe changes. With the NVMe it is

Plattform probe for /sys/devices/pci0000:00/0000:00:03.1/0000:07:00.0/drm/card0

, whereas it's

Platform probe for /sys/devices/pci0000:00/0000:00:03.1/0000:06:00.0/drm/card0

I will therefore try to change the GPUs bus ID in /etc/X11/xorg.conf.d/10-nvidia.conf. That could do the trick. Is that expected behaviour?

Here is the Xorg.0.log when I remove the NVMe for completeness' sake.
https://pastebin.com/W6JPfYVE

And again a tl;dr for the part at the end. Intel driver is still being loaded above, but that all works fine.

[    15.030] (II) Loading sub module "ramdac"
[    15.030] (II) LoadModule: "ramdac"
[    15.030] (II) Module "ramdac" already built-in
[    15.031] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[    15.031] (==) NVIDIA(0): RGB weight 888
[    15.031] (==) NVIDIA(0): Default visual is TrueColor
[    15.031] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[    15.032] (II) Applying OutputClass "nvidia" options to /dev/dri/card0
[    15.032] (**) NVIDIA(0): Option "Stereo" "0"
[    15.032] (**) NVIDIA(0): Option "nvidiaXineramaInfoOrder" "DFP-6"
[    15.032] (**) NVIDIA(0): Option "SLI" "Off"
[    15.032] (**) NVIDIA(0): Option "MultiGPU" "Off"
[    15.032] (**) NVIDIA(0): Option "BaseMosaic" "off"
[    15.032] (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration"
[    15.032] (**) NVIDIA(0): Stereo disabled by request
[    15.032] (**) NVIDIA(0): NVIDIA SLI disabled.
[    15.032] (**) NVIDIA(0): NVIDIA Multi-GPU disabled.
[    15.032] (**) NVIDIA(0): Option "MetaModes" "DP-4: nvidia-auto-select +1920+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}, HDMI-0: nvidia-auto-select +0+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}"
[    15.032] (**) NVIDIA(0): Enabling 2D acceleration
[    15.032] (II) Loading sub module "glxserver_nvidia"
[    15.032] (II) LoadModule: "glxserver_nvidia"
[    15.032] (II) Loading /usr/lib/nvidia/xorg/libglxserver_nvidia.so
[    15.082] (II) Module glxserver_nvidia: vendor="NVIDIA Corporation"
[    15.082] 	compiled for 1.6.99.901, module version = 1.0.0
[    15.082] 	Module class: X.Org Server Extension
[    15.082] (II) NVIDIA GLX Module  525.89.02  Wed Feb  1 23:13:01 UTC 2023
[    15.083] (II) NVIDIA: The X server supports PRIME Render Offload.
[    15.083] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:6:0:0

Offline

#6 2023-02-12 09:10:27

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,718

Re: [SOLVED] NVMe SSD disables Xorg or is not recognized

That could do the trick. Is that expected behaviour?

Yes.
Why do you configure the bus ID anyway? There's just one GPU.

(for name in /{etc,usr/share}/X11/xorg.conf*; do echo $name; cat $name; echo; done) | curl -F 'file=@-' 0x0.st

Edit: whether the driver is installed is pretty irrelevant.
You're just slushing around a completely false configuration, relying on the server to fix that for you and that skews the log (making them look like the misconfiguration is the problem, not the altered/fixed PCI bus id)

Last edited by seth (2023-02-12 09:12:12)

Offline

#7 2023-02-12 09:16:10

xfqt
Member
From: .de
Registered: 2022-01-12
Posts: 13

Re: [SOLVED] NVMe SSD disables Xorg or is not recognized

It did in fact do the trick.

I was following the installation guide for that I believe. Though I can't find the part of the article that states that anywhere. Even the minimal example on the wiki doesn't define a bus. Huh. I'll change it to the new Minimal example.

Offline

#8 2023-02-12 09:43:48

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,718

Re: [SOLVED] NVMe SSD disables Xorg or is not recognized

I was gonna rant at you, but embarrassingly, there's https://wiki.archlinux.org/title/NVIDIA … figuration
This is terrible advice. (Though the pointless intel addition is your work wink

If you post the configs you have, we'll go through them and curb the cruft.

Edit: though if this was an effort to mitigate tearing, https://wiki.archlinux.org/title/NVIDIA … en_tearing has a blue note on the quality of the nvidia-xconfig produced file tongue

Last edited by seth (2023-02-12 10:08:07)

Offline

Board footer

Powered by FluxBB