Skip to contentSkip to conversation

core-image-minimal-xfce: Xorg screen remains black

DISCUSSION Manuel Wagesreither 2 participants 4 messages Oct 6, 2022 – Oct 17, 2022

lore
Share & tools
lore
#0 lore raw

Hi all,

I'd like to build core-image-minimal-xfce for qemux86-64. I'm on Dunfell.

At first, Xorg didn't start properly but I could fix that by adding package xkeyboard-config manually to the image. Now Xorg seems to start (displays a mouse cursor), but the screen is otherwise black. At some point the screen flickers and I see a window for the fraction of a second, but then the screen goes dark again.

I've attached what Xorg prints on stderr.

There's heaps of error messages and I could go through them and fix them one after the other, but I figure something is broken on a fundamental level. After all, core-image-minimal-xfce should be expected to work, even if it's Dunfell, not?

Can you tell me what's causing my problems?

I'm on the Dunfell branch tip as it was on October 13th on both poky and meta-openembedded: https://gitlab.com/manuel_wagesreither/bora-proj/-/blob/xfce/kas/bora-xfce.yml#L32

Regards,
Manuel

Starting Xserver
D-BUS per-session daemon address is: unix:abstract=/tmp/dbus-wFAbnkKFRy,guid=669f2ab5f4a83fe58c61bb7d633ece50
SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
Bail out! Gtk:ERROR:../../gtk+-3.24.14/gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /org/gtk/libgtk/icons/24x24/status/image-missing.png: Unrecognized image file format (gdk-pixbuf-error-quark, 3) Another notification daemon is running, exiting

X.Org X Server 1.20.14
X Protocol Version 11, Revision 0
Build Operating System: Linux
Current Operating System: Linux qemux86-64 5.4.210-yocto-standard #1 SMP PREEMPT Mon Aug 15 13:58:54 UTC 2022 x86_64 Kernel command line: root=/dev/vda rw mem=256M ip=dhcp oprofile.timer=1
Build Date: 15 December 2021 07:01:48PM

Current version of pixman: 0.38.4
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Oct 6 12:47:12 2022
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
Error: No calibratable devices found.
/etc/X11/Xsession: /etc/X11/Xsession.d/89xdgautostart.sh: line 5: xscreensaver: not found
Error: No calibratable devices found.
dbus-daemon[791]: Activating service name='org.a11y.atspi.Registry' requested by ':1.0' (uid=0 pid=762 comm="/usr/bin/x-session-manager ")
xfce4-session: No GPG agent found
xfce4-session: No SSH authentication agent found

(x-session-manager:762): xfce4-session-WARNING **: 12:47:12.778: xfsm_manager_load_session: Something wrong with /root/.cache/sessions/xfce4-session-qemux86-64:0, Does it exist? Permissions issue? dbus-daemon[791]: Successfully activated service 'org.a11y.atspi.Registry'
Failed to connect to session manager: Failed to connect to the session manager: SESSION_MANAGER environment variable not defined

(xfsettingsd:807): xfsettingsd-WARNING **: 12:47:12.846: Failed to get the _NET_NUMBER_OF_DESKTOPS property.

(xfce4-panel:829): Gtk-WARNING **: 12:47:13.216: Could not load a pixbuf from icon theme. This may indicate that pixbuf loaders or the mime database could not be found.

(xfwm4:822): Gdk-WARNING **: 12:47:13.227: Error converting selection from STRING: Conversion from character set ?ISO-8859-1? to ?UTF-8? is not supported

(xfwm4:822): Gtk-WARNING **: 12:47:13.236: Could not load a pixbuf from icon theme. This may indicate that pixbuf loaders or the mime database could not be found.

(xfwm4:822): Gdk-WARNING **: 12:47:13.475: Error converting selection from STRING: Conversion from character set ?ISO-8859-1? to ?UTF-8? is not supported

(xfwm4:822): Gdk-WARNING **: 12:47:13.576: Error converting selection from STRING: Conversion from character set ?ISO-8859-1? to ?UTF-8? is not supported

(xfce4-panel:829): Gtk-WARNING **: 12:47:13.592: Invalid icon size 16
**
Gtk:ERROR:../../gtk+-3.24.14/gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /org/gtk/libgtk/icons/24x24/status/image-missing.png: Unrecognized image file format (gdk-pixbuf-error-quark, 3)

(wrapper-2.0:837): xfce4-panel-wrapper-WARNING **: 12:47:13.689: ProviderSignal call failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name :1.7 was not provided by any .service files

(wrapper-2.0:835): xfce4-panel-wrapper-WARNING **: 12:47:13.693: ProviderSignal call failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name :1.7 was not provided by any .service files

(wrapper-2.0:836): xfce4-panel-wrapper-WARNING **: 12:47:13.698: ProviderSignal call failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name :1.7 was not provided by any .service files

(wrapper-2.0:836): GLib-GIO-CRITICAL **: 12:47:13.703: g_file_new_for_path: assertion 'path != NULL' failed

(wrapper-2.0:836): GLib-GIO-CRITICAL **: 12:47:13.703: g_file_monitor_file: assertion 'G_IS_FILE (file)' failed

(wrapper-2.0:836): GLib-GObject-WARNING **: 12:47:13.703: invalid (NULL) pointer instance

(wrapper-2.0:836): GLib-GObject-CRITICAL **: 12:47:13.703: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(wrapper-2.0:836): Gtk-WARNING **: 12:47:13.703: Attempting to add a widget with type GtkToggleButton to a container of type XfcePanelPlugin, but the widget is already inside a container of type XfcePanelPlugin, please remove the widget from its existing container first.

(wrapper-2.0:836): xfce4-panel-wrapper-WARNING **: 12:47:13.704: ProviderSignal call failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name :1.7 was not provided by any .service files

(wrapper-2.0:836): xfce4-panel-wrapper-WARNING **: 12:47:13.704: ProviderSignal call failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name :1.7 was not provided by any .service files

** (xfdesktop:851): WARNING **: 12:47:21.813: Thumbnailer failed calling GetFlavors

(xfdesktop:851): thunar-uca-WARNING **: 12:47:21.826: Failed to load `/root/.config/Thunar/uca.xml': Error on line 1 char 1: Document was empty or contained only whitespace

(xfdesktop:851): Gtk-WARNING **: 12:47:21.851: Could not load a pixbuf from /org/gtk/libgtk/icons/48x48/status/image-missing.png. This may indicate that pixbuf loaders or the mime database could not be found.

(xfdesktop:851): GdkPixbuf-CRITICAL **: 12:47:21.851: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(xfdesktop:851): GdkPixbuf-CRITICAL **: 12:47:21.851: gdk_pixbuf_scale_simple: assertion 'GDK_IS_PIXBUF (src)' failed

(xfdesktop:851): GLib-GObject-CRITICAL **: 12:47:21.851: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(xfdesktop:851): GLib-GObject-CRITICAL **: 12:47:21.851: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

** (xfdesktop:851): WARNING **: 12:47:21.851: Unable to find fallback icon

(xfdesktop:851): Pango-CRITICAL **: 12:47:21.854: pango_font_get_hb_font: assertion 'PANGO_IS_FONT (font)' failed

** (xfdesktop:855): WARNING **: 12:47:22.043: Thumbnailer failed calling GetFlavors

(xfdesktop:855): thunar-uca-WARNING **: 12:47:22.069: Failed to load `/root/.config/Thunar/uca.xml': Error on line 1 char 1: Document was empty or contained only whitespace

(xfdesktop:855): Gtk-WARNING **: 12:47:22.119: Could not load a pixbuf from /org/gtk/libgtk/icons/48x48/status/image-missing.png. This may indicate that pixbuf loaders or the mime database could not be found.

(xfdesktop:855): GdkPixbuf-CRITICAL **: 12:47:22.123: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(xfdesktop:855): GdkPixbuf-CRITICAL **: 12:47:22.123: gdk_pixbuf_scale_simple: assertion 'GDK_IS_PIXBUF (src)' failed

(xfdesktop:855): GLib-GObject-CRITICAL **: 12:47:22.123: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(xfdesktop:855): GLib-GObject-CRITICAL **: 12:47:22.123: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

** (xfdesktop:855): WARNING **: 12:47:22.123: Unable to find fallback icon

(xfdesktop:855): Pango-CRITICAL **: 12:47:22.134: pango_font_get_hb_font: assertion 'PANGO_IS_FONT (font)' failed PCRE2 library was built without JIT support

(xfwm4:822): Gdk-WARNING **: 12:47:22.251: Error converting selection from STRING: Conversion from character set ?ISO-8859-1? to ?UTF-8? is not supported

** (xfdesktop:870): WARNING **: 12:47:22.575: Thumbnailer failed calling GetFlavors

(xfdesktop:870): thunar-uca-WARNING **: 12:47:22.585: Failed to load `/root/.config/Thunar/uca.xml': Error on line 1 char 1: Document was empty or contained only whitespace

(xfdesktop:870): Gtk-WARNING **: 12:47:22.604: Could not load a pixbuf from /org/gtk/libgtk/icons/48x48/status/image-missing.png. This may indicate that pixbuf loaders or the mime database could not be found.

(xfdesktop:870): GdkPixbuf-CRITICAL **: 12:47:22.604: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(xfdesktop:870): GdkPixbuf-CRITICAL **: 12:47:22.604: gdk_pixbuf_scale_simple: assertion 'GDK_IS_PIXBUF (src)' failed

(xfdesktop:870): GLib-GObject-CRITICAL **: 12:47:22.604: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(xfdesktop:870): GLib-GObject-CRITICAL **: 12:47:22.604: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

** (xfdesktop:870): WARNING **: 12:47:22.604: Unable to find fallback icon

(xfdesktop:870): Pango-CRITICAL **: 12:47:22.607: pango_font_get_hb_font: assertion 'PANGO_IS_FONT (font)' failed

** (xfdesktop:884): WARNING **: 12:47:22.770: Thumbnailer failed calling GetFlavors

(xfdesktop:884): thunar-uca-WARNING **: 12:47:22.780: Failed to load `/root/.config/Thunar/uca.xml': Error on line 1 char 1: Document was empty or contained only whitespace

(xfdesktop:884): Gtk-WARNING **: 12:47:22.800: Could not load a pixbuf from /org/gtk/libgtk/icons/48x48/status/image-missing.png. This may indicate that pixbuf loaders or the mime database could not be found.

(xfdesktop:884): GdkPixbuf-CRITICAL **: 12:47:22.800: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(xfdesktop:884): GdkPixbuf-CRITICAL **: 12:47:22.800: gdk_pixbuf_scale_simple: assertion 'GDK_IS_PIXBUF (src)' failed

(xfdesktop:884): GLib-GObject-CRITICAL **: 12:47:22.800: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(xfdesktop:884): GLib-GObject-CRITICAL **: 12:47:22.800: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

** (xfdesktop:884): WARNING **: 12:47:22.800: Unable to find fallback icon

(xfdesktop:884): Pango-CRITICAL **: 12:47:22.803: pango_font_get_hb_font: assertion 'PANGO_IS_FONT (font)' failed

** (xfdesktop:888): WARNING **: 12:47:22.974: Thumbnailer failed calling GetFlavors

(xfdesktop:888): thunar-uca-WARNING **: 12:47:22.985: Failed to load `/root/.config/Thunar/uca.xml': Error on line 1 char 1: Document was empty or contained only whitespace

(xfdesktop:888): Gtk-WARNING **: 12:47:23.005: Could not load a pixbuf from /org/gtk/libgtk/icons/48x48/status/image-missing.png. This may indicate that pixbuf loaders or the mime database could not be found.

(xfdesktop:888): GdkPixbuf-CRITICAL **: 12:47:23.005: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(xfdesktop:888): GdkPixbuf-CRITICAL **: 12:47:23.006: gdk_pixbuf_scale_simple: assertion 'GDK_IS_PIXBUF (src)' failed

(xfdesktop:888): GLib-GObject-CRITICAL **: 12:47:23.006: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(xfdesktop:888): GLib-GObject-CRITICAL **: 12:47:23.006: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

** (xfdesktop:888): WARNING **: 12:47:23.006: Unable to find fallback icon

(xfdesktop:888): Pango-CRITICAL **: 12:47:23.008: pango_font_get_hb_font: assertion 'PANGO_IS_FONT (font)' failed

** (xfdesktop:892): WARNING **: 12:47:23.191: Thumbnailer failed calling GetFlavors

(xfdesktop:892): thunar-uca-WARNING **: 12:47:23.201: Failed to load `/root/.config/Thunar/uca.xml': Error on line 1 char 1: Document was empty or contained only whitespace

(xfdesktop:892): Gtk-WARNING **: 12:47:23.222: Could not load a pixbuf from /org/gtk/libgtk/icons/48x48/status/image-missing.png. This may indicate that pixbuf loaders or the mime database could not be found.

(xfdesktop:892): GdkPixbuf-CRITICAL **: 12:47:23.222: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(xfdesktop:892): GdkPixbuf-CRITICAL **: 12:47:23.222: gdk_pixbuf_scale_simple: assertion 'GDK_IS_PIXBUF (src)' failed

(xfdesktop:892): GLib-GObject-CRITICAL **: 12:47:23.222: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(xfdesktop:892): GLib-GObject-CRITICAL **: 12:47:23.222: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

** (xfdesktop:892): WARNING **: 12:47:23.222: Unable to find fallback icon

(xfdesktop:892): Pango-CRITICAL **: 12:47:23.225: pango_font_get_hb_font: assertion 'PANGO_IS_FONT (font)' failed
xinit: connection to X server lost

waiting for X server to shut down dbus-daemon[791]: Reloaded configuration
Gdk-Message: 12:51:39.585: xfsettingsd: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.

Gdk-Message: 12:51:39.594: xfwm4: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.

(II) Server terminated successfully (0). Closing log file.

xinit: unexpected signal 15

#1 lore raw

Hi all,

I've also been reproducing this issue for a few days, and I haven't found a fix yet.
Does anyone have an idea, to fix it?

Kind regards,
Thomas

Quoted 38 lines · Manuel Wagesreither

Hi all,

I'd like to build core-image-minimal-xfce for qemux86-64. I'm on Dunfell.

At first, Xorg didn't start properly but I could fix that by adding package xkeyboard-config manually to the image. Now Xorg seems to start (displays a mouse cursor), but the screen is otherwise black. At some point the screen flickers and I see a window for the fraction of a second, but then the screen goes dark again.

I've attached what Xorg prints on stderr.

There's heaps of error messages and I could go through them and fix them one after the other, but I figure something is broken on a fundamental level. After all, core-image-minimal-xfce should be expected to work, even if it's Dunfell, not?

Can you tell me what's causing my problems?

I'm on the Dunfell branch tip as it was on October 13th on both poky and meta-openembedded:
https://gitlab.com/manuel_wagesreither/bora-proj/-/blob/xfce/kas/bora-xfce.yml#L32

Regards,
Manuel

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#58276):
https://lists.yoctoproject.org/g/yocto/message/58276
Mute This Topic: https://lists.yoctoproject.org/mt/94160185/5443093
Group Owner: [email protected] Unsubscribe:
https://lists.yoctoproject.org/g/yocto/unsub [[email protected]
]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 3 lines
Thomas Perrot, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com
#2 lore raw

I realized core-image-minimal-xfce.bb adds packagegroup-core-x11 to IMAGE_INSTALL.
Yet,
* It doesn't add x11 to IMAGE_FEATURES which would do the same but perhaps a bit more.
* It doesn't add x11-base to IMAGE_FEATURES, which would add packagegroup-core-x11-base to IMAGE_INSTALL and perhaps a bit more.

Hence I added x11 and x11-base to IMAGE_FEATURES and it changed things in so far as when the flickering occurs, the black screen changes into a gray screen.

Regards,
Manuel

#3 lore raw

Hello Manuel,

The regression is linked to the update of the libx11 from 1.8.0 to 1.8.1.
While waiting for a fix you can revert the commit that updates libx11 (7918a25736a7).

Kind regards,
Thomas

Quoted 26 lines · Manuel Wagesreither

I realized core-image-minimal-xfce.bb adds packagegroup-core-x11 to IMAGE_INSTALL.
Yet,
* It doesn't add x11 to IMAGE_FEATURES which would do the same but perhaps a bit more.
* It doesn't add x11-base to IMAGE_FEATURES, which would add packagegroup-core-x11-base to IMAGE_INSTALL and perhaps a bit more.

Hence I added x11 and x11-base to IMAGE_FEATURES and it changed things in so far as when the flickering occurs, the black screen changes into a gray screen.

Regards,
Manuel

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#58279):
https://lists.yoctoproject.org/g/yocto/message/58279
Mute This Topic: https://lists.yoctoproject.org/mt/94160185/5443093
Group Owner: [email protected] Unsubscribe:
https://lists.yoctoproject.org/g/yocto/unsub [[email protected]
]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 3 lines
Thomas Perrot, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com