WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Xorg doesn't start in TC 16.2 after extensions update  (Read 213 times)

Offline Nigromante

  • Newbie
  • *
  • Posts: 3
Xorg doesn't start in TC 16.2 after extensions update
« on: November 22, 2025, 11:33:19 AM »
Hi,

I think there is a problem with the latest extensions update for TC 16.2 (x86).

I installed TC 16 with Xorg-7.7 on a Pentium 4 (with an NVIDIA nForce 610i/630i graphics card) that didn't have a previous TC installation. After updating my extensions to the latest versions using the app, Xorg no longer starts. The terminal only displays "Failed in WaitforX".

The machine worked fine with nouveau-6.12.11-tinycore.tcz and Xorg-7.7.tcz.

I tried starting Xorg without the nouveau module, but the terminal still only displays "Failed in WaitforX".

In another PC with TC 16 (Pentium 4, Intel i915 chipset), the machine was working; I updated the extensions using the app. Xorg failed to start and the terminal appears frozen (nothing can be typed)...

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15328
Re: Xorg doesn't start in TC 16.2 after extensions update
« Reply #1 on: November 22, 2025, 11:57:57 AM »
Instead of startx enter Xorg -nolisten tcp and see if you get an error message.

Offline Nigromante

  • Newbie
  • *
  • Posts: 3
Re: Xorg doesn't start in TC 16.2 after extensions update
« Reply #2 on: November 22, 2025, 02:50:12 PM »
Hi, Juanito.

Thanks for replying.

Applying Xorg -nolisten tcp successively results in

Code: [Select]
/usr/local/lib/xorg/Xorg: error while loading shared libraries: libpciaccess.so.0: cannot open shared object file: No such file or directory
Code: [Select]
usr/local/lib/xorg/Xorg: error while loading shared libraries: libxshmfence.so.1: cannot open shared object file: No such file or directory
and

Code: [Select]
/usr/local/lib/xorg/Xorg: error while loading libraries shared: libdrm.so.2: cannot open shared object file: No such file or directory.

And /var/log/Xorg.0.log it says

Code: [Select]
MESA-LOADER: failed to open dri: libLLVM.so.19.1: cannot open shared object file: No such file or directory (search paths /usr/local/lib/gbm, suffix _gbm)
Then
Code: [Select]
tce-load -i libpciaccess libxshmfence libdrm llvm19-lib and Xorg starts! :D

    [Edit]: Fixed code tags.  Rich
« Last Edit: November 22, 2025, 04:32:01 PM by Rich »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 12317
Re: Xorg doesn't start in TC 16.2 after extensions update
« Reply #3 on: November 22, 2025, 05:01:01 PM »
Hi Nigromante
Welcome to the forum.

Xorg-7.7.tcz.dep looks like this:
Code: [Select]
Xprogs.tcz
Xorg-fonts.tcz
xcursor-themes.tcz
xf86-input-libinput.tcz
xf86-video-fbdev.tcz
xf86-video-vesa.tcz
xkeyboard-config.tcz
xorg-server.tcz
So installing that should have pulled in xorg-server.tcz.

xorg-server.tcz.dep looks like this:
Code: [Select]
libXfont2.tcz
libepoxy.tcz
expat2.tcz
openssl.tcz
pixman.tcz
libxcvt.tcz
libpciaccess.tcz
libxshmfence.tcz
libdrm.tcz
xkbcomp.tcz

So when it got pulled in, it should have pulled in:
Code: [Select]
libpciaccess.tcz
libxshmfence.tcz
libdrm.tcz

I'm not sure which extension should have pulled in llvm19-lib.tcz, maybe Juanito knows.

There is an  update-everything  command you might want to run
to make sure all .dep and md5 files are correct.

If any errors crop up, especially missing md5 files, that might explain
some of the problems you had.

Offline andyj

  • Hero Member
  • *****
  • Posts: 1040
Re: Xorg doesn't start in TC 16.2 after extensions update
« Reply #4 on: November 22, 2025, 10:04:38 PM »
I ran into this also. I cleared it up by running tce-audit updatedeps and tce-audit fetchmissing as many times as it took to resolve everything. This doesn't seem like the proper way to fix this.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15328
Re: Xorg doesn't start in TC 16.2 after extensions update
« Reply #5 on: November 23, 2025, 04:38:36 AM »
I'm not sure which extension should have pulled in llvm19-lib.tcz, maybe Juanito knows.

It's a little difficult for me to test x11 on x86 as my graphics hardware (intel hd4400 haswell) doesn't like 32-bit and will not start without xf86-video-intel (which is not the case with 64-bit).

If I boot with only xf86-video-intel, Xorg-7.7, flwm aterm and wbar loaded, the gui starts and there are no dependencies on llvm. There are unmet dependencies on libEGL and libGL in xorg-server that would be used by Xorg-7.7-3d.

xf86-video-nouveau does not depend on llvm, I'm guessing that either a different graphics driver (xf86-video-*) or a different window manager are being loaded that depends on llvm?
« Last Edit: November 23, 2025, 04:47:16 AM by Juanito »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15328
Re: Xorg doesn't start in TC 16.2 after extensions update
« Reply #6 on: November 23, 2025, 04:40:24 AM »
I ran into this also. I cleared it up by running tce-audit updatedeps and tce-audit fetchmissing as many times as it took to resolve everything. This doesn't seem like the proper way to fix this.

In hindsight I should have perhaps waited for a new major version of tinycore to make the changes to mesa...

Offline Nigromante

  • Newbie
  • *
  • Posts: 3
Re: Xorg doesn't start in TC 16.2 after extensions update
« Reply #7 on: November 23, 2025, 08:45:22 AM »
Hi, everyone,

There is an  update-everything  command you might want to run to make sure all .dep and md5 files are correct.

If any errors crop up, especially missing md5 files, that might explain some of the problems you had.

I can confirm that update-everything fixed the problem with Xorg not starting in the machines I mentioned before (Intel i915 and NVIDIA nForce 610i).

There are unmet dependencies on libEGL and libGL in xorg-server that would be used by Xorg-7.7-3d.

Juanito is right. On both machines I was loading Xorg-7.7-3d. That is why the dependency on llvm19-lib.tcz in my /var/log/Xorg.0.

Now in the machine with intel chipset, Xorg can starts with xf86-video-intel.tcz and Xorg-7.7.tcz; in the nvidia chipset can starts with nouveau-6.12.11-tinycore.tcz and Xorg-7.7.tcz (or even Xorg-7.7-3d.tcz).

On the machine (intel) in which I now write on, xorg-server.tcz.dep shows

Code: [Select]
libXfont2.tcz
libepoxy.tcz
expat2.tcz
openssl.tcz
pixman.tcz
libxcvt.tcz
libpciaccess.tcz
libxshmfence.tcz
libdrm.tcz
xkbcomp.tcz

(By the way, gedit was working before the update. Now it complains about "error while loading shared libraries: libglapi.so.0: cannot open shared object file: No such file or directory". But emacs works great :D)

Thank you all for your help.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15328
Re: Xorg doesn't start in TC 16.2 after extensions update
« Reply #8 on: November 23, 2025, 11:45:49 AM »
I’ll take a look at gedit.

Offline GNUser

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 1694
Re: Xorg doesn't start in TC 16.2 after extensions update
« Reply #9 on: November 23, 2025, 12:04:27 PM »
Hi Juanito. I just finished building gedit version 2.1. It is working well. Would you like me to submit it for the TCL16 x86_64 repo?

Offline GNUser

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 1694
Re: Xorg doesn't start in TC 16.2 after extensions update
« Reply #10 on: November 23, 2025, 04:09:58 PM »
Hi Juanito. I added some polish to geany and submitted it. Please use it if it's helpful to you.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15328
Re: Xorg doesn't start in TC 16.2 after extensions update
« Reply #11 on: Today at 03:35:22 AM »
Hi Juanito. I just finished building gedit version 2.1. It is working well. Would you like me to submit it for the TCL16 x86_64 repo?

I think the thread was about x86, but no problem, are you speaking of a gtk2 version of gedit?