ati, radeon, dri (drm) confusion
Anton Shterenlikht
mexas at bristol.ac.uk
Sun Jul 15 23:08:48 UTC 2012
My X behaves really weird lately [1,2],
so I went back to basics. Can somebody
please comment on whether what I'm doing
seems correct. Thanks
HP Compaq 6715s laptop
FreeBSD 10.0-CURRENT #9 r238259M amd64
vgapci0 at pci0:1:5:0: class=0x030000 card=0x30c2103c chip=0x791f1002 rev=0x00
hdr=0x00
vendor = 'ATI Technologies Inc'
device = 'RS690M [Radeon X1200 Series]'
class = display
subclass = VGA
which, according to radeon(4x), is
supported by radeon driver.
I've got in the kernel, amongst other things,:
device agp
device drm
device radeondrm
device vga
I then see in dmesg:
$ dmesg | grep vga
vgapci0: <VGA-compatible display> port 0x4000-0x40ff mem 0xc0100000-0xc80fffff,0
xd0200000-0xd020ffff,0xd0300000-0xd03fffff irq 19 at device 5.0 on pci1
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
$ dmesg | grep -i agp
$ dmesg | grep -i radeon
Is this expected that there's nothing
related to either agp on radeon in dmesg?
Anyway, if I do X auto-configure, i.e.
X -configure, I get in the resulting
xorg.conf.new:
Identifier "Card0"
Driver "radeon"
VendorName "Advanced Micro Devices [AMD] nee ATI"
BoardName "RS690M [Radeon X1200 Series]"
BusID "PCI:1:5:0"
Is that correct?
I then see in /var/log/Xorg.0.log:
drmOpenDevice: node name is /dev/dri/card0
Failed to change owner or group for file /dev/dri! 2: No such file or directory
Failed to change owner or group for file /dev/dri/card0! 2: No such file or dire
ctory
drmOpenDevice: open result is -1, (No such file or directory)
Failed to change owner or group for file /dev/dri/card0! 2: No such file or dire
ctory
drmOpenDevice: open result is -1, (No such file or directory)
drmOpenDevice: Open failed
[drm] failed to load kernel module "radeon"
(EE) RADEON(0): [dri] RADEONDRIGetVersion failed to open the DRM
[dri] Disabling DRI.
I guess this is not good, right?
Please advise
[1] http://lists.freebsd.org/pipermail/freebsd-x11/2012-June/012100.html
[2] http://lists.freebsd.org/pipermail/freebsd-current/2012-July/035171.html
--
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
More information about the freebsd-questions
mailing list