Re: [gentoo-user] [Sort of solved] Recommended pseudo-hardware for QEMU guest machine?
waltd...@waltdnes.org wrote: > On Tue, Dec 22, 2015 at 05:43:17AM +0100, waben...@gmail.com wrote > > > Have you installed x11-drivers/xf86-video-modesetting on the guest? > > Cannot be done on my machines. On 2 physical machines, and on the > Gentoo guest, I get... You don't have to install it on the physical machines but only on the guests. > > emerge -pv xf86-video-modesetting > > > > These are the packages that would be merged, in order: > > > > Calculating dependencies... done! > > [ebuild N ] x11-drivers/xf86-video-modesetting-0.9.0::gentoo > > 298 KiB [blocks B ] x11-drivers/xf86-video-modesetting > > ("x11-drivers/xf86-video-modesetting" is blocking > > x11-base/xorg-server-1.17.4) > > > > Total: 1 package (1 new), Size of downloads: 298 KiB > > Conflict: 1 block (1 unsatisfied) > > > > * Error: The above package list contains packages which cannot be > > * installed at the same time on the same system. > > On the guest, I unmerged xorg-server and tried emerging > xf86-video-modesetting. The result was that it would've pulled in > xorg-server, which would again have blocked xf86-video-modesetting. > Wierd. That's indeed strange. As I said, I have no experiences with gentoo as guest OS. Maybe it will help to recompile xorg-server without the xorg USE flag on the guest machine. When you can connect via ssh then you can revert it easily when it fails. And use emerge --backtrack=999 :-) > > 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. > > As I mentioned earlier vmware, cirrus, and bochs all ticked off in > "make menuconfig". Now that I have something working, I think I'll These options are depending on CONFIG_HAS_IOMEM, CONFIG_DRM and CONFIG_PCI. You must activate all of these options too. > make a copy of the 10-gig guest disk image before any further > tweaking that might render it inoperative again. Backups are always a good idea. > > I think that you also need x11-drivers/xf86-video-vmware installed > > on the guest if you want to use "-vga vmware". > > I've tried that earlier, when things weren't working. Maybe it'll > work this time. Good luck. -- Regards wabe
Re: [gentoo-user] [Sort of solved] Recommended pseudo-hardware for QEMU guest machine?
On Tue, Dec 22, 2015 at 08:59:47PM +0100, waben...@gmail.com wrote > waltd...@waltdnes.org wrote: > > These options are depending on CONFIG_HAS_IOMEM, CONFIG_DRM and > CONFIG_PCI. You must activate all of these options too. All set in the guest kernel. > > > I think that you also need x11-drivers/xf86-video-vmware installed > > > on the guest if you want to use "-vga vmware". > > > > I've tried that earlier, when things weren't working. Maybe it'll > > work this time. > > Good luck. "-vga vmware" started off OK in the text console today, but two major problems... 1) No mouse or text cursor once I fired up X. A Google search indicates that no-cursor-in-graphics-mode is a common problem with Vmware across all platforms. The QEMU "-show-cursor" option did not help. Otherwise X looked OK, and xrandr listed some ridiculously high resolutions, higher than my 1920x1080 monitor. 2) The mouse still worked, despite being invisible. I was able to blindly execute the mouse-click sequence to bring up the menu that included logoff. Once I returned to the text console, it was all red. Again, the keyboard still worked, and I was able to blindly shut down the guest. For now I'll stick with "-vga cirrus" or "-vga std". Looking at the Xorg logs, I noticed that in "-vga std" X was looking for the "fbdev" module, not finding it, and giving up. I emerged xf86-video-fbdev and X now works in "-vga std", although xrandr reports only 1024x768 is available. I intend to use it in linux mostly for distcc, so limited X Window size options aren't a problem. I didn't get much linux computing done today. I picked up a cheap external USB floppy drive at Canada Computers and transferred Galactic Civilizations v2.5 for OS/2 from my ancient relic 450 mhz Pentium 3 (128 megs of RAM) to my QEMU machine. The P3 has a built-in floppy drive; my other computers don't. The next challenge is to get OS/2 Warp 4 running in QEMU as per http://sites.mpc.com.br/ric/qemu/ -- Walter DnesI don't run "desktop environments"; I run useful applications
[gentoo-user] [Sort of solved] Recommended pseudo-hardware for QEMU guest machine?
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.8159.91 1280x768 59.8759.99 800x600 60.3256.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). With "-vga std" X doesn't start up at all. Any suggestions for improvement? -- Walter DnesI don't run "desktop environments"; I run useful applications log.txt.gz Description: Binary data
Re: [gentoo-user] [Sort of solved] Recommended pseudo-hardware for QEMU guest machine?
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.8159.91 >1280x768 59.8759.99 >800x600 60.3256.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
Re: [gentoo-user] [Sort of solved] Recommended pseudo-hardware for QEMU guest machine?
wrote: > 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. I think that you also need x11-drivers/xf86-video-vmware installed on the guest if you want to use "-vga vmware". -- Regards wabe
Re: [gentoo-user] [Sort of solved] Recommended pseudo-hardware for QEMU guest machine?
On Tue, Dec 22, 2015 at 05:43:17AM +0100, waben...@gmail.com wrote > Have you installed x11-drivers/xf86-video-modesetting on the guest? Cannot be done on my machines. On 2 physical machines, and on the Gentoo guest, I get... > emerge -pv xf86-video-modesetting > > These are the packages that would be merged, in order: > > Calculating dependencies... done! > [ebuild N ] x11-drivers/xf86-video-modesetting-0.9.0::gentoo 298 KiB > [blocks B ] x11-drivers/xf86-video-modesetting > ("x11-drivers/xf86-video-modesetting" is blocking x11-base/xorg-server-1.17.4) > > Total: 1 package (1 new), Size of downloads: 298 KiB > Conflict: 1 block (1 unsatisfied) > > * Error: The above package list contains packages which cannot be > * installed at the same time on the same system. On the guest, I unmerged xorg-server and tried emerging xf86-video-modesetting. The result was that it would've pulled in xorg-server, which would again have blocked xf86-video-modesetting. Wierd. > 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. As I mentioned earlier vmware, cirrus, and bochs all ticked off in "make menuconfig". Now that I have something working, I think I'll make a copy of the 10-gig guest disk image before any further tweaking that might render it inoperative again. > I think that you also need x11-drivers/xf86-video-vmware installed > on the guest if you want to use "-vga vmware". I've tried that earlier, when things weren't working. Maybe it'll work this time. -- Walter DnesI don't run "desktop environments"; I run useful applications