On 05.12.2014 01:06, Ken Moffat wrote: > On Fri, Dec 05, 2014 at 12:30:20AM +0100, Armin K. wrote: >> On 05.12.2014 00:08, Ken Moffat wrote: >>> This mail is about building LFS for a desktop in a qemu guest. >>> >>> TL;DR : xf86-video-modesetting should replace the cirrus driver. >>> >> >> Sounds good, however read below. >> >>> >>> 1.4 The modesetting driver >>> >>> This requires CONFIG_FB and CONFIG_DRM_BOCHS. Using >>> CONFIG_DRM_CIRRUS_QEMU is recommended, although it appears to work >>> (with lower fps in glxgears, so higher cpu usage) without that. >>> >> >> It's a generic driver and in theory it should work with any hardware >> that has a KMS driver. It has also been merged into Xserver-1.17, much >> like Glamor was to 1.16 so I propose that you postpone the addition >> (just to avoid the unnecessary work). >> > > Thanks for that. I was aware that it should work with any hardware > that has a kms driver, but for x86 in practice I think that limits > it to qemu - I assume chip-specific drivers will always be > preferred, so intel, nouveau, radeon are unlikely to use it?
I believe they can use it, but you'd get bad performance compared to the hardware specific (and optimized) DDX-es. It's also a base for new hardware specific DDX drivers that have a KMS driver. Another thing that I am not 100% sure of is that the driver that was mergeed into xserver tree is hooked up to glamor, so it may use OpenGL to accelerate 2D graphics where supported. > I > haven't been paying much attention to xorg recently - any idea when > 1.17 is likely to be released ? > About 6 months after the 1.16 release. I believe sometimes in Jan 2015 or early Feb 2015. > For other drivers, we note the kernel configure settings they need. > I suppose that when 1.17 is released, we should mention *in the qemu > page* that anyone building Xorg in qemu needs those settings ? > Yes, sounds good to me. Bruce is the one responsible for Qemu, so I'd like to hear his oppinion. Also a note would be nice to say that no Xorg Driver besides evdev is needed for using Xorg in Qemu. >> As for glxgears, I suppose it was using one of 3 cpu accelerated drivers >> (llvmpipe, softpipe or swrast). If you are to stick with this driver (I >> highly recommend vmware GPU as the driver is currently superior to >> anything else but it's stuck on OGL 2.x whereas LLVMPipe and Softpipe >> are on OGL 3.3 I believe), make sure you build LLVMPipe, as it's the >> faster of 3 software rasterizers and is enough for non intensive tasks. > > I'll need to look at what I'm options using to build Mesa in qemu. > > Cheers. > > ĸen > -- Note: My last name is not Krejzi.
signature.asc
Description: OpenPGP digital signature
-- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
