Gart to vram/vram to gart transfers broken on NVS 140M
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
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
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.cand 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.
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.cand 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