<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=windows-1251"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hello again,<br>
<br>
I have found in google topic for similar problem but with nvidia
drivers<br>
<a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/archives/nouveau/2007-August/000247.html">http://lists.freedesktop.org/archives/nouveau/2007-August/000247.html</a><br>
<br>
It's a problem with memory allocation<br>
<br>
My strace glxinfo returns the following error:<br>
<br>
mmap2(NULL, 6553600, PROT_READ|PROT_WRITE, MAP_SHARED, 4, 0xd0000) = -1
EINVAL (Invalid argument)<br>
fstat64(4, {st_mode=S_IFCHR|0666, st_rdev=makedev(226, 0), ...}) = 0<br>
fstat64(4, {st_mode=S_IFCHR|0666, st_rdev=makedev(226, 0), ...}) = 0<br>
close(4) = 0<br>
write(2, "libGL error: drmMap of framebuff"..., 61libGL error: drmMap
of framebuffer failed (Invalid argument)<br>
) = 61<br>
write(2, "libGL error: reverting to (slow)"..., 52libGL error:
reverting to (slow) indirect rendering<br>
) = 52<br>
<br>
I have found this patch for nvidia:<br>
<a class="moz-txt-link-freetext" href="http://bugs.freedesktop.org/attachment.cgi?id=11070&action=view">http://bugs.freedesktop.org/attachment.cgi?id=11070&action=view</a><br>
<br>
I want to adapt this patch for intel to resolve at last this memory
conflict issue.<br>
I can find similar memory allocations in i810_dri.c and i830_dri.c<br>
<br>
Please help which file I have to change to move FB allocated memory.<br>
<br>
<br>
<br>
<br>
-------- Original Message --------
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<th align="right" nowrap="nowrap" valign="baseline">Subject: </th>
<td>DRI and OpenGL problem with GM965</td>
</tr>
<tr>
<th align="right" nowrap="nowrap" valign="baseline">Date: </th>
<td>Thu, 27 Sep 2007 21:11:10 +0300</td>
</tr>
<tr>
<th align="right" nowrap="nowrap" valign="baseline">From: </th>
<td>Svetlana Atanasova <a class="moz-txt-link-rfc2396E" href="mailto:svetlana@netissat.bg"><svetlana@netissat.bg></a></td>
</tr>
<tr>
<th align="right" nowrap="nowrap" valign="baseline">To: </th>
<td><a class="moz-txt-link-abbreviated" href="mailto:xorg@lists.freedesktop.org">xorg@lists.freedesktop.org</a></td>
</tr>
</tbody>
</table>
<br>
<br>
<pre>Hello,
sorry if this is previously discussed but I'm quite new to this list.
I have HP 6710s laptop with slackware 12.0 (kernel 2.6.22.9, xserver
1.3.0- slack 12 default) and I have troubles with
glx. With slackware 12.0 default driver - xf86-video-intel-2.0.0 there
is DRI but colors
looks terrible - there are visible lines on color gradient patterns.
With driver provided
in slackware distribution in directory /patches -
xf86-video-intel-2.1.0 colors OK, DRI working, but when I test with GL
screensaver X server lockups with something for insufficient free
memory to allocate in logs I don't have these logs now.
I've downloaded the latest intel drivers from
<a class="moz-txt-link-freetext" href="http://www.intellinuxgraphics.org">http://www.intellinuxgraphics.org</a> and after compiling them I don't have DRI
I got the following error in logs:
(EE) AIGLX error: drmMap of framebuffer failed (Invalid argument)(EE)
AIGLX: reverting to software rendering
and the following warnings (if it's helpful):
(WW) intel(0): Removed DRI frontbuffer mapping in compatibility mode.
(WW) intel(0): DRIGetDeviceInfo will report incorrect frontbuffer handle.
So I can't get my videocard working properly with any drivers, please
help whith any ideas or patches, etc.
Thanks in advance!
Best Regards,
Svetlana
</pre>
</body>
</html>