Skip to contentSkip to conversation

New: [NV17] Reduce GL_MAX_TEXTURE_SIZE to avoid memory overflow

Bug 42703 [email protected] 1 participant 2 messages Nov 8, 2011 – Aug 18, 2013 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=42703

Bug #: 42703
Summary: [NV17] Reduce GL_MAX_TEXTURE_SIZE to avoid memory
overflow
Classification: Unclassified
Product: Mesa
Version: unspecified
Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/DRI/nouveau
AssignedTo: [email protected]
ReportedBy: [email protected]

Created attachment 53293
--> https://bugs.freedesktop.org/attachment.cgi?id=53293
Reduce GL_MAX_TEXTURE_SIZE to avoid memory overflow

I have a GeForce4 MX 440-SE card with 64 MB RAM, and I have the following problems:
1. When I maximize the windows of Clutter-based apps (quadrapassel, emerillon...), their contents are disappear, and some other parts of the screen are corrupted.
2. When I start a new game in extremetuxracer second or third time, some textures are corrupted.

When it happens, I get the following messages in dmesg several times:

[21415.164810] [drm] nouveau 0000:01:00.0: fail ttm_validate
[21415.164821] [drm] nouveau 0000:01:00.0: validate vram_list
[21415.165831] [drm] nouveau 0000:01:00.0: validate: -12
[21415.878743] nouveau_ratelimit: 4 callbacks suppressed
[21415.878750] [drm] nouveau 0000:01:00.0: PGRAPH - ERROR nsource: DATA_ERROR
nstatus: BAD_ARGUMENT PROTECTION_FAULT
[21415.878763] [drm] nouveau 0000:01:00.0: PGRAPH - ch 2/4 class 0x0089 mthd

0x0304 data 0x02b5b500

I found that these problems can be fixed by reducing MaxTextureLevels value:
- Reducing from 12 to 11 resolves the first problem.
- Reducing to 10 resolves the second problem also.

I attached a patch which makes this change.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#2 lore raw

[Bug 42703] [NV17] Reduce GL_MAX_TEXTURE_SIZE to avoid memory overflow

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=42703

Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- It appears that this bug report has laid dormant for quite a while. Sorry we haven't gotten to it. Since we fix bugs all the time, chances are pretty good that your issue has been fixed with the latest software. Please give it a shot. (Linux kernel 3.10.7, xf86-video-nouveau 1.0.9, mesa 9.1.6, or their git versions.) If upgrading to the latest isn't an option for you, your distro's bugzilla is probably the right destination for your bug report.

In an effort to clean up our bug list, we're pre-emptively closing all bugs that haven't seen updates since 2011. If the original issue remains, please make sure to provide fresh info, see http://nouveau.freedesktop.org/wiki/Bugs/
for what we need to see, and re-open this one.

Thanks,

The Nouveau Team

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau