ATI Proprietary Linux Driver 8.12.10 released (4/7/2005) - Discussion

Discussion in 'AMD Graphics Cards' started by EcPercy, Apr 7, 2005.

  1. EcPercy

    EcPercy Well-Known Member

    Joined:
    Jul 1, 2002
    Messages:
    1,534
    Likes Received:
    16
    Trophy Points:
    48
  2. RIV@NVX

    RIV@NVX Freedom is a feature.

    Joined:
    Jul 10, 2002
    Messages:
    4,476
    Likes Received:
    2
    Trophy Points:
    0
    :drool:
    Can't wait to try them...
     
  3. mtippett

    mtippett ATI Staff

    Joined:
    Jan 30, 2005
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    0
    A couple of quick points...

    We have some patches against 2.6.11 that will be released shortly. The ones available for 8.10 should work without too much issue. The decision was made that the patch was available too late in our release preparations for me to be comfortable with applying it.

    To the mods, can we close this thread and open up a new one with a Poll as standard behaviour?
     
  4. EcPercy

    EcPercy Well-Known Member

    Joined:
    Jul 1, 2002
    Messages:
    1,534
    Likes Received:
    16
    Trophy Points:
    48
    I hope the patches come soon because I am not able to make the AGP module. I receive the following:

    Code:
    [root@localhost build_mod]# sh make.sh
    ATI module generator V 2.0
    ==========================
    initializing...
    cleaning...
    patching 'highmem.h'...
    assuming new VMA API since we do have kernel 2.6.x...
    doing Makefile based build for kernel 2.6.x and higher
    make -C /lib/modules/2.6.11-6mdk/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
    make[1]: Entering directory `/usr/src/linux-2.6.11-6mdk'
      CC [M]  /lib/modules/fglrx/build_mod/2.6.x/agp3.o
      CC [M]  /lib/modules/fglrx/build_mod/2.6.x/nvidia-agp.o
      CC [M]  /lib/modules/fglrx/build_mod/2.6.x/agpgart_be.o
    /lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c: In function `agp_find_supported_device':
    /lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:6526: warning: unused variable `cap_ptr'
    /lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c: In function `__fgl_agp_init':
    /lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7611: warning: `pm_register' is deprecated (declared at include/linux/pm.h:106)
    /lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c: In function `__fgl_agp_cleanup':
    /lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7621: warning: `pm_unregister_all' is deprecated (declared at include/linux/pm.h:116)
    /lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c: At top level:
    /lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:6507: warning: 'agp_check_supported_device' defined but not used
      CC [M]  /lib/modules/fglrx/build_mod/2.6.x/i7505-agp.o
      CC [M]  /lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `firegl_stub_putminor':
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:508: warning: `inter_module_put' is deprecated (declared at include/linux/module.h:578)
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:510: warning: `inter_module_unregister' is deprecated (declared at include/linux/module.h:574)
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `firegl_stub_register':
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:530: warning: `inter_module_register' is deprecated (declared at include/linux/module.h:573)
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:561: warning: `inter_module_put' is deprecated (declared at include/linux/module.h:578)
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `__ke_get_vm_phys_addr':
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1672: error: request for member `pgd' in something not a structure or union
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `do_vm_shm_nopage':
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2202: error: request for member `pgd' in something not a structure or union
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `__ke_vm_phys_addr_str':
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2572: error: request for member `pgd' in something not a structure or union
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: At top level:
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2660: warning: initialization from incompatible pointer type
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `__ke_vm_map':
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2721: warning: implicit declaration of function `remap_page_range'
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: At top level:
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2875: error: syntax error before '*' token
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2875: warning: type defaults to `int' in declaration of `drm_agp_module_stub'
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2875: warning: data definition has no type or storage class
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `__ke_agpgart_available':
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3017: error: `drm_agp_t' undeclared (first use in this function)
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3017: error: (Each undeclared identifier is reported only once
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3017: error: for each function it appears in.)
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3017: error: syntax error before ')' token
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3038: error: request for member `free_memory' in something not a structure or union
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3040: error: request for member `free_memory' in something not a structure or union
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3043: error: request for member `allocate_memory' in something not a structure or union
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3045: error: request for member `allocate_memory' in something not a structure or union
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3048: error: request for member `bind_memory' in something not a structure or union
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3050: error: request for member `bind_memory' in something not a structure or union
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3053: error: request for member `unbind_memory' in something not a structure or union
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3055: error: request for member `unbind_memory' in something not a structure or union
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3058: error: request for member `enable' in something not a structure or union
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3060: error: request for member `enable' in something not a structure or union
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3063: error: request for member `acquire' in something not a structure or union
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3065: error: request for member `acquire' in something not a structure or union
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3068: error: request for member `release' in something not a structure or union
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3070: error: request for member `release' in something not a structure or union
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3073: error: request for member `copy_info' in something not a structure or union
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3075: error: request for member `copy_info' in something not a structure or union
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `__ke_agp_uninit':
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3157: warning: `inter_module_put' is deprecated (declared at include/linux/module.h:578)
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `__ke_agp_free_memory':
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3190: error: request for member `free_memory' in something not a structure or union
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3191: error: request for member `free_memory' in something not a structure or union
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `__ke_agp_allocate_memory':
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3200: error: request for member `allocate_memory' in something not a structure or union
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3201: error: request for member `allocate_memory' in something not a structure or union
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `__ke_agp_bind_memory':
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3211: error: request for member `bind_memory' in something not a structure or union
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3212: error: request for member `bind_memory' in something not a structure or union
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `__ke_agp_unbind_memory':
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3222: error: request for member `unbind_memory' in something not a structure or union
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3223: error: request for member `unbind_memory' in something not a structure or union
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `__ke_agp_enable':
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3233: error: request for member `enable' in something not a structure or union
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3235: error: request for member `enable' in something not a structure or union
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `__ke_agp_acquire':
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3281: error: request for member `acquire' in something not a structure or union
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3282: error: request for member `acquire' in something not a structure or union
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `__ke_agp_release':
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3292: error: request for member `release' in something not a structure or union
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3293: error: request for member `release' in something not a structure or union
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `__ke_agp_copy_info':
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3306: error: request for member `copy_info' in something not a structure or union
    /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3313: error: request for member `copy_info' in something not a structure or union
    make[2]: *** [/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o] Error 1
    make[1]: *** [_module_/lib/modules/fglrx/build_mod/2.6.x] Error 2
    make[1]: Leaving directory `/usr/src/linux-2.6.11-6mdk'
    make: *** [kmod_build] Error 2
    build failed with return value 2
     
  5. Exxtreme

    Exxtreme New Member

    Joined:
    Nov 3, 2002
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    0
  6. EcPercy

    EcPercy Well-Known Member

    Joined:
    Jul 1, 2002
    Messages:
    1,534
    Likes Received:
    16
    Trophy Points:
    48
    Awesome dude! Thanks!!! I was able to apply the patches and build the module. I now have the following:

    Code:
    fglrxinfo
    display: :0.0  screen: 0
    OpenGL vendor string: ATI Technologies Inc.
    OpenGL renderer string: RADEON 9800 Pro Generic
    OpenGL version string: 1.3.5010 (X4.3.0-8.12.10)
     
  7. RIV@NVX

    RIV@NVX Freedom is a feature.

    Joined:
    Jul 10, 2002
    Messages:
    4,476
    Likes Received:
    2
    Trophy Points:
    0
    Mesa still keeps stealing 3D for me. Actually, FC3 is pretty much the only distro where I got ATI drivers to work nicely; in any other distro (if I am lucky enough at all to get fglrx to steal 3D) after restart it goes back to mesa.
    For example (k)ubuntu says this:
    Code:
    Xlib:  extension "XFree86-DRI" missing on display ":0.0".
    display: :0.0  screen: 0
    OpenGL vendor string: Mesa project: www.mesa3d.org
    OpenGL renderer string: Mesa GLX Indirect
    OpenGL version string: 1.2 (1.5 Mesa 6.2.1)
    Any suggestions?
     
  8. EcPercy

    EcPercy Well-Known Member

    Joined:
    Jul 1, 2002
    Messages:
    1,534
    Likes Received:
    16
    Trophy Points:
    48
    I had the same problem until I was able to get the agp module to build. If your kernel is 2.6.10 or higher the agp module doesn't build with the install. Here is what you can try:

    1. Install the fglrx package with the following command:
    Code:
    (From current working directory)
    #rpm -Uvh --force fglrx*
    2. Download the patch files that exxtreme mentioned:
    Code:
    [url="http://www.hot.ee/amurde/p1.patch"]http://www.hot.ee/amurde/p1.patch[/url]
    [url="http://www.hot.ee/amurde/p2.patch"]http://www.hot.ee/amurde/p2.patch[/url]
    
    3. Copy the patch files to: /lib/modules/fglrx/build_mod
    Code:
     (Copying from current directory to the destination)
    #cp p1.patch /lib/modules/fglrx/build_mod/p1.patch
    #cp p2.patch /lib/modules/fglrx/build_mod/p2.patch
    
    4. Merge the patches:
    Code:
    #cd /lib/modules/fglrx/build_mod
    #patch -p0 < p1.patch
    #patch -p0 < p2.patch
    
    5. Build the agp module:
    Code:
    #sh make.sh
    
    6. Move to the fglrx directory and chmod the install file:
    Code:
    #cd .. (will place you in /lib/modules/fglrx)
    #chmod 777 make_install.sh
    #./make_install.sh
    
    8. If you did not already configure the driver then run the following:
    Code:
    #fglrxconfig
    
    7. If you did not get any errors in the install process then you should be able to restart X or just reboot the computer and once it is back up. You should be able to run fglrxinfo and get the following:
    Code:
    #fglrxinfo
    display: :0.0  screen: 0
    OpenGL vendor string: ATI Technologies Inc.
    OpenGL renderer string: RADEON 9800 Pro Generic
    OpenGL version string: 1.3.5010 (X4.3.0-8.12.10)
    
    ***NOTE*** I installed these drivers on Mandrake (Mandriva Now) 10.2 Limited Edition RC2. My kernel version is 2.6.11-6
     
    Last edited: Apr 10, 2005
  9. RIV@NVX

    RIV@NVX Freedom is a feature.

    Joined:
    Jul 10, 2002
    Messages:
    4,476
    Likes Received:
    2
    Trophy Points:
    0
    I will try that. If that succeds on Ubuntu (althrough I will need to use dpkg instead of rpm :)), do you allow me to add this to fglrx FAQ (with proper credits, of course)?
     
  10. EcPercy

    EcPercy Well-Known Member

    Joined:
    Jul 1, 2002
    Messages:
    1,534
    Likes Received:
    16
    Trophy Points:
    48
    Well, you can use the fix and add it to a faq if you like, but I can't guarantee that it will work on a debian release. Mandriva and Fedora are redhat based. Ubuntu may place fglrx in a different directory. You may have to figure out where the files get put and then the fix should still work. I am going to install Ubuntu on another computer I have here tonight (it has an ATI card) and see if I can get the module to build.
     
    Last edited: Apr 11, 2005
  11. x0ph3r

    x0ph3r New Member

    Joined:
    Dec 22, 2002
    Messages:
    47
    Likes Received:
    0
    Trophy Points:
    0
    converting the rpm -> deb with alien and then installing it with dpkg works fine for me.

    This driver was a major improvement over the last one for me; UT2004 now works flawlessly to say atleast :) no more of that annoying stuttering. Keep up the good work, there is still much to be done :) Thank you.
     
  12. RIV@NVX

    RIV@NVX Freedom is a feature.

    Joined:
    Jul 10, 2002
    Messages:
    4,476
    Likes Received:
    2
    Trophy Points:
    0
    That part works for me as well, but it doesn't instantly give me 3D; I needed to build AGP module in order to get 3D to work nicely. And I think it works even without using those two patches; at least it did on Kubuntu on a secondary computer where I tried just doing:
    Code:
    sudo sh make.sh
    and after that
    Code:
    sudo sh make_install.sh
    3D simply worked. Kubuntu afaik uses 2.6.10 kernel, so that's quite strange to me.

    One more thing: Has anyone tried compositing with this driver (xcompmgr)?
     
  13. EcPercy

    EcPercy Well-Known Member

    Joined:
    Jul 1, 2002
    Messages:
    1,534
    Likes Received:
    16
    Trophy Points:
    48
    I am glad to hear that you got it working. :D UT2004 is working very well! It's time to start emailing game companies and letting them know that they need to start considering us as well.

    I am not really sure why the newer games are not ported to linux. I mean most of them are ported to MAC so half of the work is done considering OSX is BSD based.

    I will be willing to buy both the windows and linux version of a game if they were made just to show my support. (UT2k4 has both versions on the install DVD)
     
  14. RIV@NVX

    RIV@NVX Freedom is a feature.

    Joined:
    Jul 10, 2002
    Messages:
    4,476
    Likes Received:
    2
    Trophy Points:
    0
    Sounds cool! I got UT2004 recently, but I haven't got time to try it yet. I might give it a shot during the week if I find time. Is performance in Linux acceptable compared to Windows version?
     
  15. ZenmasteR

    ZenmasteR New Member

    Joined:
    Sep 4, 2002
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    0

    which rpm package did you use? xorg or xfree 4.x ??
    also if i already have dkms ati drivers installed where do i find updates
     
  16. ZenmasteR

    ZenmasteR New Member

    Joined:
    Sep 4, 2002
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    0
    ok i got them to work using those above instructions thanks EcPercy
     
  17. hasan_as_sabah

    hasan_as_sabah New Member

    Joined:
    May 8, 2005
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Still doesn't work

    I have upgraded my Xorg to 6.82 and installed the official ATI diver. The kernel module was compiled without any problems. I made a new xorg.conf file with fglrxconfig, and all seemed to be right, but 3D acceleration still doesn't work properly. glxgears shows only 180-300 FPS, Tux Racer and Chromium show 2-3 FPS.
    fglrxinfo says:
    Code:
    display: :0.0  screen: 0
    OpenGL vendor string: Mesa project: www.mesa3d.org
    OpenGL renderer string: Mesa GLX Indirect
    OpenGL version string: 1.2 (1.5 Mesa 6.2.1)
    
    Here is my Xorg.0.log.
    It must be something wrong in this place:
    Code:
    (II) fglrx(0): doing DRIScreenInit 
    drmOpenDevice: minor is 0 
    drmOpenDevice: node name is /dev/dri/card0 
    drmOpenDevice: open result is 6, (OK) 
    drmOpenDevice: minor is 0 
    drmOpenDevice: node name is /dev/dri/card0 
    drmOpenDevice: open result is 6, (OK) 
    drmOpenDevice: minor is 0 
    drmOpenDevice: node name is /dev/dri/card0 
    drmOpenDevice: open result is 6, (OK) 
    drmGetBusid returned '' 
    
    modprobe fglrx and modprobe agp-gart don't show any errors.
    What shall I do in this case? :confused:
    My kernel version is 2.6.8.1, OS - Mandrake 10.1, Videoadapter - ATI Radeon 9600XT.

    P.S. Sorry for my English =)
     
  18. RIV@NVX

    RIV@NVX Freedom is a feature.

    Joined:
    Jul 10, 2002
    Messages:
    4,476
    Likes Received:
    2
    Trophy Points:
    0
    Can you post your xorg.conf?
     
  19. rgregory

    rgregory ATI Linux Staff

    Joined:
    Apr 13, 2005
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    0
    hassan, according to your log, the driver is loading properly (bot fglrx drm and fglrx_dri.so) as indicated:
    (II) fglrx(0): Acceleration enabled
    (II) fglrx(0): Direct rendering enabled
    However, fglrxinfo checks libGL for the OpenGL strings. It is possible that your system is still finding the Mesa libGL library instead of the one included with fglrx.

    This could happen for a number of reasons. notably: </p>
    • fglrx rpm package was installed without using --force option. This would leave the Mesa libGL library on the system (would indicate a conflict also)
    • Mesa OpenGL was installed and/or upgraded on your system since installing fglrx. This may have overwritten the fglrx libGL
    • Some other libGL exists on your system, which is being picked up BEFORE /usr/X11R6/lib/libGL.so (nVidia perhaps?)
    You may want to try the following to make sure:
    1. uninstall the driver (rpm -e <package>)
    2. rm -rf /lib/modules/fglrx (this doesn't always get removed on uninstall)
    3. reinstall using --force option (rpm -ivh --force <package>)
    4. Apply any patches as necessary and compile the fglrx kernel module

    This may restore the proper libGL on your system. It's just a thought.

    Hope it helps.
     
  20. redsolar

    redsolar Off duty

    Joined:
    Jul 19, 2003
    Messages:
    1,236
    Likes Received:
    0
    Trophy Points:
    0
    Good to see you Robert. Thanks for assistance on this issue and others yet to come :).
     

Share This Page

visited