Video problem

Discussions about using Linux guests in VirtualBox.
Post Reply
Marbug
Posts: 7
Joined: 12. Jun 2007, 14:23

Video problem

Post by Marbug »

I'm running Ubuntu 7.04 in virtualbox, but I can't have a resolution of 1440x900
I already installed the additional tools, and tried to change thing in my xorg.conf but nothing helped:
I changed the resolution manually, tried to change the device, and even a value of HorizontalSync and VerticalSync I found on the forum here. But nothing helped. Who can help me? I'm using VirtualBox 1.4
guyr
Posts: 34
Joined: 14. May 2007, 06:55

Post by guyr »

Guy Rouillier
Marbug
Posts: 7
Joined: 12. Jun 2007, 14:23

Post by Marbug »

didn't worked, I already saw that topic

but when I try to add " Viewport 0 0 " I can't start my X anymore

And I still have all those lines, when I try my resolution

I tried this from you:
Modeline "2048x768" 94 2048 2144 2336 2752 768 769 772 808 +hsync +vsync

but it is still the same as before..

The only thing is that I don't know what I need to put for those numbers for a resolution of 1440x900

What I also always had was:
2/3 of my screen is full of lines with the brown color of that background you can see and a few other colors mixed, and 1/3 the botton, is black
guyr
Posts: 34
Joined: 14. May 2007, 06:55

Post by guyr »

As to those numbers, I just patterned them after a modeline I saw here on the forum. Notice that the second number = first number + 96, while the 3rd number = 2nd number + 192 (= 2*96). I have no idea why that pattern works, but it seems to.

Is your device a laptop or a desktop? Mine is a desktop with CRTs. If yours is a laptop or an LCD monitor, you will have lower refresh rates. Try it first with no modelines; just add the Display settings with the various target resolutions set for Virtual. If that doesn't work, then add the Modes command, and if that still doesn't work, try adding the modeline.

For modeline, look in your /var/log/Xorg.0.log and fine some that are supported. Then extrapolate as I did below.
Guy Rouillier
Marbug
Posts: 7
Joined: 12. Jun 2007, 14:23

Post by Marbug »

It is a laptop, 17" widescreen

I have exams to do now, I will check it when I'm back.
But I thaught for a moment if it wasn't a problem with the drivers that where installed? Because I got almost the same problem when I had installed it om my laptop normally. (because I have an ati card)
But I wil check later on what you had said :).
Marbug
Posts: 7
Joined: 12. Jun 2007, 14:23

Post by Marbug »

http://sephtex.net/main/downloads/ubuntu%20screwd.JPG

This what I sitll have :(

I tried all the things you had said but still ... it won't work.

And as for the modline, I think I'm doing it wrong :)
I also didn't found anything in my xorg.0.log
bodhi.zazen
Volunteer
Posts: 180
Joined: 17. May 2007, 16:02

Post by bodhi.zazen »

Try this :

Code: Select all

VBoxManage controlvm "Guest" setvideomodehint "1440" "900" "24"

Where :

* "Guest" is the name of the Guest OS.
* "1440" and "900" are the desired resolution.
* "24" is the desired color depth (8,16,24)
If is a virtual machine, is it still broken ?
Marbug
Posts: 7
Joined: 12. Jun 2007, 14:23

Post by Marbug »

Where do I need to past that code ?
bodhi.zazen
Volunteer
Posts: 180
Joined: 17. May 2007, 16:02

Post by bodhi.zazen »

In a terminal

Go to start -> run ->

In the dialog box enter "cmd" without the quotes
If is a virtual machine, is it still broken ?
Marbug
Posts: 7
Joined: 12. Jun 2007, 14:23

Post by Marbug »

hmm I also tried that, I tried everything, but nothing helped, I'm just going to give it up
I had lost too much time with this
But thanks for the help anyway
Pierre-Alain BOURDIL
Posts: 1
Joined: 8. Sep 2007, 11:18
Location: Montpellier
Contact:

Post by Pierre-Alain BOURDIL »

Hi, below a work-around that runs for me.
my conf:
host: ubuntu-fesity
guest: ubuntu-feity
vbox version : 1.5

I had added "1440*900" in the subsection display of my /etc/X11/xorg.conf
Then restart and choose 1440*900 in the System>preference>resolution of gnome.
irc:albreche
Post Reply