WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: How to force Xorg to 800x480px ?  (Read 1730 times)

Offline awatar100

  • Newbie
  • *
  • Posts: 13
How to force Xorg to 800x480px ?
« on: December 11, 2022, 02:01:33 PM »
Hello,
I'm  to force Xorg to change  800x480px (small 5inch thing from RBpi).
Its hookup to old thin client that have VIA chip (Hardware: CLE266 chipset with VT8623 intergarted graphics, VIA C3 processor Samuel 2)
can somone be so polite and give me hint what to do ?
Xvesa -listmodes don't show this configuration so ... is there are some drivers for it or  there is "just" magical command to force it to work.
Ps old info that i see in google is about Intel chip and "915resolution.tcz" but it dont see Intel HW ;/

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: How to force Xorg to 800x480px ?
« Reply #1 on: December 12, 2022, 02:43:06 AM »
Xvesa can only use the VESA modes that are available. To use custom modes, you need to use Xorg and a driver for your GPU (unichrome or openchrome).
The only barriers that can stop you are the ones you create yourself.

Offline CNK

  • Wiki Author
  • Sr. Member
  • *****
  • Posts: 283
Re: How to force Xorg to 800x480px ?
« Reply #2 on: December 12, 2022, 04:23:47 PM »
If you can install a Linux kernel framebuffer driver (porobably vt8623fb, but I'm not sure what the easiest way is to install that in Tiny Core) for your GPU which supports that resolution, you may also be able to use Xfbdev, which may boot faster than full Xorg.

Offline adb014

  • Newbie
  • *
  • Posts: 16
Re: How to force Xorg to 800x480px ?
« Reply #3 on: January 10, 2023, 03:59:00 AM »
My prefered way to change the default resolution is to do this

Quote
cat << EOF > /usr/local/share/X11/xorg.conf.d/11-tinycore.conf
Section "Monitor"
  Identifier "TinyCore"
  Option "PreferredMode" "1600x900"
EndSection

Section "Screen"
  Identifier "Screen0"
  Monitor "TinyCore"
  SubSection "Display"
    Depth 24
    Modes "1600x900" "1024x768" "800x600"
  EndSubSection
EndSection
EOF
cat << EOF >> /opt/.filetool.lst
usr/local/share/X11/xorg.conf.d
EOF

D.