Page 1 of 1

Xubuntu 6.06 in Kubuntu 8.04 full screen issue

Posted: 17. Sep 2008, 21:46
by chessmani
Hi,

I can manually set the resolution I want in xorg.conf, but if I set it smaller when I switch to full screen the resolution won't change. The screen would center and all the outer area would be black.

Any thoughts?

Thanks.

PS. Guest additions is installed.

Posted: 17. Sep 2008, 22:44
by Sasquatch
The GA are installed you say, but is the X server also using the vboxvideo driver? You don't state the version of VB, but if it's 1.6.x or newer, you should also have seamless as option. If you don't, then it isn't using the correct driver.

Posted: 18. Sep 2008, 01:34
by chessmani
Thanks for responding. Yes, X server is using vboxvideo. Version 2.0.2

This is the xorg.conf

Code: Select all

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
	FontPath	"/usr/share/X11/fonts/misc"
	FontPath	"/usr/share/X11/fonts/cyrillic"
	FontPath	"/usr/share/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/share/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/share/X11/fonts/Type1"
	FontPath	"/usr/share/X11/fonts/100dpi"
	FontPath	"/usr/share/X11/fonts/75dpi"
	# path to defoma fonts
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
	Load	"i2c"
	Load	"bitmap"
	Load	"ddc"
	Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"type1"
	Load	"vbe"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"es"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
    Driver      "vboxmouse"
    Option      "CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ExplorerPS/2"
	Option		"ZAxisMapping"		"4 5"
	Option		"Emulate3Buttons"	"true"
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "stylus"
  Option        "Device"        "/dev/wacom"          # Change to 
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "stylus"
  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "eraser"
  Option        "Device"        "/dev/wacom"          # Change to 
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "eraser"
  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "cursor"
  Option        "Device"        "/dev/wacom"          # Change to 
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "cursor"
  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "Device"
	Identifier	"Generic Video Card"
    Driver      "vboxvideo"
	BusID		"PCI:0:2:0"
EndSection

Section "Monitor"
	Identifier	"Generic Monitor"
	Option		"DPMS"
	HorizSync	28-51
	VertRefresh	43-60
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"Generic Video Card"
	Monitor		"Generic Monitor"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1200x800" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
EndSection

Section "DRI"
	Mode	0666
EndSection
I can manually set the resolution to the one I want, but the thing is I have two screens with TwinView and one is 1280x1024 while the other is 1444x900, so I'd like it to be able to adapt accordingly (it does with Windows XP).

Thanks for your help.

Posted: 19. Sep 2008, 22:29
by Sasquatch
If you want to run a resolution of 1024x768 in the Guest on your 1280x1024 monitor, it will indeed show borders. The reason for this is that VB needs to resize the Host resolution too if you don't want the borders. This is not possible atm.

Posted: 21. Sep 2008, 22:03
by chessmani
Hmm, well, what I really want is that it can run at 1444x900 (full screen) on my laptop. That resolution doesn't work even if I put it in the xorg.conf, thus I put 1200x800.

The thing is I expected to be able to have full screen when I told virtualbox to do so, but instead I get the same screen size centered in a black frame.

With Windows XP this problem does not happen. Virtualbox will show it full screen.

PS. I just found sb with the same problem --> http://forums.virtualbox.org/viewtopic. ... =vboxvideo

Posted: 22. Sep 2008, 03:21
by chessmani
Problem solved.

I read somewhere that I could try setting video memory (in the VM's settings) to 32. That did the trick.