Bug 46711

Summary: vmwgfx does not work in qemu/kvm
Product: Drivers Reporter: Michal Suchanek (hramrach)
Component: Video(DRI - non Intel)Assignee: drivers_video-dri
Status: RESOLVED WILL_NOT_FIX    
Severity: normal CC: alan, sudoman, thellstrom, valentin.popa
Priority: P1    
Hardware: All   
OS: Linux   
URL: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1037606
Kernel Version: 3.6-rc3 Subsystem:
Regression: No Bisected commit-id:

Description Michal Suchanek 2012-08-30 14:44:02 UTC
vmwgfx fails in kvm (running something like kvm -m 2048 -vga vmware -hda ubuntu.img):


[   29.856068] [drm] Initialized drm 1.1.0 20060810
[   29.905192] [drm] Capabilities:
[   29.905196] [drm]   Rect copy.
[   29.905197] [drm]   Cursor.
[   29.905198] [drm]   Cursor bypass.
[   29.905198] [drm]   Cursor bypass 2.
[   29.905200] [drm] VRAM at 0xfd000000 size is 16384 kiB
[   29.905201] [drm] MMIO at 0xfe000000 size is 64 kiB
[   29.905203] [drm] global init.
[   29.907091] [TTM] Zone  kernel: Available graphics memory: 1025792 kiB
[   29.907093] [TTM] Initializing pool allocator
[   29.907097] [TTM] Initializing DMA pool allocator
[   29.907432] [drm:vmw_driver_load] *ERROR* Hardware has no pitchlock
[   29.907475] [TTM] Finalizing pool allocator
[   29.907478] [TTM] Finalizing DMA pool allocator
[   29.907494] [TTM] Zone  kernel: Used memory at exit: 0 kiB
[   29.907676] vmwgfx: probe of 0000:00:02.0 failed with error -38
Comment 1 Andrew Engelbrecht 2014-03-16 04:29:59 UTC
i am having this problem in debian sid with linux-image-amd64 3.13+56.

i added vmwgfx to /etc/modules, trying to follow the instruction to load the module at post, from here:

    http://www.x.org/wiki/vmware/vmware3D/

however, that only gives me the bug earlier than Michael.

[    1.590515] [drm] Initialized drm 1.1.0 20060810
[    1.598096] [drm] DMA map mode: Using physical TTM page addresses.
[    1.598131] [drm] Capabilities:
[    1.598132] [drm]   Rect copy.
[    1.598133] [drm]   Cursor.
[    1.598133] [drm]   Cursor bypass.
[    1.598134] [drm]   Cursor bypass 2.
[    1.598135] [drm] VRAM at 0xfd000000 size is 16384 kiB
[    1.598136] [drm] MMIO at 0xfe000000 size is 64 kiB
[    1.598138] [drm] global init.
[    1.601643] [TTM] Zone  kernel: Available graphics memory: 512610 kiB
[    1.601646] [TTM] Initializing pool allocator
[    1.601649] [TTM] Initializing DMA pool allocator
[    1.601657] [drm] No GMR memory available. Graphics memory resources are very limited.
[    1.601718] [drm:vmw_driver_load] *ERROR* Hardware has no pitchlock
[    1.601971] [TTM] Finalizing pool allocator
[    1.601975] [TTM] Finalizing DMA pool allocator
[    1.602006] [TTM] Zone  kernel: Used memory at exit: 0 kiB
[    1.602724] vmwgfx: probe of 0000:00:02.0 failed with error -38
Comment 2 Valentin Popa 2014-04-09 12:05:18 UTC
Can someone reopen this bug since the issue still reproduces.
Comment 3 Thomas Hellstrom 2014-04-09 19:29:00 UTC
Hi!

The vmwgfx kernel module does not support devices without the pitchlock capability. Sorry. In that case you need to use the xf86-video-vmware driver standalone without kernel modesetting.