WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: 'failed in waitforX' with CL/CP64-16.0/17.0  (Read 214 times)

Offline rhermsen

  • Wiki Author
  • Full Member
  • *****
  • Posts: 131
'failed in waitforX' with CL/CP64-16.0/17.0
« on: April 14, 2026, 02:02:06 PM »
From end of 2025 with CL-16.0, CP64-16.0, and also with CL/CP64-17.0 I get 'failed in waitforX'.
I use TCL as VM's.
This is likely related with https://forum.tinycorelinux.net/index.php?topic=27832.0


I'm loading the following extensions to have Xorg GUI available.
Code: [Select]
libXmu.tcz
openssh.tcz
graphics-KERNEL.tcz
Xorg-7.7.tcz
flwm_topside.tcz
wbar.tcz
aterm.tcz


/var/log/Xorg.0.log Gives the following two errors
Code: [Select]
Failed to load /usr/local/lib/xorg/modules/extensions/libglx.so: libGL.so.1: cannot open shared object file: No such file or directory
Failed to load /usr/local/lib/xorg/modules/drivers/modesetting_drv.so: libgbm.so.1: cannot open shared object file: No such file or directory

After additonally loading the following two extensions it is working again.
Code: [Select]
tce-load -wi libGL.tcz
tce-load -wi libEGL.tcz

Is it expected that I need to load these two extensions to have Xorg working?





Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15549
Re: 'failed in waitforX' with CL/CP64-16.0/17.0
« Reply #1 on: April 15, 2026, 03:39:04 AM »
I’m traveling at the moment, so I can’t check - I’ll try to get back to you in 4-5 days time.

Offline rhermsen

  • Wiki Author
  • Full Member
  • *****
  • Posts: 131
Re: 'failed in waitforX' with CL/CP64-16.0/17.0
« Reply #2 on: April 15, 2026, 04:37:39 AM »
Thanks, save travel, and take your time.

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15549
Re: 'failed in waitforX' with CL/CP64-16.0/17.0
« Reply #3 on: Today at 08:44:46 AM »
Booting without loading any extensions, I get this with tc-17.x x86_64:
Code: [Select]
tce-load -i Xorg-7.7 flwm aterm wbar
startx
..and the gui starts.

I get this in /var/log/Xorg.0.log:
Code: [Select]
[    34.827] (EE) Failed to load /usr/local/lib/xorg/modules/extensions/libglx.so: libGL.so.1: cannot open shared object file: No such file or directory
...
[    34.829] (EE) Failed to load /usr/local/lib/xorg/modules/drivers/modesetting_drv.so: libgbm.so.1: cannot open shared object file: No such file or directory
..but the gui still works

Edit: I get the same thing with tc-17.x x86, except that the system hangs on exit to prompt.

In addition, I cannot use the modesetting driver with x86 otherwise the system hangs, I'm obliged to use the obsolete xf86-video-intel extension, whereas both work with x86_64.
« Last Edit: Today at 09:04:13 AM by Juanito »

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15549
Re: 'failed in waitforX' with CL/CP64-16.0/17.0
« Reply #4 on: Today at 09:02:54 AM »
..therefore the problem seems to be your use of graphics-KERNEL, which promotes modesetting to be the preferred driver, which depends on libgbm provided by libEGL.

What happens if you don't use graphics-KERNEL?
« Last Edit: Today at 10:06:43 AM by Juanito »

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15549
Re: 'failed in waitforX' with CL/CP64-16.0/17.0
« Reply #5 on: Today at 09:55:08 AM »
As part of investigating I discovered that the x86 version of expat2 had acquired a dep on ncursesw - rebuilt without this and re-posted.