You are not logged in.

#1 2022-02-19 11:08:43

glanzfreya
Member
Registered: 2022-02-19
Posts: 5

BLFS with Qemu/KVM No Devices Detected Fatal Error no screens found

I am trying to install Xorg and when I run "startx" it can't start and say this:
No Devices Detected
Fatal server error:
no screens found(EE)

I want to share the log but I do not know how to copy paste from my Qemu to the pastebin or other method that can be used. I already run "lspci | grep -i VGA" my VGA is "PCI:00:02.0 VGA Compatible controller: Red Hat, Inc. QXL paravirtual graphic card (rev 04)"

Offline

#2 2022-02-19 14:14:14

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: BLFS with Qemu/KVM No Devices Detected Fatal Error no screens found

Try a different virtual video card. QXL is old and broken. I recommend virtio instead, it should be supported by X's builtin modesetting DDX driver and it can even support Mesa via virgl, unlike QXL.


Jin, Jîyan, Azadî

Offline

#3 2022-02-19 20:58:48

glanzfreya
Member
Registered: 2022-02-19
Posts: 5

Re: BLFS with Qemu/KVM No Devices Detected Fatal Error no screens found

Thanks for the reply any link I can read on?
How to download virtio ?
I read these https://wiki.archlinux.org/title/QEMU#virtio is it enough?

Another add I have installed Xorg Intel Driver-20210222 and Xorg VMware Driver-13.3.0 from this page https://www.linuxfromscratch.org/blfs/v … tel-driver maybe that causing the trouble because I installed 2 drivers?

I try to uninstall the intel one by "rm -rf <path to intel>"
If I uninstall Xorg Intel Driver then the /var/log/Xorg.0.log showing:
1. 'fonts.dir' not found in "/usr/share/fonts/X11/misc",
"/usr/share/fonts/X11/100dpi",
"/usr/share/fonts/X11/75dpi",
PCI:*(0@0:2:0) 1B36:0100:1AF4:1100 rev 4, mem @ 0xf4000000/67108864,
0xf8000000/67108864, 0xfc094000/8192, I/O @ 0x0000c140/32, BIOS @ 0x????????/131072
2. Open ACPI failed (/var/run/acpid.socket)
3. Couldn't open module fbdev, vesa, qxl (Failed to load these modules)
4. Modesetting: Driver for Modesetting Kernel Drivers: kms
5. open /dev/dri/card0 no such file or directory
6. UnloadModule: "modesetting"
Device detected, but none match those in the config file
Fatal server error:
no screens found (EE)


With Xorg Intel Driver then the /var/log/Xorg.0.log showing:
1. Open ACPI failed
LoadModule: "glx"
LoadModule: "intel"
2. No devices detected.
Fatal server error:
no screens found (EE)

Any solution will be appreciated. Thanks

Offline

#4 2022-02-19 21:14:05

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: BLFS with Qemu/KVM No Devices Detected Fatal Error no screens found

Which host OS are you running?
Which guest OS are you running?


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#5 2022-02-19 21:19:40

glanzfreya
Member
Registered: 2022-02-19
Posts: 5

Re: BLFS with Qemu/KVM No Devices Detected Fatal Error no screens found

I am using CAELinux,
I use ArchLinux for my Qemu/KVM from LFS to BLFS now.

I am changing the video driver from GLX to virtio and it is still can't open the X with "startx"
Same error :

No devices detected.
Fatal server error:
no screens found (EE)

Offline

#6 2022-02-19 22:17:20

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: BLFS with Qemu/KVM No Devices Detected Fatal Error no screens found

glanzfreya wrote:

I am using CAELinux,
I use ArchLinux for my Qemu/KVM from LFS to BLFS now.

That doesn't seem to make any sense. Please try to answer Slithery's questions again but one at a time. Thanks.

glanzfreya wrote:

I am changing the video driver from GLX to virtio

How did you do that, exactly? Please post the full command you used.


Jin, Jîyan, Azadî

Offline

#7 2022-02-19 22:28:58

glanzfreya
Member
Registered: 2022-02-19
Posts: 5

Re: BLFS with Qemu/KVM No Devices Detected Fatal Error no screens found

Slithery wrote:

Which host OS are you running?
Which guest OS are you running?

I use Dell Precision 6510 laptop with 8 GB RAM. It is installed with CAE Linux.
Then I use Qemu program and mount Arch Linux OS to learn Linux from Scratch (LFS), it is at BLFS stage now (Beyond LFS). Create Linux OS from Scratch..

This is the Arch Linux iso I use for the Qemu/KVM: archlinux-2022.01.01-x86_64.iso

Basically I wanted to learn how to create a desktop environment. It is at the stage to make X Window Environment work then install Desktop environment like KDE or XFCE (not yet to this stage).
I am stuck at running Xorg, I cannot

Or maybe if someone out there seeing this thread. Can I skip this X and go to KDE? It is painful since I am using Qemu and not the whole laptop with the integrated hardware such as VGA from the laptop.

I am following this tutorial: https://www.linuxfromscratch.org/blfs/v … 0/x/x.html and at the end stage of X Window System Environment. Maybe I am missing something. Either driver installed is wrong or something else that I do not know, I am really new to this, not really comprehend a lot of bash commands and how to fix errors.

Offline

#8 2022-02-19 22:33:12

glanzfreya
Member
Registered: 2022-02-19
Posts: 5

Re: BLFS with Qemu/KVM No Devices Detected Fatal Error no screens found

Head_on_a_Stick wrote:
glanzfreya wrote:

I am using CAELinux,
I use ArchLinux for my Qemu/KVM from LFS to BLFS now.

That doesn't seem to make any sense. Please try to answer Slithery's questions again but one at a time. Thanks.

glanzfreya wrote:

I am changing the video driver from GLX to virtio

How did you do that, exactly? Please post the full command you used.

Done answering Slithery's question.

1. I open my Mounted OS on Qemu
2. At the setting or information detail tab on top left, where there are list of controller, OS information, hardware, etc.
I change the Video QXL to virtio, through this I learn : https://linuxhint.com/install_virtio_dr … indows_vm/

Thanks

Offline

#9 2022-02-20 10:11:20

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: BLFS with Qemu/KVM No Devices Detected Fatal Error no screens found

So you're booting a VM in CAELinux to run the Arch ISO then building Linux from Scratch from that environment, is that correct?

If you want to build {B,}LFS then why not just use CAELinux as the host? The compilation times will be greatly increased in the virtual environment.

Anyway, the modesetting DDX driver should be provided by X itself so make sure you have removed any X.Org configuration files that might be attempting to force a different driver.


Jin, Jîyan, Azadî

Offline

Board footer

Powered by FluxBB