Ticket #3067 (closed defect: fixed)

Opened 11 years ago

Last modified 11 years ago

VBoxSDL's fixedmode commad line parameter seems to be wrongly handled

Reported by: sebl Owned by:
Component: GUI Version: VirtualBox 2.1.0
Keywords: vboxsdp fixedmode Cc:
Guest type: other Host type: Linux


If I start VBoxSDL with the following command line I get a 768x32 window.

$ VBoxSDL -fixedmode 1024 768 32

Looking at the source code, src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp seems to be inconsistent with src/VBox/Frontends/VBoxSDL/Framebuffer.{cpp,h}. VBoxSDLFB's constructors takes 7 parameters, while VBosSDL.cpp passes only six of them, `bool fKeepHostRes' seems to be ignored by mistake. The fix should be trivial. A quick'n'dirty solution patch is attached.


VBoxSDL.cpp.patch Download (436 bytes) - added by sebl 11 years ago.

Change History

Changed 11 years ago by sebl

comment:1 in reply to: ↑ description Changed 11 years ago by sebl

Forgot to add: As quick workaround, until official fix, it is possible to change -fixedmode's syntax since <bpp> parameter seems to be ignored, eg:

$ VBoxSDL -fixedmode 0 1024 768

comment:2 Changed 11 years ago by frank

  • Status changed from new to closed
  • Resolution set to fixed

Thanks for this report, fixed in SVN.

Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use