Announcement

Collapse
No announcement yet.

Installing latest Open Source ATI drivers under Ubuntu 8.04

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

  • hobbes
    replied
    Originally posted by agd5f View Post
    "GARTSize" refers to the amount of system memory in MB that the driver reserves for use by the GPU. This space is used for the ring buffer and vertex/indirect buffers and in some cases, textures. GART stands for Graphics Address Remapping Table. Disparate pages in system memory are made to look contiguous to the GPU via the remapper (either on the GPU in the case of PCI or PCIE, or on the northbridge in the case of AGP). It's sort of like an IOMMU for the GPU.

    The default size is 8 MB and the max size is 32 MB.

    Since you are X.org developer. What is the appropriate GARTSize to an AGP X1600pro?

    Right now I'm using 256.

    I based my xorg.conf on some posts here at phoronix.

    http://pastebin.com/m50d0ecf0

    Am I losing memory for nothing?
    Last edited by hobbes; 07-11-2008, 03:06 AM.

    Leave a comment:


  • agd5f
    replied
    Originally posted by Melcar View Post
    Question: What exactly does the "GARTSize" option do? On both my 9800pro and 200M I need to specify a value for it, otherwise my games seg. fault or I get that "ran out of GART memory" error. What value should be the optimal to set it at? Right now I have it at 32, since setting anything higher seems to do nothing except eat up memory and leave heavy footprints on the swap file.
    "GARTSize" refers to the amount of system memory in MB that the driver reserves for use by the GPU. This space is used for the ring buffer and vertex/indirect buffers and in some cases, textures. GART stands for Graphics Address Remapping Table. Disparate pages in system memory are made to look contiguous to the GPU via the remapper (either on the GPU in the case of PCI or PCIE, or on the northbridge in the case of AGP). It's sort of like an IOMMU for the GPU.

    The default size is 8 MB and the max size is 32 MB.

    Leave a comment:


  • Melcar
    replied
    Question: What exactly does the "GARTSize" option do? On both my 9800pro and 200M I need to specify a value for it, otherwise my games seg. fault or I get that "ran out of GART memory" error. What value should be the optimal to set it at? Right now I have it at 32, since setting anything higher seems to do nothing except eat up memory and leave heavy footprints on the swap file.

    Leave a comment:


  • benitoa
    replied
    Originally posted by benitoa View Post
    Hi here it is:
    "LIBGL_DEBUG=verbose glxinfo
    name of display: :0.0
    libGL: XF86DRIGetClientDriverName: 5.3.0 r200 (screen 0)
    libGL: OpenDriver: trying /usr/lib/dri/r200_dri.so
    libGL error: dlopen /usr/lib/dri/r200_dri.so failed (/usr/lib/dri/r200_dri.so: undefined symbol: _glapi_tls_Context)
    libGL error: unable to load driver: r200_dri.so

    display: :0 screen: 0
    direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
    server glx vendor string: SGI
    server glx version string: 1.2
    server glx extensions:"


    This is my Xorg log too:
    (==) 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 11
    (II) RADEON(0): [drm] Initialized kernel GART heap manager, 5111808
    (WW) RADEON(0): DRI init changed memory map, adjusting ...
    (WW) RADEON(0): MC_FB_LOCATION was: 0xebffe800 is: 0xebffe800
    (WW) RADEON(0): MC_AGP_LOCATION was: 0xffffffc0 is: 0xe07fe000
    (II) RADEON(0): RADEONRestoreMemMapRegisters() :
    (II) RADEON(0): MC_FB_LOCATION : 0xebffe800 0xebffe800
    (II) RADEON(0): MC_AGP_LOCATION : 0xe07fe000
    (II) RADEON(0): Direct rendering enabled
    (II) RADEON(0): Render acceleration enabled
    (II) RADEON(0): Using XFree86 Acceleration Architecture (XAA)
    Screen to screen bit blits
    Solid filled rectangles
    8x8 mono pattern filled rectangles
    Indirect CPU to Screen color expansion
    Solid Lines
    Scanline Image Writes
    Setting up tile and stipple cache:
    32 128x128 slots
    32 256x256 slots
    14 512x512 slots
    (II) RADEON(0): Acceleration enabled
    (II) RADEON(0): DPMS enabled
    (==) RADEON(0): Silken mouse enabled
    (II) RADEON(0): Using hardware cursor 0 (scanline 1202)
    (II) RADEON(0): Using hardware cursor 1 (scanline 1204)
    (II) RADEON(0): Largest offscreen area available: 1408 x 4749
    (II) RADEON(0): No video input capabilities detected and no information is provided - disabling multimedia i2c
    (II) Loading sub module "theatre_detect"
    (II) LoadModule: "theatre_detect"
    (II) Loading /usr/lib/xorg/modules/multimedia//theatre_detect_drv.so
    (II) Module theatre_detect: vendor="X.Org Foundation"
    compiled for 1.4.0.90, module version = 1.0.0
    ABI class: X.Org Video Driver, version 2.0
    (II) RADEON(0): no multimedia table present, disabling Rage Theatre.
    (II) RADEON(0): Set up overlay video
    (II) RADEON(0): Textured video disabled on RV250 due to HW bug
    (II) RADEON(0): RandR 1.2 enabled, ignore the following RandR disabled message.
    (--) RandR disabled
    (II) Initializing built-in extension MIT-SHM
    (II) Initializing built-in extension XInputExtension
    (II) Initializing built-in extension XTEST
    (II) Initializing built-in extension XKEYBOARD
    (II) Initializing built-in extension XC-APPGROUP
    (II) Initializing built-in extension XAccessControlExtension
    (II) Initializing built-in extension SECURITY
    (II) Initializing built-in extension XINERAMA
    (II) Initializing built-in extension XFIXES
    (II) Initializing built-in extension XFree86-Bigfont
    (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) Initializing built-in extension XEVIE
    drmOpenDevice: node name is /dev/dri/card0
    drmOpenDevice: open result is 8, (OK)
    drmOpenByBusid: Searching for BusID pci:0000:01:00.0
    drmOpenDevice: node name is /dev/dri/card0
    drmOpenDevice: open result is 8, (OK)
    drmOpenByBusid: drmOpenMinor returns 8
    drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
    (EE) AIGLX error: dlopen of /usr/lib/dri/r200_dri.so failed (/usr/lib/dri/r200_dri.so: undefined symbol: _glapi_tls_Context)
    (EE) AIGLX: reverting to software rendering
    (II) Loading sub module "GLcore"
    (II) LoadModule: "GLcore"
    (II) Loading /usr/lib/xorg/modules/extensions//libGLcore.so
    (II) Module GLcore: vendor="X.Org Foundation"
    compiled for 1.4.0.90, module version = 1.0.0
    ABI class: X.Org Server Extension, version 0.3
    (II) GLX: Initialized MESA-PROXY GL provider for screen 0
    (II) RADEON(0): Setting screen physical size to 370 x 277
    Atom 4, CARD32 4, unsigned long 4
    [.....]



    [email protected] ~ $ locate libGL.so
    /usr/lib/libGL.so
    /usr/lib/libGL.so.1
    /usr/lib/libGL.so.1.2
    /usr/lib/fglrx/libGL.so.1.2.xlibmesa
    /usr/lib/fglrx/libGL.so.1.xlibmesa

    [email protected] ~ $ ldd /usr/X11R6/bin/glxinfo
    linux-gate.so.1 => (0xb7fdd000)
    libGL.so.1 => /usr/lib/libGL.so.1 (0xb7f52000)
    libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7f2d000)
    libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7ddd000)
    libX11.so.6 => /usr/lib/libX11.so.6 (0xb7cf6000)
    libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7cde000)
    libXext.so.6 => /usr/lib/libXext.so.6 (0xb7cd0000)
    libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7cc5000)
    /lib/ld-linux.so.2 (0xb7fde000)
    libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0xb7cc2000)
    libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb7caa000)
    libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7ca6000)
    libXau.so.6 => /usr/lib/libXau.so.6 (0xb7ca3000)
    libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb7c9e000)

    $ls -al /usr/lib/libGL.*
    [email protected] ~ $ ls -al /usr/lib/libGL*
    lrwxrwxrwx 1 root root 16 2008-06-22 01:33 /usr/lib/libGLEW.so.1.5 -> libGLEW.so.1.5.0
    -rw-r--r-- 1 root root 225068 2008-02-11 17:48 /usr/lib/libGLEW.so.1.5.0
    lrwxrwxrwx 1 root root 10 2008-07-09 23:38 /usr/lib/libGL.so -> libGL.so.1
    lrwxrwxrwx 1 root root 12 2008-07-04 23:44 /usr/lib/libGL.so.1 -> libGL.so.1.2
    -rw-r--r-- 1 root root 478188 2008-06-11 11:51 /usr/lib/libGL.so.1.2
    lrwxrwxrwx 1 root root 20 2008-07-09 23:38 /usr/lib/libGLU.so.1 -> libGLU.so.1.3.070100
    -rw-r--r-- 1 root root 532520 2008-07-04 19:38 /usr/lib/libGLU.so.1.3.070100

    [email protected] ~ $ ls -al /usr/lib/dri/r*
    -rw-r--r-- 1 root root 2132308 2008-07-04 19:38 /usr/lib/dri/r128_dri.so
    -rw-r--r-- 1 root root 2199892 2008-07-04 19:38 /usr/lib/dri/r200_dri.so
    -rw-r--r-- 1 root root 2233268 2008-07-04 19:38 /usr/lib/dri/r300_dri.so
    -rw-r--r-- 1 root root 2167928 2008-07-04 19:38 /usr/lib/dri/radeon_dri.so

    I checked and i don't have installed fglrx.
    I read those 2 threads but it is not gving an answer to me really.
    https://launchpad.net/ubuntu/+source/mesa/+bug/48029
    https://answers.launchpad.net/ubuntu/+question/32636


    Hope this helps.
    Hi i fixed it finally:
    I had to remove this via apt-get remove:
    fglrx-amdcccle-envy fglrx-control-envy xorg-driver-fglrx-dev-envy xorg-driver-fglrx-envy

    I'm on linuxmint and this is installed by default.
    Works well now thanks!

    Leave a comment:


  • groo_pcd
    replied
    Hi tormod, just created a new thread.
    My apologies, i just posted here because i thought it was relevant.

    Best regards.

    Update, new thread:
    Last edited by groo_pcd; 07-10-2008, 05:53 PM.

    Leave a comment:


  • tormod
    replied
    Originally posted by groo_pcd View Post
    Does any kind soul with a 200m is having the same resume to ram (suspend) problem - completely garbled screen after the wakeup?

    If so, could you please reply to this post? We need more users with this model to test the resume to ram in order to find what is the stupid register that's not working.
    Maybe you should post in a separate thread, because this bug is not limited to Ubuntu 8.04 or my packages.

    Leave a comment:


  • groo_pcd
    replied
    I/2 all...

    First post in phoronix, although i'm a regular reader

    I have a evil xpress 1100 (200m), chipset rs485 igp, i installed the latest xorg and ati drivers using the howto from first post. Everything (compiz, 3d, xv) is working as advertised, BUT i have a bug, really weird one.

    When i resume from ram my system comes back BUT entirely garbled, like an old tv with bad signal. It still works, but is unusable. Swtching consoles doesnt work, reiniciating x doesnt work, only a clean reboot does work (hibernate works fine (suspend to disk)).

    I talked with dave airlie and alex deucher about this bug (bug 16537 in bugs.freedesktop.org). Till now, no patch killed the little rat.

    Does any kind soul with a 200m is having the same resume to ram (suspend) problem - completely garbled screen after the wakeup?

    If so, could you please reply to this post? We need more users with this model to test the resume to ram in order to find what is the stupid register that's not working.

    Any help is very welcome

    Thanks in advance.

    Leave a comment:


  • tormod
    replied
    Originally posted by leks View Post
    Yes I have, I'm on Intrepid btw..
    Then we are a little off-topic for this thread. The packages are made and tested for Hardy. In Intrepid, you'll need 2:1.4.99.905-0ubuntu2

    Leave a comment:


  • leks
    replied
    Yes I have, I'm on Intrepid btw..

    Leave a comment:


  • tormod
    replied
    Originally posted by leks View Post
    I have the most recent version of mesa and I still get that error..
    But do you have the latest xserver packages? (xorg-server - 2:1.4.99.905+git20080704+server-1.5-branch.c30f36c8-0ubuntu0tormod3)

    Leave a comment:

Working...
X