Showing posts with label screen. Show all posts
Showing posts with label screen. Show all posts

2013-08-31

HOWTO: configure the OS to use a 100 Hz refresh capable CRT monitor in Linux

  • Test environment.
    • Hardware
      • Monitor: Samsung SyncMaster 959NF
        • Test display resolution: 1024 * 768 @ 100 Hz
      • Video card: based on Nvidia GeForce2 MX400
        $ lspci | grep -i nvidia
        01:00.0 VGA compatible controller: NVIDIA Corporation NV11 [GeForce2 MX/MX 400] (rev b2)
      • CPU: x86-compatible (some old AMD Athlon one)
    • Software
      • OS: Debian GNU/Linux 7.0 "Wheezy" / i386
      • Video driver: nouveau
  • X11 graphical mode configuration.
    1. Use cvt utility to generate a modeline for X11:
      $ cvt 1024 768 100
      # 1024x768 99.97 Hz (CVT) hsync: 81.58 kHz; pclk: 112.25 MHz
      Modeline "1024x768_100.00"  112.25  1024 1096 1200 1376  768 771 775 816 -hsync +vsync
      
      Note: 100 Hz is a non-standard refresh rate for CVT.
      If CVT timings don't work for some ancient monitor, you can also try to use gtf utility to generate somewhat older GTF timings:
      $ gtf 1024 768 100
      
        # 1024x768 @ 100.00 Hz (GTF) hsync: 81.40 kHz; pclk: 113.31 MHz
        Modeline "1024x768_100.00"  113.31  1024 1096 1208 1392  768 769 772 814  -HSync +Vsync
      
      
      Both cvt & gtf utilities are part of xserver-xorg-core Debian package.
    2. Change X11 settings by putting the generated modeline into the proper section of the /etc/X11/xorg.conf file:
      Section "Monitor"
          Identifier     "Monitor0"
          VendorName     "Samsung"
          ModelName      "SyncMaster"
          HorizSync       30.0 - 110.0
          VertRefresh     50.0 - 160.0
          Option         "DPMS" "true"
          Modeline       "1024x768_100.00"  112.25  1024 1096 1200 1376  768 771 775 816 -hsync +vsync
      EndSection
      
      Section "Screen"
          Identifier     "Screen0"
          Monitor        "Monitor0"
          DefaultDepth    24
          SubSection     "Display"
              Depth       24
              Modes      "1024x768_100.00"
          EndSubSection
      EndSection
    3. Restart the X server for updated configuration to take effect.
  • Here are the sample settings for non-X11 user interfaces, put into /etc/default/grub (the GRUB2 config).
    For modified settings to make effect, don't forget to execute update-grub2 as superuser and then reboot.
    ...
    GRUB_CMDLINE_LINUX="video=VGA-1:1024x768M@100"
    ...
    # The resolution used on graphical terminal
    # note that you can use only modes which your graphic card supports via VBE
    # you can see them in real GRUB with the command `vbeinfo'
    GRUB_GFXMODE=1024x768
    ...
    Notes:
    1. The Linux command line option mentioned aboves allows to set a desirable video mode for virtual console using kernel mode setting (KMS).
      There's more info about KMS settings on nouveau Wiki.
    2. Display refresh rate doesn't seem to be specifiable for GRUB bootloader graphical mode. This initial graphic mode depends heavily on VBE.
    3. Other caveats: video play in console framebuffer (i. e., using mplayer) has not seemed to work for me in this test setup.

See also:

2012-07-30

Acer Aspire 3810T (AS3810T): laptop LCD panel (screen) replacement compatibility list

Some of the Acer Aspire Timeline 3810T (AS3810T) laptops have specific LCD panels which often have backlight broken after some operation time (it's caused by a "flex strip"-type powerline bending breakup -- look at that blogpost for more info and pictures).

If your laptop is already out of warranty, you can buy a new LCD screen and replace it yourself.
  • Acer 3810T laptop commonly uses a 13.3" LCD screen [1366 * 768 WXGA; 18-bit RGB (3 * 6 bits) -> 262144 (218) colors] with LED backlight and 40-pin connector.
  • Pay attention to the specific brackets it has, as some display variations will not fit.
  • To prevent future problems, try to get a display with no such overbent "flex strips"; in this list, I've marked supposed "fragile flex" displays with a [bent flex] label.
  • Anyway, better don't buy a display without checking the actual part numbers and product photos (and also datasheets, preferably).
---
Info last updated: 2016-05-10.




Screens confirmed to fit by someone.

AU Optronics (AUO):
B133XW01 V2 [bent flex]

LG Display (ex-LG.Philips LCD):
LP133WH2-TLA3
LP133WH2-TLA4

Samsung:
LTN133AT18



And those displays are believed to work, but need some confirmation.

AU Optronics (AUO):
B133XW01 V3 [bent flex]
B133XW01 V7 [bent flex]
B133XW03 V2
B133XW03 V3

LG Display (ex-LG.Philips LCD):
LP133WH2-TLB3
LP133WH2-TLL1
LP133WH2-TLM1

Toshiba:
LT133EE09300

---
List data last updated: 2013-08-21.