Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
DRI funkar inte
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Scandinavian
View previous topic :: View next topic  
Author Message
DarkVillage
n00b
n00b


Joined: 12 Sep 2003
Posts: 52
Location: SWEDEN

PostPosted: Fri Sep 19, 2003 2:31 pm    Post subject: DRI funkar inte Reply with quote

Ja jag får inte igång dri på mitt gentoo system.
Får igång X men inte dri
jag har ett radeon 9100

här är delar av x loggen:

XFree86 Version 4.3.0
Release Date: 27 February 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: Linux 2.4.20-gaming-r3 i686 [ELF]
Build Date: 16 September 2003
Before reporting problems, check http://www.XFree86.Org/
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Tue Sep 16 21:14:38 2003
(==) Using config file: "/etc/X11/XF86Config"
(==) ServerLayout "XFree86 Configured"
(**) |-->Screen "Screen0" (0)
(**) | |-->Monitor "Monitor0"
(**) | |-->Device "Card0"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(**) Option "XkbRules" "xfree86"
(**) XKB: rules: "xfree86"
(**) Option "XkbLayout" "se"
(**) XKB: layout: "se"
(==) Keyboard: CustomKeycode disabled
(**) FontPath set to "/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/CID/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/"
(**) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(**) ModulePath set to "/usr/X11R6/lib/modules"
Using vt 7
(--) using VT number 7

(WW) Open APM failed (/dev/apm_bios) (No such file or directory)
(II) Module ABI versions:
XFree86 ANSI C Emulation: 0.2
XFree86 Video Driver: 0.6
XFree86 XInput driver : 0.4
XFree86 Server Extension : 0.2
XFree86 Font Renderer : 0.4

(II) Loading sub module "drm"
(II) LoadModule: "drm"
(II) Loading /usr/X11R6/lib/modules/linux/libdrm.a
(II) Module drm: vendor="The XFree86 Project"
compiled for 4.3.0, module version = 1.0.0
ABI class: XFree86 Server Extension, version 0.2
(II) Loading extension XFree86-DRI
(II) LoadModule: "dbe"
(II) Loading /usr/X11R6/lib/modules/extensions/libdbe.a
(II) Module dbe: vendor="The XFree86 Project"
compiled for 4.3.0, module version = 1.0.0
Module class: XFree86 Server Extension
ABI class: XFree86 Server Extension, version 0.2
(II) Loading extension DOUBLE-BUFFER

(==) RADEON(0): Write-combining range (0xd0000000,0x8000000)
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
[drm] failed to load kernel module "agpgart"
[drm] failed to load kernel module "radeon"
(II) RADEON(0): [drm] drmOpen failed
(EE) RADEON(0): [dri] DRIScreenInit failed. Disabling DRI.
(II) RADEON(0): Memory manager initialized to (0,0) (1024,8191)
(II) RADEON(0): Reserved area from (0,768) to (1024,770)
(II) RADEON(0): Largest offscreen area available: 1024 x 7421
(II) RADEON(0): Using XFree86 Acceleration Architecture (XAA)


hmm kapade den ganska brutalt, så vill ni ha den hela så säg till

Har sedan pulat lite, så nu får jag inte igång X alls =)

Jag installerade CVS och följde guiden på gnetoo.org: http://www.gentoo.org/doc/en/dri-howto.xml

Allt verkade gå bra, men när jag försökte få igång X fick jag dessa meddelanden

(EE) module ABI minot version (7) is newer than the server's (6)
(EE) Failed to load module "radeon" (module requirement mismatch, 0)
(EE) No drivers available

ioförsig förklarar texten ju isig, men jag vet inte hur jag ska kunna rätta till dessa fel

Är det någon som har haft liknande problem?
Back to top
View user's profile Send private message
Lemma
Guru
Guru


Joined: 19 Apr 2002
Posts: 416
Location: Uppsala, Sweden

PostPosted: Tue Sep 30, 2003 5:31 pm    Post subject: Reply with quote

Hm vad har du kompilerat och var? AGP, är det stöd inkompilerat i kerneln? Radeon, är det kompilerat i kerneln? Kört emerge xfree-drm? Har du, som root, testat att köra
Code:
 XFree86 -configure
Det kommer generera en XFree86.config-fil som vanligtvis bara behöver kompletteras med
Code:
Section "dri"
Mode 0666       # DRI for _all_ users
EndSection
                                                                                       
Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "keyboard"
        Option      "XkbLayout" "se"
EndSection
och
Code:
Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth    24
        SubSection "Display"
                Depth     24
                Modes "1400x1050" "1200x1024" "1024x768" "800x600" "640x480"
        EndSubSection
EndSection
Välj de modes som passar dig och din monitor ;-). Fungerar bättre?
_________________
Always make it as simple as possible, but no simpler
/Einstein
Back to top
View user's profile Send private message
ebrostig
Bodhisattva
Bodhisattva


Joined: 20 Jul 2002
Posts: 3152
Location: Orlando, Fl

PostPosted: Tue Sep 30, 2003 7:43 pm    Post subject: Reply with quote

Det eneste du behoever aa gjoere er aa legge til dette avsnittet i din /etc/X11/XF86Config file:

Code:

Section "DRI"
    Mode 0666
EndSection


Problemet er at X serveren ikke har adgang til DRI filene i /dev filsystemet.

Erik
_________________
'Yes, Firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.'
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Scandinavian 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