LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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
 
LinkBack Search this Thread
Old 09-22-2004, 04:33 AM   #1
DaneM
Member
 
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 721

Rep: Reputation: 63
(solved) fglrx 3D acceleration fails - DRM/DRI/AGPGART problems - Slackware 10, 2.6.8


Hello, everybody.

I've been recently trying to get my ATI Radeon 9600 XT to allow hardware 3D acceleration in Slackware 10, with kernel 2.6.8. I've read several very well-done HOW-TOs, but I've been unable to get it working following their advice. I get the impression that I'm just missing a few simple things, but I'm not sure what. (It worked fine, after some tweaking in MDK10, but I've since discovered that I like Slackware better.)

Here is what I think is the relevant output from /var/log/Xorg.0.log (line numbering inserted by VIM):


578 (II) Loading /usr/X11R6/lib/modules/libfb.a 579 (II) Module fb: vendor="X.Org Foundation"
580 compiled for 6.7.0, module version = 1.0.0 581 ABI class: X.Org ANSI C Emulation, version 0.2
582 (II) Loading sub module "ramdac" 583 (II) LoadModule: "ramdac"
584 (II) Loading /usr/X11R6/lib/modules/libramdac.a 585 (II) Module ramdac: vendor="X.Org Foundation"
586 compiled for 6.7.0, module version = 0.1.0 587 ABI class: X.Org Video Driver, version 0.7
588 (**) fglrx(0): NoAccel = NO 589 (II) Loading sub module "xaa"
590 (II) LoadModule: "xaa" 591 (II) Loading /usr/X11R6/lib/modules/libxaa.a
592 (II) Module xaa: vendor="X.Org Foundation" 593 compiled for 6.7.0, module version = 1.1.0
594 ABI class: X.Org Video Driver, version 0.7 595 (==) fglrx(0): HPV inactive
596 (==) fglrx(0): FSAA enabled: NO 597 (**) fglrx(0): FSAA Gamma enabled
598 (**) fglrx(0): FSAA Multisample Position is fix 599 (**) fglrx(0): NoDRI = NO
600 (II) Loading sub module "fglrxdrm" 601 (II) LoadModule: "fglrxdrm"
602 (II) Loading /usr/X11R6/lib/modules/linux/libfglrxdrm.a 603 (II) Module fglrxdrm: vendor="Fire GL - ATI Research GmbH, Germany"
604 compiled for 4.3.0.1, module version = 3.11.1 605 ABI class: XFree86 Server Extension, version 0.2
606 (II) fglrx(0): Depth moves disabled by default
607 (**) fglrx(0): Capabilities: 0x00000800
608 (**) fglrx(0): cpuFlags: 0x8000001d
609 (**) fglrx(0): cpuSpeedMHz: 0x000007d9
610 (==) fglrx(0): OpenGL ClientDriverName: "fglrx_dri.so"
611 (**) fglrx(0): using built in AGPGART module: yes
612 (**) fglrx(0): UseFastTLS=0
613 (**) fglrx(0): BlockSignalsOnLock=1
614 (==) fglrx(0): EnablePrivateBackZ = NO
615 (--) Depth 24 pixmap format is 32 bpp
616 (II) do I need RAC? No, I don't.
617 (II) resource ranges after preInit:
618 [0] 0 0 0xdf000000 - 0xdf00ffff (0x10000) MX[B]
619 [1] 0 0 0xf0000000 - 0xf7ffffff (0x8000000) MX[B]
620 [2] -1 0 0xffe00000 - 0xffffffff (0x200000) MX[B](B)
621 [3] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
622 [4] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
623 [5] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
624 [6] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
625 [7] -1 0 0xdd800000 - 0xdd8000ff (0x100) MX[B]
626 [8] -1 0 0xde000000 - 0xde0000ff (0x100) MX[B]
627 [9] -1 0 0xf8000000 - 0xf7ffffff (0x0) MX[B]O
628 [10] -1 0 0xeffe0000 - 0xefffffff (0x20000) MX[B](B)
629 [11] -1 0 0xdf000000 - 0xdf00ffff (0x10000) MX[B](B)
630 [12] -1 0 0xf0000000 - 0xf7ffffff (0x8000000) MX[B](B)
631 [13] -1 0 0xde800000 - 0xde80ffff (0x10000) MX[B](B)
632 [14] -1 0 0xe0000000 - 0xe7ffffff (0x8000000) MX[B](B)
633 [15] 0 0 0x000a0000 - 0x000affff (0x10000) MS[B]
634 [16] 0 0 0x000b0000 - 0x000b7fff (0x8000) MS[B]
635 [17] 0 0 0x000b8000 - 0x000bffff (0x8000) MS[B]
636 [18] 0 0 0x0000d800 - 0x0000d8ff (0x100) IX[B]
637 [19] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
638 [20] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
639 [21] -1 0 0x00009000 - 0x0000900f (0x10) IX[B]
640 [22] -1 0 0x00009400 - 0x00009403 (0x4) IX[B]
641 [23] -1 0 0x00009800 - 0x00009807 (0x8) IX[B]
642 [24] -1 0 0x0000a000 - 0x0000a003 (0x4) IX[B]
643 [25] -1 0 0x0000a400 - 0x0000a407 (0x8) IX[B]
644 [26] -1 0 0x0000a800 - 0x0000a807 (0x8) IX[B]
645 [27] -1 0 0x0000b000 - 0x0000b0ff (0x100) IX[B]
646 [28] -1 0 0x0000b400 - 0x0000b407 (0x8) IX[B]
647 [29] -1 0 0x0000b800 - 0x0000b81f (0x20) IX[B]
648 [30] -1 0 0x00008000 - 0x0000801f (0x20) IX[B]
649 [31] -1 0 0x0000e800 - 0x0000e80f (0x10) IX[B]
650 [32] -1 0 0x00008400 - 0x0000841f (0x20) IX[B]
651 [33] -1 0 0x00008800 - 0x0000880f (0x10) IX[B]
652 [34] -1 0 0x0000d800 - 0x0000d8ff (0x100) IX[B](B)
653 [35] 0 0 0x000003b0 - 0x000003bb (0xc) IS[B]
654 [36] 0 0 0x000003c0 - 0x000003df (0x20) IS[B]
655 (II) fglrx(0): UMM area: 0xf0953000 (size=0x076ad000)
656 (II) fglrx(0): driver needs XFree86 version: 4.3.x
657 (WW) fglrx(0): could not detect XFree86 version (query_status=-3)
658 (II) Loading extension ATIFGLRXDRI
659 (II) fglrx(0): doing DRIScreenInit
660 drmOpenDevice: minor is 0
661 drmOpenDevice: node name is /dev/dri/card0
662 drmOpenDevice: open result is -1, (Unknown error 999)
663 drmOpenDevice: open result is -1, (Unknown error 999)
664 drmOpenDevice: Open failed
665 drmOpenDevice: minor is 0
666 drmOpenDevice: node name is /dev/dri/card0
667 drmOpenDevice: open result is -1, (Unknown error 999)
668 drmOpenDevice: open result is -1, (Unknown error 999)
669 drmOpenDevice: Open failed
670 [drm] failed to load kernel module "fglrx"
671 (II) fglrx(0): [drm] drmOpen failed
672 (EE) fglrx(0): DRIScreenInit failed!
673 (WW) fglrx(0): ***********************************************
674 (WW) fglrx(0): * DRI initialization failed! *
675 (WW) fglrx(0): * (maybe driver kernel module missing or bad) *
676 (WW) fglrx(0): * 2D acceleraton available (MMIO) *
677 (WW) fglrx(0): * no 3D acceleration available *
678 (WW) fglrx(0): ********************************************* *
679 (II) fglrx(0): FBADPhys: 0xf0000000 FBMappedSize: 0x08000000
680 (II) fglrx(0): FBMM initialized for area (0,0)-(1600,8191)
681 (II) fglrx(0): FBMM auto alloc for area (0,0)-(1600,1200) (front color b uffer - assumption)
682 (==) fglrx(0): Backing store disabled
683 (==) fglrx(0): Silken mouse enabled
684 (II) fglrx(0): Using hardware cursor (scanline 1200)
685 (II) fglrx(0): Largest offscreen area available: 1600 x 6988
686 (**) Option "dpms"
687 (**) fglrx(0): DPMS enabled
688 (II) fglrx(0): Using XFree86 Acceleration Architecture (XAA)
689 Screen to screen bit blits
690 Solid filled rectangles
691 Solid Horizontal and Vertical Lines
692 Offscreen Pixmaps
693 Setting up tile and stipple cache:
694 32 128x128 slots
695 32 256x256 slots
696 16 512x512 slots
697 (II) fglrx(0): Acceleration enabled
698 (II) fglrx(0): Direct rendering disabled
699 (II) Loading extension FGLRXEXTENSION
700 (II) Loading extension ATITVOUT
701 (==) RandR enabled
702 (II) Setting vga for screen 0.
703 (II) Initializing built-in extension MIT-SHM
704 (II) Initializing built-in extension XInputExtension
705 (II) Initializing built-in extension XTEST
706 (II) Initializing built-in extension XKEYBOARD
707 (II) Initializing built-in extension LBX
708 (II) Initializing built-in extension XC-APPGROUP
709 (II) Initializing built-in extension SECURITY
710 (II) Initializing built-in extension XINERAMA
711 (II) Initializing built-in extension XFree86-Bigfont
712 (II) Initializing built-in extension RENDER
713 (II) Initializing built-in extension RANDR
714 (**) Option "Protocol" "ImPS/2"
715 (**) Mouse1: Device: "/dev/mouse"
716 (**) Mouse1: Protocol: "ImPS/2"
717 (**) Option "CorePointer"
718 (**) Mouse1: Core Pointer
719 (**) Option "Device" "/dev/mouse"
720 (==) Mouse1: Emulate3Buttons, Emulate3Timeout: 50
721 (**) Option "ZAxisMapping" "4 5"
722 (**) Mouse1: ZAxisMapping: buttons 4 and 5
723 (**) Mouse1: Buttons: 5
724 (II) Keyboard "Keyboard1" handled by legacy driver
725 (II) XINPUT: Adding extended input device "Mouse1" (type: MOUSE)
726 (II) Mouse1: ps2EnableDataReporting: succeeded
727 Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, remov ing from list!
728 SetClientVersion: 0 8

[end of output]


The parts that I find particularly interesting are:


(line 657) (WW) fglrx(0): could not detect XFree86 version (query_status=-3)

(lines 660-678) [DRM having problems loading the device and modules -- 2D acceration available, but not 3d]

(line 697) (II) fglrx(0): Acceleration enabled

(line 698) (II) fglrx(0): Direct rendering disabled


It would seem that the driver/kernel/??? is having a hard time finding and loading DRI and DRM. I've tried both compiling them into the kernel, compiling them as modules, and leaving them out alltogether (as instructed by various forums). I tried downloading and installing DRI/DRM manually from source, but it was a no-go (compiling errors). Also, I have a sneaking suspicion that if AGPGART isn't working correctly then it won't let DRI or DRM load properly either.

I've also tried both entering the relevant values for the fglrx module into xorg.conf manually, and running fglrxconfig (and copying XF86Config-4 to xorg.conf). These produced basically the same results. I was able to change the screen resolution and such by using fglrxconfig, so it must be doing -something-.

I hope somebody out there (smarter than me?) has a good idea as to what I need to do to fix all of this. I'm pretty sure that it has something to do with DRI, DRM or AGPGART.

Your help will be very much appreciated.

Thanks!

--Dane

Last edited by DaneM; 10-20-2004 at 01:35 AM.
 
Old 10-20-2004, 01:33 AM   #2
DaneM
Member
 
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 721

Original Poster
Rep: Reputation: 63
Fixed!

I found a new thread by Ehuwiko that solved the problem. I followed his ATI-related instructions and I'm no longer getting those errors in my Xorg log file. Here's the link: http://www.linuxquestions.org/questi...17#post1244817 .

I've tested the OpenGL capabilities using some 3d/GL screen savers that previously went extremely slowly. They now work properly! *does the happy dance*

Have fun everybody!

--Dane
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DRM/DRI and Gentoo 2005.0 nirj Linux - Software 5 09-03-2005 10:58 PM
slight confusion with agpgart and DRI xushi Slackware 9 02-04-2005 01:43 AM
agpgart, fglrx, radeon 9800 sinistre Slackware 7 12-14-2004 09:13 AM
FGLRX vs DRI/DRM terran4000 Linux - Laptop and Netbook 3 09-01-2004 08:31 AM
modprobe agpgart and fglrx ?? ludeKing Slackware 2 09-07-2003 08:10 PM


All times are GMT -5. The time now is 07:25 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration