All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 42703] New: [NV17] Reduce GL_MAX_TEXTURE_SIZE to avoid memory overflow
@ 2011-11-08 13:44 bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
       [not found] ` <bug-42703-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2011-11-08 13:44 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

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: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
        ReportedBy: ballogy-HLx8PRj2pn30Br+ELjv3iA@public.gmane.org


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.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-08-18 18:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-08 13:44 [Bug 42703] New: [NV17] Reduce GL_MAX_TEXTURE_SIZE to avoid memory overflow bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
     [not found] ` <bug-42703-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
2013-08-18 18:09   ` [Bug 42703] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.