Summary: | Rendering issues with geometry shader | ||
---|---|---|---|
Product: | Mesa | Reporter: | Jonas Wielicki <jonas> |
Component: | Drivers/Gallium/r600 | Assignee: | Default DRI bug account <dri-devel> |
Status: | RESOLVED FIXED | QA Contact: | Default DRI bug account <dri-devel> |
Severity: | normal | ||
Priority: | medium | ||
Version: | git | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
apitrace which shows the problem
screenshot of the problem |
Description
Jonas Wielicki
2015-08-27 21:04:49 UTC
Created attachment 117952 [details]
screenshot of the problem
Can you please try with R600_DEBUG=nosb And maybe test Mesa-demo 'gsraytrace'? I got several geometry shader glitches/crashes on Turks, here. Bugs are open: https://bugs.freedesktop.org/show_bug.cgi?id=83319 https://bugs.freedesktop.org/show_bug.cgi?id=91503 Dieter, those are unrelated to this issue, which appears to be something specific to GL_LINES_ADJACENCY primitive type. The piglit test glsl-1.50-geometry-primitive-types GL_TRIANGLE_STRIP_ADJACENCY fails which might be related, but curiously the lines adjacency types pass. (In reply to Dieter Nützel from comment #2) > Can you please try with > > R600_DEBUG=nosb Yes, I tried that (should have mentioned it, sorry) and it shows the problem. > And maybe test Mesa-demo 'gsraytrace'? Will try that later. just fyi I tested this on CAICOS GPU and SUMO APU today, and it renders fine on the SUMO but fails similarly on the CAICOS. This is strange, and it might take someone from AMD doing some research for us. (In reply to Dieter Nützel from comment #2) > And maybe test Mesa-demo 'gsraytrace'? I am having a hard time to get gsraytrace to run. I am not sure whether this is related to this bug or to PRIME issues, as in general, using the Radeon GPU is a bit unstable here. The instability manifests in not receiving any rendering output in the window and sometimes error messages ("radeon: The kernel rejected CS, see dmesg for more information."). I made two tests: FIRST TEST When trying to run the gsraytrace demo on the radeon, I did not receive visual output in the window; no rendering took place, the window contents were never written and were showing what was at that place on the screen before the window opened. The terminal suggested a frame rate of 1 FPS. No crash happened. I then tried to distinguish between PRIME failure and demo failure by opening a glxgears instance on the radeon gpu, which made the whole X11 freeze for a few seconds and afterwards both glxgears and the gsraytrace demo spammed the above error message. SECOND TEST This time, I started glxgears first to make sure that everything was set up properly, PRIME-wise. glxgears was running fine at a reasonable frame rate. Then I started the gsraytrace demo, which made the X11 freeze. (I then went to fetch some tea) Both programs were spamming the above error message when the GUI had unfreezed. At no point I ever saw visual output from the gsraytrace demo. As I said, I am not sure what of this is purely due to PRIME and what is caused by the bug this entry refers to. I just wanted to add my data here as it was requested for and I don’t think I will get better results on my own. (In reply to Jonas Wielicki from comment #6) > This time, I started glxgears first to make sure that everything was set up > properly, PRIME-wise. glxgears was running fine at a reasonable frame rate. > > Then I started the gsraytrace demo, which made the X11 freeze. (I then went > to fetch some tea) Both programs were spamming the above error message when > the GUI had unfreezed. Sorry for the spam, here the output of gsraytrace: ``` GL_RENDERER = Gallium 0.4 on AMD TURKS (DRM 2.42.0, LLVM 3.5.0) ESC = exit demo left mouse + drag = rotate camera radeon: The kernel rejected CS, see dmesg for more information. 0.044456 FPS (1 frames in 22.493999 seconds) radeon: The kernel rejected CS, see dmesg for more information. [… the above message repeated a few hundred times before I killed it …] ``` (In reply to Dave Airlie from comment #5) > just fyi I tested this on CAICOS GPU and SUMO APU today, > > and it renders fine on the SUMO but fails similarly on the CAICOS. > > This is strange, and it might take someone from AMD doing some research for > us. I don't know of any hw bug related to GS that could cause this. this should now be fixed in master. |
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.