Page 1 of 1

Cannot get higher screen resolutions to work

Posted: 21. Jul 2008, 16:40
by stony999
Hello,

I have a problem getting horizontal resolutions higher that 1280 to work. It always switches back to 1280x768, although I can select a monitor with 1400x1050 and select the same resolution in displayconfig.gtk (Ubuntu 8.04)

The vboxvideo drivers are loaded but in the log it says:

Code: Select all

(II) VBoxVideo(0): Output VBOX1 has no monitor section
(II) VBoxVideo(0): Output VBOX1 connected
(II) VBoxVideo(0): Output VBOX1 using initial mode 1280x768 
This is strange as a monitor section is defined.

Just to mention: The linux client runs via RDP and the resolution of the "Terminal Server Client" is set to 1400x1050.

Any hints?


Here is my xorg.conf

Code: Select all

# xorg.conf (X.Org 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 xorg.conf manual page.
# (Type "man 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 "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "kbd"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc105"
        Option          "XkbLayout"     "de"
EndSection

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "vboxmouse"
        Option          "CorePointer"
EndSection

Section "Device"
        Identifier      "Configured Video Device"
        Boardname       "VBox driver"
        Busid           "PCI:0:2:0"
        Driver          "vboxvideo"
        Screen  0
EndSection

Section "Monitor"
        Identifier      "Configured Monitor"
        Vendorname      "Generic LCD Display"
        Modelname       "LCD Panel 1920x1200"
        Horizsync       31.5-94.5
        Vertrefresh     56.0 - 75.0
  modeline  "640x480@60" 25.2 640 656 752 800 480 490 492 525 -vsync -hsync
  modeline  "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
  modeline  "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
  modeline  "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -vsync -hsync
  modeline  "1280x960@60" 102.1 1280 1360 1496 1712 960 961 964 994 -hsync +vsync
  modeline  "1280x1024@60" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
  modeline  "1400x1050@60" 122.61 1400 1488 1640 1880 1050 1051 1054 1087 -hsync +vsync
  modeline  "1600x1200@60" 162.0 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
        Gamma   1.0
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Monitor         "Configured Monitor"
        Device          "Configured Video Device"
        Defaultdepth    16
        SubSection "Display"
                Depth   16
                Virtual 1600    1200
                Modes           "1280x960@60"   "1280x1024@60"  "1024x768@60"   "1400x1050@60"  "800x600@60"    "1600x1200@60"  "800x600@56"    "640x480@60"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier      "Default Layout"
  screen 0 "Default Screen" 0 0
EndSection
Section "Module"
        Load            "glx"
        Load            "GLcore"
        Load            "v4l"
EndSection
Section "ServerFlags"
EndSection
Here is the output of the log
Log:

Code: Select all

(II) v4l driver for Video4Linux
(II) VBoxVideo: guest driver for VirtualBox: vbox
(II) Primary Device is: PCI 00:02:0
(--) Chipset vbox found
(II) resource ranges after xf86ClaimFixedResources() call:
        [0] -1  0       0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
        [1] -1  0       0x000f0000 - 0x000fffff (0x10000) MX[B]
        [2] -1  0       0x000c0000 - 0x000effff (0x30000) MX[B]
        [3] -1  0       0x00000000 - 0x0009ffff (0xa0000) MX[B]
        [4] -1  0       0xf0400000 - 0xf07fffff (0x400000) MX[B]
        [5] -1  0       0xf0080000 - 0xf00fffff (0x80000) MX[B]
        [6] -1  0       0xf0000000 - 0xf0000fff (0x1000) MX[B]
        [7] -1  0       0xe0000000 - 0xe07fffff (0x800000) MX[B](B)
        [8] -1  0       0x0000ffff - 0x0000ffff (0x1) IX[B]
        [9] -1  0       0x00000000 - 0x000000ff (0x100) IX[B]
        [10] -1 0       0x0000c040 - 0x0000c05f (0x20) IX[B]
        [11] -1 0       0x0000c020 - 0x0000c03f (0x20) IX[B]
        [12] -1 0       0x0000c000 - 0x0000c00f (0x10) IX[B]
(II) resource ranges after probing:
        [0] -1  0       0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
        [1] -1  0       0x000f0000 - 0x000fffff (0x10000) MX[B]
        [2] -1  0       0x000c0000 - 0x000effff (0x30000) MX[B]
        [3] -1  0       0x00000000 - 0x0009ffff (0xa0000) MX[B]
        [4] -1  0       0xf0400000 - 0xf07fffff (0x400000) MX[B]
        [5] -1  0       0xf0080000 - 0xf00fffff (0x80000) MX[B]
        [6] -1  0       0xf0000000 - 0xf0000fff (0x1000) MX[B]
        [7] -1  0       0xe0000000 - 0xe07fffff (0x800000) MX[B](B)
        [8] 0   0       0x000a0000 - 0x000affff (0x10000) MS[B]
        [9] 0   0       0x000b0000 - 0x000b7fff (0x8000) MS[B]
        [10] 0  0       0x000b8000 - 0x000bffff (0x8000) MS[B]
        [11] -1 0       0x0000ffff - 0x0000ffff (0x1) IX[B]
        [12] -1 0       0x00000000 - 0x000000ff (0x100) IX[B]
        [13] -1 0       0x0000c040 - 0x0000c05f (0x20) IX[B]
        [14] -1 0       0x0000c020 - 0x0000c03f (0x20) IX[B]
        [15] -1 0       0x0000c000 - 0x0000c00f (0x10) IX[B]
        [16] 0  0       0x000003b0 - 0x000003bb (0xc) IS[B]
        [17] 0  0       0x000003c0 - 0x000003df (0x20) IS[B]
(II) Setting vga for screen 0.
(II) VBoxVideo(0): VirtualBox guest additions video driver version 1.6.2
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"(II) Module "ramdac" already built-in
(II) Loading sub module "vbe"
(II) LoadModule: "vbe"
(II) Loading /usr/lib/xorg/modules//libvbe.so
(II) Module vbe: vendor="X.Org Foundation"
        compiled for 1.4.0.90, module version = 1.1.0
        ABI class: X.Org Video Driver, version 2.0
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/lib/xorg/modules//libfb.so
(II) Module fb: vendor="X.Org Foundation"
        compiled for 1.4.0.90, module version = 1.0.0
        ABI class: X.Org ANSI C Emulation, version 0.3
(II) Loading sub module "shadowfb"
(II) LoadModule: "shadowfb"
(II) Loading /usr/lib/xorg/modules//libshadowfb.so
(II) Module shadowfb: vendor="X.Org Foundation"
        compiled for 1.4.0.90, module version = 1.0.0
        ABI class: X.Org ANSI C Emulation, version 0.3
(**) VBoxVideo(0): Depth 16, (--) framebuffer bpp 16
(II) VBoxVideo(0): Output VBOX1 using monitor section Configured Monitor
(II) VBoxVideo(0): The maximum supported resolution is currently 32000x32000
(II) VBoxVideo(0): Output VBOX1 has no monitor section
(II) VBoxVideo(0): Output VBOX1 connected
(II) VBoxVideo(0): Output VBOX1 using initial mode 1280x768
(==) VBoxVideo(0): RGB weight 565
(==) VBoxVideo(0): Default visual is TrueColor
(**) VBoxVideo(0): Using gamma correction (1.0, 1.0, 1.0)
(==) VBoxVideo(0): DPI set to (96, 96)
(II) do I need RAC?  No, I don't.
(II) resource ranges after preInit:
        [0] -1  0       0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
        [1] -1  0       0x000f0000 - 0x000fffff (0x10000) MX[B]
        [2] -1  0       0x000c0000 - 0x000effff (0x30000) MX[B]
        [3] -1  0       0x00000000 - 0x0009ffff (0xa0000) MX[B]
        [4] -1  0       0xf0400000 - 0xf07fffff (0x400000) MX[B]
        [5] -1  0       0xf0080000 - 0xf00fffff (0x80000) MX[B]
        [6] -1  0       0xf0000000 - 0xf0000fff (0x1000) MX[B]
        [7] -1  0       0xe0000000 - 0xe07fffff (0x800000) MX[B](B)
        [8] 0   0       0x000a0000 - 0x000affff (0x10000) MS[B]
        [9] 0   0       0x000b0000 - 0x000b7fff (0x8000) MS[B]
        [10] 0  0       0x000b8000 - 0x000bffff (0x8000) MS[B]
        [11] -1 0       0x0000ffff - 0x0000ffff (0x1) IX[B]
        [12] -1 0       0x00000000 - 0x000000ff (0x100) IX[B]
        [13] -1 0       0x0000c040 - 0x0000c05f (0x20) IX[B]
        [14] -1 0       0x0000c020 - 0x0000c03f (0x20) IX[B]
        [15] -1 0       0x0000c000 - 0x0000c00f (0x10) IX[B]
        [16] 0  0       0x000003b0 - 0x000003bb (0xc) IS[B]
        [17] 0  0       0x000003c0 - 0x000003df (0x20) IS[B]
(II) Loading sub module "int10"
(II) LoadModule: "int10"
(II) Loading /usr/lib/xorg/modules//libint10.so
(II) Module int10: vendor="X.Org Foundation"
        compiled for 1.4.0.90, module version = 1.0.0
        ABI class: X.Org Video Driver, version 2.0
(II) VBoxVideo(0): initializing int10
(WW) System lacks support for changing MTRRs
(II) VBoxVideo(0): Primary V_BIOS segment is: 0xc000
(II) VBoxVideo(0): VESA BIOS detected
(II) VBoxVideo(0): VESA VBE Version 2.0
(II) VBoxVideo(0): VESA VBE Total Mem: 8192 kB
(II) VBoxVideo(0): VESA VBE OEM: VirtualBox VBE BIOS http://www.virtualbox.org/
(II) VBoxVideo(0): VESA VBE OEM Software Rev: 0.2
(II) VBoxVideo(0): VESA VBE OEM Vendor: Sun Microsystems, Inc.
(II) VBoxVideo(0): VESA VBE OEM Product: VirtualBox VBE Adapter
(II) VBoxVideo(0): VESA VBE OEM Product Rev: Sun xVM VirtualBox Version 1.6.2
(==) VBoxVideo(0): Default visual is TrueColor
(==) VBoxVideo(0): Backing store disabled
(II) VBoxVideo(0): RandR 1.2 enabled, ignore the following RandR disabled message.
(II) VBoxVideo(0): DPMS enabled
(II) VBoxVideo(0): The VBox video extensions are now enabled.
(--) RandR disabled
(II) Setting vga for screen 0.

Intermediate workaround

Posted: 1. Aug 2008, 14:47
by martenjan
I got stuck at the same point, also having a xorg.conf with a number of entries, and was unable to obtain better results.

I was able to obtain better resolutions in the following fashion.
  • * log in (entering a 1280x768 graphical mode)
    * open a terminal (Applications -> Accessoires -> Terminal
    * give the command 'xrandr' (minus the quotes of course) to obtain the available modes
    * give the command 'xrandr -s 1680x1050'
And the screen resized to the desired resolution.
Below, the contents of my terminal are displayed

nfsadm@ubuntu-virtual:~$ xrandr
Screen 0: minimum 64 x 64, current 1280 x 768, maximum 32000 x 32000
VBOX1 connected 1280x768+0+0 0mm x 0mm
1280x768 60.0*+ 60.0
1680x1050@60 60.0
1600x1024@60 60.0
1440x900@60 60.0
1280x800 60.0
1280x800@60 60.0
1280x768@60 60.0
1280x720@60 60.0
1024x768 60.0
800x600 60.3
800x600@60 60.0
800x600@56 60.0
640x480 59.9
nfsadm@ubuntu-virtual:~$ xrandr -s 1680x1050
nfsadm@ubuntu-virtual:~$
Of course, once you know what modes are available, it is faster to log in, use <ALT><F2> for a command prompt, and enter 'xrandr -s 1680x1050' there.

Posted: 1. Aug 2008, 22:38
by Sasquatch
It should be solved in 1.6.4 that is released today. Please check if it still occurs. Be sure to update the GA too.

solved

Posted: 2. Aug 2008, 13:02
by stony999
Perfect, I installed 1.6.4 and the addons and after installing the addons the new modlines worked.
I now have resolutons up to 1672x980 which fits inside an 1680x1024 Gnome screen.

FYI here are some modlines I used:

Code: Select all

Modeline "1400x950@60" 113.49 1400 1432 1856 1888 950 969 979 998
Modeline "1496x950@60" 120.93 1496 1528 1984 2016 950 969 978 998
Modeline "1648x950@60" 132.71 1648 1680 2184 2216 950 969 978 998
Modeline "1648x980@60" 138.27 1648 1680 2200 2232 980 1000 1010 1030
Modeline "1672x980@60" 140.21 1672 1704 2232 2264 980 1000 1010 1030
You may easily create your own modlines here:
http://xtiming.sourceforge.net/cgi-bin/xtiming.pl
[/code]

Posted: 19. Aug 2008, 22:32
by martenjan
Here things also work fine. Thanks for the work.