Bug 1633

Summary: via_alloc_texture fail
Product: Mesa Reporter: Bartlomiej Krol <burt>
Component: Drivers/DRI/UnichromeAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED MOVED QA Contact:
Severity: normal    
Priority: high CC: xavier
Version: git   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Bartlomiej Krol 2004-10-14 02:08:59 UTC
I'm using several motherboards equipped in VIA KM400 & VIA CLE266 chpsets. All
of them use via_dri.so driver for hardware acceleration. 
I found out that after loading more than 100MB of textures "via_alloc_texture
fail" messages begin to appear. After some time (about 10-30 minutes) this
message is the last one before my app dies.
I've downloaded Mesa from CVS repository and found out, that there is no check
for return value of via_alloc_texture function. It is called within via_texmem.c
(viaTexturesGone).
The only thing to do is just to add a check for via_alloc_texture return value
and BINGO! - the app works for two days now...
Comment 1 Thomas Hellström 2004-12-15 13:06:08 UTC
Hi, I've commited a fix for this. Can you check out and see if it works as expected?

/Thomas Hellström
Comment 2 Adam Jackson 2009-08-24 12:22:45 UTC
Mass version move, cvs -> git
Comment 3 GitLab Migration User 2019-09-18 20:34:33 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/openchrome/old-bug-database/issues/1.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.