ati, radeon, dri (drm) confusion
Adam K Kirchhoff
akirchhoff135014 at comcast.net
Mon Jul 16 00:48:24 UTC 2012
Have you tried loading the radeon kernel module from /boot/loader.conf?
Or even from the console, before starting X?
Adam
On Mon, 2012-07-16 at 00:08 +0100, Anton Shterenlikht wrote:
> 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
>
More information about the freebsd-questions
mailing list