Open hansm629 opened 1 week ago
I've experienced using vlc-qt in termux and it's performance is very poor. Even without hardware acceleration firefox and mpv can play a video in a high framerate. I don't know why vlc-qt is slow in termux, but maybe is related to Qt, because firefox uses GTK and mpv uses SDL
Disable OpenGL rendering, enable X11/XCB rendering.
Here it is a comparative video
https://github.com/termux/termux-packages/assets/135564120/70115329-2ed7-4f34-a839-3697acb13bbc
mpv and firefox work very well, but vlc-qt have performance and image decoding issues. This was done without hardware acceleration in a device with 4GB of RAM. The video was HD Quality
No need to compare. Just use this.
No need to compare. Just use this.
It worked, thanks. But why isn't this the default option?
@twaik
When set to XVideo output (XCB)
No video is displayed.
When set to X11 Video output (XCB)
Video is displayed, but the screen is still broken and performance is slow.
This is a Snapdragon 8 Gen3
host device. (Galaxy S24 Ultra)
@twaik
When set to X11 Video output (XCB)
Video is displayed, but the screen is still broken and performance is slow.
This is a Snapdragon 8 Gen3
host device. (Galaxy S24 Ultra)
@twaik I tested it further
When playing via mpv There doesn't seem to be any signs of screen cracking.
However, the performance was very slow.
When playing video in vlc-qt
4K@60fps H.264/AVC1
4K@60fps VP9
Everything plays well
Only H265/HEVC
codec
1080p@30fps
and 4K@30fps
are both very slow
Symptoms of screen cracking appear.
Problem description
When playing
4K@30fps H265/HEVC video
usingvlc-qt
, the video screen is broken.With the performance of the latest flagship SoC's CPU (
Snapdragon 8 Gen2
,Exynos 2400
,Snapdragon 8 Gen3
), playback would be sufficient without hardware decoding, but strangely, symptoms of screen crash are occurring separately from frame drops.Is it possible to fix the screen crash and performance above?
What steps will reproduce the bug?
4K@30fps H265/HEVC Sample
video sample above
On
Snapdragon 8 Gen2
,Exynos 2400
,Snapdragon 8 Gen3
host devices Symptoms occur when playing throughvlc-qt
zink
,virpipe
,llvmpipe
are all the sameWhat is the expected behavior?
No response
System information