Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 130320 - xf86-video-via missing #include <assert.h>, kills screen
Summary: xf86-video-via missing #include <assert.h>, kills screen
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Gentoo X packagers
URL: https://bugs.freedesktop.org/show_bug...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-17 19:35 UTC by Starling
Modified: 2006-05-15 19:43 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Photograph of screen without assert.h (060418_155512.jpg,119.14 KB, image/jpeg)
2006-04-18 09:42 UTC, Michal Pytasz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Starling 2006-04-17 19:35:50 UTC
xf86-video-via updated recently (thanks! :) ) but it was updated with a critical bug, easily fixed.  Ebuild =x11-drivers/xf86-video-via-0.2.1 dies during startx with a "symbol 'assert' not found" and in dying it leaves the video card in a nonfunctional state.  To fix this problem, add:

#include <assert.h>

at the top of the file src/via_dri.c.  After that fix, everything works "perfectly".  Someone with connections might push this upstream to the X11 via driver developer too.
Comment 1 Michal Pytasz 2006-04-18 09:42:58 UTC
Created attachment 84909 [details]
Photograph of screen without assert.h

I can confirm that. Without assert.h screen looks more or less like in the attachment (on Acer Apire 1362, K8N800 based laptop), with assert included works fine.
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2006-04-18 09:45:00 UTC
Please file this upstream at bugs.freedesktop.org in the xorg product. Make it block bug #5041, and post the URL here.

Thanks!
Comment 3 Bill Krueger 2006-05-15 19:29:23 UTC
Did a bit of searching and finally found this upstream so here's the url:


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

Hope this helps as it seams this fix is still not in gentoo's portage. 
Comment 4 Joshua Baergen (RETIRED) gentoo-dev 2006-05-15 19:37:50 UTC
It's not there since no one had brought it to our attention yet :D  Thanks for finding it.
Comment 5 Joshua Baergen (RETIRED) gentoo-dev 2006-05-15 19:43:05 UTC
Fixed in CVS.