Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Radeon 9200, X11R7, AMD64 and direct rendering: Possible?
View unanswered posts
View posts from last 24 hours

 
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
Ypsilon
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jul 2002
Posts: 92
Location: Germany

PostPosted: Thu Jan 05, 2006 6:07 pm    Post subject: Radeon 9200, X11R7, AMD64 and direct rendering: Possible? Reply with quote

Hello guys,

I just installed the modular xorg-x11 7.0 and it works great in 2D mode. Composite accelerated by EXA is awesome.
Now the second step is to get also 3D acceleration with direct rendering working.

The status is:

When I have this
Code:

Section "Module"
    Load        "dbe"
    Load        "type1"
    Load        "freetype"
    Load        "extmod"
    Load        "glx"
    Load        "dri"
    Load        "drm"
EndSection


and this:
Code:

Section "Device"
    Identifier  "ATI Radeon 9200"
    Driver      "radeon"
    Option "AGPMode" "8"
    Option "RenderAccel" "true"
    Option "AccelMethod" "EXA"
    Option "AGPFastWrite" "True"
    Option "EnablePageFlip" "True"
    Option "SubPixelOrder" "NONE"
EndSection

in my xorg.conf, direct rendering is not working and I get the following errors:

In Xorg.0.log:
Code:

(WW) RADEON(0): [agp] AGP not available
(EE) RADEON(0): [agp] AGP failed to initialize. Disabling the DRI.
(II) RADEON(0): [agp] You may want to make sure the agpgart kernel module
is loaded before the radeon kernel module.


and in dmesg:
Code:

[drm:radeon_cp_init] *ERROR* radeon_cp_init called without lock held, held  0 owner 0000000000000000 ffff81003ce02780
[drm:drm_unlock] *ERROR* Process 4823 using kernel context 0


OK, I thought, no problem. So let's load agpgart before starting X. But this didn't change anything, the situation stayed the same.
Then I remembered there was also a module called amd64-agp.
Maybe this was also needed to have full AGP support. So I loaded amd64-agp and agpgart,
and started X.
BUMM. A black screen, the system completely locked up and I had to push the reset button.

After booting I looked at Xorg.0.log and everything inside was still from the previous X-startup without the amd64-agp module loaded. Also nothing exciting in syslog.
So there is nothing but the black screen that I can give you as an error report.

I have a 2.6.14-nitro2 kernel.

All the HOWTOs and threads about radeon acceleration say nothing about an amd64-agp module. So I thought it would be a better idea to ask this question in this forum:

What could I do now?
Thanks for any help.
_________________
gentoo ownz.
Back to top
View user's profile Send private message
codergeek42
Bodhisattva
Bodhisattva


Joined: 05 Apr 2004
Posts: 5142
Location: Anaheim, CA (USA)

PostPosted: Thu Jan 05, 2006 6:42 pm    Post subject: Re: Radeon 9200, X11R7, AMD64 and direct rendering: Possible Reply with quote

Ypsilon wrote:
I have a 2.6.14-nitro2 kernel.
Would you please try reproducing this with a supported kernel such as one built from the gentoo-sources or vanilla-sources packages? If this only happens with the Nitro-patched kernel, I'll move it to Unsupported Software.

Also, are you using any weird/new options, such as EXA and/or Composite? If so, have you tried it without these options?
_________________
~~ Peter: Programmer, Mathematician, STEM & Free Software Advocate, Enlightened Agent, Transhumanist, Fedora contributor
Who am I? :: EFF & FSF
Back to top
View user's profile Send private message
Ypsilon
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jul 2002
Posts: 92
Location: Germany

PostPosted: Fri Jan 06, 2006 11:11 am    Post subject: Reply with quote

Ok, now I'm running vanilla 2.6.15 and I have only the following options in my xorg.conf:

Code:

Section "Module"
    Load        "type1"
    Load        "freetype"
    Load        "extmod"
    Load        "glx"
    Load        "dri"
    Load        "drm"
EndSection


Code:

Section "Device"
    Identifier  "ATI Radeon 9200"
    Driver      "radeon"
EndSection


No Composite, no EXA, just plain default but of course with glx, dri and drm.

The behaviour is exactly the same as explained in the first post. Same errors, same black screen.
So the problem doesn't seem to be caused by the additional xorg.conf options or the nitro kernel...
_________________
gentoo ownz.
Back to top
View user's profile Send private message
crazedcougar
Tux's lil' helper
Tux's lil' helper


Joined: 16 Dec 2003
Posts: 144
Location: GMT -5

PostPosted: Sat Jan 07, 2006 3:44 am    Post subject: Reply with quote

i don't know a whole lot, but i can refer you to the thread where i manage to get dri working, through many blunders :) :oops:

https://forums.gentoo.org/viewtopic-t-402571-highlight-.html
_________________
crazedcougar@gmail.com
Back to top
View user's profile Send private message
simkin
Apprentice
Apprentice


Joined: 25 Jun 2003
Posts: 164

PostPosted: Thu Feb 16, 2006 3:05 pm    Post subject: Reply with quote

Bump.

Same problem 9200 + Modular X + dri + glx + amd64_agp -> xserver I/O frezee (screen, keyboard) however computer still works.

without amd64_agp -> it doesn't detect agp, disables dri
without glx -> detects agp, loads dri, but obviously there is no gl
without dri -> of course no accel

.... very annoying :(

Note: I'm using x86 arch, not x86_64 .... this has any relation?
Back to top
View user's profile Send private message
sleek
n00b
n00b


Joined: 09 Jan 2003
Posts: 71

PostPosted: Thu Feb 16, 2006 6:17 pm    Post subject: Reply with quote

I have a Radeon 9250, an AMD 64, and have full 3d accleration. I'm at work right now, but when I get home, I'll give you the stuff required to get it working.
_________________
Yesterday was the deadline for all complaints
Back to top
View user's profile Send private message
simkin
Apprentice
Apprentice


Joined: 25 Jun 2003
Posts: 164

PostPosted: Fri Feb 17, 2006 1:17 pm    Post subject: Reply with quote

After 2 days, and trying a hell of combinations, I managed it to work. To change the AGPMode to 8 made the magic for me (with monolithic Xorg I had to use '4' here).
Code:
    Option      "AGPMode" "8"
    #Option    "AGPFastWrite" "True"

@Ypsilon: AGPFastWrite used to hang this card so better disable it. I'll post my new xorg conf if you need it. Regards.
Back to top
View user's profile Send private message
ssmaxss
Apprentice
Apprentice


Joined: 28 Jun 2005
Posts: 160
Location: Moscow, Russia.

PostPosted: Mon Feb 27, 2006 3:36 pm    Post subject: Reply with quote

I also have AMD64 + Ati Mobility Radeon 9200 and X.org 7.0 it works fine but FPS are only 250 while glxinfo reports that direct rendering is enabled. Could you help me? Maybe you will send you xorg.conf to cot@58909.copi.ru?
Back to top
View user's profile Send private message
maiku
l33t
l33t


Joined: 24 Mar 2004
Posts: 608
Location: Escaping from NY

PostPosted: Thu Feb 08, 2007 11:16 pm    Post subject: Reply with quote

EDIT
Please delete this because this is in the wrong section
/EDIT

Tiny bit of an old topic, but I'm having a similar issue. I configured the kernel to have sis-agp which should work for

my chipset and dmesg says:
Quote:
Linux agpgart interface v0.101 (c) Dave Jones
agpgart: Detected SiS 645 chipset
agpgart: AGP aperture is 64M @ 0xe0000000
I installed x11-drm with the "radeon" video card driver.

Quote:
01:00.0 VGA compatible controller: ATI Technologies Inc RV280 [Radeon 9200 PRO] (rev 01)
01:00.1 Display controller: ATI Technologies Inc RV280 [Radeon 9200 PRO] (Secondary) (rev 01)
is what my kernel says about my card. But when I start X up it says:
Quote:
(WW) RADEON: No matching Device section for instance (BusID PCI:1:0:1) found
(**) RADEON(0): RADEONPreInit
(**) RADEON(0): RADEONScreenInit d0000000 0
(**) RADEON(0): Map: 0xd0000000, 0x08000000
(**) RADEON(0): RADEONSave
(**) RADEON(0): RADEONSaveMode(0x8281060)
(**) RADEON(0): Read: 0x0000000c 0x00030065 0x00000000
(**) RADEON(0): Read: rd=12, fd=101, pd=3
(**) RADEON(0): RADEONSaveMode returns 0x8281060
(EE) RADEON(0): [agp] AGP failed to initialize. Disabling the DRI.
(**) RADEON(0): RADEONDRICloseScreen
(**) RADEON(0): RADEONInitMemoryMap() :
(**) RADEON(0): mem_size : 0x08000000
(**) RADEON(0): MC_FB_LOCATION : 0xd7ffd000
(**) RADEON(0): MC_AGP_LOCATION : 0xffffffc0
(**) RADEON(0): RADEONModeInit()
1280x1024 108.00 1280 1328 1440 1688 1024 1025 1028 1066 (24,32) +H +V
1280x1024 108.00 1280 1328 1440 1688 1024 1025 1028 1066 (24,32) +H +V
(**) RADEON(0): Pitch = 10485920 bytes (virtualX = 1280, displayWidth = 1280)
(**) RADEON(0): dc=10800, of=21600, fd=96, pd=2
(**) RADEON(0): RADEONInit returns 0x8281a10
(**) RADEON(0): RADEONRestoreMode()
(**) RADEON(0): RADEONRestoreMode(0x8281a10)
(**) RADEON(0): RADEONRestoreMemMapRegisters() :
(**) RADEON(0): MC_FB_LOCATION : 0xd7ffd000
(**) RADEON(0): MC_AGP_LOCATION : 0xffffffc0
(**) RADEON(0): Map Changed ! Applying ...
(**) RADEON(0): Map applied, resetting engine ...
(**) RADEON(0): Updating display base addresses...
(**) RADEON(0): Memory map updated.
(**) RADEON(0): Programming CRTC1, offset: 0x00000000
(**) RADEON(0): Wrote: 0x0000000c 0x00010060 0x00000000 (0x0000a700)
(**) RADEON(0): Wrote: rd=12, fd=96, pd=1
(**) RADEON(0): GRPH_BUFFER_CNTL from 20027c7c to 200f5c5c
(**) RADEON(0): RADEONSaveScreen(0)
(**) RADEON(0): Setting up initial surfaces
(**) RADEON(0): Initializing fb layer
(**) RADEON(0): Setting up accel memmap
(**) RADEON(0): Initializing backing store
(**) RADEON(0): Setting up final surfaces
(**) RADEON(0): Initializing Acceleration
(**) RADEON(0): EngineInit (32/32)
(**) RADEON(0): Pitch for acceleration = 160
(**) RADEON(0): EngineRestore (32/32)
(**) RADEON(0): Initializing DPMS
(**) RADEON(0): Initializing Cursor
(**) RADEON(0): Initializing color map
(**) RADEON(0): Initializing DGA
(**) RADEON(0): Initializing Xv
(**) RADEON(0): RADEONScreenInit finished
(EE) AIGLX: Screen 0 is not DRI capable
xkb_keycodes { include "xfree86+aliases(qwerty)" };
xkb_types { include "complete" };
xkb_compatibility { include "complete" };
xkb_symbols { include "pc(pc101)+us" };
xkb_geometry { include "pc(pc101)" };
(**) RADEON(0): RADEONSaveScreen(2)
xterm: fatal IO error 32 (Broken pipe) or KillClient on X server ":0.0"
xterm: fatal IO error 32 (Broken pipe) or KillClient on X server ":0.0"
login: fatal IO error 32 (Broken pipe) or KillClient on X server ":0.0"

waiting for X server to shut down (**) RADEON(0): RADEONCloseScreen
(**) RADEON(0): RADEONDRIStop
(**) RADEON(0): RADEONDisplayPowerManagementSet(0,0x0)
(**) RADEON(0): RADEONRestore
(**) RADEON(0): RADEONRestoreMode()
(**) RADEON(0): RADEONRestoreMode(0x8281060)
(**) RADEON(0): RADEONRestoreMemMapRegisters() :
(**) RADEON(0): MC_FB_LOCATION : 0x1fff0000
(**) RADEON(0): MC_AGP_LOCATION : 0x27ff2000
(**) RADEON(0): Map Changed ! Applying ...
Am I using the wrong driver?

EDIT
Quote:
[drm:radeon_cp_init] *ERROR* radeon_cp_init called without lock held, held 0 owner 00000000 f7edc440
[drm:drm_unlock] *ERROR* Process 7559 using kernel context 0
is an error in dmesg I get.
_________________
Michael
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Gentoo on AMD64 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