From owner-freebsd-x11@freebsd.org Sun Oct 7 12:37:28 2018 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1BDA110C1A7E for ; Sun, 7 Oct 2018 12:37:28 +0000 (UTC) (envelope-from zeising@freebsd.org) Received: from mail.daemonic.se (mail.daemonic.se [176.58.89.161]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A532F83527 for ; Sun, 7 Oct 2018 12:37:27 +0000 (UTC) (envelope-from zeising@freebsd.org) Received: from cid.daemonic.se (localhost [IPv6:::1]) by mail.daemonic.se (Postfix) with ESMTP id 42SjgM6Z8vzDhqd; Sun, 7 Oct 2018 12:37:19 +0000 (UTC) X-Virus-Scanned: amavisd-new at daemonic.se Received: from mail.daemonic.se ([127.0.0.1]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256) by cid.daemonic.se (mailscanner.daemonic.se [127.0.0.1]) (amavisd-new, port 10587) with ESMTPS id FUUtPtjX-Q-E; Sun, 7 Oct 2018 12:37:19 +0000 (UTC) Received: from garnet.daemonic.se (host-78-79-50-183.mobileonline.telia.com [78.79.50.183]) by mail.daemonic.se (Postfix) with ESMTPSA id 42SjgL0yjFzDhFd; Sun, 7 Oct 2018 12:37:17 +0000 (UTC) Subject: Re: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231884 To: "J. Altman" , freebsd-x11@freebsd.org References: <20181006140818.GA5406@whisperer.chthonixia.net> From: Niclas Zeising Message-ID: <1226a127-ac5d-960d-4be6-240f9d98fac5@freebsd.org> Date: Sun, 7 Oct 2018 14:37:16 +0200 User-Agent: Mutt/1.5.21 MIME-Version: 1.0 In-Reply-To: <20181006140818.GA5406@whisperer.chthonixia.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.27 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, 07 Oct 2018 12:37:28 -0000 On 10/6/18 4:08 PM, J. Altman wrote: > Hello, list-members... > > Regarding the issue expressed in the link contained in the subject > line: Me Too. > > Here is the info on the card that worked until today, > Saturday, October 6 2018: > > vgapci0@pci0:4:0:0: class=0x030000 card=0x304e1682 chip=0x68e01002 rev=0x00 hdr=0x00 > vendor = 'Advanced Micro Devices, Inc. [AMD/ATI]' > device = 'Park [Mobility Radeon HD 5430/5450/5470]' > class = display > subclass = VGA > > Xorg is current from ports. > > uname -a: > FreeBSD whisperer.chthonixia.net > 11.2-RELEASE-p4 FreeBSD 11.2-RELEASE-p4 #0 r339210: > Fri Oct 5 10:44:39 EDT 2018 root@whisperer.chthonixia.net:/usr/obj/usr /src/sys/WHISPERER amd64 > > (NB: regarding uname -a, since it may be of interest...I updated the ati driver from ports > sometime prior to system update as indicated in uname -a; prior to the system update, the > ati driver worked fine...for both the updated driver and the previous ati driver. > In my experience, whatever this is, occurred after the world/kernel upgrade...to reiterate, > it occurred on my machine *after* the update to the ati driver....which I think was > Thursday, October 4....but perhaps sooner? Anyway, JIC it has relevance.) > > What else....oh, yeah: none of the suggestions in the relevant thread have worked....none of the drm-* > possibilities enable startx to succeed; and the error I receive is this: > > "drmn0: error: No GEM object associated to handle 0x000004B0, can't create framebuffer" > > I take it the 0x0.... is associated with the particular card I use? > > Further to if it's relevant, since my question below may be the easier route: > > CPU: AMD A10-7700K Radeon R7, 10 Compute Cores 4C+6G (3393.72-MHz K8-class CPU) > Origin="AuthenticAMD" Id=0x630f01 Family=0x15 Model=0x30 Stepping=1 > Features=0x178bfbff > Features2=0x3e98320b > AMD Features=0x2e500800 > AMD Features2=0xfebbfff,DBE,PTSC> > Structured Extended Features=0x9 > XSAVE Features=0x1 > SVM: NP,NRIP,VClean,AFlush,DAssist,NAsids=65536 > TSC: P-state invariant, performance statistics > > Perhaps it is time to try, again, to get this integrated GPU to work...however, my past efforts have failed, > always leading to a lack of a useful display....at least, with the current card, I can use a B&W console even > though I cannot use X. > > So, advice is welcome: should I try to use the Kaveri Radeon R7 AGPU, or troubleshoot the PCI Radeon? > > Thank you for any advice, and for the many hours of hard work put into > the AMD graphics stackenstein :) > Hi! There are some regressions with xf86-video-ati as you can see, we are working on a way to resole this. In the meantime, if you have any of the drm-next or drm-stable ports installed, can you check that they have actually loaded? You need to add kld_list="/boot/modules/radeonkms.ko" to rc.conf to have the module load at boot, or manually, as root, do kldload /boot/modules/radeonkms.ko. Please try to start X after this. Can you please provide the output of kldstat -v if the module is loaded, or believed to be loaded. Thank you! Regards -- Niclas Zeising