> On Tuesday 19 April 2005 10:49 am, jan kreuzer wrote: > > Hi > > > > the fix you provided let the module get compiled. > > However when starting an GL-Application i get the following: > > > > glxgears > > Using 8 maximum texture units.. > > sizeof(drm_r300_cmd_header_t)=4 > > sizeof(drm_radeon_cmd_buffer_t)=32 > > Allocating 284420 bytes command buffer (max state is 11140 bytes) > > *********************************WARN_ONCE************************* > >******** File r300_state.c function r300Enable line 518 > > TODO - double side stencil ! > > ******************************************************************* > >******** > > *********************************WARN_ONCE************************* > >******** File r300_state.c function r300Enable line 539 > > Don't know how to enable polygon offset point/line. Help me ! > > ******************************************************************* > >******** drmRadeonCmdBuffer: -22 (exiting) > > > > And the following in the dmesg: > > > > error: [drm:pid596:r300_emit_unchecked_state] *ERROR* Unrecognized > > register range: 1d98 6 > > error: [drm:pid596:r300_do_cp_cmdbuf] *ERROR* > > r300_emit_unchecked_state failed > > In fact, I made it working too. A little bit ugly kludge is attached. > You don't have to comment out r300_check_range(). > > Jung-uk Kim > > > Greetings Jan > Thanks your patch works also fine for me. In fact with my previous approach (Aapos patch and the uncommenting of r300_check_range by myside) some GL-Apps i could test worked (eg neverball, glxgears, xscreensaver-modules), whereas other just produced an segfault (celestia). Now even celestia runs.
Thanks for your time and work both Aapo and Jung-uk Greetings Jan -- +++ NEU: GMX DSL_Flatrate! Schon ab 14,99 EUR/Monat! +++ GMX Garantie: Surfen ohne Tempo-Limit! http://www.gmx.net/de/go/dsl ------------------------------------------------------- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728 -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel