WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Undefined video mode number: 312 [VMware]  (Read 3193 times)

Offline Medox

  • WikiUser
  • *
  • Posts: 36
Undefined video mode number: 312 [VMware]
« on: May 29, 2009, 01:45:52 PM »
This appears everytime I run my TC in VMware, in text mode with vga=786. I then press enter and select 33F (640x480 - how I need it) and it works great but when I add vga=33F to isolinux.cfg it switches to some other, even smaller, resolution (too small). How do I solve this?


« Last Edit: May 29, 2009, 05:43:02 PM by Medox »
“Your body's just a vehicle, transporting the soul.
It's what's inside of people, is beauty to behold.” - Damian Marley

Offline mcewanw

  • Full Member
  • ***
  • Posts: 102
Re: Undefined video mode number: 312 [VMware]
« Reply #1 on: May 29, 2009, 05:12:57 PM »
vga=786 (in decimal) is vga=0x312 (in hexadecimal)

I don't know where you get the vga=33F from, but as a hexadecimal number 33F would need to be written 0x33F

Offline Medox

  • WikiUser
  • *
  • Posts: 36
Re: Undefined video mode number: 312 [VMware]
« Reply #2 on: May 29, 2009, 05:24:49 PM »
vga=786 (in decimal) is vga=0x312 (in hexadecimal)

I don't know where you get the vga=33F from, but as a hexadecimal number 33F would need to be written 0x33F

vga=0x312 didn't work, in my case, but vga=0x33F did. Thanks!

p.s. 33F is from the list that appears after pressing enter (see first picture)

“Your body's just a vehicle, transporting the soul.
It's what's inside of people, is beauty to behold.” - Damian Marley

Offline Medox

  • WikiUser
  • *
  • Posts: 36
Re: [SOLVED] Undefined video mode number: 312 [VMware]
« Reply #3 on: May 29, 2009, 05:42:39 PM »
Ahm... new problem.
Now I get Undefined video mode number: 33f, in VirtualPC & Qemu... :-\

Any way to use both? So that every soft/pc would get the right video mode (0x33f/786/0x312)



“Your body's just a vehicle, transporting the soul.
It's what's inside of people, is beauty to behold.” - Damian Marley

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10221
Re: Undefined video mode number: 312 [VMware]
« Reply #4 on: May 30, 2009, 06:33:49 AM »
What, VMware doesn't support the standard 640x480? *cough*

And instead of the standard, they have defined their mode to 0x33f aka 831, which on the other hand is *not* valid on any common video bios. You'll need to either use text mode, or find a mode that works everywhere (meaning a standard one that VMware also supports).
The only barriers that can stop you are the ones you create yourself.

Offline Medox

  • WikiUser
  • *
  • Posts: 36
Re: Undefined video mode number: 312 [VMware]
« Reply #5 on: May 30, 2009, 07:34:55 AM »
so there isn't any "patch" that would do something like:

if 786 ...
else 33f

?

or maybe with some recompiling and other crazy stuff!? :D
“Your body's just a vehicle, transporting the soul.
It's what's inside of people, is beauty to behold.” - Damian Marley

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10221
Re: Undefined video mode number: 312 [VMware]
« Reply #6 on: May 30, 2009, 07:41:46 AM »
Sorry, no
The only barriers that can stop you are the ones you create yourself.

Offline Medox

  • WikiUser
  • *
  • Posts: 36
Re: Undefined video mode number: 312 [VMware]
« Reply #7 on: May 30, 2009, 07:46:30 AM »
But who/what generates this video mode message? Isolinux or something else? (sorry if it's a stupid question...)

I have in mind to remove the echo-kinda-something ("Press <ENTER> ...") with vga=786, in this case. Or the other way around... if not 312 then go to 33f instead of showing that press enter bla bla.
« Last Edit: May 30, 2009, 07:48:04 AM by Medox »
“Your body's just a vehicle, transporting the soul.
It's what's inside of people, is beauty to behold.” - Damian Marley

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10221
Re: Undefined video mode number: 312 [VMware]
« Reply #8 on: May 30, 2009, 08:56:28 AM »
It's the linux kernel's framebuffer init. I'm not sure where it is, or whether it's C or asm.
The only barriers that can stop you are the ones you create yourself.