You are not logged in.
I just finished a fresh install of Arch on Lenovo N500.
When I try to run a .mkv file with mpv, I get this error:
Playing: /path/to/video.mkv
[stream] Video (+) --vid=1 (h264)
[stream] Audio (+) --aid=1 --alang=eng (*) (mp3)
[stream] Subs (+) --sid=1 'video.srt' (subrip) (external)
[vo/opengl/x11] X11 error: GLXBadFBConfig
[vo/opengl] Could not create GL3 context. Retrying with legacy context.
Same thing happens when I try to run a .flv file. I haven't tested with other file types.
I'm using Intel open source drivers and I have these packages installed:
xf86-video-intel
mesa-dri
lib32-mesa-libgl
libva-intel-driver
libva
I have no idea what's the problem. Mpv works fine on my main PC (using AMD GPU).
Searching didn't come up with anything useful.
Thanks in advance for help.
Last edited by Sublime2k (2014-10-04 23:40:58)
Offline
Try different video output.
Offline
That doesn't help. I've tried the following:
vo=opengl
Playing: /path/to/video.mkv
[stream] Video (+) --vid=1 (h264)
[stream] Audio (+) --aid=1 --alang=eng (*) (mp3)
[stream] Subs (+) --sid=1 'video.srt' (subrip) (external)
[vo/opengl/x11] X11 error: GLXBadFBConfig
[vo/opengl] Could not create GL3 context. Retrying with legacy context.
vo=opengl-hq
Playing: /path/to/video.mkv
[stream] Video (+) --vid=1 (h264)
[stream] Audio (+) --aid=1 --alang=eng (*) (mp3)
[stream] Subs (+) --sid=1 'video.srt' (subrip) (external)
[vo/opengl-hq/x11] X11 error: GLXBadFBConfig
[vo/opengl-hq] Could not create GL3 context. Retrying with legacy context.
vo=opengl-old
Playing: /path/to/video.mkv
[stream] Video (+) --vid=1 (h264)
[stream] Audio (+) --aid=1 --alang=eng (*) (mp3)
[stream] Subs (+) --sid=1 'video.srt' (subrip) (external)
AO: [alsa] 48000Hz stereo 2ch s16
VO: [opengl-old] 1280x720 => 1280x720 yuv420p
vo=sdl
Playing: /path/to/video.mkv
[stream] Video (+) --vid=1 (h264)
[stream] Audio (+) --aid=1 --alang=eng (*) (mp3)
[stream] Subs (+) --sid=1 'video.srt' (subrip) (external)
[vo] Video output sdl not found!
Error opening/initializing the selected video_out (-vo) device.
Video: no video
Video: no video
AO: [alsa] 48000Hz stereo 2ch s16
Exiting... (Quit)
vo=vaapi
Playing: /path/to/video.mkv
[stream] Video (+) --vid=1 (h264)
[stream] Audio (+) --aid=1 --alang=eng (*) (mp3)
[stream] Subs (+) --sid=1 'video.srt' (subrip) (external)
AO: [alsa] 48000Hz stereo 2ch s16
VO: [vaapi] 1280x720 => 1280x720 yuv420p
Exiting... (Quit)
vo=vdpau
Playing: /path/to/video.mkv
[stream] Video (+) --vid=1 (h264)
[stream] Audio (+) --aid=1 --alang=eng (*) (mp3)
[stream] Subs (+) --sid=1 'video.srt' (subrip) (external)
[vo/vdpau] Error when calling vdp_device_create_x11: 1
Error opening/initializing the selected video_out (-vo) device.
Video: no video
Video: no video
AO: [alsa] 48000Hz stereo 2ch s16
Exiting... (Quit)
To make matters even more confusing, vaapi, vdpau and sdl have sound, but no video.
Offline
During the boot process, I also get these error messages, I'm not sure if they matter:
[6.570151] [drm:init_ring_common] *ERROR* render ring initialization failed
ctl 0001f001 (valid? 1) head 000104a4 tail 00000000 start 003eb000 [expected 003eb000]
[6.570185] [drm:i915_gem_init] *ERROR* Failed to initialize GPU, declaring it wedged
[7.953399] [drm:intel_enable_lvds] *ERROR* timed out waiting for panel to power on
After that, X loads fine and everything works fine (excluding mpv). For example, Flash videos in Firefox have video and sound as usual.
Offline
According to the news in the Arch website, you need mesa-vdpau to make it work.
Asus 1225B - 11,6" - AMD E-60 Dual Core 1,3Ghz - 4 Go RAM - Disque dur SSD 128 Go - Radeon HD6290
ArchLinux Openbox - My Github
Offline
According to the news in the Arch website, you need mesa-vdpau to make it work.
I already have mesa-vdpau and mesa-dri installed.
Offline
During the boot process, I also get these error messages, I'm not sure if they matter:
Of course they matter. "Failed to initialize GPU" couldn't be any clearer.
After that, X loads fine and everything works fine (excluding mpv).
It only appears to work fine, but there's no acceleration anywhere.
For example, Flash videos in Firefox have video and sound as usual.
That's because flash is pure software (no hardware acceleration) unless libvdpau-va-gl is installed.
It seems a lot of people have issues with Intel on the 3.16 kernel. Try the -lts kernel.
According to the news in the Arch website, you need mesa-vdpau to make it work.
Intel does not use VDPAU, so no, you don't need mesa-vdpau. It's only needed for hardware decoding on radeon and nouveau.
Offline
Try using the other acceleration method (UXA or SNA). Later try disabling dri
Option "DRI" "false"
although it's just guesswork.
Which intel card do you have?
Offline
It turns out that it's a kernel problem (3.16.3) after all.
I just installed linux-lts and it's working fine.
Thanks for help everyone, I'll mark the topic as solved now.
Offline