waltd...@waltdnes.org wrote:

> On Mon, Dec 21, 2015 at 06:26:18PM +0100, waben...@gmail.com wrote
> 
>   My Google search turned up
> https://forums.gentoo.org/viewtopic-p-7456850.html which suggested
> VIDEO_CARDS="cirrus modesetting vesa", emerging world, and setting and
> running CIRRUS in the guest.  I did that.  With "-vga cirrus" I get a
> framebuffer X display in the Gentoo guest, which looks half-decent.
> xrandr reports...
> 
> Screen 0: minimum 320 x 200, current 1024 x 768, maximum 4096 x 4096
> VGA-0 connected 1024x768+0+0 (normal left inverted right x axis y
> axis) 0mm x 0mm 1024x768      60.00*+
>    1280x1024     60.02  
>    1280x960      60.00  
>    1280x800      59.81    59.91  
>    1280x768      59.87    59.99  
>    800x600       60.32    56.25  
>    848x480       60.00  
>    640x480       59.94
> 
> 
>   There is no documentation for "video_cards_modesetting" or
> "modesetting" flags.  I filed bug report...
> 
> https://bugs.gentoo.org/show_bug.cgi?id=569082
> 
> ...asking for it to be documented.  "emerge -pv xorg-drivers" doesn't
> show it, and there's nothing in /usr/portage/profiles/*.desc
>   File-attached is the X log.  It complains about not finding the
> cirrus driver.  But when I emerged xf86-video-cirrus, the log
> complained that the cirrus driver couldn't be loaded because it
> conflicted with a "kernel module" (actually built in). 

Have you installed x11-drivers/xf86-video-modesetting on the guest?

Have you compiled the guest kernel with CONFIG_DRM_CIRRUS_QEMU?

If yes, then I guess that you don't need xf86-video-cirrus at all.

> With "-vga
> std" X doesn't start up at all.

You probably need to compile the guest kernel with CONFIG_DRM_BOCHS
for "-vga std".
 
>   Any suggestions for improvement?

There is also a kernel option for a KMS enabled DRM driver for the 
VMware SVGA virtual hardware (CONFIG_DRM_VMWGFX). I think that the 
performance of this driver is better than the performance of the
cirrus driver.

--
Regards
wabe

Reply via email to