[mythtv-users] Re: [mythtv] non-Xv display support in CVS.

Chris Pinkham cpinkham at bc2va.org
Sat Mar 8 06:15:27 UTC 2003


> (I actually had to type this in rather than cut &
> paste so excuse the cuts.)

That's ok.  I think it's having a problem creating the window.  Can you try
these additions to XJ.cpp and see what comes up.  You should be able to
get mythfrontend to log to a file by doing this:

mythfrontend 2>&1 | tee mythfrontend.out

Then you can paste mythfrontend.out into an email.

Edit MC/libs/libmythtv/XJ.cpp and make the following additions.

Search for the following line:

	// if non-XV mode then run @ GUI size

and add the following lines before it:

	printf( "XJ_screenx = %d\n", XJ_screenx );
	printf( "XJ_screeny = %d\n", XJ_screeny );
	printf( "XJ_screenwidth = %d\n", XJ_screenwidth );
	printf( "XJ_screenheight = %d\n", XJ_screenheight );
	printf( "XJ_width = %d\n", XJ_width );
	printf( "XJ_height = %d\n", XJ_height );
	printf( "XJ_aspect = %d\n", XJ_aspect );
	printf( "wid = %d\n", wid );
	printf( "GuiWidth = %d\n", gContext->GetNumSetting("GuiWidth", 0);
	printf( "GuiHeight = %d\n", gContext->GetNumSetting("GuiHeight", 0);

Then recompile, reinstall, rerun, and email the output from those lines.

> ----------------------------------------
> Changing from None to WatchingLiveTV
> Over/underscanning. V: 0.000000, H: 0.000000, XOff: 0,
> YOff: 0
> X Error: BadValue (integer parameter out of range for
> operation) 2
>   Major opcode: 1
>   Minor opcode: 0
>   Resource id: 0x0
> 
> [next part repeats 7 times]
> XError: BadWindow (invalid window parameter) 3
>   Major opcode: 18
>   Minor opcode: 0
>   Resource id: 0xa00001

Chris

*****************************************************************************
** Chris Pinkham                  Linux v2.2.18, Sane v1.0.4, Cajun v3.0-8 **
** cpinkham at bc2va.org                          http://www.bc2va.org/chris/ **
*****************************************************************************


More information about the mythtv-users mailing list