Tiny Core Linux

Tiny Core Base => TCB Talk => Topic started by: awatar100 on December 11, 2022, 11:01:33 AM

Title: How to force Xorg to 800x480px ?
Post by: awatar100 on December 11, 2022, 11:01:33 AM
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 ;/
Title: Re: How to force Xorg to 800x480px ?
Post by: curaga on December 11, 2022, 11:43:06 PM
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).
Title: Re: How to force Xorg to 800x480px ?
Post by: CNK on December 12, 2022, 01:23:47 PM
If you can install a Linux kernel framebuffer driver (porobably vt8623fb (https://www.kernel.org/doc/html/latest/fb/vt8623fb.html), 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.
Title: Re: How to force Xorg to 800x480px ?
Post by: adb014 on January 10, 2023, 12: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.