LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-16-2005, 04:54 PM   #1
SniperCT
LQ Newbie
 
Registered: Jun 2003
Posts: 3

Rep: Reputation: 0
Advice on getting ATI 3d acceleration to work?


Every so often, I’ll get it in my head to download and install a Linux distro, play with it for a week, then gradually begin returning to windows for one reason or another, reformatting the partition that had linux and overwriting lilo. However, eventually, I know I’ll do it all over again, hoping that in the intervening time, whatever reason I’d returned to windows for would have been resolved with some update or another, because I like linux. I like it a lot, and particularly like the look and general feel the version I’ve installed now gives me, but anyhow….

I’ve got a fresh install of Mandriva 10.2, duel-booting with Windows XP (Linux installed a few days ago), and I cannot for the life of me get the 3d acceleration to work. I’m all Googled out from the searches I’ve done. I even went so far as to reload it last night, and before work I loaded the nforce linux drivers for my mobo. Hopefully tonight a few of the how-tos I’ve found might actually provide the information I need.

The driver installations always seem to go without error, and I can have my LCD’s native resolution without issue. 2d rendering is perfect, but 3d rendering is all but nonexistent. Glxgears gets under 500 fps and the info reported that mesa3d is active. I do recall that though the nvidia agpgart appeared installed it wouldn’t load or couldn’t be found. I tried to recompile the kernel in order to get this working, but that had an error during patching and reported that it would only render in 2d. I also couldn’t seem to get menuconfig to work. Obviously I’m missing something, just not sure exactly what. It was at that point that I’d decided to cut my losses and try anew from a fresh install, since the only thing I’d added so far had been cedega and WoW so it wouldn’t be like I’d lost anything overly important.

On the plus side, all these attempts to get the drivers to load have provided a valuable learning experience, in that I’m starting to remember commands, even if I’m still trying to figure out the basics of the yummy and powerful command line. The install of the OS itself, as well as how easily I managed to get cedega to work and World of Warcraft to connect impressed me immensely..even if WoW ran at 1fps due to the software rendering.

But in the meantime, I thought it couldn’t hurt to get some more information or advice. I have an ATI Radeon 9800 XT, on an Asus A78XN-Deluxe(or whatever order those letters should be in…..) motherboard with nforce 2 chipset. The only thing that wasn’t installed during the loading of the OS that I installed myself was the nforce 2 driver from Asus’ website. As far as I know the kernel is 2.6.11. Any other info I’ll have to look up tonight. The X-server I’m running is x.org 8.6

Reviewing the above, I think I’ll put it into a format easier to see at a glance.

Mandrake 10.2
Ati Radeon 9800XT
Asus A87XN-Deluxe mobo
Nforce 2 chipset
Kernel: 2.6.11
x.org 8.6



The only other thing I did was download the rpm in preparation to install, before powering down and coming to work. So at this point in time, as I sit here at work typing this up, my box has about as fresh an install as it can get (and rueing the fact that I hadn’t left the computer on and a port forwarded so I could try telnetting in!). So any advice out there as to which particular how-to I should follow, or anything else I might need to download to get that blasted driver to work? It does appear that there might some issues between ATI and nforce mobos in linux, but the last thing my pocketbook needs is yet another excuse to buy a new motherboard. Personally I think my biggest issue in all this is the kernel module.

Its mildly disconcerting that I’m as mystified by this as the end-users I deal with daily are by the address bar in Internet Explorer….

Lastly, any links towards general information on the command line itself would be appreciated.

As for what I’m looking at at the moment, I’ve a list of links, which is a lot of information in and of itself, so I hope I’m on the right track, though as mentioned I’ve had some problems. Any additional advice would be very nice. I can’t help but think I’m overlooking something very simple yet very crucial.
 
Old 05-18-2005, 01:39 AM   #2
SniperCT
LQ Newbie
 
Registered: Jun 2003
Posts: 3

Original Poster
Rep: Reputation: 0
two steps forward, one step back!

Okay, I'm making some process, but I'm running into errors at make.sh. I'm following the instructions here: linuxquestions.org/questions/answers.php?action=viewarticle&artid=251 modifying my input for the kernel I'm using.

Nothing errored when I was building the kernel, and nothing seemed suspicious when I did the make modules and make modules_install commands, and after making an initrd file I was able to boot into the new kernel without error.

Here is what is generated when I run sh make.sh in the build_mod directory.


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-6mdkcustom/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/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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ATI 3D Acceleration t3gah Linux - Hardware 17 08-31-2005 09:18 AM
Having problems getting 3D acceleration to work with ATI card? Cinematography SUSE / openSUSE 0 08-23-2005 03:59 PM
Can't get the 3d acceleration and tv tuner to work on Ati rage 128 sys7em Linux - Hardware 0 10-13-2004 09:52 AM
ATI 3D acceleration Mad Mardigan Linux - Hardware 1 10-10-2004 09:35 PM
ATI Radeon 9800 on linux (3d hardware acceleration wont work) iskpl Linux - Software 3 10-25-2003 03:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration