Le 27/02/2015 01:05, Ken Moffat a écrit :
> On Thu, Feb 26, 2015 at 09:46:14PM +0100, Pierre Labastie wrote:
>> Le 26/02/2015 19:00, Pierre Labastie a écrit :
>>> 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).
>>>
>>> Regards,
>>> Pierre
>>>
>>
>> Only patches 1 and 2 are needed. They both are one line changes, so I think
>> they could be included as sed's in the book:
>> First one as already proposed by Ken. Second one could be:
>> sed -i 's/ == -EINVAL//' hw/xfree86/drivers/modesetting/drmmode_display.c
>>
>> This last sed prevents the pointer to disappear, and I think I have seen it
>> disappearing on 64 bit too (on another machine I do not have access to
>> presently).  Since the first one does no harm on 64 bit, I suggest that both
>> be included in the book.
>>
> 
>  Works for me.  I've also tested this on x86_64 hardware (could not
> see why anything would break, but easy enough to test) using both
> ati_drv (which loads radeon_drv), and hiding those and falling back
> to modesetting_drv.  And running qemu from each, with both -vga std
> and -vga vmware.
> 

Yesterday, I built LXDE (on the same VM where patches 1 and 2 were enough to
start X under twm), started LXDE, and guess what: no pointer.

I decided to rebuild Xorg-server with the 4 patches, and it works now. So I
think that, "for some cases", all four patches are needed.

I'm making a consolidated patch and I'll change the book again.

Pierre


-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to