Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 511996 - mythtv 0.27 fails with vaapi: ../libmythui/mythrender_opengl.h:7:22: fatal error: QGLContext: No such file or directory
Summary: mythtv 0.27 fails with vaapi: ../libmythui/mythrender_opengl.h:7:22: fatal er...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: MythTV Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-01 00:00 UTC by Hika
Modified: 2015-09-06 03:58 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,829.25 KB, application/octet-stream)
2014-06-01 00:00 UTC, Hika
Details
emerge --info (emerge.info,6.30 KB, text/plain)
2014-06-01 00:01 UTC, Hika
Details
emerge -pqv (emerge.pqv,379 bytes, text/plain)
2014-06-01 00:02 UTC, Hika
Details
as requested (config.ep,413.77 KB, text/plain)
2014-06-01 13:39 UTC, Hika
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hika 2014-06-01 00:00:55 UTC
Created attachment 377966 [details]
build.log

Hi Rich, Here the vaapi error as I told on the myth mailinglist

mythtv fails with vaapi flag enabled. This goes for 0.27_p20140321 and the new 0.27.1_p2010527
This is the report from 0.27.1

../libmythui/mythrender_opengl.h:7:22: fatal error: QGLContext: No such file or directory
Comment 1 Hika 2014-06-01 00:01:47 UTC
Created attachment 377968 [details]
emerge --info
Comment 2 Hika 2014-06-01 00:02:09 UTC
Created attachment 377970 [details]
emerge -pqv
Comment 3 Richard Freeman gentoo-dev 2014-06-01 12:33:35 UTC
(In reply to Hika from comment #0)
> mythtv fails with vaapi flag enabled. This goes for 0.27_p20140321 and the
> new 0.27.1_p2010527
> This is the report from 0.27.1

Are you building with vappi enabled or disabled?  Your comment and build log suggests that it is enabled.  Your emerge --info suggests that it is disabled.  Can you give me the correct emerge --info, just in case that turns out to be helpful?

Your config output says OpenGL video is disabled, which I suspect could be the problem.  It is enabled for me when I use the same flags, which suggests some kind of automagic detection going on.
Comment 4 Richard Freeman gentoo-dev 2014-06-01 13:07:03 UTC
Please attach /var/tmp/portage/media-tv/mythtv-0.27.1_p20140527/work/mythtv-0.27.1/mythtv/config.ep .
Comment 5 Hika 2014-06-01 13:09:14 UTC
I was also surprised about the output of emerge --info It showed the stated of the installed version (without vaapi and vdpau) and not the state of the active useflags. emerge -pvq shows that correctly.
I have opengl to nvidia and have nvidia driver 331.49. 334.21 has known issues with mythtv, so you might want to mask that. I haven't tried the present 334.21-r3.
Comment 6 Hika 2014-06-01 13:11:14 UTC
I have to remerge for that. So it will take time.
Comment 7 Richard Freeman gentoo-dev 2014-06-01 13:13:48 UTC
(In reply to Hika from comment #5)
> I have opengl to nvidia and have nvidia driver 331.49. 334.21 has known
> issues with mythtv, so you might want to mask that. I haven't tried the
> present 334.21-r3.

My frontend is running 334.21-r3 without issue (Zotac/ION-based).  It uses vdpau, but not vaapi.  It wouldn't shock me if there were known issues though - as I recall getting video to play back on that box without artifacts took quite a bit of trial/error.
Comment 8 Hika 2014-06-01 13:20:03 UTC
When I upgraded to 334.21 on my frontend. I had to reset the configuration (temporarily hostname change) to get anything. I then rolled it back. I don't remember if it was vdpau or opengl. I then put it on the mailinglist. It was still mythtv 0.26
Comment 9 Hika 2014-06-01 13:39:23 UTC
Created attachment 378006 [details]
as requested
Comment 10 Hika 2014-06-29 12:53:49 UTC
I now succeeded in merging with the vaapi useflag enabled. Probable cause is that my nvidia driver was improperly merged with drm still enabled in the kernel. After fixing this and enabling egl system wide the merge went OK. Only now the frontend crashes after finishing playback.
By the way, you saw Jean-Yves is releasing 0.27.2?
Comment 11 Doug Goldstein (RETIRED) gentoo-dev 2015-09-06 03:58:25 UTC
Per the bug, this appears resolved by fixing a configuration change on the user's machine.