Announcement

Collapse
No announcement yet.

AMD Radeon GPUs Run Great With Linux 3.11 Kernel, Mesa 9.3-devel

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #31
    Just tried flightgear and running it with rembrandt results in weird rendering issues which probably are a result of the following errors:

    Code:
    EE r600_shader.c:158 r600_pipe_shader_create - translation from TGSI failed !
    EE r600_state_common.c:754 r600_shader_select - Failed to build shader variant (type=1) -1
    Code:
    FRAGMENT glCompileShader "/usr/share/flightgear/Shaders/urban-gbuffer.frag" FAILED
    FRAGMENT Shader "/usr/share/flightgear/Shaders/urban-gbuffer.frag" infolog:
    0:91(22): preprocessor error: syntax error, unexpected IDENTIFIER, expecting NEWLINE
    0:88(1): preprocessor error: Unterminated #if
    glLinkProgram "" FAILED
    Program "" infolog:
    error: linking with uncompiled shader
    Code:
    FRAGMENT glCompileShader "/usr/share/flightgear/Shaders/ubershader-gbuffer.frag" FAILED
    FRAGMENT Shader "/usr/share/flightgear/Shaders/ubershader-gbuffer.frag" infolog:
    0:134(24): error: could not implicitly convert operands to relational operator
    0:134(24): error: if-statement condition must be scalar boolean
    glLinkProgram "" FAILED
    Program "" infolog:
    error: linking with uncompiled shader
    The first one seems to be a driver problem. I can't tell if the following ones are errors in the shader or in the driver, but on a first look the shaders looks ok and the driver simply has a problem with the preprocessor stuff. The second ones compares an integer to an float without conversation so this might be an error in the shader.
    Last edited by droste; 15 August 2013, 02:52 AM.

    Comment


    • #32
      Originally posted by xtachx View Post
      Sounds like the open source driver made a lot of progress and I can finally ditch catalyst!
      Remeber that you need to use the latest mesa 9.3 devel, x driver xf86-ati, and libdrm besides kernel 3.11 for best performance. Look out for bugs too, because there can be various issues like random freezing and such.
      The driver works very well woth Opengl apps, on my A8-5500 TF2 is smoother and loads faster than with catalyst.

      Comment


      • #33
        @droste

        elseif is not a valid preprocessor keyword, it's "elif", just like in cpp. So it's the shader that is buggy.

        From GLSL 1.50 spec:
        The complete list of preprocessor directives is as follows.
        #
        #define
        #undef
        #if
        #ifdef
        #ifndef
        #else
        #elif
        #endif
        #error
        #pragma
        #extension
        #version
        #line

        Comment


        • #34
          Sooo bottom line is: FlightGear with project rembrandt is quite broken

          Probably the only one where the driver is to blame is the first error, which results from a too complex shader.

          Comment


          • #35
            Originally posted by xtachx View Post
            Yes exactly, I have 2 monitors. I do not want to deactivate any of them because i use them a lot (usually while coding, i have my references on one and code in another). The fan sounds like a jet engine.
            Can you check the debugfs output to see if this is actually a duplicate of that bug? It could just be that the OEM that built your board used a crappy fan or didn't use a fan controller.

            Comment


            • #36
              Originally posted by agd5f View Post
              Can you check the debugfs output to see if this is actually a duplicate of that bug? It could just be that the OEM that built your board used a crappy fan or didn't use a fan controller.
              Sure. I will be home tomorrow, I can post a debugfs output. However, I have to mention that catalyst works fine - and the fan is quiet with it. IF the hardware was faulty, then it wouldnt work with catalyst as well.

              Comment


              • #37
                Originally posted by droste View Post
                Sooo bottom line is: FlightGear with project rembrandt is quite broken

                Probably the only one where the driver is to blame is the first error, which results from a too complex shader.
                Its still an open source project. Instead of blaming rembrandt, we can submit a fix! I will look at the source when I am home tomorrow.

                Comment


                • #38
                  Originally posted by droste View Post
                  Sooo bottom line is: FlightGear with project rembrandt is quite broken

                  Probably the only one where the driver is to blame is the first error, which results from a too complex shader.
                  I remember urban shader used to work in FG 2.6 and mesa when set to level 3. Now it's just broken. Maybe it's time to report a bug?
                  BTW can you check what's the performance compared to catalyst? My current rig (Samsung R522 - Radeon 4330 HD mobile) runs at about 50% of fps compared to Win7 (same fg settings).

                  Comment


                  • #39
                    Originally posted by Xeno View Post
                    I remember urban shader used to work in FG 2.6 and mesa when set to level 3. Now it's just broken. Maybe it's time to report a bug?
                    BTW can you check what's the performance compared to catalyst? My current rig (Samsung R522 - Radeon 4330 HD mobile) runs at about 50% of fps compared to Win7 (same fg settings).
                    I can compare the linux catalyst vs radeon. Cannot compare to windows. (Sorry, I havent used windows in the past 16 years!).


                    Now I have to figure out how to run kmod-catalyst and radeon side by side with different kernels. If anyone has any experiance on it, any tips?

                    Comment


                    • #40
                      Unfortunatelly it's not so straight-forward. Depends on config you might need two different initramfs images, add/remove radeon kernel module to blacklist and reboot to switch. Another question if fglrx libs won't interfere with radeon driver (it may try to load proprietary OpenGL libs instead of mesa ones). Maybe with custom lib paths magic and handcrafted xorg.conf files.

                      Usually if I wanted to try fglrx, I install driver/kmod, do initramfs/blacklist dance (bl radeon, backup current init img, create new one) reboot an test.
                      When i'm done, I uninstall catalyst and its kmod, remove radeon from blacklist then restore initarmfs image, reboot.

                      Also I always use driver rpms from RPMFusion (my distro is Fedora). Driver pack from AMD site overwrite xorg and mesa libs.

                      Comment

                      Working...
                      X