Problems with vmwgfx driver

Marco mpiazza at gmail.com
Wed Oct 27 03:57:31 PDT 2010


Hello everybody,
I'm trying to use vmwgfx inside VmWare player 3.0.
I've a problem enabling gallium driver.

My kernel is 2.6.36 with module vmwgfx from ...
I use:
- libdrm 2.4.22 recompiled from git with --enable-vmwgfx-experimental-api=yes
- mesa 7.9 recompiled from git 7.9 branch with --enable-gallium-svga
- xorg 1.9
- xf86-video-vmware from mesa

The problem I face is that glxinfo keeps on saying:
OpenGL vendor string: Mesa Project
OpenGL renderer string: Software Rasterizer
OpenGL version string: 2.1 Mesa 7.9
OpenGL shading language version string: 1.20
OpenGL extensions:

and Xorg.o.log says that I've no  3D acceleration
[    39.103] (II) vmwgfx(0): Using libkms backend
[    39.103] (II) vmwgfx(0): 2D Acceleration is disabled
[    39.104] (II) vmwgfx(0): Fallback debugging is disabled
[    39.104] (**) vmwgfx(0): 3D Acceleration is disabled

I expected it to use gallium driver. Instead it is using swrast.
Did I miss something?

These are my logs:

My dmseg says:
[   36.253926] calling  vmwgfx_init+0x0/0x77 [vmwgfx] @ 1981
[   36.255518] [vmwgfx] Initialized drm 1.1.0 20060810
[   36.263786] [vmwgfx] Capabilities:
[   36.263819] [vmwgfx]   Rect copy.
[   36.263849] [vmwgfx]   Cursor.
[   36.263875] [vmwgfx]   Cursor bypass.
[   36.263904] [vmwgfx]   Cursor bypass 2.
[   36.263933] [vmwgfx]   8bit emulation.
[   36.263960] [vmwgfx]   Alpha cursor.
[   36.263987] [vmwgfx]   3D.
[   36.271496] [vmwgfx]   Extended Fifo.
[   36.271540] [vmwgfx]   Multimon.
[   36.271564] [vmwgfx]   Pitchlock.
[   36.271592] [vmwgfx]   Display Topology.
[   36.271628] [vmwgfx] VRAM at 0xf0000000 size is 131072 kiB
[   36.271649] [vmwgfx] MMIO at 0xe8000000 size is 2048 kiB
[   36.271768] [vmwgfx] global init.
[   36.287733] [vmwgfx] Delayed 3D detection since we're not running the device
in SVGA mode yet.
[   36.289433] [vmwgfx] Initialized vmwgfx 1.4.1 20100928 for 0000:00:0f.0 on m
nor 0
[   36.290680] initcall vmwgfx_init+0x0/0x77 [vmwgfx] returned 0 after 35865 us
cs
[   36.293106] [vmwgfx] width 640
[   36.293143] [vmwgfx] height 480
[   36.293175] [vmwgfx] bpp 32
[   36.379088] [vmwgfx] Fifo max 0x00200000 min 0x00001000 cap 0x0000007f
[   36.442095] [vmwgfx] width 640
[   36.442102] [vmwgfx] height 480
[   36.442106] [vmwgfx] bpp 32
[   36.510059] [vmwgfx] Fifo max 0x00200000 min 0x00001000 cap 0x0000007f
[   36.781697] [vmwgfx] width 640
[   36.781710] [vmwgfx] height 480
[   36.781716] [vmwgfx] bpp 32
[   36.861820] [vmwgfx] Fifo max 0x00200000 min 0x00001000 cap 0x0000007f
[   36.900414] [vmwgfx] width 640
[   36.900422] [vmwgfx] height 480
[   36.900426] [vmwgfx] bpp 32
[   36.966243] [vmwgfx] Fifo max 0x00200000 min 0x00001000 cap 0x0000007f
[   39.089606] [vmwgfx] vmw_stream_init: claimed
[   39.761878] [vmwgfx] vmw_kms_fb_create: trying buffer

and my Xorg.0.log says:
[    31.180] (II) LoadModule: "vmwgfx"
[    31.181] (II) Loading /usr/lib/xorg/modules/drivers/vmwgfx_drv.so
[    35.969] (II) Module vmwgfx: vendor="X.Org Foundation"
[    36.518] (II) vmware: Using vmwgfx X driver.
[    36.692] (II) vmwgfx: Driver for VMware SVGA device: VMware SVGA Device
[    36.976] (==) vmwgfx(0): Depth 24, (--) framebuffer bpp 32
[    36.977] (==) vmwgfx(0): RGB weight 888
[    36.978] (==) vmwgfx(0): Default visual is TrueColor
[    36.990] (**) vmwgfx(0): Option "2DAccel" "true"
[    36.991] (**) vmwgfx(0): Option "DebugFallback" "false"
[    36.991] (**) vmwgfx(0): Option "3DAccel" "true"
[    37.883] (--) vmwgfx(0): Min width 1, Max Width 8192.
[    37.883] (--) vmwgfx(0): Min height 1, Max Height 8192.
[    37.941] (II) vmwgfx(0): Output LVDS1 using monitor section Monitor0
[    37.942] (II) vmwgfx(0): Output LVDS2 has no monitor section
[    37.943] (II) vmwgfx(0): Output LVDS3 has no monitor section
[    37.943] (II) vmwgfx(0): Output LVDS4 has no monitor section
[    37.943] (II) vmwgfx(0): Output LVDS5 has no monitor section
[    37.943] (II) vmwgfx(0): Output LVDS6 has no monitor section
[    37.944] (II) vmwgfx(0): Output LVDS7 has no monitor section
[    37.944] (II) vmwgfx(0): Output LVDS8 has no monitor section
[    37.970] (II) vmwgfx(0): EDID for output LVDS2
[    37.971] (II) vmwgfx(0): EDID for output LVDS3
[    37.972] (II) vmwgfx(0): EDID for output LVDS4
[    37.972] (II) vmwgfx(0): EDID for output LVDS5
[    37.972] (II) vmwgfx(0): EDID for output LVDS6
[    37.972] (II) vmwgfx(0): EDID for output LVDS7
[    37.973] (II) vmwgfx(0): EDID for output LVDS8
[    37.973] (II) vmwgfx(0): Output LVDS1 connected
[    37.973] (II) vmwgfx(0): Output LVDS2 disconnected
[    37.974] (II) vmwgfx(0): Output LVDS3 disconnected
[    37.974] (II) vmwgfx(0): Output LVDS4 disconnected
[    37.974] (II) vmwgfx(0): Output LVDS5 disconnected
[    37.974] (II) vmwgfx(0): Output LVDS6 disconnected
[    37.974] (II) vmwgfx(0): Output LVDS7 disconnected
[    37.974] (II) vmwgfx(0): Output LVDS8 disconnected
[    37.987] (II) vmwgfx(0): Using default gamma of (1.0, 1.0, 1.0) unless othe
wise stated.
[    37.989] (==) vmwgfx(0): DPI set to (96, 96)
[    39.087] (II) vmwgfx(0): Initialized VMWARE_CTRL extension version 0.2
[    39.103] (II) vmwgfx(0): ##################################
[    39.103] (II) vmwgfx(0): # Usefull debugging info follows #
[    39.103] (II) vmwgfx(0): ##################################
[    39.103] (II) vmwgfx(0): Using libkms backend
[    39.103] (II) vmwgfx(0): 2D Acceleration is disabled
[    39.104] (II) vmwgfx(0): Fallback debugging is disabled
[    39.104] (**) vmwgfx(0): 3D Acceleration is disabled
[    39.104] (==) vmwgfx(0): Swap Throttling is enabled.
[    39.104] (==) vmwgfx(0): Dirty Throttling is disabled.
[    39.104] (II) vmwgfx(0): ##################################
[    39.105] (==) vmwgfx(0): Backing store disabled
[    39.116] (==) vmwgfx(0): Silken mouse enabled
[    39.284] (II) vmwgfx(0): RandR 1.2 enabled, ignore the following RandR disa
led message.
[    39.757] (==) vmwgfx(0): DPMS enabled
[    41.759] (II) vmwgfx(0): Damage tracking initialized
[    41.759] (II) vmwgfx(0): Setting screen physical size to 211 x 158

Any hints?

Bye
Marco



More information about the xorg mailing list