Screen tearing in full screen mode - Vsync?

Discussions about using Linux guests in VirtualBox.
Post Reply
Icez
Posts: 2
Joined: 15. May 2010, 05:50
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: MintOS 9 RC

Screen tearing in full screen mode - Vsync?

Post by Icez »

Hello every one :)

So far so good. Every thing is working great in virtualbox running 3.1.8 on windows 7 x64.

My guest OS is Mint OS 9 RC (based off of the latest Ubuntu) with guest additions installed.

The only problem I have is that while in full screen mode, the video will tear if there is any motion.

I had this problem on my laptop (strait install, not a VM) to and I was able to solve it with two steps.

1) enabling Vsync through nvidia's control panel
2) enabling Vsync in Compiz

That was all I needed to do. Video and Compiz effects ran perfectly.

I have ran test videos and used compiz cube while not in full screen mode and it works perfectly. No lines or mess-ups at all. But when in full screen mode I can see them.

I have tried to copy Xorg.Conf (which did not exist at first)- a working version with vbox settings and modify it with +vsync mode settings but I never get back to my desktop and have to revert back to a previous snap shot.

Here is the xorg.conf that I have currently that works. Any suggestions on how to get Vsync enabled in full screen mode?

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"	"us"
EndSection

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

Section "Device"
	Identifier	"Configured Video Device"
	Driver		"vboxvideo"
EndSection

Section "Monitor"
	Identifier	"Configured Monitor"
	Option		"DPMS"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Monitor		"Configured Monitor"
	Device		"Configured Video Device"
	DefaultDepth	24
	SubSection	"Display"
		Depth	24
		Modes	"1920x1080"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Screen tearing in full screen mode - Vsync?

Post by Sasquatch »

Your xorg.conf is not complete.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Icez
Posts: 2
Joined: 15. May 2010, 05:50
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: MintOS 9 RC

Re: Screen tearing in full screen mode - Vsync?

Post by Icez »

I know, that is what I was asking for help with. Originally it was blank and all the forums I have read and all the things I have tried have not fixed the vsync issue (infact they all crash)
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Screen tearing in full screen mode - Vsync?

Post by Sasquatch »

I was talking about the EndSection part. You open a section, but you never close it. That will give problems. Also, since all you want is Vsync, what does 'man xorg.conf' say?
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply