WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: TC-4.2.1 with vga=786 kernel option  (Read 2898 times)

Offline ibug

  • Jr. Member
  • **
  • Posts: 76
TC-4.2.1 with vga=786 kernel option
« on: February 03, 2012, 10:44:11 PM »
in TC-4.2.1 with vga=786 kernel option
 do not start in 640x480x24
 it startx 1024x768 exactly like without vga=786
and xsetup kernel option works ok

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: TC-4.2.1 with vga=786 kernel option
« Reply #1 on: February 03, 2012, 11:20:47 PM »
The vga=option sets the vesa mode used by console.

Offline maro

  • Hero Member
  • *****
  • Posts: 1228
Re: TC-4.2.1 with vga=786 kernel option
« Reply #2 on: February 04, 2012, 01:23:14 AM »
You'll need to use the 'Xfbdev' X server from the 'Xfbdev.tcz' extension to make use of any 'vga=...' boot code. If said X server is installed at the time of the 'startx' execution it will replace the default X server (i.e. 'Xvesa') and use the resolution and colour depth you specified via the 'vga=...' boot code. As you found out, the 'vga=...' boot code has no influence on the 'Xvesa' X server.

IMHO using the 'Xfbdev' X server makes only sense if your hardware does not work at all with 'Xvesa'. If OTOH your system is fine with 'Xvesa' but you want it to start with a resolution other than the default (which is 1024x768x32), then you should use a boot code like 'xvesa=640x480x24' instead.

Of course you should first check that 'Xvesa' supports your target resolution, which you could do by running Xvesa -listmodes

Offline ibug

  • Jr. Member
  • **
  • Posts: 76
Re: TC-4.2.1 with vga=786 kernel option
« Reply #3 on: February 04, 2012, 11:51:50 AM »
xvesa=640x480x**
and it is on blank TC-4.2.1
without Xfbdev.tcz

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: TC-4.2.1 with vga=786 kernel option
« Reply #4 on: February 04, 2012, 11:56:47 AM »
For proper Xvesa setup use, from text mode use xsetup or from control panel Xvesa button.
10+ Years Contributing to Linux Open Source Projects.

Offline ibug

  • Jr. Member
  • **
  • Posts: 76
Re: TC-4.2.1 with vga=786 kernel option
« Reply #5 on: February 04, 2012, 04:59:24 PM »
yes xsetup works
but why both kernel option
 xvesa=640x480x**
 vga=786
  do not work

and xsetup force mouse config
 take time if mistake

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: TC-4.2.1 with vga=786 kernel option
« Reply #6 on: February 04, 2012, 05:25:47 PM »
I already told you why vga= does not work.
What made you think  xvesa=640x480x**  would work?