You are not logged in.
Pages: 1
Since today, I can’t play video with mpv anymore. Yesterday everything worked fine, but I couldn’t figure if an update was responsible for that.
I’m using a wayland-only session, I’ve disabled x11 applications.
My graphic card is an intel one (I don’t know which one exactly however).
Installing `vulkan-intel` solves the problem, but I’m not comfortable with using vulkan, as I don’t know what it is, and I didn’t need it until now. Moreover, using it mpv says :
INTEL-MESA: warning: Ivy Bridge Vulkan support is incomplete
INTEL-MESA: warning: ../mesa-19.2.0/src/intel/vulkan/genX_cmd_buffer.c:5075: FINISHME: Implement events on gen7The relevant log informations are :
[vo/gpu] Probing for best GPU context.
[vo/gpu/opengl] Initializing GPU context 'x11probe'
[vo/gpu/x11] X11 opening display:
[vo/gpu/x11] couldn't open the X11 display ()!
[vo/gpu/x11] uninit ...
[vo/gpu/opengl] Initializing GPU context 'x11egl'
[vo/gpu/x11] X11 opening display:
[vo/gpu/x11] couldn't open the X11 display ()!
[vo/gpu/x11] uninit ...
[vo/gpu/opengl] Initializing GPU context 'x11'
[vo/gpu/x11] X11 opening display:
[vo/gpu/x11] couldn't open the X11 display ()!
[vo/gpu/x11] uninit ...
[vo/gpu/opengl] Initializing GPU context 'drm'
[vo/gpu/opengl] DRM EGL backend can be activated only manually.
[vo/gpu/opengl] Initializing GPU context 'vdpauglx'
[vo/gpu/vulkan] Initializing GPU context 'waylandvk'
[vo/gpu/vulkan] Creating instance with extensions:
[vo/gpu/vulkan] VK_KHR_surface
[vo/gpu/vulkan] VK_KHR_wayland_surface
[vo/gpu/vulkan] Failed creating instance: VK_ERROR_EXTENSION_NOT_PRESENT
[vo/gpu/vulkan] Initializing GPU context 'x11vk'
[vo/gpu/vulkan] Creating instance with extensions:
[vo/gpu/vulkan] VK_KHR_surface
[vo/gpu/vulkan] VK_KHR_xlib_surface
[vo/gpu/vulkan] Failed creating instance: VK_ERROR_EXTENSION_NOT_PRESENT
[vo/vdpau/x11] X11 opening display:
[vo/vdpau/x11] couldn't open the X11 display ()!
[vo/vdpau/x11] uninit ...
[vo/xv/x11] X11 opening display:
[vo/xv/x11] couldn't open the X11 display ()!
[vo/xv/x11] uninit ...
[vo/vaapi/x11] X11 opening display:
[vo/vaapi/x11] couldn't open the X11 display ()!
[vo/vaapi/x11] uninit ...
[vo/x11/x11] X11 opening display:
[vo/x11/x11] couldn't open the X11 display ()!
[vo/x11/x11] uninit ...I would think that I need to activate DRM EGL backend but I couldn’t figure out what it was or how to do that.
Any help ?
Offline
Well something has changed between "yesterday" and "today". Did you run an update or not? If so it would be relatively trivial to check which packages where updated and might be responsible here.
lscpiwill tell you which GPU you have.
Offline
does "mpv -vo drm favporn.mp4" play?
Offline
I did run an update, however I took a quick look at the list of updated packages since 2 days and I did not see anything that seemed related to my problem.
I update regularly (daily basis) core, extra, community and multilib.
`mpv -vo drm favporn.pm4` yields:
[vo/drm] VT_GETMODE failed: Inappropriate ioctl for device
[vo/drm] Failed to set up VT switcher. Terminal switching will be unavailable.
[vo/drm/kms] Connector 67 currently connected to encoder 68
[vo/drm/kms] Selected Encoder 68 with CRTC 42
[vo/drm] DRM Atomic support found
[vo/drm/kms] Using default plane 31 for OSD
[vo/drm/kms] Using default plane 34 for video
[vo/drm] Cannot set CRTC: Permission deniedand fails to start the video.
`lspci` yields:
00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation 7 Series/C216 Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 7 Series/C216 Chipset Family PCI Express Root Port 1 (rev c4)
00:1c.2 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 3 (rev c4)
00:1c.3 PCI bridge: Intel Corporation 7 Series/C216 Chipset Family PCI Express Root Port 4 (rev c4)
00:1d.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation HM76 Express Chipset LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 7 Series/C216 Chipset Family SMBus Controller (rev 04)
02:00.0 Network controller: Intel Corporation Centrino Wireless-N 2230 (rev c4)
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTL8411 PCI Express Card Reader (rev 01)
03:00.2 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0a)and if I’m not mistaken,
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)is my graphic card (but this doesn’t mean much to me).
Offline
I did not see anything that seemed related to my problem
Actual log?
[vo/drm] Cannot set CRTC: Permission denied
What's the output of
loginctl session-status?
Offline
Uhm, I didn’t know pacman logged every action it did, good to know. I found then where the problem came from: I upgraded… mpv yesterday! That explains it. I downgraded it and my video played fine. I also found out why the upgrade caused a bug: mpv no longer has the gpu-context wayland:
$ mpv --version # Last mpv version
mpv 0.29.1 Copyright © 2000-2018 mpv/MPlayer/mplayer2 projects
built on Thu Oct 3 20:10:31 UTC 2019
ffmpeg library versions:
libavutil 56.31.100
libavcodec 58.54.100
libavformat 58.29.100
libswscale 5.5.100
libavfilter 7.57.100
libswresample 3.5.100
ffmpeg version: n4.2.1
$ mpv -gpu-context help
GPU contexts (APIs):
auto (autodetect)
x11probe (opengl)
x11egl (opengl)
x11 (opengl)
drm (opengl)
vdpauglx (opengl)
waylandvk (vulkan)
x11vk (vulkan)
$ mpv --version # After downgrading
mpv 0.29.1 Copyright © 2000-2018 mpv/MPlayer/mplayer2 projects
built on Tue Aug 6 14:50:47 CEST 2019
ffmpeg library versions:
libavutil 56.31.100
libavcodec 58.54.100
libavformat 58.29.100
libswscale 5.5.100
libavfilter 7.57.100
libswresample 3.5.100
ffmpeg version: n4.2.1
$ mpv -gpu-context help
GPU contexts (APIs):
auto (autodetect)
x11probe (opengl)
x11egl (opengl)
x11 (opengl)
wayland (opengl)
drm (opengl)
vdpauglx (opengl)
waylandvk (vulkan)
x11vk (vulkan)Shall I fill a bug report to the package maintainer?
Offline
(On a side note the output of `loginctl session-status` is
1 - hoel (1000)
Since: Fri 2019-10-04 17:12:12 CEST; 23min ago
Leader: 455 (login)
Seat: seat0; vc1
TTY: tty1
Service: login; type tty; class user
State: active
Unit: session-1.scope
├─ 455 login -- hoel
├─ 475 -zsh
├─ 563 sway
├─ 567 swaybar -b default
├─ 571 redshift
├─ 575 swayidle -w timeout 300 swaylock -f -l -i ~/.lock.jpg -s fill timeout 600 swaymsg "output * dpms off" resume swaymsg "output * dpms on" before-sleep swaylock -f -l -i ~/.lock.jpg -s fill
├─ 590 i3status -c /home/hoel/.i3/i3status.conf
├─ 605 termite
├─ 620 /bin/zsh
├─1157 termite
├─1163 /bin/zsh
├─1439 vim /var/log/pacman.log
├─1664 dhcpcd enp0s20u1c2
├─1826 termite
├─1832 /bin/zsh
├─2916 /usr/bin/python3 /usr/bin/qutebrowser
├─2925 /usr/lib/qt/libexec/QtWebEngineProcess --type=zygote --webengine-schemes=qute:lL;qrc:sLV --lang=de
├─2927 /usr/lib/qt/libexec/QtWebEngineProcess --type=zygote --webengine-schemes=qute:lL;qrc:sLV --lang=de
├─3264 termite
├─3270 /bin/zsh
├─3350 mutt
├─3356 /usr/lib/qt/libexec/QtWebEngineProcess --type=renderer --disable-gpu-memory-buffer-video-frames --enable-threaded-compositing --reduced-referrer-granularity --use-gl=egl --enable-features=AllowContentI>
├─3371 termite
├─3377 /bin/zsh
├─4187 swaybg -o * -i /home/hoel/.wallpapers/hell/magic_ball_library_columns_castle_63093_4000x2480.jpg -m fill
├─4663 loginctl session-status
└─4664 less
Okt 04 17:20:37 Hoel-Arch sudo[2963]: pam_unix(sudo:session): session closed for user root
Okt 04 17:24:30 Hoel-Arch sudo[3600]: hoel : TTY=pts/0 ; PWD=/var/cache/pacman/pkg ; USER=root ; COMMAND=/usr/bin/pacman -U mpv-1:0.29.1-9-x86_64.pkg.tar.xz
Okt 04 17:24:30 Hoel-Arch sudo[3600]: pam_unix(sudo:session): session opened for user root by (uid=0)
Okt 04 17:24:32 Hoel-Arch sudo[3600]: pam_unix(sudo:session): session closed for user root
Okt 04 17:26:10 Hoel-Arch sudo[3874]: hoel : TTY=pts/0 ; PWD=/var/cache/pacman/pkg ; USER=root ; COMMAND=/usr/bin/pacman -U mpv-1:0.29.1-8-x86_64.pkg.tar.xz
Okt 04 17:26:10 Hoel-Arch sudo[3874]: pam_unix(sudo:session): session opened for user root by (uid=0)
Okt 04 17:26:11 Hoel-Arch sudo[3874]: pam_unix(sudo:session): session closed for user root
Okt 04 17:26:54 Hoel-Arch sudo[4168]: hoel : TTY=pts/0 ; PWD=/var/cache/pacman/pkg ; USER=root ; COMMAND=/usr/bin/pacman -Syu
Okt 04 17:26:54 Hoel-Arch sudo[4168]: pam_unix(sudo:session): session opened for user root by (uid=0)
Okt 04 17:32:59 Hoel-Arch sudo[4168]: pam_unix(sudo:session): session closed for user rootI tried and `mpv -vo drm somevideo.mp4` does not work after downgrading neither)
Offline
Shall I fill a bug report to the package maintainer?
Yup, looks like a rebuild error (there's nothing in the "update" that would explain a behavioral change - just an additional dep on mujs)
Offline
Pages: 1