Bug 1633 - via_alloc_texture fail
Summary: via_alloc_texture fail
Status: RESOLVED MOVED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/Unichrome (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-14 02:08 UTC by Bartlomiej Krol
Modified: 2019-09-18 20:34 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.