Announcement

Collapse
No announcement yet.

[R600] 3d acceleration does not work anymore with mesa git and drm-radeon-testing

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

  • [R600] 3d acceleration does not work anymore with mesa git and drm-radeon-testing

    I finally upgraded my gentoo box on the desktop after some months, but 3d accelleration seems to be broken.
    Kwin desktop effects don't work (kde 4.5.1 with qt-4.7-rc1) and every game is a slideshow (even openarena).

    I use mesa git master, libdrm git master, xf86-video-ati git master, xorg-server-1.9 and linux-2.6.36-rc3+drm-radeon-testing.

    Code:
    niko@gentoo ~ $ glxinfo | grep OpenGL
    OpenGL vendor string: Advanced Micro Devices, Inc.
    OpenGL renderer string: Mesa DRI R600 (RV670 9501) 20090101  TCL DRI2
    OpenGL version string: 2.1 Mesa 7.9-devel
    OpenGL shading language version string: 1.20
    OpenGL extensions:
    Code:
    niko@gentoo ~ $ uname -a
    Linux gentoo 2.6.36-rc3-drm_radeon_testing-20100903 #1 SMP Sat Sep 4 01:40:13 CEST 2010 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ AuthenticAMD GNU/Linux
    Code:
    gentoo ~ # dmesg | grep drm
    [    1.299372] [drm] Initialized drm 1.1.0 20060810
    [    1.299406] [drm] radeon defaulting to kernel modesetting.
    [    1.299429] [drm] radeon kernel modesetting enabled.
    [    1.301925] [drm] initializing kernel modesetting (RV670 0x1002:0x9501).
    [    1.302036] [drm] register mmio base: 0xFD7E0000
    [    1.302059] [drm] register mmio size: 65536
    [    1.304015] [drm] Clocks initialized !
    [    1.304252] [drm] Detected VRAM RAM=512M, BAR=256M
    [    1.304281] [drm] RAM width 256bits DDR
    [    1.304440] [drm] radeon: 512M of VRAM memory ready
    [    1.304463] [drm] radeon: 512M of GTT memory ready.
    [    1.304586] [drm] radeon: irq initialized.
    [    1.304610] [drm] GART: num cpu pages 131072, num gpu pages 131072
    [    1.305928] [drm] Loading RV670 Microcode
    [    1.339075] [drm] ring test succeeded in 1 usecs
    [    1.339214] [drm] radeon: ib pool ready.
    [    1.341166] [drm] ib test succeeded in 0 usecs
    [    1.341189] [drm] Enabling audio support
    [    1.341356] [drm] Default TV standard: PAL
    [    1.341381] [drm] Default TV standard: PAL
    [    1.341425] [drm] Default TV standard: PAL
    [    1.341472] [drm] Radeon Display Connectors
    [    1.341495] [drm] Connector 0:
    [    1.341517] [drm]   DVI-I
    [    1.341539] [drm]   HPD1
    [    1.341562] [drm]   DDC: 0x7e50 0x7e50 0x7e54 0x7e54 0x7e58 0x7e58 0x7e5c 0x7e5c
    [    1.341587] [drm]   Encoders:
    [    1.341610] [drm]     DFP1: INTERNAL_KLDSCP_TMDS1
    [    1.341632] [drm]     CRT2: INTERNAL_KLDSCP_DAC2
    [    1.341655] [drm] Connector 1:
    [    1.341677] [drm]   DIN
    [    1.341699] [drm]   Encoders:
    [    1.341721] [drm]     TV1: INTERNAL_KLDSCP_DAC2
    [    1.341744] [drm] Connector 2:
    [    1.341766] [drm]   DVI-I
    [    1.341787] [drm]   HPD2
    [    1.341810] [drm]   DDC: 0x7e40 0x7e40 0x7e44 0x7e44 0x7e48 0x7e48 0x7e4c 0x7e4c
    [    1.341836] [drm]   Encoders:
    [    1.341858] [drm]     CRT1: INTERNAL_KLDSCP_DAC1
    [    1.341880] [drm]     DFP2: INTERNAL_LVTM1
    [    1.396076] [drm] Internal thermal controller with fan control
    [    1.396127] [drm] radeon: power management initialized
    [    1.480757] [drm] fb mappable at 0xD0141000
    [    1.480780] [drm] vram apper at 0xD0000000
    [    1.480803] [drm] size 16384000
    [    1.480825] [drm] fb depth is 24
    [    1.480848] [drm]    pitch is 10240
    [    1.775794] fb0: radeondrmfb frame buffer device
    [    1.775796] drm: registered panic notifier
    [    1.775859] [drm] Initialized radeon 2.6.0 20080528 for 0000:05:00.0 on minor 0
    /var/log/Xorg.0.log

    I use KMS, which works fine.
    ## VGA ##
    AMD: X1950XTX, HD3870, HD5870
    Intel: GMA45, HD3000 (Core i5 2500K)

  • #2
    I've seen that problem before but can't remember what caused it.

    Can you pls post the entire dmesg output during drm startup - IIRC there are a bunch of messages which do not have the [drm] prefix and some of them may be error messages.
    Test signature

    Comment


    • #3
      might be this bug if you are using drm-radeon-testing:

      Comment


      • #4
        Yes, it is! Booting with radeon.no_wb=1 solved my issue.
        Unfortunately it seems the patch is still not in drm-radeon-testing. I have not tested it so I don't know if it works...

        Also, can you tell me how to enable color tiling using xorg.conf.d instead of the old xorg.conf?
        ## VGA ##
        AMD: X1950XTX, HD3870, HD5870
        Intel: GMA45, HD3000 (Core i5 2500K)

        Comment


        • #5
          Originally posted by darkbasic View Post
          Also, can you tell me how to enable color tiling using xorg.conf.d instead of the old xorg.conf?
          I recall xorg.conf.d allowed snippets of xorg.conf.
          Eg.
          99-radeon-colortiling.conf
          Code:
          Section "Device"
          Identifier "ati"
          Driver "ati"
          Option "ColorTiling" "On"
          EndSection

          Comment


          • #6
            "Files in the /etc/X11/xorg.conf.d directory are parsed in-order before the xorg.conf has been parsed fully with precedence is given to the xorg.conf, then to the last configuration entry where applicable. The X server essentially treats the collection of configuration files as one big file with entries from xorg.conf at the end. Users are encouraged to put custom configuration into /etc/xorg.conf and leave the directory for configuration snippets provided by the distribution. " https://fedoraproject.org/wiki/Input...on#xorg.conf.d
            So you can as well have a xorg.conf with that same contents.

            Comment


            • #7
              With R600 gallium kwin desktop effects and openarena don't work, but neverball works fine.
              Color tiling works fine with R600 classic, but with R600 gallium I experienced MAJOR corruptions in every 3d game I tried.
              ## VGA ##
              AMD: X1950XTX, HD3870, HD5870
              Intel: GMA45, HD3000 (Core i5 2500K)

              Comment


              • #8
                I think glisse mentioned recently that colour tiling support had not yet been implemented in R600g, ie that the driver operates as if tiling was not enabled (which makes for some interesting results).
                Test signature

                Comment


                • #9
                  Yeah. If you want to test r600g, might as well keep colortiling off altogether since the only way I've found to switch it off has been to restart X server and it makes switching between r600 and r600g rather cumbersome.

                  Comment


                  • #10
                    Originally posted by bridgman View Post
                    I think glisse mentioned recently that colour tiling support had not yet been implemented in R600g, ie that the driver operates as if tiling was not enabled (which makes for some interesting results).
                    With Penumbra Overture and R600c + color tiling I noticed the same kind of corruption I saw with R600g and color tiling.
                    Without color tiling there isn't any kind of corruption.
                    Should I file a bug or it's still an experimental feature?
                    ## VGA ##
                    AMD: X1950XTX, HD3870, HD5870
                    Intel: GMA45, HD3000 (Core i5 2500K)

                    Comment

                    Working...
                    X