drm/dri update

Johannes Hofmann Johannes.Hofmann at gmx.de
Tue Jan 8 07:58:37 PST 2008


Simon 'corecode' Schubert <corecode at fs.ei.tum.de> wrote:
> Steve O'Hara-Smith wrote:
>> It definitely does need the conditionals around those free calls to avoid
>> crashing though. The only thing I'm not sure about is which is the error -
>> freeing them when they are NULL or them being NULL in the first place.
> 
> Okay, I missed that during porting and had forgotten that I need to deal 
> with this.
> 
> Everybody (especially those who had problems with panics), please do a
> 
> git pull
> 
> in the drm sources, and then
> 
> cd bsd-core
> make
> make install
> 
> stop X, unload your drm modules and restart X (or simply reboot).
> 
> This should fix the problems.

Yes, works fine.

flightgear from pkgsrc is also working nice btw.
I had to create a .drirc however (see below) to make it work with my
r300 radeon card.
No idea, why on earth they chose to use an XML-based config format.
But it's working, so I won't complain :-)

 Johannes



<driconf> 
<device screen="0" driver="r300"> 
<application name="Default"> 
<option name="force_s3tc_enable" value="false" /> 
<option name="texture_coord_units" value="8" /> 
<option name="fthrottle_mode" value="2" /> 
<option name="no_rast" value="false" /> 
<option name="tcl_mode" value="3" /> 
<option name="texture_depth" value="0" /> 
<option name="disable_s3tc" value="false" /> 
<option name="def_max_anisotropy" value="1.0" /> 
<option name="command_buffer_size" value="8" /> 
<option name="round_mode" value="0" /> 
<option name="dither_mode" value="0" /> 
<option name="disable_lowimpact_fallback" value="true" /> 
<option name="texture_image_units" value="8" /> 
<option name="no_neg_lod_bias" value="false" /> 
<option name="color_reduction" value="1" /> 
<option name="vblank_mode" value="1" /> 
</application> 
</device> 
</driconf>





More information about the Users mailing list