Can confirm in Virtualbox too
Posts by mglae
-
-
mglae See the IRC chat that starts here: https://oftc.irclog.whitequark.org/dri-devel/2025-01-23#33941062
This change causes the dri2 error under X11: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29969 - so I've added support for legacy-x11=dri2 in mesa package.mk
chewitt Excellent. Either setting Option "DRI" "3" in xorg-i915.conf or building with -Dlegacy-x11=dri2 let kodi start in Intel HW again.
BTW: the issue on GBM seen with vmware driver on Virtualbox is fixed by mesa 24.3.4 update.
-
That's odd. Which motherboard do you use?
As a hack: assuming the IGPU is using kernel radeon driver and the RX550 amdgpu you can disable the radeon driver by adding initcall_blacklist=radeon_init kernel parameter to the APPEND line of /flash/syslinux.cfg
-
Can you remove the gt710 and use IGPU?
-
Did you disable the IGPU in the BIOS?
Only single GPU setups are supported.
-
No change to the errors, it is likely you get a working system by reverting Mesa 24 to 21.
IIRR Mesa 21 was the latest version booting on any platform (I'm testing) without error.
-
With a distribution like Slackware64 you do have any lib available. With The JEOS LE only the required libs are build, therefore you have to change configuration to build the new lib.
fatal: a branch named 'le12_nouveau' already exists
New generated branches can have any name.
it will take 28 hours to finish the building
You are really patient.
-
Johpin LE is building GBM with gles, I'm not sure if using GL is possible.
The idea is to port chewitt work to LE 12:
Codegit remote add chewitt https://github.com/chewitt/LibreELEC.tv.git git fetch chewitt git checkout libreelec-12.0 git pull git checkout -b le12_nouveau git cherry-pick chewitt/nouveau
But the last line result into two conflicts. I've fixed them and you can use:
Codegit checkout libreelec-12.0 git pull git checkout -b le12_nouveau wget -O - https://paste.libreelec.tv/peaceful-alien.log|git am
Then build with PROJECT=Generic DEVICE=nouveau (untested).
-
Already fixed in kodi. Use a LE12 stable nightly.
-
Code
Jan 18 15:38:34.552496 LibreELEC kodi.sh[840]: libEGL warning: egl: failed to create dri2 screen Jan 18 15:38:34.562281 LibreELEC kodi.sh[840]: glx: failed to create drisw screen Jan 18 15:38:34.581328 LibreELEC kodi.sh[840]: ERROR: Can not initialize OpenGL context. Exiting Jan 18 15:38:34.581482 LibreELEC kodi.sh[840]: ERROR: Unable to create GUI. Exiting
This is exactly the error I'm currently seeing with Generic-legacy on Intel HW. We may fight against some mesa issue.
It may be worth to test the changes on top of LE12 (maybe an exercise for Johpin ?)
-
Did you stop kodi with systemctl stop kodi before changing the files?
-
chewitt Great, I'll continue on github.
Johpin Now xorg did start but kodi is in a fail/restart loop. pastekodi is needed - or pastecrash if there is a crash log below /storage/.kodi/temp.
Few notes to improve testing workflow:
- There is no need to install any new image, you can update on reboot with keeping the configuration:
wget -P /storage/.update <url> - For keyboard reboot first switch the console: ctrl-alt-F2 then ctrl-alt-delete.
- While testing it is helpful to disable xorg and kodi restart. Create /storage/.config/system.d/xorg.service.d/norestart.conf and /storage/.config/system.d/kodi.service.d/norestart.conf with:
- There is no need to install any new image, you can update on reboot with keeping the configuration:
-
Likely a mesa issue for "vmware" driver. Generic fails but Generic-legacy is working in VirtualBox.
For Intel HW it is opposite: failure with Generic-legacy but Generic is fine.
-
-
-
-
Xorg is logging to /var/log/Xorg.0.log
Johpin You are using live mode with tmpfs mounted on /storage not allowing persistent configuration. Please switch to run mode at boot.
The reboot is caused by activating LE safe mode after five kodi crashes, but is useless in live configuration.
After switching to run disable safe mode with
-