naudefj wrote:
> Hi Duncan,
> 
> On Monday 08 January 2007 21:56, Duncan Webb wrote:
>> naudefj wrote:
>>> Tiny_xosd.py only shows messages on top of the screen (pyosd.POS_TOP),
>>> but nothing gets displayed at the bottom (pyosd.POS_BOT). Looks like the
>>> screen height/ depth is not correctly detected.
>>>
>>> Mesages from Xorg.0.log:
>>>
>>> (II) NVIDIA(0): Assigned Display Device: TV-0
>>> (WW) NVIDIA(0): No valid modes for "800x600PAL"; removing.
>>> (WW) NVIDIA(0):
>>> (WW) NVIDIA(0): Unable to validate any modes; falling back to the default
>>> mode (WW) NVIDIA(0):     "nvidia-auto-select".
>>> (WW) NVIDIA(0):
>>> (II) NVIDIA(0): Validated modes:
>>> (II) NVIDIA(0):     "nvidia-auto-select"
>>> (II) NVIDIA(0): Virtual screen size determined to be 1024 x 768
>>>
>>> So, it looks like the screen height is set to 768 and not 600. If my
>>> assumption is correct, this may explain why messages at the bottom are
>>> cut off.
>>>
>>> >From xorg.conf:
>>>
>>> ModeLine "800x600PAL"   36.00       800  818  820  960  600  653  655 
>>> 750
>>>
>>> Does anyone have a better (valid) ModeLine for 800x600PAL?
>> Are you using nvidia and connecting to a PAL TV? From what I see you
>> are. Are you connecting with a composite, s-video or do you have a vga
>> input?
> 
> Yes, the HTPC is connected via composite to a PAL-I TV-set and RF modulator 
> (using RCA Y splitters).
> 
>> The best solution that I have when connecting to a TV with composite or
>> s-video is to use 720x576. From the nvidia docs it says that other modes
>> are sent in this format.
>>
>> You can use the OSD_OVERSCAN_(X|Y} setting to push the image into the
>> centre.
> 
> The problem is that Freevo is using CONF.geometry, while PyOSD is using the X 
> display's size. As a result, pyosd.POS_BOT is not always where one would 
> expect to find it. A possible solution would be to use:
> 
> self.osd.set_pos(pyosd.POS_TOP)
> self.osd.set_offset(config.CONF.height - 100)

I set in freevo.conf:
geometry = 720x576
width = 720
height = 576

There seems to be a distinction between the geometry and height and
width, don't know if this was by design of coincidence.

Duncan


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to