Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
fglrx and mm-sources-2.6.0_beta9-r2
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
talon
n00b
n00b


Joined: 11 Jun 2003
Posts: 13

PostPosted: Fri Nov 07, 2003 2:10 pm    Post subject: fglrx and mm-sources-2.6.0_beta9-r2 Reply with quote

I've changed my kernel ver. from 2.4 to 2.6. Everything runs fine except for dri support in Xfree 4.3. I think the following lines from Xfreelog should indicate the problem:
Code:

(II) Loading extension ATIFGLRXDRI
(II) fglrx(0): doing DRIScreenInit
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenDevice: minor is 1
drmOpenDevice: node name is /dev/dri/card1
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenDevice: minor is 2
drmOpenDevice: node name is /dev/dri/card2
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenDevice: minor is 3
drmOpenDevice: node name is /dev/dri/card3
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenDevice: minor is 4
drmOpenDevice: node name is /dev/dri/card4
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenDevice: minor is 5
drmOpenDevice: node name is /dev/dri/card5
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenDevice: minor is 6
drmOpenDevice: node name is /dev/dri/card6
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenDevice: minor is 7
drmOpenDevice: node name is /dev/dri/card7
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenDevice: minor is 8
drmOpenDevice: node name is /dev/dri/card8
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenDevice: minor is 9
drmOpenDevice: node name is /dev/dri/card9
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenDevice: minor is 10
drmOpenDevice: node name is /dev/dri/card10
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenDevice: minor is 11
drmOpenDevice: node name is /dev/dri/card11
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenDevice: minor is 12
drmOpenDevice: node name is /dev/dri/card12
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenDevice: minor is 13
drmOpenDevice: node name is /dev/dri/card13
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenDevice: minor is 14
drmOpenDevice: node name is /dev/dri/card14
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
(II) fglrx(0): [drm] drmOpen failed
(EE) fglrx(0): DRIScreenInit failed!
(WW) fglrx(0): ***********************************************
(WW) fglrx(0): * DRI initialization failed!                  *
(WW) fglrx(0): * (maybe driver kernel module missing or bad) *
(WW) fglrx(0): * 2D acceleraton available (MMIO)             *
(WW) fglrx(0): * no 3D acceleration available                *
(WW) fglrx(0): ********************************************* *

I think the open result from card0 should be 6. I've dri for radeon cards and agpgart for nforce2 boards support built into kernel and i'm using ati-drivers 3.2.8.
Anyone suggestions about what i'm doing wrong?

Thx
talon
Back to top
View user's profile Send private message
Wedge_
Advocate
Advocate


Joined: 08 Aug 2002
Posts: 3614
Location: Scotland

PostPosted: Fri Nov 07, 2003 2:17 pm    Post subject: Reply with quote

First, you do not need Radeon DRI support in the kernel - that's why you're getting all those errors in your XFree log. Second, that particular kernel version appears to break the AGP support in the driver somehow - it will compile and load, but you won't get any 3D acceleration. Either use test9-mm1 or a standard test9 kernel.
_________________
Per Ardua Ad Astra
The Earth is the cradle of the mind, but we cannot live forever in a cradle - Konstantin E. Tsiolkovsky
Gentoo Radeon FAQ
Back to top
View user's profile Send private message
Joffer
Guru
Guru


Joined: 10 Sep 2002
Posts: 585
Location: Arendal, Norway

PostPosted: Thu Nov 13, 2003 3:21 pm    Post subject: Reply with quote

I've written a HOW-TO for ATI and X under a 2.6 kernel:

[HOW-TO] Get ATI support in X with 2.6.x kernel
Back to top
View user's profile Send private message
SQLBoy
Guru
Guru


Joined: 17 Aug 2002
Posts: 381

PostPosted: Thu Nov 13, 2003 3:37 pm    Post subject: Reply with quote

When you use the FGLRX (ati drivers) module it has its own AGP driver so you don't need the kernel one. ATI recommends you use it. Its an option in the XF86Config file.

However, test9-mm2 DRI is broken for the radeon. If you look a the diffs you see some small changes were made that broke something. mm1 works fine though. The kernel DRI and the ATI-Drivers are mutually exclusive. You either use one or the other, not both.

To use the FGLRX with its built in AGPGART make sure that this in your X config under the Section "Device"
Code:

Option "UseInternalAGPGART"     "on"


Anwyay, I was actually using this config but because of my Centrino chipset I was locking up a lot. I moved to the ck sources and started using Intel's binary AGP driver with ATI's binary radeon driver and its awesome.

Wedge_ wrote:
First, you do not need Radeon DRI support in the kernel - that's why you're getting all those errors in your XFree log. Second, that particular kernel version appears to break the AGP support in the driver somehow - it will compile and load, but you won't get any 3D acceleration. Either use test9-mm1 or a standard test9 kernel.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum