On Thu, Feb 26, 2015 at 07:00:21PM +0100, Pierre Labastie wrote: > > Lots of progress. I first applied your fix (only patch 2/4) and could have X > start, but with no mouse pointer (exactly, an invisible one: when I move the > mouse around, I can select different windows). So I decided to apply the four > patches, because it seemed to me that they had something to do with pointer > (hardware vs soft cursor). I can now have the modesetting driver with both > -vga std and -vga cirrus. I still get a black screen when exiting X, though. I > can type (blindly) "sudo halt" or "sudo reboot", and it halts (or reboots). >
I've just retested -vga=cirrus (I only have the modesetting driver) using icewm - I get a 1024x768 screen with a mouse cursor. This might be a difference in kernel configs, I have CONFIG_DRM_KMS_HELPER=y CONFIG_DRM_KMS_FB_HELPER=y CONFIG_DRM_VMWGFX=y CONFIG_DRM_VMWGFX_FBCON=y CONFIG_DRM_CIRRUS_QEMU=y CONFIG_DRM_BOCHS=y I think I'm relying on those last two. Yesterday, I turned off CONFIG_FB_VGA16 and CONFIG_FB_VESA while trying to diagnose my problem. They do not seem to make any difference to -vga std or -vga cirrus. Then I tried -vga vmware. No console framebuffer, so it did not manage to change to the 12x22 font. And no vmware driver. X stopped with some of the log output visible, and no prompt. I was able to key Ctrl-C in the qemu window and get a prompt back. The log showed that /dev/dri/card0 was not present, so modesetting got unloaded, and of course I had no other drivers. But now I need to again build firefox in i686 qemu : my measurements were faster than expected (25 SBU instead of 24 SBU on bare-metal x86_64), but the reported size was a lot larger than on x86_64 and maybe my script measured something extra (it isn't designed to reliably measure when I'm building in /usr/src, might be buggy). > About EFI, yes, there is an EFI firmware for qemu, and it works well! > Add the switch "-bios OVMF.fd" to the command line. I do not know if it is > shipped within the qemu tarball or if you have to download it separately (I > use the qemu package from debian to launch the VM). Of course, you need a > different flavour of grub. I can send you my notes about that (based on a hint > which was sent around October by somebody on the LFS list, but never > published). > > Regards, > Pierre I prefer to avoid EFI, in kernelspace there are still enough problems to make me nervous. I'll probably give it a go on new real hardware soon, but it makes me nervous ;-) ĸen -- Nanny Ogg usually went to bed early. After all, she was an old lady. Sometimes she went to bed as early as 6 a.m. -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
