How to fix a few errors in Xorg with vboxvideo and dri

Discussions about using Linux guests in VirtualBox.
Post Reply
Nazgulled
Posts: 96
Joined: 15. Mar 2009, 06:44

How to fix a few errors in Xorg with vboxvideo and dri

Post by Nazgulled »

Hi,

I just noticed that I have a few errors when I launch Xorg with startx. The errors are as follows:

Code: Select all

FATAL: module vboxvideo not found.
(EE) [drm] drmOpen failed.
(EE) VBoxVideo(0): DRIScreenInit failed, disabling DRI.
And my xorg.conf file:

Code: Select all

Section "ServerLayout"
	Identifier      "Default Layout"
	Screen 0        "Default Screen" 0 0
	InputDevice     "Generic Keyboard"      "CoreKeyboard"
	InputDevice     "Generic Mouse"         "CorePointer"
EndSection

Section "Files"
	ModulePath      "/usr/lib/xorg/modules"
	FontPath        "/usr/share/fonts/misc:unscaled"
	FontPath        "/usr/share/fonts/misc"
	FontPath        "/usr/share/fonts/75dpi:unscaled"
	FontPath        "/usr/share/fonts/75dpi"
	FontPath        "/usr/share/fonts/100dpi:unscaled"
	FontPath        "/usr/share/fonts/100dpi"
	FontPath        "/usr/share/fonts/PEX"
	FontPath        "/usr/share/fonts/cyrillic"
	FontPath        "/usr/share/fonts/Type1"
	FontPath        "/usr/share/fonts/ttf/western"
	FontPath        "/usr/share/fonts/ttf/decoratives"
	FontPath        "/usr/share/fonts/truetype"
	FontPath        "/usr/share/fonts/truetype/openoffice"
	FontPath        "/usr/share/fonts/truetype/ttf-bitstream-vera"
	FontPath        "/usr/share/fonts/latex-ttf-fonts"
	FontPath        "/usr/share/fonts/defoma/CID"
	FontPath        "/usr/share/fonts/defoma/TrueType"
EndSection

Section "Module"
    Load "ddc"
	Load "dbe"
	Load "dri"
	Load "extmod"
	Load "glx"
    Load "bitmap"
EndSection

Section "InputDevice"
	Identifier      "Generic Keyboard"
	Driver          "kbd"
	Option          "CoreKeyboard"
EndSection

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

Section "Monitor"
	Identifier      "Generic Monitor"
	Option          "DPMS"                  "true"
	HorizSync       28.0 - 60.0
	VertRefresh     43.0 - 60.0
EndSection

Section "Device"
	Identifier      "Generic Card"
	Driver          "vboxvideo"
	VendorName      "InnoTek Systemberatung GmbH"
	BoardName       "VirtualBox Graphics Adapter"
	BusID           "PCI:0:2:0"
EndSection


Section "Screen"
	Identifier      "Default Screen"
	Device          "Generic Card"
	Monitor         "Generic Monitor"

	DefaultColorDepth 24

	SubSection "Display"
		Viewport    0 0
		Depth       16
	EndSubSection
	SubSection "Display"
		Viewport    0 0
		Depth 	    24
	EndSubSection
EndSection

Section "DRI"
	Mode 0666
EndSection
I tried to comment the Load "dri" line as with the whole Section "DRI" thing at the bottom which seem related to some of the errors, but it didn't work. I don't get those errors because X starts fine and I can play with it and GNOME. Still, I would like to fix those errors, something's not right...

What should I do?
alexs77
Posts: 7
Joined: 15. Nov 2009, 12:15
Primary OS: Other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 7 & Linux

Re: How to fix a few errors in Xorg with vboxvideo and dri

Post by alexs77 »

Nazgulled wrote:Hi,

I just noticed that I have a few errors when I launch Xorg with startx. The errors are as follows:

Code: Select all

FATAL: module vboxvideo not found.
(EE) [drm] drmOpen failed.
(EE) VBoxVideo(0): DRIScreenInit failed, disabling DRI.
I have almost the same (I don't have the FATAL:... line).

Did you find a solution?

I do not have a xorg.conf. I'm on ArchLinux.

Cheers,
Alexaner
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: How to fix a few errors in Xorg with vboxvideo and dri

Post by Perryg »

What is the Host, and Guest?
What are your versions of Xorg and kernel?
alexs77
Posts: 7
Joined: 15. Nov 2009, 12:15
Primary OS: Other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 7 & Linux

Re: How to fix a few errors in Xorg with vboxvideo and dri

Post by alexs77 »

Guest: ArchLinux, Kernel 2.6.31, Xorg 1.7.1.901 (1.7.2 RC 1)
Host: Mac OS X 10.6.2
catskul
Posts: 1
Joined: 5. Jan 2010, 21:31
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: Linux

Re: How to fix a few errors in Xorg with vboxvideo and dri

Post by catskul »

Same problem I think. I eventually get a blank screen because it kicks out to fail-safe mode, trys to load the vesa driver.

virtualbox: 3.1.2
host: Windows XP
Guest: Ubuntu 9.04
Kernel: 2.6.28-17-generic
Xserver: 1.6.0

Actual Message:

"Disabling DRI due to a version mismatch between server and driver. Server version: 5.0. Driver version: 5.4
mcclosdl
Posts: 2
Joined: 8. Oct 2010, 02:19
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Arch Linux

Re: How to fix a few errors in Xorg with vboxvideo and dri

Post by mcclosdl »

I am having this same issue. How did you guys ever fix it? I tried to manually install the kernel module, but it ended up just making X seg fault.
mcclosdl
Posts: 2
Joined: 8. Oct 2010, 02:19
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Arch Linux

Re: How to fix a few errors in Xorg with vboxvideo and dri

Post by mcclosdl »

I was using a different version of the VBoxGuestAdditions.iso based on another guide. I switched to the version that came with the version of VBox i was using (3.2.8 r64453). So now that kernel module builds and installs correctly based on those install packages.

I've attached the x log.

Win7 64 Host
Arch Linux 2.6.34 i686 guest


The most interesting parts:

Code: Select all

[   435.397] (II) Loading /usr/lib/xorg/modules/input/vboxmouse_drv.so
[   435.398] (II) Module vboxmouse: vendor="Oracle Corporation"
[   435.398] 	compiled for 0.0.0, module version = 1.0.0
[   435.398] 	Module class: X.Org XInput Driver
[   435.398] 	ABI class: X.Org XInput driver, version 9.0
[   435.398] (**) Load address of symbol "VBOXMOUSE" is 0xb2cdf020
[   435.398] (**) (unnamed): always reports core events
[   435.398] (**) (unnamed): Device: "/dev/vboxguest"
[   435.398] (II) XINPUT: Adding extended input device "(unnamed)" (type: MOUSE)
[   435.398] (**) (unnamed): (accel) keeping acceleration scheme 1
[   435.398] (**) (unnamed): (accel) acceleration profile 0
[   435.398] (**) (unnamed): (accel) acceleration factor: 2.000
[   435.398] (**) (unnamed): (accel) acceleration threshold: 4
[   435.398] (II) (unnamed): On.
[   435.426] 
Backtrace:
[   435.426] 0: /usr/bin/X (xorg_backtrace+0x3b) [0x80df05b]
[   435.426] 1: /usr/bin/X (0x8048000+0x63da5) [0x80abda5]
[   435.426] 2: (vdso) (__kernel_rt_sigreturn+0x0) [0xb76f740c]
[   435.426] 3: /usr/bin/X (0x8048000+0x214d0) [0x80694d0]
[   435.426] 4: /usr/bin/X (0x8048000+0x1a4b5) [0x80624b5]
[   435.426] 5: /lib/libc.so.6 (__libc_start_main+0xe6) [0xb7443b96]
[   435.426] 6: /usr/bin/X (0x8048000+0x1a0a1) [0x80620a1]
[   435.426] Segmentation fault at address 0xb2c9d7c0
[   435.426] 
Fatal server error:
[   435.426] Caught signal 11 (Segmentation fault). Server aborting
[   435.426] 
[   435.426] 
Attachments
Xorg.0.log
(29.15 KiB) Downloaded 43 times
Post Reply