tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

DRM/DRI problems 5.0.1/amd64



Hello all,

I recently decided to give NetBSD 5.0.1 a shot on my amd64 workstation
at home, with a radeon x850.  I compiled a new kernel with radeondrm
enabled.  Upon rebooting, the card is detected:

radeondrm0 at vga0: ATI Radeon R480 X850 XT PE (unit 0)
[drm:pid0:drm_load] 
[drm:pid0:radeon_driver_load] PCIE card detected
[drm:pid0:drm_ctxbitmap_next] drm_ctxbitmap_next bit : 0
[drm:pid0:drm_ctxbitmap_init] drm_ctxbitmap_init : 0
radeondrm0: Initialized radeon 1.26.0 20060524

But, with both Xorg from the x11 sets, and with Xorg from the modular
Xorg in pkgsrc, direct rendering is disabled in the X server, and the
log file shows this error:

(II) RADEON(0): [drm] installed DRM signal handler
(II) RADEON(0): [pci] 32768 kB allocated with handle 0x4a450000
(II) RADEON(0): [pci] ring handle = 0x4a450000
(EE) RADEON(0): [pci] Could not map ring
(EE) RADEON(0): [pci] PCI failed to initialize. Disabling the DRI.
(II) RADEON(0): [drm] removed 1 reserved context for kernel
(II) RADEON(0): [drm] unmapping 8192 bytes of SAREA 0x7fff800004435000 at 
0x7f7ffdfdb000
(II) RADEON(0): [drm] Closed DRM master.

Does anyone have any suggestions on how I can get this working?  I
waffled back and forth on where to ask about this, either tech-kern or
tech-x11, but this seemed most appropriate as I think it's a an issue
with the kernel DRM driver.  I am attaching my full dmesg, with DRM
debugging enabled, and the full /var/log/Xorg.0.log file.

Also, I gave -current a shot, too, but ran into another DRM related
issue that is apparently already known:

http://mail-index4.netbsd.org/current-users/2009/06/30/msg009865.html

Adam


Home | Main Index | Thread Index | Old Index