From owner-freebsd-questions@FreeBSD.ORG Mon Jul 16 00:48:24 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AF34B1065672 for ; Mon, 16 Jul 2012 00:48:24 +0000 (UTC) (envelope-from akirchhoff135014@comcast.net) Received: from QMTA11.westchester.pa.mail.comcast.net (qmta11.westchester.pa.mail.comcast.net [76.96.59.211]) by mx1.freebsd.org (Postfix) with ESMTP id 5B5BF8FC16 for ; Mon, 16 Jul 2012 00:48:24 +0000 (UTC) Received: from omta20.westchester.pa.mail.comcast.net ([76.96.62.71]) by QMTA11.westchester.pa.mail.comcast.net with comcast id aod91j0041YDfWL5BooLVc; Mon, 16 Jul 2012 00:48:20 +0000 Received: from [192.168.5.101] ([68.83.2.18]) by omta20.westchester.pa.mail.comcast.net with comcast id aooA1j00S0PJoQc3gooAbH; Mon, 16 Jul 2012 00:48:11 +0000 Message-ID: <1342399697.9982.0.camel@sorrow-ub> From: Adam K Kirchhoff To: Anton Shterenlikht Date: Sun, 15 Jul 2012 20:48:17 -0400 In-Reply-To: <20120715230845.GA26528@mech-cluster241.men.bris.ac.uk> References: <20120715230845.GA26528@mech-cluster241.men.bris.ac.uk> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 Content-Transfer-Encoding: 7bit Mime-Version: 1.0 Cc: freebsd-x11@freebsd.org, freebsd-questions@freebsd.org Subject: Re: ati, radeon, dri (drm) confusion X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jul 2012 00:48:24 -0000 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@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: port 0x4000-0x40ff mem 0xc0100000-0xc80fffff,0 > xd0200000-0xd020ffff,0xd0300000-0xd03fffff irq 19 at device 5.0 on pci1 > vga0: 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 >