Hi All,
I have a fresh install of Arch Linux Arm on a Pi 3B using the Armv7 image. I'm running weston as the default alarm user with a basic/minimal desktop using the DRM backend.
However, omxplayer will play audio, but no video.
I've tried upping the GPU memory to 256 and even 512:
$this->bbcode_second_pass_code('', '[alarm@alarmpi ~]$ /opt/vc/bin/vcgencmd get_mem gpu
gpu=512M')
But no errors are displayed:
$this->bbcode_second_pass_code('', '[alarm@alarmpi ~]$ omxplayer --genlog big_buck_bunny_720p_1mb.mp4
Video codec omx-h264 width 1280 height 720 profile 77 fps 25.000000
Audio codec aac channels 6 samplerate 48000 bitspersample 16
Subtitle count: 0, state: off, index: 1, delay: 0
V:PortSettingsChanged: 1280x720@25.00 interlace:0 deinterlace:0 anaglyph:0 par:1.00 display:0 layer:0 alpha:255 aspectMode:0
have a nice day ;)')
The omxplayer log is here: https://pastebin.com/gd891g1G
Stack trace: https://pastebin.com/FCpgip7w
$this->bbcode_second_pass_code('', '[alarm@alarmpi ~]$ uname -a
Linux alarmpi 4.19.63-1-ARCH #1 SMP PREEMPT Fri Aug 2 18:46:54 UTC 2019 armv7l GNU/Linux')
$this->bbcode_second_pass_code('', '[alarm@alarmpi ~]$ echo $DISPLAY
:0
[alarm@alarmpi ~]$ echo $WAYLAND_DISPLAY
wayland-0
')
$this->bbcode_second_pass_code('', '[alarm@alarmpi ~]$ cat .config/weston.ini
[core]
idle-time=0
xwayland=true
backend=drm-backend.so
#backend=fbdev-backend.so
require-input=false
[shell]
type=desktop-shell.so
animation=none
close-animation=none
startup-animation=none
locking=false')
The monitor is connected via HDMI. I read somewhere about setting --display to 4 or 5 depending on whether using the Official Touchscreen or HDMI, but setting --display to any value doesn't affect it. Using --layer 2 (or higher) doesn't help, and I've tried both running omxplayer from ssh (to display on connected monitor), and using weston-terminal within the Wayland session.
I've started weston with both "weston" and "weston-launch", both from console. No difference in playback.
I've also tried running omxplayer under X, but same result. No video, just audio.
I suspect I'm missing something really simple here.
Suggestions?