HDTV Settings, I got my overscan problem fixed.

Talk about anything related to Gentoox or Gentoo.
msnyder
Adept
Posts: 59
Joined: Wed Jan 28, 2004 7:47 pm
Location: Tyler, Texas

Post by msnyder »

Xbox v1.4
Focus (obviously)
Mitsubishi SliverPlus 55" (WS-55413)


http://www.mitsubishi-tv.com/2003_2004_ ... 55413.html
jaredn79
Linux User
Posts: 15
Joined: Tue Jan 20, 2004 6:18 pm
Location: Arlington, TX
Contact:

Post by jaredn79 »

Thats a damn fine TV but I dont know what resolutions it supports. It may upscale all signals to 1080i - like some TVs do. Hopefully not. This stuff is all very new to me and I feel like I just got lucky getting mine to display like it does.

I found a cool spreadsheet with algorithms that can help determine settings.

http://www.vesa.org/public/GTF/GTF_V1R1.xls

I'm just going through the trial and error method trying to get 540p to work.
------------------------------------------------------
Jared

I am a total n00b to linux, please dont flame me ;o)
-------------------------------------------------------
msnyder
Adept
Posts: 59
Joined: Wed Jan 28, 2004 7:47 pm
Location: Tyler, Texas

Post by msnyder »

WS-55413 supports:

480i
480p
720p
1080i
msnyder
Adept
Posts: 59
Joined: Wed Jan 28, 2004 7:47 pm
Location: Tyler, Texas

Post by msnyder »

Yeah, I'm wondering if I should start over... Is uninstallation as easy as deleting the files from E:/ and re-installing? What files do I need to delete?
jaredn79
Linux User
Posts: 15
Joined: Tue Jan 20, 2004 6:18 pm
Location: Arlington, TX
Contact:

Post by jaredn79 »

Why do you want to start over? You can get your video back.
------------------------------------------------------
Jared

I am a total n00b to linux, please dont flame me ;o)
-------------------------------------------------------
jaredn79
Linux User
Posts: 15
Joined: Tue Jan 20, 2004 6:18 pm
Location: Arlington, TX
Contact:

Post by jaredn79 »

I think this line will work for 540p:

fbset -g 960 540 960 540 960 540 32 -t 29195 24 14 12 3 16 2

I havent tried it yet, but I will within the next hour (during my lunch break from work)

You can then run fbset -x to get the modeline for the XF86Config file.
------------------------------------------------------
Jared

I am a total n00b to linux, please dont flame me ;o)
-------------------------------------------------------
jaredn79
Linux User
Posts: 15
Joined: Tue Jan 20, 2004 6:18 pm
Location: Arlington, TX
Contact:

Post by jaredn79 »

whoops, I meant:

fbset -g 960 540 960 540 32 -t 29195 24 14 12 3 16 2
------------------------------------------------------
Jared

I am a total n00b to linux, please dont flame me ;o)
-------------------------------------------------------
jaredn79
Linux User
Posts: 15
Joined: Tue Jan 20, 2004 6:18 pm
Location: Arlington, TX
Contact:

Post by jaredn79 »

OK, this did not work, but it worked better than any other settings I have tried for 540p.

Im starting to think that there is more to the puzzle than just fbset and XF86Config

Where are the actual "drivers" configuration. What is actually happening when xbvset is run?

In the linuxboot.cfg on e: video=xbox:480p - what does this do? Can I change it to 540p or 960x540

Someone please help.
------------------------------------------------------
Jared

I am a total n00b to linux, please dont flame me ;o)
-------------------------------------------------------
jaredn79
Linux User
Posts: 15
Joined: Tue Jan 20, 2004 6:18 pm
Location: Arlington, TX
Contact:

Post by jaredn79 »

I am posting my experiments in hopes that others will try these and report their findings.

I am going to try out this configuration this evening:

fbset -g 960 540 960 540 24 -t 26839 96 16 15 2 32 6

XF86Config MODELINE:

37.260 960 976 1008 1104 540 542 548 563 -hsync -vsync
------------------------------------------------------
Jared

I am a total n00b to linux, please dont flame me ;o)
-------------------------------------------------------
jaredn79
Linux User
Posts: 15
Joined: Tue Jan 20, 2004 6:18 pm
Location: Arlington, TX
Contact:

Post by jaredn79 »

Would the fbdev driver have to have support for this resolution?

In /usr/src/linux/drivers/video/xbox/fbdev.c I see the settings for 480p if I change those resolutions, timings, and margins, then save the file, how to I build it and make it part of my installation?

(im pulling my hairs out)
[/code]
------------------------------------------------------
Jared

I am a total n00b to linux, please dont flame me ;o)
-------------------------------------------------------
fishing7
Newbie
Posts: 3
Joined: Sat May 15, 2004 12:36 am

720p overscanning fixed

Post by fishing7 »

I used xbvset and set it on hdtv at 720p. I then experienced major overscanning. After a few adjustments using SSH; I came up with this.
fbset -g 1152 648 1152 648 32 -t 13466 260 115 2 83 103 57
Which makes(XF86Config):
Modeline "xbox" 74.256 1152 1267 1370 1630 648 731 788 790 -hsync -vsync
Now it fits to the corners very nicely. The tv I'm using is a Sony 50" LCD if that helps. Anyone know if you can switch from XFCE to KDE or vice-a-versa without it running xbvset. Because it's a pain to have to fbset everything back after I switch.
Thanks.
jaredn79 wrote:I am posting my experiments in hopes that others will try these and report their findings.

I am going to try out this configuration this evening:

fbset -g 960 540 960 540 24 -t 26839 96 16 15 2 32 6

XF86Config MODELINE:

37.260 960 976 1008 1104 540 542 548 563 -hsync -vsync
msnyder
Adept
Posts: 59
Joined: Wed Jan 28, 2004 7:47 pm
Location: Tyler, Texas

Post by msnyder »

How do you know to type "fbset -g 640 440 640 440 32 -t 37000 100 54 45 33 64 7"? If I want to set to 480p what would I need to change?
fishing7
Newbie
Posts: 3
Joined: Sat May 15, 2004 12:36 am

Post by fishing7 »

msnyder wrote:How do you know to type "fbset -g 640 440 640 440 32 -t 37000 100 54 45 33 64 7"? If I want to set to 480p what would I need to change?
Well, for me it was guess and check. Are you experiencing overscan problems? Like does the desktop go past your tv borders. Basically what you have to do is decrease the number of visible pixels or something like that. I'm not sure technically but basically what does numbers all correspond to are pixels horizontally / vertically and then after the timing number you have basically margins that are used to push up/down/left/right.
Here's something I used when setting up my numbers. If you try things that are not in the proper ratio or somewhat divisible by 8 you'll most likely get bad results (not readable screen). Once you get something that is close, you fine tune everything with the numbers after the timing number (-t xxxxxx). I'm no linux/hdtv expert, but I think what I am saying is mostly correct.

by Veetid , 29 March 2004 (based on howto by Oliver Schwartz)
1.5 Overscan Issues
The timing (i.e. the sum of visible and non visible pixels) is fixed. The only thing you can do is increase the number of invisible pixiels and decrease the number of visible pixels by the same amount, thus effectively reducing resolution.

You must make sure that your horizontal and vertical resolution numbers are divisible by 8!
You must also make sure the ratio stays correct.

using "fbset" you can modify your console video mode to correct overscan (run "man fbset" and read the manual).

Example (This mode fixed overscan on Mitsubishi 42" HDTV):
fbset -g 640 440 640 440 32 -t 37000 100 54 45 33 64 7

The total of 640 + 100 + 54 + 64 = 858. So if you change your horizontal resolution you must modify your left and right margins so that the total is still 858. This also applies to the vertical resolution with 440 + 45 + 33 + 7 = 525.

You must shutdown X while you are changed console video modes, so run (if you are using xdm on Xebian):

/etc/rc2.d/S99xdm stop

run "fbset -i" to see your current video settings. This will give you a baseline on the corrections you need to make.

Increase the right and left margin as you decrease your horizontal resolution.
Do the same for the upper and lower margin as you decrease the vertical resolution.

Do this until you find a good video mode that corrects your overscanning.

Then run "fbset -x", which will give you an X Modeline. Modify your X modeline in your XF86Config-4 to include overscan correction changes.
msnyder
Adept
Posts: 59
Joined: Wed Jan 28, 2004 7:47 pm
Location: Tyler, Texas

Post by msnyder »

Well, here's the math I came up with to fix overscan, but it comes up all garbled...

Original:

Code: Select all

fbset -g 704 480 704 480 32 -t 36998 48 42 29 9 64 7
Changed to:

Code: Select all

fbset -g 680 464 680 464 32 -t 37000 60 54 37 17 64 7
Which is:

Code: Select all

Modeline "xbox" 27.027 680 734 798 585 464 481 488 525 -hsync -vsync
based on my fbset -x settings. What am I doing wrong? I just want it to work. Damned if my "Focus" didn't work at all, now that I traded my Xbox to someone for their "Conextant", it still doesn't work.
msnyder
Adept
Posts: 59
Joined: Wed Jan 28, 2004 7:47 pm
Location: Tyler, Texas

Post by msnyder »

*BUMP*
Post Reply