Announcement

Collapse
No announcement yet.

Initial R6xx/R7xx 3D Driver

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

  • #41
    Probably you can synchronize tip code and have a try. I just fix memory issue.

    Comment


    • #42
      Originally posted by cooperyuan View Post
      Probably you can synchronize tip code and have a try. I just fix memory issue.
      Still locks-up my HD 3200

      Comment


      • #43
        Originally posted by cooperyuan View Post
        Probably you can synchronize tip code and have a try. I just fix memory issue.
        I get a lockup after a second now. It's SysRq able - some info from kern log
        Code:
        Apr 22 12:36:50 amd kernel: [drm] wait for fifo failed status : 0xA27334AC 0x00000103
        Apr 22 12:37:00 amd last message repeated 96 times
        Apr 22 12:37:00 amd kernel: SysRq : Emergency Sync
        Apr 22 12:37:00 amd kernel: [drm] wait for fifo failed status : 0xA27334AC 0x00000103
        Apr 22 12:37:00 amd kernel: [drm] wait for fifo failed status : 0xA27334AC 0x00000103
        Apr 22 12:37:00 amd kernel: Emergency Sync complete
        Apr 22 12:37:00 amd kernel: [drm] wait for fifo failed status : 0xA27334AC 0x00000103
        Apr 22 12:37:02 amd last message repeated 24 times
        Apr 22 12:37:03 amd kernel: SysRq : Emergency Remount R/O
        Apr 22 12:37:03 amd kernel: [drm] wait for fifo failed status : 0xA27334AC 0x00000103
        Output to terminal
        Code:
         [r600]  Mappings:
                Registers                         cpu 0xa79bb000   size 0x00010000   handle 0xe1000000
                Status                            cpu 0xa79ba000   size 0x00001000   handle 0xc0101000
                GART           gpu 0x00c0000000
                DRM buffers    gpu 0x00c0102000   cpu 0xa5b3a000   size 0x00200000
                GART Textures  gpu 0x00c0302000   cpu 0xa5d3a000   size 0x01c80000   handle 0xc0302000
                Framebuffer    gpu 0x00d0000000   cpu 0xa79cb000   size 0x10000000
                Front Target   gpu 0x00d0000000   cpu 0xa79cb000   size 0x00640000   pitch 0x0500
                Back  Target   gpu 0x00d0648000   cpu 0xa8013000   size 0x00640000   pitch 0x0500
                Depth Target   gpu 0x00d0c88000   cpu 0xa8653000   size 0x00640000   pitch 0x0500
        
        [r600] r600MakeCurrent   (r600_context.c:413)
        [r600]    Context 0x8058560 Draw 0x8329cf0 Read 0x8329cf0
        [r600] r600MemAlloc   (r600_mem.c:289)   allocated 1 at age 0
        [r600] r600MemFree   (r600_mem.c:328)   freed 1 at age 0
        [r600] r600CopyBuffer   (r600_screen.c:479)
        [r600]    ClipRect 4:21-304:321
        [r600] r600CopyBuffer   (r600_screen.c:479)
        [r600]    ClipRect 4:21-304:321
        [r600] r600CopyBuffer   (r600_screen.c:479)
        [r600]    ClipRect 4:21-304:321
        [r600] r600CopyBuffer   (r600_screen.c:479)
        [r600]    ClipRect 4:21-304:321
        [r600] r600CopyBuffer   (r600_screen.c:479)
        [r600]    ClipRect 4:21-304:321
        [r600] r600CopyBuffer   (r600_screen.c:479)
        [r600]    ClipRect 4:21-304:321
        [r600] r600CopyBuffer   (r600_screen.c:479)
        [r600]    ClipRect 4:21-304:321
        [r600] r600CopyBuffer   (r600_screen.c:479)
        [r600]    ClipRect 4:21-304:321
        [r600] r600CopyBuffer   (r600_screen.c:479)
        [r600]    ClipRect 4:21-304:321
        [r600] r600MemAlloc   (r600_mem.c:289)   allocated 1 at age 0
        [r600] r600MemFree   (r600_mem.c:328)   freed 1 at age 0
        [r600] r600CopyBuffer   (r600_screen.c:479)
        [r600]    ClipRect 4:21-304:321
        [r600] r600CopyBuffer   (r600_screen.c:479)
        [r600]    ClipRect 4:21-304:321
        [r600] r600CopyBuffer   (r600_screen.c:479)
        [r600]    ClipRect 4:21-304:321
        [r600] r600CopyBuffer   (r600_screen.c:479)
        [r600]    ClipRect 4:21-304:321
        [r600] r600CopyBuffer   (r600_screen.c:479)
        [r600]    ClipRect 4:21-304:321
        [r600] r600CopyBuffer   (r600_screen.c:479)
        [r600]    ClipRect 4:21-304:321
        [r600] r600CopyBuffer   (r600_screen.c:479)
        [r600]    ClipRect 4:21-304:321
        [r600] r600CopyBuffer   (r600_screen.c:479)
        [r600]    ClipRect 4:21-304:321
        [r600] r600CopyBuffer   (r600_screen.c:479)
        [r600]    ClipRect 4:21-304:321

        Comment


        • #44
          Originally posted by legume View Post
          I get a lockup after a second now.
          Nice to know that I'm now not the only one getting lock-ups with this new R6xx/R7xx 3D Driver

          Originally posted by legume View Post
          Code:
          Apr 22 12:36:50 amd kernel: [drm] wait for fifo failed status : 0xA27334AC 0x00000103
          Yep, is almost identical to what I get:
          Code:
          [drm] wait for fifo failed status : 0xA02034AC 0x00000003

          Comment


          • #45
            Giving r600-r700 3D code a shot... without luck.

            Hi guys, I got a Radeon HD3200 (rs780) and I'm giving the new 3D code a try. I understand it's experimental, a git branch, an unstable equilibrium and so on, but still, I'd like to get it to work.
            So I compiled and installed the very latest DRM and Mesa stuff from the appropriate branches (r6xx-r7xx-3d for DRM and r6xx-r7xx-support for Mesa). The DRM and Radeon kernel modules build and insert correctly; in /usr/lib64/dri I get the following files:
            Code:
            r200_dri.so  r300_dri.so  r600_dri.so  radeon_dri.so swrast_dri.so
            When I start X though (with AIGLX disabled, is that right?), the DRI/DRM stuff seems to work until I get the following:
            Code:
            (II) AIGLX: Loaded and initialized /usr/lib64/dri/swrast_dri.so
            (II) GLX: Initialized DRISWRAST GL provider for screen 0
            so it's using software rendering and r600_dri.so is not used. Also, why do I get a message from AIGLX, since it's disabled?
            I took a look at the autogen command for Mesa and noticed the following:
            Code:
            --with-dri-drivers=swrast,radeon,r600
            so I thought maybe the order had a meaning, but it doesn't, and even if I only build the r600 driver (like --with-dri-drivers=r600), X still looks for the swrast_dri.so library and complains that it can't be found. Should I somehow tell X which DRI driver to use (r600, in this case, I guess)?
            Finally, I'm using xf86-video-ati 6.12.2, and, as stated above, today's git for DRM and Mesa.
            Any further info needed, just ask, and thanks in advance!

            Comment


            • #46
              Originally posted by xenon View Post
              Hi guys, I got a Radeon HD3200 (rs780) and I'm giving the new 3D code a try. I understand it's experimental, a git branch, an unstable equilibrium and so on, but still, I'd like to get it to work.
              So I compiled and installed the very latest DRM and Mesa stuff from the appropriate branches (r6xx-r7xx-3d for DRM and r6xx-r7xx-support for Mesa). The DRM and Radeon kernel modules build and insert correctly; in /usr/lib64/dri I get the following files:
              Code:
              r200_dri.so  r300_dri.so  r600_dri.so  radeon_dri.so swrast_dri.so
              When I start X though (with AIGLX disabled, is that right?), the DRI/DRM stuff seems to work until I get the following:
              Code:
              (II) AIGLX: Loaded and initialized /usr/lib64/dri/swrast_dri.so
              (II) GLX: Initialized DRISWRAST GL provider for screen 0
              so it's using software rendering and r600_dri.so is not used. Also, why do I get a message from AIGLX, since it's disabled?
              I took a look at the autogen command for Mesa and noticed the following:
              Code:
              --with-dri-drivers=swrast,radeon,r600
              so I thought maybe the order had a meaning, but it doesn't, and even if I only build the r600 driver (like --with-dri-drivers=r600), X still looks for the swrast_dri.so library and complains that it can't be found. Should I somehow tell X which DRI driver to use (r600, in this case, I guess)?
              Finally, I'm using xf86-video-ati 6.12.2, and, as stated above, today's git for DRM and Mesa.
              Any further info needed, just ask, and thanks in advance!
              Two short comments: I heard it's AIGLX is very much integrated into stuff X server does so it's untrivial to completely disable. Considering the X log, what are the previous two lines?

              Comment


              • #47
                Originally posted by xenon View Post
                Finally, I'm using xf86-video-ati 6.12.2, and, as stated above, today's git for DRM and Mesa.
                Any further info needed, just ask, and thanks in advance!
                I think you also need a newer version of the xf86-video-ati driver to provide the correct name of the mesa dri driver. Try installing from git.

                Comment


                • #48
                  Thanks guys.

                  @monraaf: I didn't know that, I just tried and saw no noticeable difference. Is there a specific branch? I used master.

                  @nanonyme: I do not necessarily want to completely disable AIGLX, but I was wondering whether that line meant some kind of conflict or race condition or similar was happening. Here's a bigger chunk of Xorg.0.log, trivial parts removed:
                  Code:
                  X.Org X Server 1.6.0
                  Release Date: 2009-2-25
                  X Protocol Version 11, Revision 0
                  Build Operating System: Linux 2.6.28-gentoo-r1 x86_64
                  Current Operating System: Linux arcadia 2.6.29-gentoo-r1 #2 SMP Sat Apr 11 21:07:16 CEST 2009 x86_64
                  Build Date: 24 March 2009  10:03:56PM
                  
                          Before reporting problems, check http://wiki.x.org
                          to make sure that you have the latest version.
                  Markers: (--) probed, (**) from config file, (==) default setting,
                          (++) from command line, (!!) notice, (II) informational,
                          (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
                  (==) Log file: "/var/log/Xorg.0.log", Time: Thu Apr 23 14:31:09 2009
                  (==) Using config file: "/etc/X11/xorg.conf"
                  (==) ServerLayout "X.org Configured"
                  (**) |-->Screen "Screen0" (0)
                  (**) |   |-->Monitor "Monitor0"
                  (**) |   |-->Device "Card0"
                  (**) |-->Input Device "Mouse0"
                  (**) |-->Input Device "Keyboard0"
                  (**) Option "AIGLX" "Off"
                  (==) Automatically adding devices
                  (==) Automatically enabling devices
                  (**) FontPath set to:
                          /usr/share/fonts/misc/,
                          /usr/share/fonts/TTF/,
                          /usr/share/fonts/OTF,
                          /usr/share/fonts/100dpi/,
                          /usr/share/fonts/75dpi/,
                          built-ins
                  (**) ModulePath set to "/usr/lib64/xorg/modules"
                  (II) Loader magic: 0xd20
                  (II) Module ABI versions:
                          X.Org ANSI C Emulation: 0.4
                          X.Org Video Driver: 5.0
                          X.Org XInput driver : 4.0
                          X.Org Server Extension : 2.0
                  (II) Loader running on linux
                  (++) using VT number 8
                  
                  (--) PCI:*(0@1:5:0) ATI Technologies Inc Radeon HD 3200 Graphics rev 0, Mem @ 0xd8000000/134217728, 0xfdfe0000/65536, 0xfde00000/1048576, I/O @ 0x0000ee00/256
                  (II) Open ACPI successful (/var/run/acpid.socket)
                  (II) System resource ranges:
                          [0] -1  0       0xffffffff - 0xffffffff (0x1) MX[B]
                  [...]
                          [29] -1 0       0x00000000 - 0x00000000 (0x1) IX[B]
                  (II) "extmod" will be loaded. This was enabled by default and also specified in the config file.
                  (II) "dbe" will be loaded. This was enabled by default and also specified in the config file.
                  (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
                  (II) "record" will be loaded. This was enabled by default and also specified in the config file.
                  (II) "dri" will be loaded. This was enabled by default and also specified in the config file.
                  (II) "dri2" will be loaded by default.
                  (II) LoadModule: "dbe"
                  (II) Loading /usr/lib64/xorg/modules/extensions//libdbe.so
                  (II) Module dbe: vendor="X.Org Foundation"
                          compiled for 1.6.0, module version = 1.0.0
                          Module class: X.Org Server Extension
                          ABI class: X.Org Server Extension, version 2.0
                  (II) Loading extension DOUBLE-BUFFER
                  (II) LoadModule: "record"
                  (II) Loading /usr/lib64/xorg/modules/extensions//librecord.so
                  (II) Module record: vendor="X.Org Foundation"
                          compiled for 1.6.0, module version = 1.13.0
                          Module class: X.Org Server Extension
                          ABI class: X.Org Server Extension, version 2.0
                  (II) Loading extension RECORD
                  (II) LoadModule: "dri"
                  (II) Loading /usr/lib64/xorg/modules/extensions//libdri.so
                  (II) Module dri: vendor="X.Org Foundation"
                          compiled for 1.6.0, module version = 1.0.0
                          ABI class: X.Org Server Extension, version 2.0
                  (II) Loading extension XFree86-DRI
                  (II) LoadModule: "glx"
                  (II) Loading /usr/lib64/xorg/modules/extensions//libglx.so
                  (II) Module glx: vendor="X.Org Foundation"
                          compiled for 1.6.0, module version = 1.0.0
                          ABI class: X.Org Server Extension, version 2.0
                  (**) AIGLX disabled
                  (II) Loading extension GLX
                  (II) LoadModule: "extmod"
                  (II) Loading /usr/lib64/xorg/modules/extensions//libextmod.so
                  (II) Module extmod: vendor="X.Org Foundation"
                          compiled for 1.6.0, module version = 1.0.0
                          Module class: X.Org Server Extension
                          ABI class: X.Org Server Extension, version 2.0
                  (II) Loading extension MIT-SCREEN-SAVER
                  (II) Loading extension XFree86-VidModeExtension
                  (II) Loading extension XFree86-DGA
                  (II) Loading extension DPMS
                  (II) Loading extension XVideo
                  (II) Loading extension XVideo-MotionCompensation
                  (II) Loading extension X-Resource
                  (II) LoadModule: "type1"
                  (WW) Warning, couldn't open module type1
                  (II) UnloadModule: "type1"
                  (EE) Failed to load module "type1" (module does not exist, 0)
                  (II) LoadModule: "freetype"
                  (WW) Warning, couldn't open module freetype
                  (II) UnloadModule: "freetype"
                  (EE) Failed to load module "freetype" (module does not exist, 0)
                  (II) LoadModule: "dri2"
                  (II) Loading /usr/lib64/xorg/modules/extensions//libdri2.so
                  (II) Module dri2: vendor="X.Org Foundation"
                          compiled for 1.6.0, module version = 1.0.0
                          ABI class: X.Org Server Extension, version 2.0
                  (II) Loading extension DRI2
                  (II) LoadModule: "radeon"
                  (II) Loading /usr/lib64/xorg/modules/drivers//radeon_drv.so
                  (II) Module radeon: vendor="X.Org Foundation"
                          compiled for 1.6.0, module version = 6.12.2
                          Module class: X.Org Video Driver
                          ABI class: X.Org Video Driver, version 5.0
                  (II) LoadModule: "evdev"
                  (II) Loading /usr/lib64/xorg/modules/input//evdev_drv.so
                  (II) Module evdev: vendor="X.Org Foundation"
                          compiled for 1.6.0, module version = 2.2.1
                          Module class: X.Org XInput Driver
                          ABI class: X.Org XInput driver, version 4.0
                  (II) RADEON: Driver for ATI Radeon chipsets:
                          ATI Radeon Mobility X600 (M24) 3150 (PCIE), ATI FireMV 2400 (PCI),
                          ATI Radeon Mobility X300 (M24) 3152 (PCIE),
                          ATI FireGL M24 GL 3154 (PCIE), ATI Radeon X600 (RV380) 3E50 (PCIE),
                  [...]
                          ATI Radeon HD 3200 Graphics, ATI Radeon 3000 Graphics,
                          ATI Radeon HD Graphics, ATI Radeon Graphics,
                          ATI Mobility Radeon HD Graphics, ATI Mobility Radeon Graphics,
                          ATI Radeon Graphics
                  (II) Primary Device is: PCI 01@00:05:0
                  (II) resource ranges after xf86ClaimFixedResources() call:
                          [0] -1  0       0xffffffff - 0xffffffff (0x1) MX[B]
                  [...]
                          [34] 0  0       0x000003c0 - 0x000003df (0x20) IS[B]
                  (II) Setting vga for screen 0.
                  (II) RADEON(0): TOTO SAYS 00000000fdfe0000
                  (II) RADEON(0): MMIO registers at 0x00000000fdfe0000: size 64KB
                  (II) RADEON(0): PCI bus 1 card 5 func 0
                  (**) RADEON(0): Depth 24, (--) framebuffer bpp 32
                  (II) RADEON(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
                  (==) RADEON(0): Default visual is TrueColor
                  (**) RADEON(0): Option "EnablePageFlip" "1"
                  (**) RADEON(0): Option "AccelDFS" "1"
                  (**) RADEON(0): Option "ColorTiling" "1"
                  (**) RADEON(0): Option "RenderAccel" "1"
                  (**) RADEON(0): Option "AccelMethod" "exa"
                  (**) RADEON(0): Option "DRI" "on"
                  (II) Loading sub module "vgahw"
                  (II) LoadModule: "vgahw"
                  (II) Loading /usr/lib64/xorg/modules//libvgahw.so
                  (II) Module vgahw: vendor="X.Org Foundation"
                          compiled for 1.6.0, module version = 0.1.0
                          ABI class: X.Org Video Driver, version 5.0
                  (II) RADEON(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000
                  (==) RADEON(0): RGB weight 888
                  (II) RADEON(0): Using 8 bits per RGB (8 bit DAC)
                  (--) RADEON(0): Chipset: "ATI Radeon HD 3200 Graphics" (ChipID = 0x9610)
                  (--) RADEON(0): Linear framebuffer at 0x00000000d8000000
                  (II) RADEON(0): PCI card detected
                  (II) Loading sub module "int10"
                  (II) LoadModule: "int10"
                  (II) Loading /usr/lib64/xorg/modules//libint10.so
                  (II) Module int10: vendor="X.Org Foundation"
                          compiled for 1.6.0, module version = 1.0.0
                          ABI class: X.Org Video Driver, version 5.0
                  (II) RADEON(0): initializing int10
                  (II) RADEON(0): Primary V_BIOS segment is: 0xc000
                  (II) RADEON(0): ATOM BIOS detected
                  (II) RADEON(0): ATOM BIOS Rom:
                          SubsystemVendorID: 0x1002 SubsystemID: 0x1002
                          IOBaseAddress: 0xee00
                          Filename: MA78M_S2H_DV
                          BIOS Bootup Message:
                  B27722 RS780 DDR2 200e/500m
                  
                  (II) RADEON(0): Framebuffer space used by Firmware (kb): 16
                  (II) RADEON(0): Start of VRAM area used by Firmware: 0x7ffc000
                  (II) RADEON(0): AtomBIOS requests 16kB of VRAM scratch space
                  (II) RADEON(0): AtomBIOS VRAM scratch base: 0x7ffc000
                  (II) RADEON(0): Cannot get VRAM scratch space. Allocating in main memory instead
                  (II) RADEON(0): Default Engine Clock: 600000
                  (II) RADEON(0): Default Memory Clock: 400000
                  (II) RADEON(0): Maximum Pixel ClockPLL Frequency Output: 1200000
                  (II) RADEON(0): Minimum Pixel ClockPLL Frequency Output: 0
                  (II) RADEON(0): Maximum Pixel ClockPLL Frequency Input: 13500
                  (II) RADEON(0): Minimum Pixel ClockPLL Frequency Input: 1000
                  (II) RADEON(0): Maximum Pixel Clock: 400000
                  (II) RADEON(0): Reference Clock: 14320
                  drmOpenDevice: node name is /dev/dri/card0
                  drmOpenDevice: open result is 10, (OK)
                  drmOpenByBusid: Searching for BusID pci:0000:01:05.0
                  drmOpenDevice: node name is /dev/dri/card0
                  drmOpenDevice: open result is 10, (OK)
                  drmOpenByBusid: drmOpenMinor returns 10
                  drmOpenByBusid: drmGetBusid reports pci:0000:01:05.0
                  (II) RADEON(0): [dri] Found DRI library version 1.3.0 and kernel module version 1.29.0
                  (**) RADEON(0): Page Flipping disabled on r5xx and newer chips.
                  
                  (II) RADEON(0): Will try to use DMA for Xv image transfers
                  (II) RADEON(0): Detected total video RAM=131072K, accessible=131072K (PCI BAR=131072K)
                  (--) RADEON(0): Mapped VideoRAM: 131072 kByte (128 bit DDR SDRAM)
                  (II) RADEON(0): Color tiling disabled
                  Continues below.

                  Comment


                  • #49
                    Code:
                    (II) Loading sub module "ddc"
                    (II) LoadModule: "ddc"
                    (II) Module "ddc" already built-in
                    (II) Loading sub module "i2c"
                    (II) LoadModule: "i2c"
                    (II) Module "i2c" already built-in
                    [...]
                    Monitor stuff, looking good
                    [...]
                    after xf86InitialConfiguration
                    (==) RADEON(0): DPI set to (96, 96)
                    (II) Loading sub module "fb"
                    (II) LoadModule: "fb"
                    (II) Loading /usr/lib64/xorg/modules//libfb.so
                    (II) Module fb: vendor="X.Org Foundation"
                            compiled for 1.6.0, module version = 1.0.0
                            ABI class: X.Org ANSI C Emulation, version 0.4
                    (==) RADEON(0): Using gamma correction (1.0, 1.0, 1.0)
                    (II) Loading sub module "ramdac"
                    (II) LoadModule: "ramdac"
                    (II) Module "ramdac" already built-in
                    (==) RADEON(0): Will attempt to use R6xx/R7xx EXA support if DRI is enabled.
                    (II) Loading sub module "exa"
                    (II) LoadModule: "exa"
                    (II) Loading /usr/lib64/xorg/modules//libexa.so
                    (II) Module exa: vendor="X.Org Foundation"
                            compiled for 1.6.0, module version = 2.4.0
                            ABI class: X.Org Video Driver, version 5.0
                    (!!) RADEON(0): For information on using the multimedia capabilities
                            of this adapter, please see http://gatos.sf.net.
                    (!!) RADEON(0): MergedFB support has been removed and replaced with xrandr 1.2 support
                    (--) Depth 24 pixmap format is 32 bpp
                    (II) do I need RAC?  No, I don't.
                    (II) resource ranges after preInit:
                            [0] -1  0       0xffffffff - 0xffffffff (0x1) MX[B]
                    [...]
                            [34] 0  0       0x000003c0 - 0x000003df (0x20) IS[B](OprU)
                    (II) RADEON(0): RADEONScreenInit d8000000 0 0
                    (II) RADEON(0): DIG0 transmitter: Coherent Mode enabled
                    Output DIG0 transmitter setup success
                    Blank CRTC 0 success
                    Disable CRTC 0 success
                    Disable CRTC memreq 0 success
                    Blank CRTC 1 success
                    Disable CRTC 1 success
                    Disable CRTC memreq 1 success
                    (II) RADEON(0): Dynamic Power Management Disabled
                    (==) RADEON(0): Using 24 bit depth buffer
                    (II) RADEON(0): RADEONInitMemoryMap() :
                    (II) RADEON(0):   mem_size         : 0x08000000
                    (II) RADEON(0):   MC_FB_LOCATION   : 0x00c700c0
                    (II) RADEON(0):   MC_AGP_LOCATION  : 0x003f0000
                    (II) RADEON(0): Depth moves disabled by default
                    (II) RADEON(0): Allocating from a screen of 131008 kb
                    (II) RADEON(0): Will use 32 kb for hardware cursor 0 at offset 0x00b7c000
                    (II) RADEON(0): Will use 32 kb for hardware cursor 1 at offset 0x00b80000
                    (II) RADEON(0): Will use 11760 kb for front buffer at offset 0x00000000
                    (II) RADEON(0): Will use 64 kb for PCI GART at offset 0x07ff0000
                    (II) RADEON(0): Will use 11760 kb for back buffer at offset 0x00b84000
                    (II) RADEON(0): Will use 11760 kb for depth buffer at offset 0x01700000
                    (II) RADEON(0): Will use 47616 kb for textures at offset 0x0227c000
                    (II) RADEON(0): Will use 48080 kb for X Server offscreen at offset 0x050fc000
                    drmOpenDevice: node name is /dev/dri/card0
                    drmOpenDevice: open result is 10, (OK)
                    drmOpenDevice: node name is /dev/dri/card0
                    drmOpenDevice: open result is 10, (OK)
                    drmOpenByBusid: Searching for BusID pci:0000:01:05.0
                    drmOpenDevice: node name is /dev/dri/card0
                    drmOpenDevice: open result is 10, (OK)
                    drmOpenByBusid: drmOpenMinor returns 10
                    drmOpenByBusid: drmGetBusid reports pci:0000:01:05.0
                    (II) [drm] DRM interface version 1.3
                    (II) [drm] DRM open master succeeded.
                    (II) RADEON(0): [drm] Using the DRM lock SAREA also for drawables.
                    (II) RADEON(0): [drm] framebuffer handle = 0xd8000000
                    (II) RADEON(0): [drm] added 1 reserved context for kernel
                    (II) RADEON(0): X context handle = 0x1
                    (II) RADEON(0): [drm] installed DRM signal handler
                    (II) RADEON(0): [pci] 32768 kB allocated with handle 0x0062e200
                    (II) RADEON(0): [pci] ring handle = 0x2efff000
                    (II) RADEON(0): [pci] Ring mapped at 0x7fbbc6103000
                    (II) RADEON(0): [pci] Ring contents 0x00000000
                    (II) RADEON(0): [pci] ring read ptr handle = 0x1f000000
                    (II) RADEON(0): [pci] Ring read ptr mapped at 0x7fbbd2b48000
                    (II) RADEON(0): [pci] Ring read ptr contents 0x00000000
                    (II) RADEON(0): [pci] vertex/indirect buffers handle = 0x2f000000
                    (II) RADEON(0): [pci] Vertex/indirect buffers mapped at 0x7fbbc5f03000
                    (II) RADEON(0): [pci] Vertex/indirect buffers contents 0x00000000
                    (II) RADEON(0): [pci] GART texture map handle = 0x2f001000
                    (II) RADEON(0): [pci] GART Texture map mapped at 0x7fbbc4283000
                    (II) RADEON(0): [drm] register handle = 0xfdfe0000
                    (II) RADEON(0): [dri] Visual configs initialized
                    (II) RADEON(0): RADEONRestoreMemMapRegisters() :
                    (II) RADEON(0):   MC_FB_LOCATION   : 0x00c700c0 0x00c700c0
                    (II) RADEON(0):   MC_AGP_LOCATION  : 0x003f0000
                    (==) RADEON(0): Backing store disabled
                    (II) RADEON(0): [DRI] installation complete
                    (II) RADEON(0): [drm] Added 32 65536 byte vertex/indirect buffers
                    (II) RADEON(0): [drm] Mapped 32 vertex/indirect buffers
                    (II) RADEON(0): [drm] dma control initialized, using IRQ 18
                    (II) RADEON(0): [drm] Initialized kernel GART heap manager, 29884416
                    (WW) RADEON(0): DRI init changed memory map, adjusting ...
                    (WW) RADEON(0):   MC_FB_LOCATION  was: 0x00c700c0 is: 0x00c700c0
                    (WW) RADEON(0):   MC_AGP_LOCATION was: 0x003f0000 is: 0x00030000
                    (II) RADEON(0): RADEONRestoreMemMapRegisters() :
                    (II) RADEON(0):   MC_FB_LOCATION   : 0x00c700c0 0x00c700c0
                    (II) RADEON(0):   MC_AGP_LOCATION  : 0x00030000
                    (II) RADEON(0): Direct rendering enabled
                    (II) RADEON(0): Setting EXA maxPitchBytes
                    (II) EXA(0): Offscreen pixmap area of 49233920 bytes
                    (II) EXA(0): Driver registered support for the following operations:
                    (II)         Solid
                    (II)         Copy
                    (II)         Composite (RENDER acceleration)
                    (II)         UploadToScreen
                    (II)         DownloadFromScreen
                    (II) RADEON(0): Acceleration enabled
                    (II) RADEON(0): DPMS enabled
                    (==) RADEON(0): Silken mouse enabled
                    (II) RADEON(0): Set up textured video
                    Output CRT1 disable success
                    (II) RADEON(0): DIG0 transmitter: Coherent Mode enabled
                    Output DIG0 transmitter setup success
                    Blank CRTC 0 success
                    Disable CRTC 0 success
                    Disable CRTC memreq 0 success
                    Blank CRTC 1 success
                    Disable CRTC 1 success
                    Disable CRTC memreq 1 success
                    (II) RADEON(0): DIG0 transmitter: Coherent Mode enabled
                    Output DIG0 transmitter setup success
                    Blank CRTC 0 success
                    Disable CRTC 0 success
                    Disable CRTC memreq 0 success
                    Mode 1680x1050 - 2240 1089 6
                    (II) RADEON(0): RADEONRestoreMemMapRegisters() :
                    (II) RADEON(0):   MC_FB_LOCATION   : 0x00c700c0 0x00c700c0
                    (II) RADEON(0):   MC_AGP_LOCATION  : 0x00030000
                    freq: 146250000
                    best_freq: 146249974
                    best_feedback_div: 786
                    best_frac_feedback_div: 4
                    best_ref_div: 11
                    best_post_div: 7
                    (II) RADEON(0): crtc(0) Clock: mode 146250, PLL 146240
                    (II) RADEON(0): crtc(0) PLL  : refdiv 11, fbdiv 0x312(786), fracfbdiv 4, pdiv 7
                    Set CRTC 0 PLL success
                    Set CRTC Timing success
                    Set CRTC 0 Overscan success
                    Not using RMX
                    scaler 0 setup success
                    Set CRTC 0 Source success
                    crtc 0 YUV disable setup success
                    (II) RADEON(0): DIG0 transmitter: Coherent Mode enabled
                    Output DIG0 transmitter setup success
                    Output DIG2 encoder setup success
                    Output DIG2 encoder setup success
                    (II) RADEON(0): DIG0 transmitter: Coherent Mode enabled
                    Output DIG0 transmitter setup success
                    (II) RADEON(0): DIG0 transmitter: Coherent Mode enabled
                    Output DIG0 transmitter setup success
                    (II) RADEON(0): DIG0 transmitter: Coherent Mode enabled
                    Output DIG0 transmitter setup success
                    Enable CRTC memreq 0 success
                    Enable CRTC 0 success
                    Unblank CRTC 0 success
                    Output CRT1 disable success
                    Blank CRTC 1 success
                    Disable CRTC 1 success
                    Disable CRTC memreq 1 success
                    (II) RADEON(0): RandR 1.2 enabled, ignore the following RandR disabled message.
                    Lock CRTC 0 success
                    Unlock CRTC 0 success
                    (WW) RADEON(0): Option "XAANoOffscreenPixmaps" is not used
                    (WW) RADEON(0): Option "UseFastTLS" is not used
                    (WW) RADEON(0): Option "RandR" is not used
                    (--) RandR disabled
                    (II) Initializing built-in extension Generic Event Extension
                    (II) Initializing built-in extension SHAPE
                    (II) Initializing built-in extension MIT-SHM
                    (II) Initializing built-in extension XInputExtension
                    (II) Initializing built-in extension XTEST
                    (II) Initializing built-in extension BIG-REQUESTS
                    (II) Initializing built-in extension SYNC
                    (II) Initializing built-in extension XKEYBOARD
                    (II) Initializing built-in extension XC-MISC
                    (II) Initializing built-in extension XINERAMA
                    (II) Initializing built-in extension XFIXES
                    (II) Initializing built-in extension RENDER
                    (II) Initializing built-in extension RANDR
                    (II) Initializing built-in extension COMPOSITE
                    (II) Initializing built-in extension DAMAGE
                    (II) AIGLX: Loaded and initialized /usr/lib64/dri/swrast_dri.so
                    (II) GLX: Initialized DRISWRAST GL provider for screen 0
                    (II) RADEON(0): Setting screen physical size to 473 x 296
                    [..]
                    Mouse and Keyboard stuff
                    [..]
                    exaCopyDirty: Pending damage region empty!
                    What's puzzling is that usually xorg (and most applications) try HW acceleration and fallback on software, but here X is heading straight for software rendering.

                    Comment


                    • #50
                      Originally posted by xenon View Post
                      Thanks guys.

                      @monraaf: I didn't know that, I just tried and saw no noticeable difference. Is there a specific branch? I used master.

                      Continues below.
                      Master is ok.

                      Can you do a :
                      Code:
                      strings /usr/lib64/xorg/modules/drivers/radeon_drv.so|grep r600
                      And give the output of glxinfo.

                      Comment

                      Working...
                      X