Announcement

Collapse
No announcement yet.

Installing free drivers on Ubuntu 9.04

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

  • #11
    The "IRQs not enabled" message is expected until we can release code to support interrupts.

    More info on the seg fault would be useful.
    Test signature

    Comment


    • #12
      Originally posted by bridgman View Post
      More info on the seg fault would be useful.

      How can I get you such information? I tried to run the PTS and glmark under gdb, but it did not work.

      Here are the hole output from pts glmark:

      $ phoronix-test-suite run glmark

      ====================================
      Test Configuration: GLMark
      ====================================


      Resolution:
      1: 800 x 600
      2: 1024 x 768
      3: 1280 x 800
      4: 1440 x 900
      5: 1280 x 1024
      6: 1680 x 1050
      7: 1600 x 1200
      8: 1920 x 1080
      9: 1920 x 1200

      Enter Your Choice: 1

      Test:
      1: Vertex Array
      2: Vertex Buffer Object
      3: Texture Filtering - Linear
      4: Texture Filtering - Mipmapped
      5: GLSL Per Vertex Lighting
      6: GLSL Per Pixel Lighting

      Enter Your Choice: 1

      Would you like to save these test results (Y/n)? n

      ====================================
      GLMark (Run 1 of 1)
      ====================================

      IRQ's not enabled, falling back to busy waits: 2 0
      Segmentation fault

      The test exited with a non-zero exit status. Test run failed.

      ##########################################
      GLMark:
      Resolution: 800 x 600 - Test: Vertex Array


      Average: 0.00 Frames Per Second
      ##########################################

      Comment


      • #13
        My computer:

        2xopteron 265
        amd hd3450

        Ubuntu 09.10 pluss updates for graphics

        libdrm2-2.4.14
        xserver-xorg-video-radeonhd-1.2.5
        Linux 2.6.32-020632rc5-generic

        Comment


        • #14
          Originally posted by bridgman View Post
          More info on the seg fault would be useful.
          I can reproduce this with glmark both ums and kms - it runs OK with swrast.

          I can't seem to get much of a useful bt though even though I (think) kernel/mesa is built with debugging.

          The app doesn't have any by default, rebuilding with -g at least shows the line that triggers it.

          Code:
          (gdb) break Shader::load
          Breakpoint 1 at 0x804e23a: file shader.cpp, line 37.
          (gdb) run
          Starting program: /home/andy/Src/glmark/GLMark-0.5.2/glmark 
          [Thread debugging using libthread_db enabled]
          ===================================================
              GLMark 08
          ===================================================
          Enter screen width:  800
          Enter screen height: 600
          Enter screen bpp:    24
          Enter '1' for fullscreen '0' for windowed: 0
          ===================================================
          [New Thread 0xb78f4ac0 (LWP 2350)]
          Mesa: CPU vendor: AuthenticAMD
          Mesa: CPU name: AMD Athlon(tm) 
          Mesa: Mesa 7.7-devel DEBUG build Oct 31 2009 01:29:25
          Mesa warning: software DXTn compression/decompression available
          Mesa: MMX cpu detected.
          Mesa: 3DNow! cpu detected.
          Mesa: SSE cpu detected.
          Mesa: Not testing OS support for SSE, leaving enabled.
          do_wait: drmWaitVBlank returned -1, IRQs don't seem to be working correctly.
          Try adjusting the vblank_mode configuration parameter.
              OpenGL Information
              GL_VENDOR:     Advanced Micro Devices, Inc.
              GL_RENDERER:   Mesa DRI R600 (RV670 9515) 20090101 x86/MMX+/3DNow!+/SSE TCL DRI2
              GL_VERSION:    1.5 Mesa 7.7-devel
          ===================================================
          [Switching to Thread 0xb78f4ac0 (LWP 2350)]
          
          Breakpoint 1, Shader::load (this=0xbfa14798, pVertexShaderFileName=0x804ef98 "data/shaders/light-basic.vert", 
              pFragmentShaderFileName=0x804ef7a "data/shaders/light-basic.frag") at shader.cpp:37
          37              mVertexShader = glCreateShaderObjectARB(GL_VERTEX_SHADER);
          (gdb) stepi
          0x0804e23f      37              mVertexShader = glCreateShaderObjectARB(GL_VERTEX_SHADER);
          (gdb) stepi
          0x0804e246      37              mVertexShader = glCreateShaderObjectARB(GL_VERTEX_SHADER);
          (gdb) stepi
          0x00000000 in ?? ()
          (gdb) stepi
          
          Program received signal SIGSEGV, Segmentation fault.
          0x00000000 in ?? ()
          (gdb) bt
          #0  0x00000000 in ?? ()
          #1  0x0804e248 in Shader::load (this=0xbfa14798, pVertexShaderFileName=0x804ef98 "data/shaders/light-basic.vert", 
              pFragmentShaderFileName=0x804ef7a "data/shaders/light-basic.frag") at shader.cpp:37
          #2  0x0804d1ac in SceneShading::load (this=0xbfa14750) at sceneshading.cpp:19
          #3  0x08049ce5 in main () at main.cpp:36

          Comment

          Working...
          X