Comments (7)
Adding
display_auto_detect=1
too config.txt did the trick. Now Kodi works!
from dietpi.
Found something similar on Kodi forum https://forum.kodi.tv/showthread.php?tid=371581
from dietpi.
Strange error. I never heard that Kodi requires any config file, aside of the ones it auto-generates in the user's home dir. Do you as well get this segmentation fault from the Kodi forum?
dmesg -l 0,1,2,3
And do you have a crash log as well, either in your home dir, or in its .kodi
sub directory somewhere.
from dietpi.
Here's the log:
kodi.log
after trying
sudo apt install pipewire pipewire-pulse
sudo apt install pipewire-audio-client-libraries
sudo apt install gstreamer1.0-pipewire libspa-0.2-bluetooth libspa-0.2-jack
the error disappeared from journalctl, but Kodi still won't start.
from dietpi.
I had such a feeling that those two errors were unrelated. pw
for PipeWire makes sense, which is the new default audio stack on RPi OS. But I think we would have seen a lot more reports if it would not also just work with ALSA.
This will be the major issue:
error <general>: CDRMUtils::OpenDrm - no drm devices found: (No such file or directory)
KMS/DRM is not enabled. This does not exist, right?
ls -l /dev/dri
This should have been enabled automatically on Kodi installation. Can you check whether the overlay was added:
grep vc4-kms-v3d /boot/config.txt
If this does not give a result, can you run this command and check again:
/boot/dietpi/func/dietpi-set_hardware rpi-opengl vc4-kms-v3d 512
And in case the overlay was now added, reboot and retry.
Did you add the TFT via dietpi-config
after Kodi installation? And/or set another resolution there? All these options make use of the legacy graphics stack, while Kodi requires the new one (KMS). Also changing the resolution to one other option than the KMS one(s), will disable it. We need to switch all this to the new graphics stack anyway, now more then before since the RPi 5 compatible firmware packages removed vast parts of the legacy stack. Until then, better follow the official docs to setup the display: https://www.raspberrypi.com/documentation/accessories/display.html
In case the resolution is wrong, you can remove the two framebuffer_width
/framebuffer_height
settings from /boot/dietpi.txt
or set them to the correct values.
from dietpi.
Thanks for the reply! Let me go through all the items:
- /dev/dri does NOT exist
- the grep command returns NOTHING, so overlay way NOT added!
- command ran fine, afterwards grep found the overlay
- after reboot, screen was dark, but Kodi log had no errors
- I remember this happened after the very first install. I had actually used dietpi-config. Perhaps that threw KODI off
- dietpi.txt does not have framebuffer settings
- I edited boot.txt and the screen changed, but Kodi still crashes with
critical <general>: CApplication::CreateGUI - unable to init windowing system
Have attached
kodi.log
new log file.
from dietpi.
Right, that is the way to enable LCD support with KMS 👍. Alternatively one could add a specific overlay in some cases, but the auto-detection usually just works.
Okay, I'll mark this as closed then. Will work on GPU stack migration for all RPis in our code.
from dietpi.
Related Issues (20)
- Image | Orange Pi Zero 2W HOT 62
- Services on Dietpi Dashboard not working anymore. HOT 11
- DietPi becomes the wrong LAN IP after restart HOT 20
- What program is using 8080? HOT 3
- rpimonitor not starting automatically HOT 2
- Add required eBPF kernel configurations HOT 2
- diet-update HOT 8
- Soquartz image does not read dietpi.txt from the config partition on first boot HOT 18
- upgrade php failed HOT 2
- DietPi-Software | Shairport Sync: Install fails on ARMv6 images HOT 5
- Raspberry Pi | Legacy camera apps fail on Bookworm HOT 5
- DietPi-Software | Transmission: high RAM usage HOT 14
- DietPi update HOT 4
- Proxmox 8 installation on Raspberry Pi 4 (with 4 or 8 GB RAM) andd using DietPi as VM in arm64 Architectur
- DietPi-Software | Sonarr: Migrate to v4 HOT 8
- Open Beta v9.0 | Please help testing and hardening our upcoming release HOT 2
- DietPi-Update | SSH connection fails during APT update HOT 11
- FileBrowser installed can't login HOT 3
- Chromium in kiosk mode: autodetect screen resolution HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dietpi.