LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 01-29-2007, 01:44 PM   #1
Arla
Member
 
Registered: Jun 2005
Location: SE
Distribution: Gentoo, k 2.6.24
Posts: 48

Rep: Reputation: 15
[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

Last edited by Arla; 02-18-2007 at 05:45 AM. Reason: adding [solved]
 
Old 01-29-2007, 03:19 PM   #2
ramram29
Member
 
Registered: Jul 2003
Location: Miami, Florida, USA
Distribution: Debian
Posts: 848
Blog Entries: 1

Rep: Reputation: 47
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.
 
Old 01-29-2007, 03:39 PM   #3
Arla
Member
 
Registered: Jun 2005
Location: SE
Distribution: Gentoo, k 2.6.24
Posts: 48

Original Poster
Rep: Reputation: 15
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.
 
Old 01-29-2007, 09:24 PM   #4
mlp68
Member
 
Registered: Jun 2002
Location: NY
Distribution: Gentoo,RH
Posts: 333

Rep: Reputation: 40
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
 
Old 01-30-2007, 03:33 PM   #5
Arla
Member
 
Registered: Jun 2005
Location: SE
Distribution: Gentoo, k 2.6.24
Posts: 48

Original Poster
Rep: Reputation: 15
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.
 
Old 02-17-2007, 05:53 PM   #6
Arla
Member
 
Registered: Jun 2005
Location: SE
Distribution: Gentoo, k 2.6.24
Posts: 48

Original Poster
Rep: Reputation: 15
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.
 
Old 02-18-2007, 01:18 AM   #7
mlp68
Member
 
Registered: Jun 2002
Location: NY
Distribution: Gentoo,RH
Posts: 333

Rep: Reputation: 40
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
 
Old 02-18-2007, 05:45 AM   #8
Arla
Member
 
Registered: Jun 2005
Location: SE
Distribution: Gentoo, k 2.6.24
Posts: 48

Original Poster
Rep: Reputation: 15
Thumbs up 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 ;-)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Laptop: widescreen LCD, regular-screen CRT output tobim Linux - Laptop and Netbook 0 08-31-2006 01:56 PM
Trying to get width and hieght of screen in characters Cynagen Linux - General 1 07-28-2006 08:54 AM
watch your widescreen movies more full screen shanenin Linux - Software 3 08-02-2005 12:30 AM
Laptop Screen Height and Width blueStatic Linux - Hardware 1 09-03-2003 12:06 AM
Red Hat, non X, screen width. DiBosco Linux - General 6 01-19-2002 10:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 05:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration