Skip to contentSkip to conversation

Gart to vram/vram to gart transfers broken on NVS 140M

DISCUSSION Martin Peres 3 participants 4 messages Apr 22, 2010 – Apr 25, 2010 2 messages not in the archive

lore
Share & tools
lore
#0 lore raw

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 ?

Thanks,

Martin

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 6 lines · Martin Peres

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).

Quoted 7 lines

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

A message that is not in the archive (sent off-list or not yet received): x2g6a89f9d51004220320w47174461l295eac76baa1e0e1-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org

#4 lore raw
Quoted 16 lines · Stephane Marchesin
Quoted 6 lines · Martin Peres

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).

Quoted 8 lines

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 ?

Quoted 5 lines

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

OK, I'll try this out tonight. I'll keep you in touch.

#5 lore raw
In reply to a message not in the archive
Quoted 16 lines · Stephane Marchesin
Quoted 6 lines · Martin Peres

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).

Quoted 8 lines

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 ?

Quoted 6 lines

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