-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rpi5 and waveshare display "only" (no HDMI) #102
Comments
Are you trying this from outside any sort of windowing environment just from the command line so you would hope that DRM output worked? If so try |
@jc-kynesim Yes I booted the rpi to cli with autologin (not to desktop). Then I started with SSH session with vlc 3.0.20 (installed with apt)
and as discussed in parallel here with compiled version 4.0.0 with this error:
|
Thanks for that - I'm surprised that v3 failed to open SPI-1, I'll see if I can work out why - I'd have expected that much to work. |
@jc-kynesim with v4 see here they say it's a driver bug?! I wonder, because |
Maybe, but I suspect it is simply that the limited formats that your display supports don't match what VLC wants. Note this is just a guess - I haven't looked into it and they might be right. I've now picked up an SPI display so I can debug the v3 code which is indeed broken when trying to select a device on anything not attached to the Pis HVS. |
@jc-kynesim "Fun" fact. Everything above is when I try in a ssh session, I attached a keyboard and started clvc and the video is shown on the display: When I start mpv without any paramter with the attached keyboard, the aspect ratio is ok (mpv also works via ssh session!): |
Was the "working" cvlc v4 or v3 (or both)? |
@jc-kynesim It was VLC media player 3.0.20 Vetinari (revision 3.0.20-0-g6f0d0ab126b) from apt source. Didn't test v4 for now because v3 was working. What I don't unterstand, why the simple mpv has no problems... It works from cli and ssh and has no problems with aspect ratio. |
The key word there is "simple". My code (at least) was written to take advantage of what the HVS could do for me (i.e. enable 4k video output) and so uses features that (a) make life simpler / faster / without frame copy or conversion and (b) don't exist on your device. I'll fix that. |
Don't want to push you, but did you find something in the source for fixing? |
Yeah - next release (shortly) should be better. I don't guarantee it'll work for you but I've got a couple of dumb displays that work for me now |
@jc-kynesim could it be you did it? I just updated vlc and it's running now ❤️ Means, I started from ssh session, video is playing on small display and correct ratio!! ❤️ |
Maybe someone here can help, I asked here, but I fear it's a problem with the RPi-Distro.
I have a Rpi5 and acc. this help, I have my waveshare display running with
config.txt
with
mpv
everything is running (as well as with emulationstation):with
drmdevice
I get this output:and
kmsprint
showsand here the output from
vlc
It doesn't matter which parameter I tried, I never get the video shown on the display...
Please help!!!
The text was updated successfully, but these errors were encountered: