Page 1 of 1
OBS - Do not start (Maybe a locale problem)
Posted: Wed Jan 08, 2025 2:31 pm
by Caramel
EasyOS Scarthgap64 and Daedalus64, version 6.5.4
After installation (as non-root) with PKGget of OBS Studio (by clicking on the orange ball in the menu(section Multimedia), OBS do not start (both in Scarthgap and Daedalus)
In terminal (EasyOS Scarthgap):
# obs
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-obs'
debug: Attempted path: share/obs/obs-studio/locale/en-US.ini
debug: Attempted path: /usr/share/obs/obs-studio/locale/en-US.ini
error: Failed to load locale
info: == Profiler Results =============================
info: run_program_init: 5770.09 ms
info: ┗OBSApp::AppInit: 3407.84 ms
info: ┗OBSApp::InitLocale: 3397.39 ms
info: =================================================
info: == Profiler Time Between Calls ==================
info: =================================================
info: Number of memory leaks: 1
/usr/share/obs/obs-studio/locale/ exists but it is empty
NB : In EasyOS Daedalus, when I first installed VLC with PKGget, the window with the button to download and install reappeared a second time after the download of the packages.
I have clicked again and there was error messages as the packages was already installed.
After the complete installation a missing dependancy was annouced (vlc-plugin-abi-3-0-0f)
EDIT for the NB : In fact , vlc-plugin-3.0.0f is a virtual package for libvlccore9 that is installed
Re: OBS - Do not start (Maybe a locale problem)
Posted: Wed Jan 08, 2025 7:57 pm
by Caramel
Some files from the obs-studio package was not installed.
It could be related with the option "Trim the fat" i used during the installation.
EDIT
Lines 427 to 439 from /usr/local/petget/downloadpkgs.sh
Code: Select all
while read ONEFILE
do
[ ! -f "$ONEFILE" ] && continue
[ -h "$ONEFILE" ] && continue
#find out if this is an (nls) international language file...
#150205 note: about same code is not 2createpackages.
if [ "$ENTRY_LOCALE" != "" ];then
if [ "`echo -n "$ONEFILE" | grep -E '/locale/|/nls/|/i18n/|/translations/' | grep -v -E "$elPATTERN"`" != "" ];then
if [ "`echo -n "$ONEFILE" | grep -E 'share/X11/locale/|chrome/'`" = "" ];then #150205 T2, need Xorg locale files in main pkg. chrome/en-US/locale is in seamonkey.
rm -f "$ONEFILE"
grep -v "$ONEFILE" /root/.packages/${PKGNAME}.files > /tmp/petget_pkgfiles_temp
mv -f /tmp/petget_pkgfiles_temp /root/.packages/${PKGNAME}.files
fi
$ONEFILE is a file from a package
$ENTRY_LOCALE is the list of the locales to preserve ( example $ENTRY_LOCALE=en,fr )
elPATTERN="`echo -n "$ENTRY_LOCALE" | tr ',' '\n' | sed -e 's%^%/%' -e 's%$%/%' | tr '\n' '|'`" (Line 423) ( In the example $elPATTERN=/en/|/fr/ )
Re: OBS - Do not start (Maybe a locale problem)
Posted: Wed Jan 08, 2025 10:38 pm
by mikewalsh
@Caramel :-
A suggestion, FWIW. I don't know if you're concerned about "must have the very newest version". If you're not too fussed about having the latest version, you're welcome to try the 'portable' package of OBS I put together a while back.
This is based around an AppImage of OBS that I found over at AppImageHub.....v25.07, IIRC.
I briefly tried out EasyOS some time ago, coupla years ago - EasyOS 'Buster', I think it was. Most of the 'portables' I've put together seemed quite happy to run in EasyOS at that time, including the OBS-portable. (In case you're not aware, AppImages unpack themselves into /tmp, then run from there for the duration of the session).
==========================================
If you fancy giving OBS-portable a look, you can find it at my MEGA.nz a/c, here:-
https://mega.nz/folder/bXgXDYoS#TEvjtGM-lYq5Kz4EwHJhyQ
Entirely up to you, of course. Just a thought.
Mike.
Re: OBS - Do not start (Maybe a locale problem)
Posted: Wed Jan 08, 2025 11:48 pm
by bugnaw333
Will not also work when I click the orange ball.
I put the icon on my desktop during install and it will work.
Re: OBS - Do not start (Maybe a locale problem)
Posted: Thu Jan 09, 2025 1:30 am
by BarryK
bugnaw333 wrote: Wed Jan 08, 2025 11:48 pm
Will not also work when I click the orange ball.
I put the icon on my desktop during install and it will work.
Are you running Easy 6.5.4?
It fixed a problem with orange-ball menu entries.
Problem was described here, with a fix:
viewtopic.php?p=139203#p139203
Re: OBS - Do not start (Maybe a locale problem)
Posted: Thu Jan 09, 2025 1:38 am
by BarryK
Caramel wrote: Wed Jan 08, 2025 7:57 pm
It could be related with the option "Trim the fat" i used during the installation.
Maybe I will remove that "Trim the fat" button.
It goes back to the early Puppy days, when we had much less storage space available.
Re: OBS - Do not start (Maybe a locale problem)
Posted: Thu Jan 09, 2025 9:53 am
by bugnaw333
BarryK wrote: Thu Jan 09, 2025 1:30 am
bugnaw333 wrote: Wed Jan 08, 2025 11:48 pm
Will not also work when I click the orange ball.
I put the icon on my desktop during install and it will work.
Are you running Easy 6.5.4?
It fixed a problem with orange-ball menu entries.
Yes, I'm running Easy 6.5.4
Problem was gone after rebooting. Its OK now under Menu and on desktop icon.
Re: OBS - Do not start (Maybe a locale problem)
Posted: Thu Jan 09, 2025 4:51 pm
by Caramel
In EasyOS Daedalus64, I removed obs-sutdio via PKGget.
Note in the menu the orange ball entry was still there before the uninstallation but it was disappeared after.
OBS was installed as non-root. The icon and the directory /home/obs was not deleted by the uninstallation.
I reinstalled obs-studio via PKGget. without trim the fat. An entry was created at the top of the multimedia section of the menu.
OBS Studio started
Same In EasyOS Scarthgap64 (with package obs) (This time no problem with the entry in the menu)
OBS (installed as non root) do not start
# obs
localuser:obs being added to access control list
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-obs'
debug: Attempted path: share/obs/obs-studio/locale/en-US.ini
debug: Attempted path: /usr/share/obs/obs-studio/locale/en-US.ini
debug: Attempted path: share/obs/obs-studio/locale.ini
debug: Attempted path: /usr/share/obs/obs-studio/locale.ini
debug: Attempted path: share/obs/obs-studio/locale/fr-FR.ini
debug: Attempted path: /usr/share/obs/obs-studio/locale/fr-FR.ini
info: Using preferred locale 'fr-FR'
debug: Attempted path: share/obs/obs-studio/themes/Yami.qss
debug: Attempted path: /usr/share/obs/obs-studio/themes/Yami.qss
info: Using EGL/X11
info: CPU Name: AMD E-350 APU with Radeon(tm) HD Graphics
info: CPU Speed: 798.725MHz
info: Physical Cores: 2, Logical Cores: 2
info: Physical Memory: 3931MB Total, 218MB Free
info: Kernel Version: Linux 6.6.67
info: Distribution: "EasyOS" "6.5.4"
info: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.21.1
info: Qt Version: 5.15.13 (runtime), 5.15.13 (compiled)
info: Portable mode: false
QMetaObject::connectSlotsByName: Connecting slot on_transitionDuration_valueChanged() with the first of the following compatible signals: ("valueChanged(int)", "valueChanged(QString)")
info: OBS 0.0.1 (linux)
info: ---------------------------------
info: ---------------------------------
info: audio settings reset:
samples per sec: 48000
speakers: 2
max buffering: 960 milliseconds
buffering type: dynamically increasing
error: os_dlopen(libobs-opengl.so.1->libobs-opengl.so.1): /usr/lib/libobs-opengl.so.1: undefined symbol: glad_eglQueryDmaBufFormatsEXT
error: Failed to initialize video: Graphics module not found
info: Freeing OBS context data
info: == Profiler Results =============================
info: run_program_init: 7741.52 ms
info: ┣OBSApp::AppInit: 93.538 ms
info: ┃ ┗OBSApp::InitLocale: 48.173 ms
info: ┗OBSApp::OBSInit: 300.679 ms
info: ┣obs_startup: 6.128 ms
info: ┗OBSBasic::OBSInit: 47.189 ms
info: ┣OBSBasic::InitBasicConfig: 0.662 ms
info: ┣OBSBasic::ResetAudio: 1.445 ms
info: ┗OBSBasic::ResetVideo: 39.223 ms
info: obs_hotkey_thread(25 ms): min=0.333 ms, median=0.623 ms, max=85.538 ms, 99th percentile=12.783 ms, 99.2481% below 25 ms
info: audio_thread(Audio): min=0.077 ms, median=0.156 ms, max=0.321 ms, 99th percentile=0.257 ms
info: =================================================
info: == Profiler Time Between Calls ==================
info: obs_hotkey_thread(25 ms): min=25.448 ms, median=25.754 ms, max=110.696 ms, 1.88679% within ±2% of 25 ms (0% lower, 98.1132% higher)
info: =================================================
info: Number of memory leaks: 550
Errors :
error: os_dlopen(libobs-opengl.so.1->libobs-opengl.so.1): /usr/lib/libobs-opengl.so.1: undefined symbol: glad_eglQueryDmaBufFormatsEXT
error: Failed to initialize video: Graphics module not found
OBS in Scarthgap 6.5.4
Posted: Sat Jan 11, 2025 7:49 pm
by Caramel
In Easy Scarthgap 6.5.4, after addition in /usr/lib of the files
libobs-opengl.so.1 (shortcut)
libobs-opengl.so.29
libobsglad.so.1 (shortcut)
libobsglad.so.29
libwayland-egl.so.1 (shortcut)
libwayland-egl.so.1.21.0
coming from Easy Daedalus,
OBS starts.
NB: there was already a shortcut libobs-opengl.so.1 before the addition of the Daedalus version.