Skip to content
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

Video failure on fresh install #15801

Open
6 tasks done
surgeonaa2 opened this issue Feb 4, 2025 · 2 comments
Open
6 tasks done

Video failure on fresh install #15801

surgeonaa2 opened this issue Feb 4, 2025 · 2 comments
Labels

Comments

@surgeonaa2
Copy link

mpv Information

taken using flatpak run io.mpv.Mpv

mpv v0.39.0 Copyright © 2000-2024 mpv/MPlayer/mplayer2 projects
libplacebo version: v7.349.0 (v7.349.0)
FFmpeg version: n7.1
FFmpeg library versions:
   libavcodec      61.19.100
   libavdevice     61.3.100
   libavfilter     10.4.100
   libavformat     61.7.100
   libavutil       59.39.100
   libswresample   5.3.100
   libswscale      8.3.100

Other Information

- Linux version:

NAME="BunsenLabs GNU/Linux"
PRETTY_NAME="BunsenLabs GNU/Linux 12 (Boron)"
VERSION_CODENAME="boron"

- Kernel Version: Linux DELWINBOR 6.12.9+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.9-1~bpo12+1 (2025-01-19) x86_64 GNU/Linux
- GPU Model:
0000:00:02.0 VGA compatible controller [0300]: Intel Corporation Meteor Lake-P [Intel Graphics] [8086:7d45] (rev 08)

  *-display                 
       description: VGA compatible controller
       product: Intel Corporation [8086:7D45]
       vendor: Intel Corporation [8086]
       physical id: 2
       bus info: pci@0000:00:02.0
       logical name: /dev/fb0
       version: 08
       width: 64 bits
       clock: 33MHz
       capabilities: pciexpress msi pm vga_controller bus_master cap_list rom fb
       configuration: depth=32 driver=i915 latency=0 mode=1920x1080 resolution=1920,1080 visual=truecolor xres=1920 yres=1080
       resources: iomemory:500-4ff iomemory:400-3ff irq:213 memory:501a000000-501affffff memory:4000000000-400fffffff memory:c0000-dffff memory:501d000000-5023ffffff

- Mesa/GPU Driver Version: OpenGL version string: 4.5 (Compatibility Profile) Mesa 22.3.6
- Window Manager and Version: Openbox 3.6.1
- Source of mpv: flatpak (updated)
- Latest known working version: Never, fresh install of OS, flatpak and mpv.
- Issue started after the following happened: Never worked.

Reproduction Steps

NO Config: Video plays.
flatpak run io.mpv.Mpv --no-config testvideo.mp4
● Video --vid=1 (h264 480x360 25 fps) [default]
● Audio --aid=1 --alang=eng (aac 2ch 44100 Hz 128 kbps) [default]
File tags:
Artist: Necromantia's Battle Beats
Comment: https://www.youtube.com/watch?v=U2L9NQS-A8s
Date: 20230223
Description: The South African Police Special Task Force is considered one of the world’s foremost elite special forces units because of the intense physical and mentally gruelling training candidates have to endure before they are selected.

Chapters:
00:00 Episode 1
49:20 Episode 2
1:38:28 Episode 3

Video Tags:
#Southafrica #police #1990s #historical #documentary #waraesthetics
Title: South African Special Task Force | Full 1995 Documentary
[vo/gpu/opengl] Suspected software renderer or indirect context.
[vo/gpu/drm] VT_GETMODE failed: Inappropriate ioctl for device
[vo/gpu/drm] Failed to set up VT switcher. Terminal switching will be unavailable.
[vo/gpu/drm] Failed to acquire DRM master: Permission denied
[vo/gpu/drm] Failed to commit ModeSetting atomic request: Permission denied
[vo/gpu/opengl] Failed to set CRTC for connector 241: Permission denied
[vo/gpu] Failed to commit atomic request: Permission denied
[vo/gpu/drm] Failed to commit ModeSetting atomic request: Permission denied
[vo/gpu/drm] Failed to restore previous mode
[vo/gpu/drm] Failed to drop DRM master: Permission denied
vulkan: No DRI3 support detected - required for presentation
Note: you can probably enable DRI3 in your Xorg config
[vo/gpu/libplacebo] Found no suitable device, giving up.
[vo/gpu/libplacebo] Failed initializing vulkan device
[vo/gpu-next/opengl] Suspected software renderer or indirect context.
[vo/gpu-next/drm] Can't handle VT release - signal already used
[vo/gpu-next/drm] Failed to set up VT switcher. Terminal switching will be unavailable.
[vo/gpu-next/drm] Failed to acquire DRM master: Permission denied
[vo/gpu-next/drm] Failed to commit ModeSetting atomic request: Permission denied
[vo/gpu-next/opengl] Failed to set CRTC for connector 241: Permission denied
[vo/gpu-next] Failed to commit atomic request: Permission denied
[vo/gpu-next/drm] Failed to commit ModeSetting atomic request: Permission denied
[vo/gpu-next/drm] Failed to restore previous mode
[vo/gpu-next/drm] Failed to drop DRM master: Permission denied
vulkan: No DRI3 support detected - required for presentation
Note: you can probably enable DRI3 in your Xorg config
[vo/gpu-next/libplacebo] Found no suitable device, giving up.
[vo/gpu-next/libplacebo] Failed initializing vulkan device
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
[vo/vdpau] Error when calling vdp_device_create_x11: 1
[vo/xv] No Xvideo support found.
[vo/sdl] Using opengl
[vo/sdl] Warning: this legacy VO has bad performance. Consider fixing your graphics drivers, or not forcing the sdl VO.
AO: [pulse] 44100Hz stereo 2ch float
VO: [sdl] 480x360 yuv420p
AV: 00:00:03 / 02:26:27 (0%) A-V: 0.000
Exiting... (Quit)

No config profile fast: Video plays

flatpak run io.mpv.Mpv --no-config --profile=fast testvideo.mp4
● Video --vid=1 (h264 480x360 25 fps) [default]
● Audio --aid=1 --alang=eng (aac 2ch 44100 Hz 128 kbps) [default]
File tags:
Artist: Necromantia's Battle Beats
Comment: https://www.youtube.com/watch?v=U2L9NQS-A8s
Date: 20230223
Description: The South African Police Special Task Force is considered one of the world’s foremost elite special forces units because of the intense physical and mentally gruelling training candidates have to endure before they are selected.

Chapters:
00:00 Episode 1
49:20 Episode 2
1:38:28 Episode 3

Video Tags:
#Southafrica #police #1990s #historical #documentary #waraesthetics
Title: South African Special Task Force | Full 1995 Documentary
[vo/gpu/opengl] Suspected software renderer or indirect context.
[vo/gpu/drm] VT_GETMODE failed: Inappropriate ioctl for device
[vo/gpu/drm] Failed to set up VT switcher. Terminal switching will be unavailable.
[vo/gpu/drm] Failed to acquire DRM master: Permission denied
[vo/gpu/drm] Failed to commit ModeSetting atomic request: Permission denied
[vo/gpu/opengl] Failed to set CRTC for connector 241: Permission denied
[vo/gpu] Failed to commit atomic request: Permission denied
[vo/gpu/drm] Failed to commit ModeSetting atomic request: Permission denied
[vo/gpu/drm] Failed to restore previous mode
[vo/gpu/drm] Failed to drop DRM master: Permission denied
vulkan: No DRI3 support detected - required for presentation
Note: you can probably enable DRI3 in your Xorg config
[vo/gpu/libplacebo] Found no suitable device, giving up.
[vo/gpu/libplacebo] Failed initializing vulkan device
[vo/gpu-next/opengl] Suspected software renderer or indirect context.
[vo/gpu-next/drm] Can't handle VT release - signal already used
[vo/gpu-next/drm] Failed to set up VT switcher. Terminal switching will be unavailable.
[vo/gpu-next/drm] Failed to acquire DRM master: Permission denied
[vo/gpu-next/drm] Failed to commit ModeSetting atomic request: Permission denied
[vo/gpu-next/opengl] Failed to set CRTC for connector 241: Permission denied
[vo/gpu-next] Failed to commit atomic request: Permission denied
[vo/gpu-next/drm] Failed to commit ModeSetting atomic request: Permission denied
[vo/gpu-next/drm] Failed to restore previous mode
[vo/gpu-next/drm] Failed to drop DRM master: Permission denied
vulkan: No DRI3 support detected - required for presentation
Note: you can probably enable DRI3 in your Xorg config
[vo/gpu-next/libplacebo] Found no suitable device, giving up.
[vo/gpu-next/libplacebo] Failed initializing vulkan device
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
[vo/vdpau] Error when calling vdp_device_create_x11: 1
[vo/xv] No Xvideo support found.
[vo/sdl] Using opengl
[vo/sdl] Warning: this legacy VO has bad performance. Consider fixing your graphics drivers, or not forcing the sdl VO.
AO: [pulse] 44100Hz stereo 2ch float
VO: [sdl] 480x360 yuv420p
AV: 00:00:00 / 02:26:27 (0%) A-V: 0.000
Exiting... (Quit)

With Config: Video does not play.

#Decode Opts
vo=gpu-next
hwdec=auto
scale=spline36
dscale=mitchell
cscale=catmull_rom

#Tweaks/UI
no-osd-bar
osd-font-size=32
keep-open=yes
volume=100
volume-max=100
border=no

#Subtitles
sub-auto=all
sub-font='Helvetica'
sub-bold=no
sub-scale=0.75
script-opts=osc-scalewindowed=0.75,osc-scalefullscreen=0.75

#Profiles

[Deinterlace-Sports]
profile-desc="bwif"
vf=bwdif

[Deinterlace-no]
profile-desc="Deinterlacing mode: disabled"
deinterlace=no
vf-clr

flatpak run io.mpv.Mpv testvideo.mp4
● Video --vid=1 (h264 480x360 25 fps) [default]
● Audio --aid=1 --alang=eng (aac 2ch 44100 Hz 128 kbps) [default]
File tags:
Artist: Necromantia's Battle Beats
Comment: https://www.youtube.com/watch?v=U2L9NQS-A8s
Date: 20230223
Description: The South African Police Special Task Force is considered one of the world’s foremost elite special forces units because of the intense physical and mentally gruelling training candidates have to endure before they are selected.

Chapters:
00:00 Episode 1
49:20 Episode 2
1:38:28 Episode 3

Video Tags:
#Southafrica #police #1990s #historical #documentary #waraesthetics
Title: South African Special Task Force | Full 1995 Documentary
[vo/gpu-next/opengl] Suspected software renderer or indirect context.
[vo/gpu-next/drm] VT_GETMODE failed: Inappropriate ioctl for device
[vo/gpu-next/drm] Failed to set up VT switcher. Terminal switching will be unavailable.
[vo/gpu-next/drm] Failed to acquire DRM master: Permission denied
[vo/gpu-next/drm] Failed to commit ModeSetting atomic request: Permission denied
[vo/gpu-next/opengl] Failed to set CRTC for connector 241: Permission denied
[vo/gpu-next] Failed to commit atomic request: Permission denied
[vo/gpu-next/drm] Failed to commit ModeSetting atomic request: Permission denied
[vo/gpu-next/drm] Failed to restore previous mode
[vo/gpu-next/drm] Failed to drop DRM master: Permission denied
vulkan: No DRI3 support detected - required for presentation
Note: you can probably enable DRI3 in your Xorg config
[vo/gpu-next/libplacebo] Found no suitable device, giving up.
[vo/gpu-next/libplacebo] Failed initializing vulkan device
[vo/gpu-next] Failed initializing any suitable GPU context!
Error opening/initializing the selected video_out (--vo) device.
Video: no video
AO: [pulse] 44100Hz stereo 2ch float
A: 00:00:01 / 02:26:27 (0%)
Exiting... (Quit)

Expected Behavior

Video plays.

Actual Behavior

Video does not play with gpu-next.

Log File

file.txt

Sample Files

https://www.mediafire.com/file/5xt1cwynd8mac0o/testvideo.mp4/file

I carefully read all instruction and confirm that I did the following:

  • I tested with the latest mpv version to validate that the issue is not already fixed.
  • I provided all required information including system and mpv version.
  • I produced the log file with the exact same set of files, parameters, and conditions used in "Reproduction Steps", with the addition of --log-file=output.txt.
  • I produced the log file while the behaviors described in "Actual Behavior" were actively observed.
  • I attached the full, untruncated log file.
  • I attached the backtrace in the case of a crash.
@llyyr
Copy link
Contributor

llyyr commented Feb 4, 2025

mpv doesn't find an opengl driver so it exits. use --gpu-sw to force using a software renderer https://mpv.io/manual/master/#options-gpu-sw

your mesa install is broken

@surgeonaa2
Copy link
Author

Okay, interesting. Any pointers on fixing a mesa install. Pretty much stock, as it has not been much time since installing the OS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants