Michel Hoogervorst wrote:
> Helleu :-)
> 
>> Hi Michel,
>>
>> That's great that your making so many improvements. I had a quick look
>> on the site and the forums are getting a bit of traffic now, good to see
>> that growing.
> 
> Yes, it was a user on the forum that made me decide to create the X11
> option, since he had some trouble getting a nice picture on his HDTV.
> Now it's there, I can't even remember why I had so much trouble with
> configuring Freevo to use the detected X11 resolution in the first
> place :-P
> 
> I use this line to find out the detected resolution in a rc.firstboot script:
> RES=$(cat /etc/X11/xorg.conf | grep Modes | uniq | tr -s \ \ | cut -f
> 3 -d ' ' | tr -d "\"");
> 
> and then just replace 800x600 with $RES using sed...
> 
> This was almost too easy haha ;-)

I wonder if this will work in all cases, xorg tends to ignore modelines
and read them from the monitor. Have you come across ddcxinfo-arch-0.8,
IIRC it comes from arch linux. This can give you ouput like:

ddcxinfo-knoppix -modelines | grep 800x600
# 800x600 @ 56Hz (VESA) hsync: 35.2kHz
ModeLine "800x600"    36.0  800  824  896 1024    600  601  603  625
# 800x600 @ 60Hz (VESA) hsync: 37.9kHz
ModeLine "800x600"    40.0  800  840  968 1056    600  601  605  628
# 800x600 @ 72Hz (VESA) hsync: 48.1kHz
ModeLine "800x600"    50.0  800  856  976 1040    600  637  643  666
# 800x600 @ 75Hz (VESA) hsync: 46.9kHz
ModeLine "800x600"    49.5  800  816  896 1056    600  601  604  625
# 800x600 @ 85Hz (VESA) hsync: 53.7kHz
ModeLine "800x600"    56.3  800  832  896 1048    600  601  604  631
# 800x600 @ 100.00 Hz (GTF) hsync: 63.60 kHz; pclk: 68.18 MHz
ModeLine "800x600"  68.18  800 848 936 1072  600 601 604 636

Don't know if this is any use to you.

Duncan


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to