intel-batchbuffer and DRI2

Stefano Avallone stavallo at unina.it
Wed Apr 16 06:44:18 PDT 2008


Hi,

I found that mprotect calls have been removed from the git master (commit  
c02ab432dd7058c700c35eecf6215daf5f262c51).

Reverting this commit from the batchbuffer branch makes the X server start.

sorry for the noise,
stefano


On Wednesday 16 April 2008 13:40:56 Stefano Avallone wrote:
> Hi,
>
> I compiled the git master version of mesa, drm, xserver (as described in
> http://hoegsberg.blogspot.com/2008/02/building-and-installing-drmdrix-stack
>.html ) and the intel-batchbuffer branch of the intel driver. My laptop is a
> sony vaio with intel graphics:
>
> 00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated
> Graphics Controller (rev 0c)
>
> DRI2 seems to be correctly initialized. However, the X server does not
> start. The log file (attached) reports the following errors:
>
> (EE) intel(0): Failed to mprotect ring buffer: Permission denied
> (EE) intel(0): Failed to mprotect DRI memory manager: Permission denied
> (EE) intel(0): Failed to mprotect front buffer: Permission denied
> (EE) intel(0): Failed to mprotect exa G965 state buffer: Permission denied
> (EE) intel(0): Failed to mprotect HW cursors: Permission denied
>
> Backtrace:
> 0: ./Xorg(xf86SigHandler+0x79) [0x80c1c89]
> 1: [0xb7f1f400]
> 2: /usr/local/src/install/lib/xorg/modules/drivers//intel_drv.so
> [0xb7a28fca] 3: ./Xorg(AddScreen+0x19d) [0x806fc6d]
> 4: ./Xorg(InitOutput+0x1c5) [0x80a5645]
> 5: ./Xorg(main+0x2d6) [0x8070436]
> 6: /lib/i686/cmov/libc.so.6(__libc_start_main+0xe0) [0xb7ba0450]
> 7: ./Xorg(FontFileCompleteXLFD+0x20d) [0x806fa21]
>
> Please note that the X server starts if I use the git master version of the
> intel driver (no dri2, of course).
>
> Any hint how to solve the problem would be greatly appreciated. I can do
> more testing, if needed.
>
> cheers,
> Stefano





More information about the xorg mailing list