Re: [Nouveau] Gart to vram/vram to gart transfers broken on NVS 140M

2010-04-25 Thread Martin PERES

Le 22/04/2010 12:20, Stephane Marchesin a écrit :

On Thu, Apr 22, 2010 at 03:13, Martin Peresmartin.pe...@free.fr  wrote:
   

Hi Nouveau folks,

I've been encountering some corruption on pixmaps for a while now, and it
seems like the problem comes from the DFS/UTS (Download From Screen / Upload
To Screen).

In fact, I'm pretty sure the problem comes from there as screenshots are
garbled and so does a few more things.

I may have time to dig this up, where should I start, is there some
documentation on the NVS 140M ? Where is the gart2vram code located ?
Do you have any idea of where could be the problem ?

 

If you really think that's UTS/DFS, edit nouveau_exa.c and disable
them (change the UTS/DFS functions to return FALSE, that'll trigger
fallbacks to sw copying).

Stephane
   
In fact, following your advice triggers a lot more corruption. So, the 
problem comes from elsewhere. My corruption problem seems like  there is 
a codepath that copy a pixmap with wrong height and width.


I'll dig into it. I'll keep in touch.

Martin
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] uevent support in nouveau DDX

2010-04-25 Thread Bob Gleitsmann
Hi,

uevent support was added to the nouveau DDX in a recent commit. A test is made 
in configure.ac for libudev being present but there is no minimum version. I 
have had problems with this as I am using Fedora 11 which has udev-141 in it. 
This version does not support all of the functions required by the DDX and 
will crash Xorg. At least this function is missing: 
udev_monitor_filter_add_match_subsystem_devtype
I don't know when this was added to udev, but it was definitely after 141. In 
the mean time, I will endeavor to fudge the configuration so that it doesn't 
think that udev is installed. Hopefully this will result in a DDX that doesn't 
crash. 
I'm also going to try setting up a partition with Fedora 13 to see what 
happens with that.

Best Wishes,

Bob Gleitsmann
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 27832] New: Early versions of libudev cause crash

2010-04-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27832

   Summary: Early versions of libudev cause crash
   Product: xorg
   Version: git
  Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
  Severity: critical
  Priority: medium
 Component: Driver/nouveau
AssignedTo: nouveau@lists.freedesktop.org
ReportedBy: rjgle...@bellsouth.net
 QAContact: xorg-t...@lists.x.org


Created an attachment (id=35286)
 -- (https://bugs.freedesktop.org/attachment.cgi?id=35286)
Patch to configure.ac to check libudev version = 142

It appears that at least version 142 of udev is required to properly support
the recently added uevent code. Haven't tested with 142 because I don't want to
mess up my distro Fedora 11. This only has 141. However, everything is usable
if the driver thinks you don't have udev at all. Hence the attached patch.

Best Wishes,

Bob Gleitsmann

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau