Bug 46711 - vmwgfx does not work in qemu/kvm
Summary: vmwgfx does not work in qemu/kvm
Status: RESOLVED WILL_NOT_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: Video(DRI - non Intel) (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: drivers_video-dri
URL: https://bugs.launchpad.net/ubuntu/+so...
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-30 14:44 UTC by Michal Suchanek
Modified: 2014-04-09 23:02 UTC (History)
4 users (show)

See Also:
Kernel Version: 3.6-rc3
Subsystem:
Regression: No
Bisected commit-id:


Attachments

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.

Note You need to log in before you can comment on or make changes to this bug.