[qxl] Xorg fails to start with "Screen(s) found, but none have a usable configuration."

Bug #1967901 reported by Jean-Baptiste Lallement
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Undecided
Unassigned
xorg-server (Ubuntu)
Invalid
Undecided
Unassigned
xserver-xorg-video-qxl (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Ubuntu Desktop Jammy 20220405

It fails to boot to the live session in virt-manager and gnome-boxes.
ubiquity-dm starts fine but the live session does. The graphical session keeps dying.

If I switch from QXL to Virtio then it works.

Tags: jammy qxl
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :
tags: added: jammy
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :
  • dm Edit (9.4 KiB, text/plain)
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :
description: updated
description: updated
summary: - Jammy fails to boot to live session
+ Jammy fails to boot to live session in virt-manager with QXL
description: updated
Revision history for this message
Daniel van Vugt (vanvugt) wrote (last edit ): Re: Jammy fails to boot to live session in virt-manager with QXL

The gnome-shell crash is bug 1964458 so I'll remove references to that here. It's not related to the Xorg issue.

Your log shows Xorg is failing to start on QXL with:

avril 05 16:15:58 ubuntu /usr/libexec/gdm-x-session[4265]: (II) qxl(0): Creating default Display subsection in Screen section
avril 05 16:15:58 ubuntu /usr/libexec/gdm-x-session[4265]: "Default Screen Section" for depth/fbbpp 24/32
avril 05 16:15:58 ubuntu /usr/libexec/gdm-x-session[4265]: (==) qxl(0): Depth 24, (--) framebuffer bpp 32
avril 05 16:15:58 ubuntu /usr/libexec/gdm-x-session[4265]: (==) qxl(0): RGB weight 888
avril 05 16:15:58 ubuntu /usr/libexec/gdm-x-session[4265]: (==) qxl(0): Default visual is TrueColor
avril 05 16:15:58 ubuntu /usr/libexec/gdm-x-session[4265]: (==) qxl(0): Using gamma correction (1.0, 1.0, 1.0)
avril 05 16:15:58 ubuntu /usr/libexec/gdm-x-session[4265]: (II) qxl(0): Deferred Frames: Disabled
avril 05 16:15:58 ubuntu /usr/libexec/gdm-x-session[4265]: (II) qxl(0): Offscreen Surfaces: Disabled
avril 05 16:15:58 ubuntu /usr/libexec/gdm-x-session[4265]: (II) qxl(0): Image Cache: Disabled
avril 05 16:15:58 ubuntu /usr/libexec/gdm-x-session[4265]: (II) qxl(0): Fallback Cache: Disabled
avril 05 16:15:58 ubuntu /usr/libexec/gdm-x-session[4265]: (II) UnloadModule: "qxl"
avril 05 16:15:58 ubuntu /usr/libexec/gdm-x-session[4265]: (EE) Screen(s) found, but none have a usable configuration.
avril 05 16:15:58 ubuntu /usr/libexec/gdm-x-session[4265]: (EE)
avril 05 16:15:58 ubuntu /usr/libexec/gdm-x-session[4265]: Fatal server error:
avril 05 16:15:58 ubuntu /usr/libexec/gdm-x-session[4265]: (EE) no screens found(EE)
avril 05 16:15:58 ubuntu /usr/libexec/gdm-x-session[4265]: (EE)

Although see also QXL issues in bug 1967719 and bug 1953035.

description: updated
affects: ubiquity (Ubuntu) → xserver-xorg-video-qxl (Ubuntu)
tags: added: qxl
summary: - Jammy fails to boot to live session in virt-manager with QXL
+ [qxl] Xorg fails to start with "Screen(s) found, but none have a usable
+ configuration."
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Also your kernel log shows the 'qxl' DRM kernel driver seems to be working. And Xorg has clearly found the kernel qxl device. So if Xorg says "Screen(s) found, but none have a usable configuration" then it suggests there might have been some change in the kernel driver that the Xorg driver doesn't yet support.

Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1967901

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Maybe report the issue upstream at https://gitlab.freedesktop.org/xorg/driver/xf86-video-qxl/-/issues although it doesn't look very active...

If the offending change is in the kernel then it might be useful to try some older and newer kernels (after installation): https://kernel.ubuntu.com/~kernel-ppa/mainline/?C=M;O=D

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

this is caused by a build issue, it doesn't detect qxl_drm.h which then means the driver doesn't have support for KMS

Changed in xorg-server (Ubuntu):
status: New → Invalid
Changed in linux (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xserver-xorg-video-qxl - 0.1.5+git20200331-3

---------------
xserver-xorg-video-qxl (0.1.5+git20200331-3) unstable; urgency=medium

  * configure-Simplify-fragile-libdrm-detection.patch: Fix detecting
    qxl_drm.h. (LP: #1967901)

 -- Timo Aaltonen <email address hidden> Wed, 06 Apr 2022 10:23:41 +0300

Changed in xserver-xorg-video-qxl (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.