[mythtv-users] Mythtv on second X screen: several issues

Thomas Fjellstrom tfjellstrom at shaw.ca
Tue Nov 4 20:39:08 UTC 2008


On Tuesday 04 November 2008, Paul van Gerven wrote:
> OS: Kubuntu Intrepid with KDE 4.1
> Mythtv-version: 0.21.0 from repositories
> Setup: dual head. Monitor through Nvidia graphics card and tv hooked up via
> Hauppauge 350 and ivtv framebuffer
>
> As I tried to upgrade my Kubuntu Feisty installation to Intrepid, I
> discovered that KDE 4 does not support multiple screens. As a result I get
> Plasma running on my monitor, but a black additional X screen on my tv on
> which I can move around the typical ugly X cursor. In itself, this is not a
> problem, as I can run applications on the tv using DISPLAY=:0.1. This
> works, except I get no window borders, telling me kwin really isn't running
> on that screen. For running Mythtv this still is no problem however.
>
> The problems start when I for example run the 'appearance' submenu in
> setup, which after completion reloads the interface (prescaling...). After
> this Mythtv is unresponsive. I am thinking this is a focus issue.
>
> The bigger problem is that Mythtv crashes when I try to watch live tv. The
> last lines from the output from the -v all option are:
>
> 2008-11-04 21:05:42.163 VideoOutputXv: ctor
> 2008-11-04 21:05:42.163 AO: 24224 bytes free on soundcard
> 2008-11-04 21:05:42.165 XOff: 0, YOff: 0
> 2008-11-04 21:05:42.165 VDP: LoadBestPreferences(720x576, 60)
> 2008-11-04 21:05:42.165 Snapping width to avoid scaling: width: 720, left:
> -10
> 2008-11-04 21:05:42.165 Display Rect  left: -10, top: 0, width: 720,
> height: 540, aspect: 1.33333
> 2008-11-04 21:05:42.165 AO: 24624 bytes free on soundcard
> 2008-11-04 21:05:42.165 Video Rect    left: 0, top: 0, width: 720, height:
> 576, aspect: 1.33333
> 2008-11-04 21:05:42.166 MSqlQuery: SELECT data FROM settings WHERE value =
> 'GuiResolution' AND hostname = 'snotrochel' ;
> 2008-11-04 21:05:42.166 MSqlQuery: SELECT data FROM settings WHERE value =
> 'GuiResolution' AND hostname IS NULL;
> 2008-11-04 21:05:42.166 VideoOutputXv: Pixel dimensions: Screen 0x0, window
> 700x540
> 2008-11-04 21:05:42.167 VideoOutputXv: Estimated display dimensions:
> 191x152 mm  Aspect: 1.25658
> Floating point exception
>
> I can watch live tv on my monitor.
>
> So, any ideas what's going on?

Well that floating point exception is likely a divide by zero. see the "Pixel 
dimentions" where it says "Screen 0x0".

Try launching a wm on that second screen. Usually you need one wm per X 
server+screen. You could launch kwin on that screen if you wanted, but maybe 
it'd be better to start a slimmer wm like twm or something.

-- 
Thomas Fjellstrom
tfjellstrom at shaw.ca


More information about the mythtv-users mailing list