[mythtv-users] Intel 2405s GPU hang using vaapi in Mythtv

Warpme warpme at o2.pl
Wed Dec 25 19:21:16 UTC 2013


On 24/12/13 17:48, william otten wrote:
> I currently have a gpu hanging problem while using mythtv and vaapi on 
> an Intel Core i5-2405S. I have tried using different versions of 
> vaapi, Ubuntu and Debian and I am currently working with someone at 
> Intel via freedesktop.org <http://freedesktop.org>. Here is the bug 
> report:
> https://bugs.freedesktop.org/show_bug.cgi?id=71276
>
> Basically Intel has acknowledged the issue and is working on a 
> solution. They have issued a patch for vaapi to remedy the gpu hang 
> error which they say works in Mplayer for them. I tried the patch but 
> the original issue still exists using Mythtv. I also tried the patch 
> using VLC and the issue seems to be fixed where as prior VLC confirmed 
> the Mythtv error. At this point there seems to be two video programs 
> that work with the solution and one that doesn't. This is where I need 
> some help from the Mythtv group since Intel has kinda halted on their end.
>
> Another issue has arisen while working on a solution for the gpu hang 
> error. During the last test using Mythtv the patch as well as Intel's 
> experimental vaapi libva 1.2.2.pre2. The overall video quality 
> changed, here is what I posted..."The video is now corrupted. The 
> color is off. Reds, blues, etc...are not balanced but very bold on 
> certain parts of the video. Kinda reminds me of sepa for a photo but 
> with color extremes." I again tested with VLC with no problems. Also 
> Intel doesn't have this issue. Here is a photo of the issue:
> https://dl.dropboxusercontent.com/u/17574275/Mythtv%20screen%20problem%20using%201.2.2.prel.png
>
> So currently I have two issues that hopefully I can get some feedback 
> from the group.
> I tested mythtv vaapi with and without de-interlacing, without any 
> difference. Also VLC had vaapi enabled during testing.
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
William,
Color issue on libva-intel-driver 1.2.2 relates to internal driver 
picture controls conversions. I created patch which fixes picture 
controls issue. You have to apply patch and rebuild libva-intel-driver. 
I see colour issue just got bug report (73016) with has the same 
solution like mine :-)
If You want to use already patched driver (and You are ready to 
experiment with network booting frontend) - You may consider 
http://minimyth2.linuxd.org
It already contains this patched/tested driver.
I tested it on 3220T (HD2500) and I and have correct and stable operation.

br

-------------- next part --------------
diff -Naur libva-intel-driver-1.2.2-old/src/i965_drv_video.h libva-intel-driver-1.2.2-new/src/i965_drv_video.h
--- libva-intel-driver-1.2.2-old/src/i965_drv_video.h	2013-12-16 08:46:30.000000000 +0100
+++ libva-intel-driver-1.2.2-new/src/i965_drv_video.h	2013-12-20 15:06:11.203432302 +0100
@@ -60,9 +60,9 @@
 #define I965_SURFACE_FLAG_BOTTOME_FIELD_FIRST   0x00000002
 
 #define DEFAULT_BRIGHTNESS      0
-#define DEFAULT_CONTRAST        10
+#define DEFAULT_CONTRAST        50
 #define DEFAULT_HUE             0
-#define DEFAULT_SATURATION      10
+#define DEFAULT_SATURATION      50
 
 struct i965_surface
 {


More information about the mythtv-users mailing list