Vladimir Dergachev wrote:

Hi,

I get lockups running anything other than glxgears.
I am running the 25 jan. snapshots of Xorg & r300_driver.

Are there any simple way to locate the functions that course lockups?
I was thinking of something like simple programs or tutorials.



Try NeHe tutorial - nehe.gamedev.net
In particular, it would be interesting to find out whether you can run any programs that use textures.


for now I have tried lessons up to lesson 20.

only 2 give me problems

Lesson 16 causes a segfault. Can you make the driver recover the original resolution after a segfault?
Lesson 20 causes a hard lockup.


Can you confirm if these Lessons work on R300?


Hi Rune,

I see the same problems on R300. I guess the segfault is possibly due to trying to access framebuffer directly (as using fog triggers a fallback). As for lesson20 I have no idea - try commenting out drawing code and checking which part creates a lockup.

Btw, I am getting a partial lockup with lesson20 even without r300_dri.so (when it is absent the driver falls back to software rendering), so it might be due to mode switching.

Lesson 20 have 3 points that causes lockups (maybe more).
They are all related.

the first is at line 258-259:
    glBindTexture(GL_TEXTURE_2D, texture[3]);
    glBegin(GL_QUADS);
        
glBegin() is causing the lockup, but only when textures 1, 2, or 3.
if you change it to texture 4:
    glBindTexture(GL_TEXTURE_2D, texture[4]);
    glBegin(GL_QUADS);

The lesson will now run (until you press space).
To me it sounds rather strange that a texture causes the lockup.

Rune Petersen


------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to