From owner-freebsd-x11@FreeBSD.ORG Sun Jul 15 23:08:48 2012 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0BC73106564A; Sun, 15 Jul 2012 23:08:48 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id B80E28FC0A; Sun, 15 Jul 2012 23:08:47 +0000 (UTC) Received: from ncsc.bris.ac.uk ([137.222.10.41]) by dirg.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1SqXvi-0002IN-Qk; Mon, 16 Jul 2012 00:08:46 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncsc.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1SqXvi-0007k4-9M; Mon, 16 Jul 2012 00:08:46 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5) with ESMTP id q6FN8ktv026594; Mon, 16 Jul 2012 00:08:46 +0100 (BST) (envelope-from mexas@bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5/Submit) id q6FN8jGv026593; Mon, 16 Jul 2012 00:08:45 +0100 (BST) (envelope-from mexas@bris.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bris.ac.uk using -f Date: Mon, 16 Jul 2012 00:08:45 +0100 From: Anton Shterenlikht To: freebsd-questions@freebsd.org, freebsd-x11@freebsd.org Message-ID: <20120715230845.GA26528@mech-cluster241.men.bris.ac.uk> Mail-Followup-To: freebsd-questions@freebsd.org, freebsd-x11@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Cc: Subject: ati, radeon, dri (drm) confusion X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Jul 2012 23:08:48 -0000 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 -- 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