Fail to start on Fedora 38

Description

After unstall of th previous version install of 2022-4 with elevated rights was running flawlessly. After showing theocbase logo nothing happens. On starting from prompt in terminal in /opt/Theocbase by ./thoecbase.sh i get thefollowing message:

Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize 8, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile) 
./theocbase.sh: Zeile 11:  4595 Abgebrochen             (Speicherabzug geschrieben) $dirname/AppRun $*

If i remember right i had a similar issue in an previous version of Fedora. I modded some option to the theocbase.sh, something “sandbox”. It was a hint in the old forum, but it’s not accessible anymore :frowning:

Maybe someone can give me a hint. It’d be highly appreciated!

Screenshot

No screeshot available -


Requirements

  • Desktop OS (name and version): Fedora 38
  • App OS (name and version): (if relevent)
  • TheocBase version: 2022-4
  • Language used: German

Edit by modo: correction of the version number, and pagination

Hi.

You can copy the fully return of the command on this forum, select the text and click on the </> icon at the top of your post.

Please, do-it! :wink:


Do you mean about:

$ cat /opt/TheocBase/theocbase.sh 
#!/bin/sh
appname=`basename $0 | sed s,\.sh$,,`

dirname=`dirname $0`
tmp="${dirname#?}"

if [ "${dirname%$tmp}" != "/" ]; then
dirname=$PWD/$dirname
fi

$dirname/AppRun --no-sandbox $*

But I dont think that resolves your problem; especially since it’s “on-board” in the Linux version, since the release 2022.04.0.

Yes that’s what i meant. But as i said i don’t remember exactly what i modified to had theocbase running again. I’m pretty sure i got the hint in the old forum. So, what else can cause the OpenGL error i posted from the log? Any idea?

Please, post the entire return of the CLI command!
and if it’s too long to include into the forum, copy on an ascii text file and click on the join icon.

:wink:

[prompt] $ ./theocbase.sh 
libGL error: MESA-LOADER: failed to open iris: /lib64/libelf.so.1: undefined symbol: ZSTD_compressStream2 (search paths /usr/lib64/dri, suffix _dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open iris: /lib64/libelf.so.1: undefined symbol: ZSTD_compressStream2 (search paths /usr/lib64/dri, suffix _dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open swrast: /lib64/libelf.so.1: undefined symbol: ZSTD_compressStream2 (search paths /usr/lib64/dri, suffix _dri)
libGL error: failed to load driver: swrast
"/home/rs/.config/theocbase.net/common.conf"
VERSION =  "2022.04.0"
Qt Paths:
 Prefix:  "/opt/TheocBase"
 Documentation:  "/opt/TheocBase/doc"
 Headers:  "/opt/TheocBase/include"
 Libraries:  "/opt/TheocBase/lib"
 LibraryExecutables:  "/opt/TheocBase/libexec"
 BinariesPath:  "/opt/TheocBase/bin"
 Plugins:  "/opt/TheocBase/plugins"
 Imports:  "/opt/TheocBase/qml"
 Qml2Imports:  "/opt/TheocBase/qml"
 ArchData:  "/opt/TheocBase"
 Data:  "/opt/TheocBase"
 Translations:  "/opt/TheocBase/translations"
 Settings:  "/opt/TheocBase"
"/opt/TheocBase/bin/theocbase_de.qm"
"/opt/TheocBase/bin/theocbase_de"
Linux system - locale: "German"
-- new database connection -- "/home/rs/.TheocBase/theocbase.sqlite"
!! transaction support  true
"SQLEXEC = PRAGMA legacy_alter_table=ON"
no need update database
"SQLEXEC = insert into congregationmeetingtimes (congregation_id, mtg_year, mtg_day, mtg_time) select c.id, strftime('%Y', 'now') + 1, ifnull(current.mtg_day, 7), ifnull(current.mtg_time, '10:00') from congregations c left join congregationmeetingtimes current on c.id = current.congregation_id and current.mtg_year = strftime('%Y', 'now') left join congregationmeetingtimes next on c.id = next.congregation_id and next.mtg_year = strftime('%Y', 'now') + 1 where next.congregation_id is null"
"tablename=congregations searchfield=id value=1"
"SELECT * FROM 'congregations' WHERE id=:value"
"sql query=select id, mtg_year, mtg_day, mtg_time from congregationmeetingtimes where congregation_id = :congregation_id and (mtg_year = :thisyear or mtg_year = :thisyear + 1)"
saveSetting:  "theocbase_language" - "de"
"/opt/TheocBase/bin/theocbase_de"
Linux system - locale: "German"
"/home/rs/.config/theocbase.net/common.conf"
"sql query=SELECT * FROM languages WHERE code = 'de'"
"sql query=SELECT notes FROM notes WHERE date = :date and type_id = 2 and active"
"sql query=SELECT * FROM publicmeetinghistory where weekof = ''"
"sql query=SELECT * FROM languages WHERE code = 'de'"
"sql query=SELECT * FROM languages WHERE code = 'de'"
"sql query=SELECT * FROM outgoing WHERE date = '' AND active"
cache file QFileInfo(/home/rs/.local/share/TheocBase/access_control.json)
found cached file
"Json file is valid"
user->hasPermission(PermissionRule::CanEditMidweekMeetingSchedule): true
qml: setDate function Mo. Aug. 28 00:00:00 2023 GMT+0200
"sql query=SELECT notes FROM notes WHERE date = :date and type_id = 1 and active"
"sql query=SELECT * FROM lmm_meeting WHERE date = :date and active"
"tablename=persons searchfield=id value=72"
"SELECT * FROM 'persons' WHERE id=:value"
"tablename=persons searchfield=id value=72"
"SELECT * FROM 'persons' WHERE id=:value"
"tablename=persons searchfield=id value=39"
"SELECT * FROM 'persons' WHERE id=:value"
"sql query=SELECT * FROM exceptions where date <= '2035-12-31' AND date2 >= '2023-08-28' and active"
"sql query=SELECT s.id as schedule_id,s.date,s.talk_id,s.theme,s.source,s.time,s.study_number,a.id as assignment_id,a.assignee_id,a.assistant_id,a.volunteer_id,a.classnumber,a.completed,a.note,a.timing,CASE WHEN s.roworder IS NULL THEN CASE WHEN talk_id = 170 THEN 45 ELSE talk_id END ELSE s.roworder END AS roworder FROM lmm_schedule s LEFT JOIN lmm_assignment a ON s.id = a.lmm_schedule_id WHERE s.date = :date and s.active ORDER BY roworder, a.classnumber"
"tablename=persons searchfield=id value=39"
"SELECT * FROM 'persons' WHERE id=:value"
"tablename=persons searchfield=id value=22"
"SELECT * FROM 'persons' WHERE id=:value"
"tablename=persons searchfield=id value=61"
"SELECT * FROM 'persons' WHERE id=:value"
"tablename=persons searchfield=id value=83"
"SELECT * FROM 'persons' WHERE id=:value"
"tablename=persons searchfield=id value=17"
"SELECT * FROM 'persons' WHERE id=:value"
"tablename=persons searchfield=id value=69"
"SELECT * FROM 'persons' WHERE id=:value"
"tablename=persons searchfield=id value=2"
"SELECT * FROM 'persons' WHERE id=:value"
"tablename=persons searchfield=id value=16"
"SELECT * FROM 'persons' WHERE id=:value"
"tablename=persons searchfield=id value=94"
"SELECT * FROM 'persons' WHERE id=:value"
"tablename=persons searchfield=id value=48"
"SELECT * FROM 'persons' WHERE id=:value"
"tablename=persons searchfield=id value=9"
"SELECT * FROM 'persons' WHERE id=:value"
"tablename=persons searchfield=id value=20"
"SELECT * FROM 'persons' WHERE id=:value"
"tablename=persons searchfield=id value=42"
"SELECT * FROM 'persons' WHERE id=:value"
"sql query=SELECT * FROM exceptions where date <= '2035-12-31' AND date2 >= '2023-08-28' and active"
"tablename=congregations searchfield=id value=1"
"SELECT * FROM 'congregations' WHERE id=:value"
"sql query=select id, mtg_year, mtg_day, mtg_time from congregationmeetingtimes where congregation_id = :congregation_id and (mtg_year = :thisyear or mtg_year = :thisyear + 1)"
"sql query=SELECT * FROM unavailables WHERE person_id=:person_id AND active ORDER BY start_date DESC"
"sql query=SELECT * FROM exceptions where date <= '2035-12-31' AND date2 >= '2023-08-28' and active"
"tablename=congregations searchfield=id value=1"
"SELECT * FROM 'congregations' WHERE id=:value"
"sql query=select id, mtg_year, mtg_day, mtg_time from congregationmeetingtimes where congregation_id = :congregation_id and (mtg_year = :thisyear or mtg_year = :thisyear + 1)"
"sql query=SELECT * FROM unavailables WHERE person_id=:person_id AND active ORDER BY start_date DESC"
"sql query=SELECT * FROM exceptions where date <= '2035-12-31' AND date2 >= '2023-08-28' and active"
"tablename=congregations searchfield=id value=1"
"SELECT * FROM 'congregations' WHERE id=:value"
"sql query=select id, mtg_year, mtg_day, mtg_time from congregationmeetingtimes where congregation_id = :congregation_id and (mtg_year = :thisyear or mtg_year = :thisyear + 1)"
"sql query=SELECT * FROM unavailables WHERE person_id=:person_id AND active ORDER BY start_date DESC"
"sql query=SELECT * FROM exceptions where date <= '2035-12-31' AND date2 >= '2023-08-28' and active"
"tablename=congregations searchfield=id value=1"
"SELECT * FROM 'congregations' WHERE id=:value"
"sql query=select id, mtg_year, mtg_day, mtg_time from congregationmeetingtimes where congregation_id = :congregation_id and (mtg_year = :thisyear or mtg_year = :thisyear + 1)"
"sql query=SELECT * FROM unavailables WHERE person_id=:person_id AND active ORDER BY start_date DESC"
"sql query=SELECT * FROM exceptions where date <= '2035-12-31' AND date2 >= '2023-08-28' and active"
"tablename=congregations searchfield=id value=1"
"SELECT * FROM 'congregations' WHERE id=:value"
"sql query=select id, mtg_year, mtg_day, mtg_time from congregationmeetingtimes where congregation_id = :congregation_id and (mtg_year = :thisyear or mtg_year = :thisyear + 1)"
"sql query=SELECT * FROM unavailables WHERE person_id=:person_id AND active ORDER BY start_date DESC"
"sql query=SELECT * FROM languages WHERE code = 'de'"
"sql query=SELECT notes FROM notes WHERE date = :date and type_id = 2 and active"
"sql query=SELECT * FROM publicmeetinghistory where weekof = '2023-08-28'"
"sql query=SELECT * FROM languages WHERE code = 'de'"
"sql query=SELECT * FROM languages WHERE code = 'de'"
"sql query=SELECT * FROM outgoing WHERE date = '2023-08-28' AND active"
"sql query=SELECT * FROM exceptions where date <= '2035-12-31' AND date2 >= '2023-08-28' and active"
"tablename=congregations searchfield=id value=1"
"SELECT * FROM 'congregations' WHERE id=:value"
"sql query=select id, mtg_year, mtg_day, mtg_time from congregationmeetingtimes where congregation_id = :congregation_id and (mtg_year = :thisyear or mtg_year = :thisyear + 1)"
"tablename=congregations searchfield=id value=1"
"SELECT * FROM 'congregations' WHERE id=:value"
"sql query=select id, mtg_year, mtg_day, mtg_time from congregationmeetingtimes where congregation_id = :congregation_id and (mtg_year = :thisyear or mtg_year = :thisyear + 1)"
"tablename=congregations searchfield=id value=1"
"SELECT * FROM 'congregations' WHERE id=:value"
"sql query=select id, mtg_year, mtg_day, mtg_time from congregationmeetingtimes where congregation_id = :congregation_id and (mtg_year = :thisyear or mtg_year = :thisyear + 1)"
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize 8, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile) 
./theocbase.sh: Zeile 11:  9553 Abgebrochen             (Speicherabzug geschrieben) $dirname/AppRun --no-sandbox $*

1 Like

Just FYI: I dl the Fedora 38 ISO; And I’ll test it on a VM, (into my Debian Stable)
I hope I will have same problem… :wink:
See later.

Hi,
I had the same problem after reinstaled Manjaro on my laptop. Looking at error message and searching for it, I saw some people with the same problem in other softwares, saing that the problem were possible related to proprietary video drivers.

So, I realized that I was using Wayland and I wasn’t able to use the Nvidia driver because my laptop has hybrid video card and I couldn’t switch to Nvidia. Then I switched to X, installed optimus-manger (which unfortunately doesn’t work on Wayland), changed to Nvidia driver and finally get Theocbase running perfectly.

I hope that it can help you.

1 Like

Hi. @EdsonLima thanks for your reply, but your case is different because different hardware :wink:

Here, we’re a iGPU, an embedded GPU on CPU Intel, the technology Iris.


@schwarzr

Can you try this:

  • (re)install the mesa-dri-drivers.i686 package
  • or, launch TB as: MESA_LOADER_DRIVER_OVERRIDE=i965 ./opt/Theocbase/theocbase.sh

I downgraded the mesa driver to the previous version - no positive effect. (btw, i’m in the x86_64 branch)
I installed the newest version - no positive effect either

Next line where may i put in the option MESA_LOADER_DRIVER_OVERRIDE=i965? In bash it isn’t working …

Hi. Yesterday, I attempt to install TB on F38; I couldn’t because the TB installation window “disappears”, and clicking on the corresponding icon doesn’t display it!


OK, thanks for trying.

yes, like I wrote it!
OK. I note the result. Thanks.

Excuse my fault! Running MESA_LOADER_DRIVER_OVERRIDE=i965 ./opt/Theocbase/theocbase.sh makes no difference. Seems that Theocbase expects the OpenGL libs in a different path than on my installation …

OK, Thanks for your reply!