This repository has been archived by the owner on Dec 4, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the issues with vboxvideo on 10.x.
By disabling AIGLX specifically, the vboxvideo driver works again. I have added checks to our Xorg startup routine, which will probe if running in VirtualBox and copy the necessary xorg.conf file to /etc/X11/xorg.conf
- Loading branch information
Kris Moore
committed
Jan 9, 2014
1 parent
da1c3b0
commit d0b124c
Showing
6 changed files
with
163 additions
and
5 deletions.
There are no files selected for viewing
52 changes: 47 additions & 5 deletions
52
overlays/install-overlay/root/cardDetect/XF86Config.virtualbox
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,11 +1,53 @@ | |||
# Xorg.conf file generated for PC-BSD | |||
|
|||
Section "ServerLayout" | |||
Identifier "XFree86 Configured" | |||
Screen 0 "Screen0" 0 0 | |||
InputDevice "Mouse0" "CorePointer" | |||
InputDevice "Keyboard0" "CoreKeyboard" | |||
Option "Clone" "off" | |||
Option "AIGLX" "false" | |||
EndSection | |||
|
|||
Section "Module" | |||
Load "ddc" | |||
Load "dbe" | |||
Load "dri" | |||
Load "dri2" | |||
Load "extmod" | |||
Load "glx" | |||
EndSection | |||
|
|||
Section "InputDevice" | |||
Identifier "Keyboard0" | |||
Driver "keyboard" | |||
Option "XkbModel" "pc105" | |||
Option "XkbLayout" "us" | |||
Option "XkbVariant" "" | |||
EndSection | |||
|
|||
Section "InputDevice" | |||
Identifier "Mouse0" | |||
Driver "vboxmouse" | |||
EndSection | |||
|
|||
Section "Monitor" | Section "Monitor" | ||
Identifier "Monitor0" | Identifier "Monitor0" | ||
HorizSync 30 - 60 | VendorName "Generic Monitor" | ||
VertRefresh 50.0 - 100.0 | ModelName "Generic" | ||
Option "DPMS" |
|
||
EndSection | |||
|
|||
Section "Screen" | |||
Identifier "Screen0" | |||
Device "Card0" | |||
Monitor "Monitor0" | |||
EndSection | EndSection | ||
|
|
||
Section "Device" | Section "Device" | ||
Identifier "Card0" | Identifier "Card0" | ||
Driver "vesa" | Driver "vboxvideo" | ||
VendorName "InnoTek Systemberatung GmbG" | |||
BoardName "VirtualBox Graphics Adapter" | |||
BusID "PCI:0:2:0" | |||
EndSection | EndSection |
53 changes: 53 additions & 0 deletions
53
overlays/install-overlay/root/cardDetect/xorg.conf.virtualbox
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,53 @@ | |||
# Xorg.conf file generated for PC-BSD | |||
|
|||
Section "ServerLayout" | |||
Identifier "XFree86 Configured" | |||
Screen 0 "Screen0" 0 0 | |||
InputDevice "Mouse0" "CorePointer" | |||
InputDevice "Keyboard0" "CoreKeyboard" | |||
Option "Clone" "off" | |||
Option "AIGLX" "false" | |||
EndSection | |||
|
|||
Section "Module" | |||
Load "ddc" | |||
Load "dbe" | |||
Load "dri" | |||
Load "dri2" | |||
Load "extmod" | |||
Load "glx" | |||
EndSection | |||
|
|||
Section "InputDevice" | |||
Identifier "Keyboard0" | |||
Driver "keyboard" | |||
Option "XkbModel" "pc105" | |||
Option "XkbLayout" "us" | |||
Option "XkbVariant" "" | |||
EndSection | |||
|
|||
Section "InputDevice" | |||
Identifier "Mouse0" | |||
Driver "vboxmouse" | |||
EndSection | |||
|
|||
Section "Monitor" | |||
Identifier "Monitor0" | |||
VendorName "Generic Monitor" | |||
ModelName "Generic" | |||
|
|||
EndSection | |||
|
|||
Section "Screen" | |||
Identifier "Screen0" | |||
Device "Card0" | |||
Monitor "Monitor0" | |||
EndSection | |||
|
|||
Section "Device" | |||
Identifier "Card0" | |||
Driver "vboxvideo" | |||
VendorName "InnoTek Systemberatung GmbG" | |||
BoardName "VirtualBox Graphics Adapter" | |||
BusID "PCI:0:2:0" | |||
EndSection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,53 @@ | |||
# Xorg.conf file generated for PC-BSD | |||
|
|||
Section "ServerLayout" | |||
Identifier "XFree86 Configured" | |||
Screen 0 "Screen0" 0 0 | |||
InputDevice "Mouse0" "CorePointer" | |||
InputDevice "Keyboard0" "CoreKeyboard" | |||
Option "Clone" "off" | |||
Option "AIGLX" "false" | |||
EndSection | |||
|
|||
Section "Module" | |||
Load "ddc" | |||
Load "dbe" | |||
Load "dri" | |||
Load "dri2" | |||
Load "extmod" | |||
Load "glx" | |||
EndSection | |||
|
|||
Section "InputDevice" | |||
Identifier "Keyboard0" | |||
Driver "keyboard" | |||
Option "XkbModel" "pc105" | |||
Option "XkbLayout" "us" | |||
Option "XkbVariant" "" | |||
EndSection | |||
|
|||
Section "InputDevice" | |||
Identifier "Mouse0" | |||
Driver "vboxmouse" | |||
EndSection | |||
|
|||
Section "Monitor" | |||
Identifier "Monitor0" | |||
VendorName "Generic Monitor" | |||
ModelName "Generic" | |||
|
|||
EndSection | |||
|
|||
Section "Screen" | |||
Identifier "Screen0" | |||
Device "Card0" | |||
Monitor "Monitor0" | |||
EndSection | |||
|
|||
Section "Device" | |||
Identifier "Card0" | |||
Driver "vboxvideo" | |||
VendorName "InnoTek Systemberatung GmbG" | |||
BoardName "VirtualBox Graphics Adapter" | |||
BusID "PCI:0:2:0" | |||
EndSection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters