CLE266 in 1680x1050

To the point: the modelines

For those of you who don't have the patience to read the entire page, here are the precious modelines:
Modeline "custom" 122.00 1680 1684 1700 1803 1050 1052 1064 1082 +hsync +vsync
For cle266 + Belinea 10 20 30W.
Modeline "custom" 122.00 1680 1712 1784 1864 1050 1052 1064 1082 +HSync -Vsync
For cle266 + BenQ FP202W and G2200W(@1680x1050)
(This one found by Fabio Zeri, tested by Oskar Schirmer. See mails below.)
ModeLine "custom" 122.00 1680 1764 1780 1887 1050 1052 1064 1082 +hsync +vsync
For cle266 + {HP w2007, HP l2045w}.
(This one found by James Brooks. See mail below.)
Modeline "custom" 148.5 1680 1784 1960 2240 1050 1053 1059 1089
For cle266 + {Dell 2007WFP, Belinea 22W, BenQ FP222W}.
(This one found by "voneicken". See mail below.)
Modeline "custom" 148.5 1680 1784 1968 2256 1050 1051 1054 1087 -hsync +vsync
For cle266 + SyncMaster 215TW.
(This one found by Martin Steiger. See mail below.)
ModeLine "custom" 122.00 1680 1728 1760 1840 1050 1053 1059 1080 +hsync +vsync
For cle266 + SyncMaster 2253LW.
(This one found by Meik Tessmer. See mail below.)

Modelines usage

Put the correct modeline in your /etc/X11/xorg.conf file in your monitor section. For example:
    Section "Monitor"
      Identifier  "Belinea 10 20 30W"
      HorizSync   31-83
      VertRefresh 56-75
      Option      "DPMS"
      Modeline    "custom" 122.00 1680 1684 1700 1803 1050 1052 1064 1082 +hsync +vsync
...and use it in your screen section:
    Section "Screen"
      Identifier   "Default Screen"
      Device       "VIA cle266"
      Monitor      "Belinea 10 20 30W"
      DefaultDepth 24
      SubSection   "Display"
        Depth      24
        Modes      "custom"

The story

I recently acquired one of those "wide" LCD screens : the Belinea 10 20 30W.
A photo of a Belinea 10 20 3xW LCD screen
A Belinea 10 20 3xW LCD screen.

What does this exactly mean for a LCD screen to be "wide"? Well, The screen ratio is no more the 4:3 ratio we are used to, but a wider 16:10 ratio. This also makes for a different resolution. No more good ol' 1600x1200, but 1680x1050.

Now, all would be good and well if this LCD screen was to be connected to a decent video card, but for me, it was a VIA EPIA M10000 board, with a VIA CLE266 chipset.

A photo of a VIA EPIA M motherboard.
A VIA EPIA M motherboard.

The problem is: with a recent Xorg and via openchrome driver, the 1680x1050 mode is not obtainable "as is". The server falls back to a more common resolution in that case, such as 1600x1200. The Xorg log reads:

    (II) VIA(0): Not using default mode "1680x1050" (no clock available for mode)
Pretty frustrating.

So, internet to the rescue I thought, and "googled" for a solution. But after a while, it appeared no common solution existed. I event read here and there that the chipset could not support 1680x1050. But it can do 1600x1200, so why could it not do 1680x1050?

So I tried the modeline way.

First, I took the "right part" of the modeline about the horizontal resolution from a 1400x1050 mode that was accepted by the driver. From the Xorg log:

    (**) VIA(0):  Default mode "1400x1050": 122.0 MHz (scaled from 0.0 MHz), 64.9 kHz, 60.0 Hz
    (II) VIA(0): Modeline "1400x1050"  122.00  1400 1488 1640 1880  1050 1052 1064 1082 +hsync
I also tried many modeline generators, like this one.

All the modelines they gave me where maybe correct, but my VIA CLE266 driver would not accept them ("no clock for mode", etc...)

So I reverted to trial and error to find a suitable mode that would be accepted by the driver.

After much manual editing of the xorg.conf and xvidtune fun, here it is: the precious modeline.

Update 4-Mar-2007: I recently acquired a Belinea 22W.

A Belinea 22W LCD.
A Belinea 22W LCD.

And guess what? Well, the modeline for the 10 20 30W does not work for that one on a cle266! So I started to look for a working modeline, again.

Finally, the modeline that worked for me is the one that was posted a while ago by "voneicken" in the ubuntu forum. See that page: page 5. Quoting:

July 3rd, 2006 voneicken Re: HOWTO: Screen Resolution in Hoary 5.04 I also have a VIA mini ITX board with a CLE266 and have been trying to get 1680x1050. The modeline posted by vincent stehle didn't work for me. But I finally figured out the following one: Modeline "1680x1050" 148.5 1680 1784 1960 2240 1050 1053 1059 1089 This is for a Dell 2007WFP display which provides the following info: (II) VIA(0): Supported additional Video Mode: (II) VIA(0): clock: 146.2 MHz Image Size: 434 x 270 mm (II) VIA(0): h_active: 1680 h_sync: 1784 h_sync_end 1960 h_blank_end 2240 h_border: 0 (II) VIA(0): v_active: 1050 v_sync: 1053 v_sync_end 1059 v_blanking: 1089 v_border: 0 Note that I use a pixel clock of 148.5Mhz, which is the highest value under 150Mhz that is listed in via_mode.h of the driver. Good luck!

His modeline was originally elaborated for his Dell 2007WFP, but it is working for my Belinea 22W.

Feedback from Rogier Wolff

Rogier Wolf found interesting informations about the acceptable pixel clocks. Here is the e-mail he sent me (sorry to publish it so late):
From: Rogier Wolff Date: 01/05/07 17:31 Subject: Precious modeline. Hi, I have a friend who I'm helping getting /his/ unusual widescreen mode working on his via chipset.... I think I've found the source of the problem: this stupid driver doesn't support an arbitrary clock frequency, (within a range) but just a set of distinct values. The 122 you're using is amongst them. /* * simple lookup table for dotclocks * */ static struct ViaDotClock { int DotClock; CARD16 UniChrome; CARD32 UniChromePro; } ViaDotClocks[] = { { 25200, 0x513C, 0xa79004 }, { 25312, 0xC763, 0xc49005 }, { 26591, 0x471A, 0xce9005 }, { 31500, 0xC558, 0xae9003 }, { 31704, 0x471F, 0xaf9002 }, { 32663, 0xC449, 0x479000 }, { 33750, 0x4721, 0x959002 }, { 35500, 0x5877, 0x759001 }, { 36000, 0x5879, 0x9f9002 }, { 39822, 0xC459, 0x578c02 }, { 40000, 0x515F, 0x848c04 }, { 41164, 0x4417, 0x2c8c00 }, { 46981, 0x5069, 0x678c02 }, { 49500, 0xC353, 0xa48c04 }, { 50000, 0xC354, 0x368c00 }, { 56300, 0x4F76, 0x3d8c00 }, { 57284, 0x4E70, 0x3e8c00 }, { 64995, 0x0D3B, 0x6b8c01 }, { 65000, 0x0D3B, 0x6b8c01 }, /* Slightly unstable on PM800 */ { 65028, 0x866D, 0x6b8c01 }, { 75000, 0x156E, 0x288800 }, { 78800, 0x442C, 0x2a8800 }, { 81135, 0x0622, 0x428801 }, { 81613, 0x4539, 0x708803 }, { 94500, 0x4542, 0x4d8801 }, { 108000, 0x0B53, 0x778802 }, { 108280, 0x4879, 0x778802 }, { 122000, 0x0D6F, 0x428800 }, { 122726, 0x073C, 0x878802 }, { 135000, 0x0742, 0x6f8801 }, { 148500, 0x0853, 0x518800 }, { 155800, 0x0857, 0x558402 }, { 157500, 0x422C, 0x2a8400 }, { 161793, 0x4571, 0x6f8403 }, { 162000, 0x0A71, 0x6f8403 }, { 175500, 0x4231, 0x2f8400 }, { 189000, 0x0542, 0x4d8401 }, { 202500, 0x0763, 0x6F8402 }, { 204800, 0x0764, 0x548401 }, { 218300, 0x043D, 0x3b8400 }, { 229500, 0x0660, 0x3e8400 }, /* Not tested on Pro */ { 0, 0, 0 } So, once you've found a mode you wnat to use, round the dotclock up to one of the values in the table if you're not exactly AT the max for the monitor. You have to round down if you would exceed the limits for the monitor (or chip). Roger.

Thank you for the tip, Roger!

Feedback from James Brooks

James Brooks found a working modeline for his HP LCD. Here is the e-mail he sent me:
From: James Brooks Date: 06/29/07 17:34 Subject: Modeline - HP w2007 Hi Thanks for the great page on ModeLine(s). I used it + xvidtune to get my monitor working. It is an HP w2007 20" 1680x1050 LCD. The modeline that works ModeLine "1680x1050" 122.00 1680 1764 1780 1887 1050 1052 1064 1082 +hsync +vsync Thanks, James

Thank you for the modeline, James!

Feedback from Neville Jones

Neville confirmed he could use his BenQ LCD with CLE266:
From: Neville Jones Date: 09/22/07 06:37 Subject: modeline for CLE266 with BenQ FP222W Hi Vincent, Your page really helped me to get my wide screen BenQ LCD working with my Via EPIA M motherboard so thanks! I'd been trying the week earlier and had been using ModeLines I'd found elsewhere, but it was the advice from Rogier Wolff on your page that was crucial. Here is the working modeline I ended up using: ModeLine "1680x1050" 148.5 1680 1784 1960 2240 1050 1053 1059 1089 +hsync +vsync Thanks again, Nev Jones

Thanks for the feedback, Neville!

Feedbacks from Fabio Zeri

Fabio confirmed one of the modelines worked for his HP LCD. Also, he sent one modeline working with his BenQ LCD:
From: Fabio Zeri Date: 10/04/07 10:55 Subject: Modeline for BenQ FP202W Hoping this would be of some help for anyone, this modline works well on a BenQ FP202W + CLE266: Modeline "1680x1050" 122.00 1680 1712 1784 1864 1050 1052 1064 1082 +HSync -Vsync Bye -- ing. Fabio Zeri

Thanks for the feedbacks, Fabio!

Feedbacks from Sam Blackburn

Sam managed to configure his FP222W LCD with Ubuntu Feisty. The procedure is a bit tricky. Here is his hint:
From: Sam Blackburn Date: 11/01/07 00:51 Subject: Modelines Hi, Just saying thanks for the modelines you posted at http://vincent.stehle.free.fr/cle266/ - this is the first time I've got native 1650x1080 on this screen! I've just installed Ubuntu Feisty, my hardware is a Benq FP222W using ATI onboard graphics on an MSI K9AGM2 motherboard. X had been refusing to start ("no screens found") because I had thoroughly corrupted my /etc/X11/xorg.conf with trial-and-error edits, so I followed what looks like a recovery instruction in the comment fields: sudo dpkg-reconfigure -phigh xserver-xorg To my surprise, this brought up a menu to select the resolutions I wanted. X now started in the correct resolution, though the monitor wouldn't display it. Pasting in the modeline from your site did the trick, and I can finally take advantage of my screen! Thanks a bunch, Sam.

Thanks for your feedback, Sam!

Feedbacks from Martin Steiger

Martin found a modeline for his SyncMaster 215TW:
From: Martin Steiger Date: 12/16/07 20:53 Subject: Modelines Dear Vincent Your website help me a lot. Finally I've got the 1680x1050. Thanks. For The SyncMaster 215TW the modline is modeline "1680x1050@60" 148.50 1680 1784 1968 2256 1050 1051 1054 1087 -hsync +vsync Have a good start into the last week before christmas. Greetz Martin Steiger

Thanks for your feedback Martin, and sorry for being so slow updating the page with your feedback!

Feedbacks from Stefan Hofmann

Stefan sent a valuable tip:
From: Stefan Hofmann Date: 12/16/07 21:12 Subject: Modelines Hello I've got another tip for those who want to find the right modeline. For my Samsung SyncMaster 226BW I used: xmode -x 1680 -y 1050 -r 60 to generate the modeline. bye. Stefan Hofmann

Thanks for your tip Stefan. I would say this should make this page near useless :) Oh, and sorry for being so slow updating the page with your feedback!

Feedbacks from Meik Tessmer

A nice configuration sent by Meik:
From: Meik Tessmer Date: 09/12/2008 12:06 PM Subject: Modeline for Samsung SyncMaster 2253LW Hi Vincent. Your website was a good start to find a modeline for my new SyncMaster. I use the following configuration: Section "Monitor" Identifier "SyncMaster 2253LW" Option "DPMS" Option "ReducedBlanking" HorizSync 30-81 VertRefresh 56-75 DisplaySize 474 296 ModeLine "custom" 122.00 1680 1728 1760 1840 1050 1053 1059 1080 +hsync +vsync EndSection Section "Screen" Identifier "Default Screen" Device "VIA Technologies, Inc. VT8623 [Apollo CLE266] integrated CastleRock graphics" Monitor "SyncMaster 2253LW" DefaultDepth 24 SubSection "Display" Depth 24 Modes "custom" EndSubSection EndSection Thanks, Meik Tessmer

Thank you for your configuration, Meik!

Feedbacks from Oskar Schirmer

Some nice testing report sent by Oskar:
From: Oskar Schirmer Date: 08/23/2010 02:18 PM Subject: BenQ flat screen on VIA cle266 chipset Salut Vincent, merci beaucoup pour l'aide que tu a contribué concernant la utilisation des écrans moderne avec le chipset cle266 de VIA! Moi, j'ai acheté le BenQ G2200W la semaine prochaine, et finalement c'etait la configuration de Fabri Zeri, BenQ FP202W, qui fonctionait bien à 1680x1050 avec le G2200W aussi. merci + bonne chance! Oskar

Merci à toi, Oskar !

Final words

I surely hope one of those modelines will work for you too, but I suppose it is not guaranteed, as the screen plays a role here.

If a modeline works for your video card / screen combination, do not hesitate to drop me a line. I'll collect all feedbacks here.


Copyright © 2001-2008 Vincent Stehlé ( vincent.stehle@free.fr).
GNU Free Documentation License 1.2