1 |
waltdnes@××××××××.org wrote: |
2 |
|
3 |
> On Mon, Dec 21, 2015 at 06:26:18PM +0100, wabenbau@×××××.com wrote |
4 |
> |
5 |
> My Google search turned up |
6 |
> https://forums.gentoo.org/viewtopic-p-7456850.html which suggested |
7 |
> VIDEO_CARDS="cirrus modesetting vesa", emerging world, and setting and |
8 |
> running CIRRUS in the guest. I did that. With "-vga cirrus" I get a |
9 |
> framebuffer X display in the Gentoo guest, which looks half-decent. |
10 |
> xrandr reports... |
11 |
> |
12 |
> Screen 0: minimum 320 x 200, current 1024 x 768, maximum 4096 x 4096 |
13 |
> VGA-0 connected 1024x768+0+0 (normal left inverted right x axis y |
14 |
> axis) 0mm x 0mm 1024x768 60.00*+ |
15 |
> 1280x1024 60.02 |
16 |
> 1280x960 60.00 |
17 |
> 1280x800 59.81 59.91 |
18 |
> 1280x768 59.87 59.99 |
19 |
> 800x600 60.32 56.25 |
20 |
> 848x480 60.00 |
21 |
> 640x480 59.94 |
22 |
> |
23 |
> |
24 |
> There is no documentation for "video_cards_modesetting" or |
25 |
> "modesetting" flags. I filed bug report... |
26 |
> |
27 |
> https://bugs.gentoo.org/show_bug.cgi?id=569082 |
28 |
> |
29 |
> ...asking for it to be documented. "emerge -pv xorg-drivers" doesn't |
30 |
> show it, and there's nothing in /usr/portage/profiles/*.desc |
31 |
> File-attached is the X log. It complains about not finding the |
32 |
> cirrus driver. But when I emerged xf86-video-cirrus, the log |
33 |
> complained that the cirrus driver couldn't be loaded because it |
34 |
> conflicted with a "kernel module" (actually built in). |
35 |
|
36 |
Have you installed x11-drivers/xf86-video-modesetting on the guest? |
37 |
|
38 |
Have you compiled the guest kernel with CONFIG_DRM_CIRRUS_QEMU? |
39 |
|
40 |
If yes, then I guess that you don't need xf86-video-cirrus at all. |
41 |
|
42 |
> With "-vga |
43 |
> std" X doesn't start up at all. |
44 |
|
45 |
You probably need to compile the guest kernel with CONFIG_DRM_BOCHS |
46 |
for "-vga std". |
47 |
|
48 |
> Any suggestions for improvement? |
49 |
|
50 |
There is also a kernel option for a KMS enabled DRM driver for the |
51 |
VMware SVGA virtual hardware (CONFIG_DRM_VMWGFX). I think that the |
52 |
performance of this driver is better than the performance of the |
53 |
cirrus driver. |
54 |
|
55 |
-- |
56 |
Regards |
57 |
wabe |