LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-17-2004, 01:28 PM   #1
esears
Member
 
Registered: Mar 2004
Location: Iraq, Baghdad
Posts: 32

Rep: Reputation: 15
What is needed for 3d accel from a minimalist distribution


I've recently used sorcerer linux as a base to install linux on my laptop after messing around with Redhat and Debian for the past couple of months. I've used sorcerer since it is small and was easy to download in Iraq I don't use the package management system it comes with since I have no direct access with this PC to the internet. All of my net access has to go thru a web proxy. I have no problem downloading source and compiling programs. In fact that is how I pretty much do everything. I have gotten everything working so far up to XFree86 4.4 (Although I just switched to X. Org 6.70 ) and KDE 3.2.2. What I am trying to do is to get 3d acceleration working. I installed MesaLib which will give me software acceleration. I know hardware is possible since I had it running under redhat and debian.

What I am inquiring about is just making sure that there are no other programs I need to compile to enable 3d support. Any help would be appreciated as everything else works great.
 
Old 05-17-2004, 02:16 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Would help to know the hardware you're using :)

What's your video-card?


Cheers,
Tink
 
Old 05-17-2004, 07:24 PM   #3
esears
Member
 
Registered: Mar 2004
Location: Iraq, Baghdad
Posts: 32

Original Poster
Rep: Reputation: 15
You know after how long I've been browsing boards I can't believe I did that lol. First off to my defense I was just asking what software is needed if anything other than X for hardware accel. But if it helps at all:

Graphics: ATI Radeon 9600 Mobility
AGP chipset is a Intel 865.

I've gotten hardware accel to work numerous times with redhat and debian however I really don't care for either and atm I'm working with a sort of customized LFS system. I'm not sure if my problem is that I am currently using X.org 6.7.0 for my xserver when the drivers are made for Xfree 4.3. Posted below is part of my start up log which seems like they are getting loaded just not used though?

(II) fglrx(0): [drm] loaded kernel module for "fglrx" driver
(II) fglrx(0): [drm] created "fglrx" driver at busid "PCI:1:0:0"
(II) fglrx(0): [drm] added 8192 byte SAREA at 0xe1992000
(II) fglrx(0): [drm] mapped SAREA 0xe1992000 to 0x402a0000
(II) fglrx(0): [drm] framebuffer handle = 0xf0000000
(II) fglrx(0): [drm] added 1 reserved context for kernel
(II) fglrx(0): DRIScreenInit done
(II) fglrx(0): Kernel Module Version Information:
(II) fglrx(0): Name: fglrx
(II) fglrx(0): Version: 3.7.6
(II) fglrx(0): Date: Mar 5 2004
(II) fglrx(0): Desc: ATI Fire GL DRM kernel module
(II) fglrx(0): Kernel Module version matches driver.
(II) fglrx(0): Kernel Module Build Time Information:
(II) fglrx(0): Build-Kernel UTS_RELEASE: 2.6.6

and

(**) fglrx(0): DPMS enabled
(II) fglrx(0): Using XFree86 Acceleration Architecture (XAA)
Screen to screen bit blits
Solid filled rectangles
8x8 mono pattern filled rectangles
Solid Lines
Dashed Lines
Offscreen Pixmaps
Setting up tile and stipple cache:
22 128x128 slots
(II) fglrx(0): Acceleration enabled
(II) fglrx(0): X context handle = 0x00000001
(II) fglrx(0): [DRI] installation complete
(II) fglrx(0): Direct rendering enabled
(II) Loading extension FGLRXEXTENSION
(II) Loading extension ATITVOUT

The only thing I can think is that maybe it has something to do with

(II) Loading extension ATIFGLRXDRI
(II) fglrx(0): doing DRIScreenInit
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: Open failed
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (Unknown error 999) <--- Looks odd
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: Open failed
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 5, (OK)
drmGetBusid returned ''


I don't have DRM enabled in my kernel build either.

I am running 2.6.6 for the kernel though and have patched it with the vmalloc.patch.

May 17 20:34:54 [kernel] fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY'
taints kernel.
May 17 20:34:54 [kernel] [fglrx] Maximum main memory to use for locked dma buffers: 431 MBytes.
May 17 20:34:54 [kernel] [fglrx] module loaded - fglrx 3.7.6 [Mar 5 2004] on minor 0
May 17 20:34:54 [kernel] Fire GL built-in AGP-support
May 17 20:34:54 [kernel] agpgart: AGP aperture is 128M @ 0xe8000000
May 17 20:34:54 [kernel] AGP: Found 2 AGPv3 devices
May 17 20:34:54 [kernel] [fglrx] free AGP = 121909248

Is what comes out of my dmesg which seems like it all should be running ok.

Below is my output from fglrxinfo

display: :0.0 screen: 0
OpenGL vendor string: Brian Paul
OpenGL renderer string: Mesa X11
OpenGL version string: 1.4 Mesa 5.0.2

I would be thinking that ATI should override that and I would be set but maybe thats not the case.

I have X 4.3 compiled and ready to install but I would like to get this working with X.org. Thanks for any help
 
Old 08-22-2004, 10:18 PM   #4
perry
Member
 
Registered: Sep 2003
Location: USA & Canada
Distribution: Slackware 12.0
Posts: 978

Rep: Reputation: 30
Is this some kind of mistake ?

PHP Code:
# The accelerated servers (S3, Mach32, Mach8, 8514, P9000, AGX, W32, Mach64
# I128, and S3V)
Section "Screen"
    
Driver      "accel"
    
Device      "ATI|3D Rage P/M Mobility AGP 2x"
    
Monitor     "My Monitor"
    
Subsection "Display"
        
Depth       16
        Modes       
"1024x768"
        
ViewPort    0 0
    EndSubsection
EndSection 
I got pretty excited when I seen this today from the Dell support site concerning Linux hardware acceration for my ATI card.... however it's for the XF86Config format.... when I make a stab at it with my xorg.conf file, it comes back and says it never heard of anything called "accel" ?

What's going on ?

Also the format is slightly different on xorg.conf, here's my best guess as to where it goes:
PHP Code:
Section "Device"
    
Identifier  "ati rage mobility"
    
Driver      "ati"
    
VideoRam    8192
    Option      
"UseFBDev"              "true"
    
# Insert Clocks lines here if appropriate
EndSection 
The "ati" I simply replaced with "accel" but no go....

any suggestions....

i'm so close to having 3d hardware acceleration on my dell laptop, i can almost taste it....

- perry

Last edited by perry; 08-23-2004 at 04:50 PM.
 
  


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
minimalist distro surban99 Linux - Newbie 15 05-08-2005 12:21 PM
Pentium 90 distribution needed shiny new kid Linux - Newbie 2 07-13-2004 03:32 PM
Minimalist/Perfectionist Nasty Linux - Newbie 21 10-10-2003 11:08 AM
minimalist with features El_Angelo Slackware 1 09-18-2003 08:50 PM
Opinions needed for router/firewall distribution monodax Linux - Distributions 5 03-08-2003 04:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:01 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