You are not logged in.

#51 2024-09-05 13:33

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,501
Website

Re: Black screen

Please try to use the system without /usr/local/lib/libsqlite3* now. We would appreciate, if you would post a result here.

We assume it would be better to make a fresh Q4OS installation later to avoid some hidden corruptions connected to activities manager confusion.

All in all, this "black screen" issue doesn't seem to be Q4OS or Debian bug. Thanks for the detailed reporting.

Offline

#52 2024-09-05 20:23

hchiper
Member
From: Belgium
Registered: 2020-07-28
Posts: 519

Re: Black screen

I have restored /usr/local/lib and run "make uninstall" from the directory where I compiled sqlite3 to remove it cleanly.
The system seems "repaired", not only or my everyday account but also for test1, test2, test3. I'll continue to use it and give news within a week or so.

It seems indeed that the issue is not related to Q4OS or Debian, but comes from a kind of conflict or incompatibility between Plasma and an install of sqlite3 compiled from source.

I wonder now if there is a solution to install that "problematic" sqlite3 version without creating that conflict.


Q4OS machine: Samsung R519 - Pentium T4200 2.0 GHz - 4 GB RAM - 500 GB SSD

Offline

#53 2024-09-05 21:00

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,501
Website

Re: Black screen

hchiper wrote:

I wonder now if there is a solution to install that "problematic" sqlite3 version without creating that conflict.

You can try either
- edit "/etc/ld.so.conf.d/35_localq4.conf", comment out /usr/local/lib line and install compiled sqlite* libraries in /usr/local/lib/ again
or, if the latter won't work:
- install compiled sqlite* libraries in /usr/local/lib/mysqlite/ and create file "/etc/ld.so.conf.d/zz_mysqlite.conf" containing line "/usr/local/lib/mysqlite"

If the first option would work, we will consider a change, as it could be bug in Q4OS after all.

Offline

#54 2024-09-06 11:06

hchiper
Member
From: Belgium
Registered: 2020-07-28
Posts: 519

Re: Black screen

Once again, thank you for your support.

The first option is not the solution (I rebooted after edit and before login to test1 user, and got the black screen).

For the 2nd option, I need to have a close look at the ./configure options, because the installation procedure (make install) installs not only libraries, but also the executable, header files, man files (not sure I don't forget something). Not yet clear to me how to manage this. Anyway, I need the .h files to compile an SQLite extension I am developing.

For the moment, I am tempted to install and simply delete (or at least rename) all the /usr/local/lib/libsqlite3*.* files, which would be the most straightforward.
Otherwise, the best I could do is to ask on SQLite forum. I already searched there for "black screen" but I didn't find anything. Even if there are no Q4OS users there, there could be (or not?) Debian / Plasma users, but no one of them seems to have reported the black screen problem.

I also looked at the sqlite3 packages in the repositories. The sqlite3 package does not contain the libraries, but libsqlite3 and libsqlite3-dev do. I installed the former in the past and got no trouble, but I never installed the two latter and I don't know if they cause the problem.

Last edited by hchiper (2024-09-06 11:07)


Q4OS machine: Samsung R519 - Pentium T4200 2.0 GHz - 4 GB RAM - 500 GB SSD

Offline

#55 2024-09-06 11:33

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,501
Website

Re: Black screen

hchiper wrote:

... there could be (or not?) Debian / Plasma users, but no one of them seems to have reported the black screen problem.

We assume the plain Debian with Plasma would suffer the same black screen issue as it also prefers /usr/local/lib directory for custom libraries over the system ones.

Offline

#56 2024-09-06 11:44

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,501
Website

Re: Black screen

What source did you compile libsqlite libraries from ?

Offline

#57 2024-09-06 12:58

hchiper
Member
From: Belgium
Registered: 2020-07-28
Posts: 519

Re: Black screen

https://sqlite.org/2024/sqlite-autoconf-3460000.tar.gz
(current version is 3460100)
Then decompress, cd to the uncompressed folder and, as usual, ./configure -> make -> make install
The libsqlite3* files are under the hidden folder .libs

Last edited by hchiper (2024-09-06 12:59)


Q4OS machine: Samsung R519 - Pentium T4200 2.0 GHz - 4 GB RAM - 500 GB SSD

Offline

#58 2024-09-06 13:29

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,501
Website

Re: Black screen

Well, we can now reproduce the black screen issue on vanilla Debian Plasma installation.
- Install Debian 11 Bullseye / Plasma in Virtualbox, debian-live-11.7.0-amd64-kde.iso
- Apply system upgrades from repositories
- Login to Plasma
- Compile and install Sqlite from source https://www.q4os.org/forum/viewtopic.ph … 435#p27435
- Run command to link libraries:
  $ sudo ldconfig -v
- Note the system works fine until the "ldconfig" command is processed. So it can work for quite a long time even after Sqlite installation.
- Reboot
- Try to log into Plasma desktop
- Black screen

Offline

#59 2024-09-06 13:34

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,501
Website

Re: Black screen

So we conclude, this is not Q4OS bug definitely. It could be considered as Debian upstream bug, however we are not so sure, if it's a bug, or just a Debian intentional configuration. In anyway we will move Q4OS specific libraries path outside of /usr/local/lib to get the system cleaner in the upcoming Q4OS updates.

Offline

Board footer

Powered by FluxBB