LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Screen width problem on widescreen TV (https://www.linuxquestions.org/questions/linux-desktop-74/screen-width-problem-on-widescreen-tv-523819/)

Arla 01-29-2007 01:44 PM

[solved] Screen width problem on widescreen TV
 
I'm trying to get X.org (with Fluxbox) to display correctly on a widescreen TV. However, the width seems to be wrongly configured. ("Screenshot", 26k JPEG) Or perhaps the sync or refresh rate - I don't know anything about that. I'm pretty noob, so don't hesitate asking me to check log files or whatever :)

The manual for the TV has this table. I only included the mode I'm interested in (there are corresponding rows for lower resolutions).
Code:

Resolution | Horizontal refresh rate | Vertical sync rate | Pixel clock | sync polarity
    .    |          .            |        .          |      .    |      .
1360 x 768 |      47.712 kHz        |      60.015 Hz    |  85.8 MHz  |    + / +

One of the ModeLines in xorg.conf (the only one not commented out, actually) is:
ModeLine "1360x768@60" 84.50 1360 1392 1712 1744 768 783 791 807 +hsync +vsync

(The ModeLines are calculated with xtiming.)

Oh, and I'm using Gentoo with kernel 2.6.18.
Graphics board: Radeon X600

ramram29 01-29-2007 03:19 PM

Check out the question below:

http://www.linuxquestions.org/questi...hlight=fluxbox

Additionally, you may want to find out from your manufacturer what the hor/ver rates trully are, then modify them in xorg.conf.

Arla 01-29-2007 03:39 PM

Do you think that the hor/vert rates can be causing the "distortion"?

I took a look at that thread before, but it didn't really help me. But I guess I'll try hwinfo.

And, do you think that the TV manual shows the wrong values? Seems odd to me.

Thanks, however.

mlp68 01-29-2007 09:24 PM

Try to remove all other sizes from the "Modes" lines in the Screen section to force "1360x768@60". The X server generates standard mode lines on its own and you may not actually get the desired size. In the current state, you can find out with xdpyinfo (you may have to emerge it if it's not there). If you don't get what you had asked for, the log file will tell you what has been rejected and why. BTW, where did the
HorizSync 30 - 61
VertRefresh 60 - 75
lines come from? Did the server query the screen? Or did you enter that?

Hope it helps,
mlp

Arla 01-30-2007 03:33 PM

mlp68,
I'm pretty sure I've seen in the Xorg.0.log something that showed that X was using my desired mode, but I'll try removing the other modes as you suggested.

The HorizSync and VertRefresh lines I entered myself. I got those values from the manual for the TV - the same as the other values.

Arla 02-17-2007 05:53 PM

still having problems
 
Quote:

Originally Posted by Arla
... but I'll try removing the other modes as you suggested.

No, this doesn't work.

The problem applies for the 1024x768 mode too, and also for when I Ctrl+Alt+- from the 1360x768 mode (which I don't think are the same... or are they?).

The tv should work as a computer screen some way, because I've run Windows (with the same system and graphics card) on it without a problem.

mlp68 02-18-2007 01:18 AM

Sorry that you are still fighting this. I have since the last posting replaced 2 monitors with widescreen LCD's and gotten them to work after some tweaks, which may or may not help you.

In my xserver's log file, I see

Quote:

(II) RADEON(0): Supported additional Video Mode:
(II) RADEON(0): clock: 146.0 MHz Image Size: 433 x 271 mm
(II) RADEON(0): h_active: 1680 h_sync: 1784 h_sync_end 1960 h_blank_end 2240 h_border: 0
(II) RADEON(0): v_active: 1050 v_sync: 1053 v_sync_end 1059 v_blanking: 1089 v_border: 0
(II) RADEON(0): Ranges: V min: 56 V max: 77 Hz, H min: 31 H max: 84 kHz, PixClock max 170 MHz
I converted this into a modeline:
Quote:

ModeLine "1680x1050" 146.0 1680 1784 1960 2240 1050 1053 1059 1089
In the above section, the max hor/ver values seem to come out a bit high. Using those, the screen says "unsupported mode". I kept on turning down the numbers until the screen worked, and ended up with
Quote:

HorizSync 31.0 - 80.0
VertRefresh 56.0 - 70.0
The screen section then has

Quote:

SubSection "Display"
Viewport 0 0
Depth 24
Modes "1680x1050"
EndSubSection
and this works. See if you find the equivalent info in your log and can do the same.

Good luck,
mlp

Arla 02-18-2007 05:45 AM

It works!
 
Quote:

Originally Posted by mlp68
See if you find the equivalent info in your log and can do the same.

Thank you very much, mlp68. It now works fine and I'm greatly thankful to you. I found those lines and plainly copied the numbers and it worked.

I named my modeline for you ;-)


All times are GMT -5. The time now is 10:30 PM.