[fedora-virt] f15 guest with spice and gnome 3

Gianluca Cecchi gianluca.cecchi at gmail.com
Mon May 2 13:38:31 UTC 2011


On Sat, Apr 30, 2011 at 10:21 AM, Alon Levy <alevy at redhat.com> wrote:
> On Fri, Apr 29, 2011 at 01:33:09PM +0200, Gianluca Cecchi wrote:
>> On Thu, Apr 28, 2011 at 12:15 PM, Alon Levy <alevy at redhat.com> wrote:
>> >> In this case is there any emulated video adapter to configure with
>> >> which I can test f15 and gnome 3 in its new desktop layout?
>> > I think vmwglx doesn't work? haven't tried. I know there is ongoing work
>> > to allow gnome-shell to work with a software stack, but don't know the
>> > status of that.
>>
>> I think you meant vmwgfx ...
> Yes, my bad. Considering I misspelled this, you can assume I don't know the answers
> to your other questions about it :)
>
>> In f15 beta + updates I see that the kernel module part is present and
>> I can load it:
>> [root at f15 ~]# lsmod|grep vm
>> vmwgfx                 74164  0
>> ttm                    55120  1 vmwgfx
>> drm                   187648  2 vmwgfx,ttm
>>
>> and in dmesg:
>> [  332.683892] [drm] Initialized drm 1.1.0 20060810
>>
>> But it seems I don't find the xorg part so the vmwgfx_drv.so for f15....
>> Only reference I found was something for fc13 on s390...:
>> http://s390.koji.fedoraproject.org/koji/rpminfo?rpmID=81666
>>
>> [root at f15 ~]# yum search xorg-x11-drv-vmwgfx
>> Loaded plugins: langpacks, presto, refresh-packagekit
>> Warning: No matches found for: xorg-x11-drv-vmwgfx
>> No Matches found
>>
>> I don't know if mesa is built in f15 with support for it...
>> I also founf a VMware thread:
>> http://communities.vmware.com/message/1544516
>>
>> BTW: what video adapter should I use in virt-manager for the guest if
>> able to self-build support for vmwgfx_drv.so??
>>
>> vmvga?
>>
>> Thanks,
>> Gianluca
>

Thanks anyway.
I gave it a try....
Taking the packages i currently have on my updated F15 beta I rebuilt:
- libdrm with  --enable-vmwgfx-experimental-api option
- mesa with --enable-gallium-svga and adding xorg in the line
--with-state-trackers=dri,glx,xorg

So now I have all the sw parts compiled...
I configure vmvga as adapter but it seems it doesn't work.
lspci in guest
00:02.0 VGA compatible controller: VMware SVGA II Adapter

With /etc/X11/xorg.conf.d/10.vmwgfx.conf like this one:
Section "Device"
    Identifier              "Card0"
    Driver  "vmwgfx"
    Option  "SWcursor"      "False"
    Option  "2DAccel"       "True"
    BusID       "PCI:0:2:0"
    Option  "DebugFallback" "False"
    VendorName              "VMware"
EndSection

In messages I have
May  2 15:27:32 f15 kernel: [   20.519353] RPC: Registered udp transport module.
May  2 15:27:32 f15 kernel: [   20.519356] RPC: Registered tcp transport module.
May  2 15:27:32 f15 kernel: [   20.519358] RPC: Registered tcp NFSv4.1
backchannel transport module.
May  2 15:27:33 f15 kernel: [   21.568296] [drm] Initialized drm 1.1.0 20060810
May  2 15:27:33 f15 kernel: [   21.600217] [drm] Capabilities:
May  2 15:27:33 f15 kernel: [   21.600220] [drm]   Rect copy.
May  2 15:27:33 f15 kernel: [   21.600221] [drm]   Cursor.
May  2 15:27:33 f15 kernel: [   21.600223] [drm]   Cursor bypass.
May  2 15:27:33 f15 kernel: [   21.600224] [drm]   Cursor bypass 2.
May  2 15:27:33 f15 kernel: [   21.600226] [drm] VRAM at 0xf0000000
size is 16384 kiB
May  2 15:27:33 f15 kernel: [   21.600229] [drm] MMIO at 0xf1000000
size is 64 kiB
May  2 15:27:33 f15 kernel: [   21.600232] [drm] global init.
May  2 15:27:33 f15 kernel: [   21.607317] [TTM] Zone  kernel:
Available graphics memory: 769734 kiB.
May  2 15:27:33 f15 kernel: [   21.607321] [TTM] Initializing pool allocator.
May  2 15:27:33 f15 kernel: [   21.611299] [drm:vmw_driver_load]
*ERROR* Hardware has no pitchlock
May  2 15:27:33 f15 kernel: [   21.612361] [TTM] Finalizing pool allocator.
May  2 15:27:33 f15 kernel: [   21.612629] [TTM] Zone  kernel: Used
memory at exit: 0 kiB.
May  2 15:27:33 f15 kernel: [   21.612918] vmwgfx: probe of
0000:00:02.0 failed with error -38

And in Xorg.0.log
[    21.393] (II) LoadModule: "vmwgfx"
[    21.393] (II) Loading /usr/lib64/xorg/modules/drivers/vmwgfx_drv.so
[    21.467] (II) Module vmwgfx: vendor="X.Org Foundation"
[    21.467]    compiled for 1.10.1, module version = 11.0.0
[    21.467]    Module class: X.Org Video Driver
[    21.467]    ABI class: X.Org Video Driver, version 10.0
[    21.467] (II) vmwgfx: Driver for VMware SVGA device: VMware SVGA Device
[    21.467] (++) using VT number 1

[    21.497] (II) Loading /usr/lib64/xorg/modules/drivers/vmwgfx_drv.so
[    21.497] drmOpenDevice: node name is /dev/dri/card0
[    21.612] drmOpenByBusid: Searching for BusID PCI:0:2:0
[    21.612] drmOpenDevice: node name is /dev/dri/card0
[    21.620] drmOpenByBusid: drmOpenMinor returns -1
...
[    21.964] (II) UnloadModule: "vmwgfx"
[    21.964] (II) Unloading vmwgfx
[    21.964] (EE) Screen(s) found, but none have a usable configuration.
[    21.964]
Fatal server error:
[    21.964] no screens found
[    21.964]

Could it be that the emulated vmvga in qemu/kvm hasn't the
capabilities required (I guess this watching the probe error in
messages...)?
I eventually will try on vSphere to see if the same configured os vm
can go through this...

Thanks for any pointer anyway.

Gianluca


More information about the virt mailing list