Artix Linux Forum

Artix Linux => Applications & Software => Topic started by: iffy on 05 October 2022, 20:32:54

Title: Xorg doesn’t start, gives no screens found error
Post by: iffy on 05 October 2022, 20:32:54
Sorry if this post is bad or messy this is my first time trying to do this
So I’m on an Arch install that I migrated to Artix OpenRC two days ago. Yesterday everything, including Xfce, was going smooth and fine, but right now startxfce4 is not working.

The specific error it gives me in the logs is “Device(s) detected, but none match those in the config file.”
I don’t know what or where the config file is.

Edit: Oh yeah forgot to mention I am using NVIDIA proprietary drivers
Edit2: But I can switch to open source if that fixes the problem

How do I fix this issue and get Xfce to work properly?
Title: Re: Xorg doesn’t start, gives no screens found error
Post by: lq on 05 October 2022, 20:54:38
Edit: Oh yeah forgot to mention I am using NVIDIA proprietary drivers
https://www.youtube.com/watch?v=_36yNWw_07g
https://www.youtube.com/watch?v=i2lhwb_OckQ
Title: Re: Xorg doesn’t start, gives no screens found error
Post by: nous on 05 October 2022, 21:46:15
The specific error it gives me in the logs is “Device(s) detected, but none match those in the config file.”
I don’t know what or where the config file is.
In /etc/X11/xorg.conf.d/ - try changing their suffix from .conf to .conf.bak.
Title: Re: Xorg doesn’t start, gives no screens found error
Post by: iffy on 05 October 2022, 22:04:24
Thank you, but nothing changed after trying that.

Out of curiosity I also tried to nano the conf file, but it was empty, so that might be the issue.

Edit: I also tried running Xorg :0 -configure, but that gave me a “Number of created screens does not match number of detected devices.” error
Title: Re: Xorg doesn’t start, gives no screens found error
Post by: gripped on 05 October 2022, 22:40:31
Post /var/log/Xorg.0.log (in code tags)
Title: Re: Xorg doesn’t start, gives no screens found error
Post by: iffy on 05 October 2022, 22:54:17
(https://media.discordapp.net/attachments/967569418009837640/1027321798322298911/IMG_0282.jpg)
(https://media.discordapp.net/attachments/967569418009837640/1027321798771097641/IMG_0283.jpg)
(https://media.discordapp.net/attachments/967569418009837640/1027321799333126164/IMG_0284.jpg)

Sorry that I have to make this an image but I don’t really know how to copy paste the whole thing through the terminal only
Title: Re: Xorg doesn’t start, gives no screens found error
Post by: gripped on 05 October 2022, 23:51:36
That hurts to look at  :)
My eyes are not great.

I might have missed it but the propriety nvidia driver is not mentioned afaikt

Try reinstalling it.
Code: [Select]
sudo pacman -S nvidia
so long as you card is not ancient.

To get  nicer output for a forum with only the console you can redirect the output to a file  eg
Code: [Select]
cat /var/log/Xorg.0.log > ~/X.log
then copy to a usb or something.

Or install pastebinit and pastebin it
Code: [Select]
pacman -S pastebinit
cat /var/log/Xorg.0.log | pastebinit -b paste.debian.net
Then post the link
If you reinstall the nvidia driver and it still doesn't work also try.
Code: [Select]
pacman -Q | pastebinit -b paste.debian.net 
and post the link so I can see what packages you have installed. if you don't mind.
Also
Code: [Select]
sudo dmesg | pastebinit -b paste.debian.net
would maybe how something ?
Off to bed soon.
btw I like the MC models :)
Title: Re: Xorg doesn’t start, gives no screens found error
Post by: iffy on 06 October 2022, 00:31:50
Thanks for the compliment and tutorial.
Here:
https://paste.debian.net/1256120
Title: Re: Xorg doesn’t start, gives no screens found error
Post by: gripped on 06 October 2022, 11:15:31
Did you try reinstalling the nvidia drivers ?
https://wiki.archlinux.org/title/NVIDIA

My guess is either they are not installed or there's a problem with the installation or you have a config file interfering which would be either /etc/X11/xorg.conf or any file *.conf in /etc/X11/xorg.conf.d (This was already mentioned in the thread).
Title: Re: Xorg doesn’t start, gives no screens found error
Post by: iffy on 07 October 2022, 00:07:27
Reinstalling NVIDIA didn’t work.

I’m just going to do a fresh reinstall, because this whole thing was me migrating through a not-very-official program and I’m tired of going through tech issues.
Thanks for helping, though.
Title: Re: Xorg doesn’t start, gives no screens found error
Post by: nous on 07 October 2022, 10:51:24
The pics you posted show a lot of basic/fallback xf86-video-* packages missing. Try installing xf86-video-fbdev, xf86-video-vesa and xf86-video-nouveau which should at least give you a working Xorg.