Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Multimedia
  • Search

Modeline for Samsung LE-32T51

Help with creation, editing, or playback of sounds, images, or video. Amarok, audacious, mplayer, grip, cdparanoia and anything else that makes a sound or plays a video.
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
perga
n00b
n00b
Posts: 68
Joined: Sat Sep 18, 2004 9:44 am
Location: SWEDEN

Modeline for Samsung LE-32T51

  • Quote

Post by perga » Sun Apr 23, 2006 1:57 pm

I have a new Samsung LE-32T51 LCD TV. The manual states that the best mode for PC (VGA) connection is 1360x768 @ 60 Hz. I can get 1024x768 working without problems but where do I find a modeline for 1360x768?

I have found a number of pages dealing with this problem and they recommend gtf, but the gtf generated modeline does not work.
perga
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56082
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Sun Apr 23, 2006 4:43 pm

NeddySeagoons' Rough Guide to Xorg Modelines

Why do you need a modeline (or more than one modeline) ?
Xorg comes preprogrammed with most of the standard VESA graphics modes. At the moment, they all produce a 4:3 aspect ration image.
More users are installing wide screen hardware and want to use all of their display surface, without cropping or bars at the side.

Xorg can generate almost any arbitary resolution and refresh rate you would like, you only need describe to Xorg how to do it.
This is what the modeline does. It has the form

Code: Select all

ModeLine "name" DotClock hdisp hsyncstart hsyncend htotal vdisp vsyncstart vsyncend vtotal Flags HSkew VScan
For most users

Code: Select all

Flags HSkew and VScan
can be omitted and will not be covered further here. If you need a mode line for TV-Out, read man xorg.conf. You will need to set interlace, at least, which is one of the flags.

Using 1360x768@60 Hz as an example, we can fill in

Code: Select all

ModeLine "1360x768@60" DotClock 1360 hsyncstart hsyncend htotal 768 vsyncstart vsyncend vtotal
Thats the easy bit.
The name is arbitary but must be unique. We need to use it to refer to the modeline later. Use of descriptive nanes is encoraged.
The rest of the numbers are difficult to calculate buy hand but there are a number of modeline generators on the web. I have used this one to contine the example.
Filling in the basic configuration and pressing calculate gives

Code: Select all

Modeline "1360x768@60" 84.50 1360 1392 1712 1744 768 783 791 807
Note that this requires a

Code: Select all

Horizontal sync frequency: 48.45 kHz
Check that this is within the range accepted by your display.

Now we have out modeline, what do we do with it ?
I recommend adding it to your

Code: Select all

Section Monitor 
in /etc/X11/xorg.conf for the display that it will be applied to. This prevents it being used with other displays if you have several attached. Like this

Code: Select all

Section "Monitor"
    Identifier  "CTX 950ST"
    VertRefresh 50.0 - 160.0
    HorizSync   30.0 - 95.0
    Modeline "1360x768@60" 84.50 1360 1392 1712 1744 768 783 791 807
    Option      "dpms"
EndSection
Your section "Monitor" will be different to mine - its just an illustration.

Thats defined the modeline to Xorg, to actually use it we need to edit the Section "Screen" too.

Code: Select all

Section "Screen"
    Identifier  "Screen 1"
    Device      "NVIDIA GeForce"
    Monitor     "CTX 950ST"
    DefaultDepth 16
    Subsection "Display"
        Depth       16
        Modes      "1360x768@60" "1024x768" "800x600" "640x480" "512x384" "416x312" "400x300" "320x240"
        ViewPort    0 0
    EndSubsection
EndSection
The first Identifire in the Modes statement ("1360x768@60") is our new widescreen mode, which is what Xorg will use at startup.
Again its an illustration based on my xorg.conf - yours will differ.
For most users, this will 'Just Work' but if the HorizSync or VertRefrsh is very close to the limits of your display, the rounding the Xorg does can push the Modeline setting over the boundary.
You fix that by going back to the modeline generator, deleteing the refresh rate and making a small (0.1) change to the pixel clock and recalculating the mode line. Put the new numbers in the modeline statement and try again.

You may define and use further modelines in the same way.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
perga
n00b
n00b
Posts: 68
Joined: Sat Sep 18, 2004 9:44 am
Location: SWEDEN

  • Quote

Post by perga » Sun Apr 23, 2006 7:36 pm

Many thanks! It seems to work with the modeline generator you indicated, though the picture quality could be better. I'll continue experimenting
perga
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56082
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Wed Apr 26, 2006 4:56 pm

perga,

You will get the best performace from an LCD when the displayed resolution matches the 'native' resolution,
You can test minor adjustments to your active modeline with xvidtune, which can change the numbers while you watch.

For best performace use a DVI interface, not 15 pin VGA.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
Post Reply

4 posts • Page 1 of 1

Return to “Multimedia”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic