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

Problem with hardware acceleration with Intel-Graphics (Haswell) #165

Open
Acer-Notebook-Optimus opened this issue Dec 9, 2019 · 0 comments

Comments

@Acer-Notebook-Optimus
Copy link

If I start a mp4-video in terminal with io.elementary.videos the following failure is in terminal displayed:

tux@tux-AspireG:~/Videos$ io.elementary.videos 'Simple Minds - Glittering Prize Acoustic.mp4'

(io.elementary.videos:3823): GLib-GIO-CRITICAL **: 20:16:04.921: g_mount_get_default_location: assertion 'G_IS_MOUNT (mount)' failed

(io.elementary.videos:3823): GLib-GIO-CRITICAL **: 20:16:04.928: g_mount_get_default_location: assertion 'G_IS_MOUNT (mount)' failed

(io.elementary.videos:3823): GLib-GIO-CRITICAL **: 20:16:05.065: g_mount_get_default_location: assertion 'G_IS_MOUNT (mount)' failed

(io.elementary.videos:3823): GLib-GIO-CRITICAL **: 20:16:05.084: g_mount_get_default_location: assertion 'G_IS_MOUNT (mount)' failed
libGL error: failed to create drawable
libGL error: failed to create drawable

(io.elementary.videos:3823): Gdk-ERROR **: 20:17:07.834: The program 'io.elementary.videos' received an X Window System error.
This probably reflects a bug in the program.
The error was 'GLXBadContext'.
(Details: serial 31957 error_code 158 request_code 152 (GLX) minor_code 26)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the GDK_SYNCHRONIZE environment
variable to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
Trace/Breakpoint ausgelöst

Hardwareaccelleration with vlc and mpv from app store installed runs fine without failure!

tux@tuxAspire-G:~/Videos$ vlc 'Simple Minds - Glittering Prize Acoustic.mp4'
VLC media player 3.0.8 Vetinari (revision 3.0.8-0-gf350b6b5a7)
[0000560ec774d570] main libvlc: VLC wird mit dem Standard-Interface ausgeführt. Benutzen Sie 'cvlc', um VLC ohne Interface zu verwenden.
libva info: VA-API version 1.1.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_1
libva info: va_openDriver() returns 0
[00007f10e4c07a90] avcodec decoder: Using Intel i965 driver for Intel(R) Haswell Mobile - 2.1.0 for hardware decoding
QObject::~QObject: Timers cannot be stopped from another thread

tux@tux-Aspire-G:~/Videos$ mpv 'Simple Minds - Glittering Prize Acoustic.mp4'
Playing: Simple Minds - Glittering Prize Acoustic.mp4
(+) Video --vid=1 () (h264 1280x720 25.000fps)
(+) Audio --aid=1 --alang=und (
) (aac 2ch 44100Hz)
AO: [pulse] 44100Hz stereo 2ch float
Using hardware decoding (vaapi).
VO: [opengl] 1280x720 vaapi[nv12]
AV: 00:00:48 / 00:04:07 (19%) A-V: 0.000

Hope this was helpfull!

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

No branches or pull requests

1 participant