better handling of large pixmaps
Submitted by Xavier
Assigned to Nouveau Project
Description
Created attachment 48831
possible workaround for 64mb vram cards
Large images in Firefox only show up as black rectangles.
At the same time, the following errors appear in dmesg :
[ 590.075369] [drm] nouveau 0000:01:00.0: fail ttm_validate
[ 590.075371] [drm] nouveau 0000:01:00.0: validate vram_list
[ 590.075374] [drm] nouveau 0000:01:00.0: validate: -12
Test cases :
-
http://geoeyemediaportal.s3.amazonaws.com/assets/images/gallery/ge1/hires/tehran_iran_02_11_10.jpg
-
http://xkcd.com/802_large/
-
http://upload.wikimedia.org/wikipedia/commons/5/55/Futuregen_DOE_Concept_art.jpg
References :
- https://bugs.freedesktop.org/show_bug.cgi?id=28763#c15
- http://lists.freedesktop.org/archives/nouveau/2010-February/005125.html
**Patch 48831**, "possible workaround for 64mb vram cards":
0001-exa-force-the-use-of-sysmem-pixmaps-on-64MB-cards.patch