Re: ATI Radeon X600: no DRI upon X restart :-(

2009-06-27 Thread cpghost
On Sun, Feb 22, 2009 at 08:00:03AM +0200, Vladimir Kushnir wrote:
> Hi,
> Here's a problem. I start X from console via startx. For a long while DRI
> gets initialized only if X is started practically immediately after boot
> and only for the first time. Otherwise (if X is closed, then restarted,
> or something has been done prior to startx) I get :
> 
> (EE) RADEON(0): [pci] Out of memory (-12)
> (EE) RADEON(0): [pci] PCI failed to initialize. Disabling the DRI.

Same problem here (misc/132403), with a Radeon HD 3200 and RadeonHD
driver:

X.Org X Server 1.6.1
Release Date: 2009-4-14
X Protocol Version 11, Revision 0
Build Operating System: FreeBSD 7.2-STABLE amd64 
Current Operating System: FreeBSD phenom.cordula.ws 7.2-STABLE FreeBSD 
7.2-STABLE #0: Thu Jun 25 22:47:05 CEST 2009 
r...@phenom.cordula.ws:/usr/obj/usr/src/sys/GENERIC amd64
Build Date: 11 May 2009  08:48:10PM

[...]

(--) PCI:*(0...@1:5:0) ATI Technologies Inc Radeon HD 3200 Graphics rev 0, Mem 
@ 0xf000/134217728, 0xfe9f/65536, 0xfe80/1048576, I/O @ 
0xd000/256, BIOS @ 0x/65536

[...]

(II) LoadModule: "radeonhd"
(II) Loading /usr/local/lib/xorg/modules/drivers//radeonhd_drv.so
(II) Module radeonhd: vendor="AMD GPG"
compiled for 1.6.1, module version = 1.2.5
Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 5.0

[...]

(II) RADEONHD: version 1.2.5, built from dist of git branch master, commit 
cb54f48b

[...]

(**) RADEONHD(0): Option "AccelMethod" "EXA"
(**) RADEONHD(0): Option "DRI" "True"
(**) RADEONHD(0): Selected EXA 2D acceleration.
(II) RADEONHD(0): Unknown card detected: 0x9610:0x1462:0x7501.
If - and only if - your card does not work or does not work optimally
please contact radeo...@opensuse.org to help rectify this.
Use the subject: 0x9610:0x1462:0x7501: 
and *please* describe the problems you are seeing
in your message.
(--) RADEONHD(0): Detected an RS780 on an unidentified card
(II) RADEONHD(0): Mapped IO @ 0xfe9f to 0x8006b4000 (size 0x0001)
(II) RADEONHD(0): Getting BIOS copy from legacy VBIOS location
(II) RADEONHD(0): ATOM BIOS Rom: 
SubsystemVendorID: 0x1002 SubsystemID: 0x1002
IOBaseAddress: 0xd000
Filename: MS7501_H_5.b
BIOS Bootup Message: 
B27721 RS780 DDR2 200e/500m 

(II) RADEONHD(0): Analog TV Default Mode: 1
(II) RADEONHD(0): Found default TV Mode NTSC
(--) RADEONHD(0): VideoRAM: 131072 kByte
(II) RADEONHD(0): Framebuffer space used by Firmware (kb): 20
(II) RADEONHD(0): Start of VRAM area used by Firmware: 0x7ffb000
(II) RADEONHD(0): AtomBIOS requests 20kB of VRAM scratch space
(II) RADEONHD(0): AtomBIOS VRAM scratch base: 0x7ffb000

[...]

(II) RADEONHD(0): Found libdri 5.4.0.
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenByBusid: Searching for BusID pci::01:05.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenByBusid: drmOpenMinor returns 8
drmOpenByBusid: drmGetBusid reports pci::01:05.0
(II) RADEONHD(0): Found libdrm 1.3.0.
(II) RADEONHD(0): Found radeon drm 1.29.0.

[...]

(II) Loading /usr/local/lib/xorg/modules//libexa.so
(II) Module exa: vendor="X.Org Foundation"
compiled for 1.6.1, module version = 2.4.0
ABI class: X.Org Video Driver, version 5.0
(II) RADEONHD(0): FB: Allocated Offscreen Buffer at offset 0x00508000 (size = 
0x00CCD000)
(II) RADEONHD(0): FB: Allocated DRI Back Buffer at offset 0x011D5000 (size = 
0x0050)
(II) RADEONHD(0): FB: Allocated DRI Depth Buffer at offset 0x016D5000 (size = 
0x0050)
(II) RADEONHD(0): FB: Allocated GART table at offset 0x07FF (size = 
0x0001, end of FB)
(II) RADEONHD(0): FB: Allocated DRI Textures at offset 0x01BD5000 (size = 
0x0640)
(II) RADEONHD(0): Using 16 MB GART aperture
(II) RADEONHD(0): Using 2 MB for the ring buffer
(II) RADEONHD(0): Using 2 MB for vertex/indirect buffers
(II) RADEONHD(0): Using 12 MB for GART textures
(--) Depth 24 pixmap format is 32 bpp
(II) do I need RAC?  No, I don't.
(II) resource ranges after preInit:
[0] -1  0   0x000f - 0x000f (0x1) MX[B]
[1] -1  0   0x000c - 0x000e (0x3) MX[B]
[2] -1  0   0x - 0x0009 (0xa) MX[B]
[3] 0   0   0x000a - 0x000a (0x1) MS[B]
[4] 0   0   0x000b - 0x000b7fff (0x8000) MS[B]
[5] 0   0   0x000b8000 - 0x000b (0x8000) MS[B]
[6] -1  0   0x - 0x (0x1) IX[B]
[7] -1  0   0x - 0x00ff (0x100) IX[B]
[8] 0   0   0x03b0 - 0x03bb (0xc) IS[B]
[9] 0   0   0x03c0 - 0x03df (0x20) IS[B]
(II) RADEONHD(0): Mapped IO @ 0xfe9f to 0x8006b4000 (size 0x0001)
(II) RADEONHD(0): Mapped FB @ 0xf000 to 0x802a0 (size 0x0800)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevi

ATI Radeon X600: no DRI upon X restart :-(

2009-02-21 Thread Vladimir Kushnir
Hi,
Here's a problem. I start X from console via startx. For a long while DRI
gets initialized only if X is started practically immediately after boot
and only for the first time. Otherwise (if X is closed, then restarted,
or something has been done prior to startx) I get :

(EE) RADEON(0): [pci] Out of memory (-12)
(EE) RADEON(0): [pci] PCI failed to initialize. Disabling the DRI.

This is amd64-CURRENT,
uname -a:
FreeBSD kushnir1.kiev.ua 8.0-CURRENT FreeBSD 8.0-CURRENT #1: Wed Feb  4
08:15:51 EET 2009 r...@kushnir1.kiev.ua:/usr/obj/usr/src/sys/KUSHNIR
amd64

NForce4 based MB (s939) Asus A8N SLI, Athlon 3000+, 512 MB RAM, Radeon
X600 PCIE.

Any suggestions?

TIA,
Vladimir
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"