From owner-freebsd-x11@FreeBSD.ORG Wed Nov 19 15:30:02 2014 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B1A36AFB for ; Wed, 19 Nov 2014 15:30:02 +0000 (UTC) Received: from mail14.wdc04.mandrillapp.com (mail14.wdc04.mandrillapp.com [205.201.139.14]) (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 66AFA77F for ; Wed, 19 Nov 2014 15:30:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; s=mandrill; d=waitman.net; h=From:Subject:To:Cc:Message-Id:In-Reply-To:References:Date:MIME-Version:Content-Type:Content-Transfer-Encoding; i=waitman@waitman.net; bh=KBoglhwJVOEBnyOi0J2EWTFeKiI=; b=Vd66bXGAwe9ED6zDWiBzFnJqLVVd9rqEloTeTtOo+wORhBTgS+v2XBfyVgp2xMOEJXwn/jjtCier P99smF29dUGuFYA9VyUnPrisMPB7WY/onxiPZMaLrYip09vlI+w8tWMVKAfMltlVcTCJu8GW8R+a 2jGPAYl7Ca3rL+eNpY8= DomainKey-Signature: a=rsa-sha1; c=nofws; q=dns; s=mandrill; d=waitman.net; b=PVmV/FZbbilxellyx5ZiA4Lf87qsn/BqDWPBg5nIlPRHivdQcm+MtRO56MsVJZonJELes6Ng3i0J VYmITcDr3Vpsjxt1d0gFkm8b95j7N6lIiqc2OuOLObzkpTctEuubiA/eqNJizjXr49ImiYo4K0vo ojgwo+U6HYYECgZvxOY=; Received: from pmta05.wdc01.mailchimp.com (127.0.0.1) by mail14.wdc04.mandrillapp.com id hdirnk1jvjgo for ; Wed, 19 Nov 2014 15:14:54 +0000 (envelope-from ) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mandrillapp.com; i=@mandrillapp.com; q=dns/txt; s=mandrill; t=1416410094; h=From : Subject : To : Cc : Message-Id : In-Reply-To : References : Date : MIME-Version : Content-Type : Content-Transfer-Encoding : From : Subject : Date : X-Mandrill-User : List-Unsubscribe; bh=OB/fDoZXBf10yz9hfFPw7pPrfFirrMfc/Oqv6TSPFMU=; b=IFoSOSvvjdZJTTxosgjHAytNwxrFi6xqXsChjrtURHRdAdxsVauDO6k2g2a2yIAHZZJhDk 4x16k7MQU+sJB40Vb45dPIUiVX0sYYOrHRfzKtkM6WgH9fo09GSxbRfzhMHEioDjdqgqqfv5 zK1i1SQfG/HUkDTMVKvBQwCC3ua00= From: Waitman Gobble Subject: Re: DRI not working, AMD E 300 with Radeon HD 6310 To: Felix Palmen Message-Id: <20141119071451.6613dc13f59c491f7b9887a5@waitman.net> In-Reply-To: <546CAD30.3060600@palmen-it.de> References: <546CAD30.3060600@palmen-it.de> Received: from [66.135.50.201] by mandrillapp.com id 6e1d7ce881c4417e9a438da96b831d99; Wed, 19 Nov 2014 15:14:54 +0000 X-Report-Abuse: Please forward a copy of this message, including all headers, to abuse@mandrill.com X-Report-Abuse: You can also report abuse here: http://mandrillapp.com/contact/abuse?id=30351336.6e1d7ce881c4417e9a438da96b831d99 X-Mandrill-User: md_30351336 Date: Wed, 19 Nov 2014 15:14:54 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: freebsd-x11@freebsd.org X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2014 15:30:02 -0000 On Wed, 19 Nov 2014 15:46:08 +0100 Felix Palmen wrote: > Hello all, > > I'm just trying out whether FreeBSD could replace my Linux installation > on my notebook, so not entirely sure whether this is the right place to > ask -- if not, sorry for that and please give directions to the right > place, thank you. > > Most things work just fine, but DRI does not work: > > [ 49.676] (II) AIGLX: Screen 0 is not DRI2 capable > [ 49.676] (II) AIGLX: Screen 0 is not DRI capable > [ 51.511] (II) AIGLX: Loaded and initialized swrast > [ 51.511] (II) GLX: Initialized DRISWRAST GL provider for screen 0 > > So I checked the kernel output and found the following: > > Copyright (c) 1992-2014 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 11.0-CURRENT #0 r274426: Wed Nov 12 22:49:15 CET 2014 > root@photon.home.palmen-it.de:/usr/obj/usr/src/sys/NODEBUG amd64 > FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 > VT: running with driver "efifb". > > [...] > > vgapci0: port 0x4000-0x40ff mem > 0xe0000000-0xefffffff,0xf0300000-0xf033ffff irq 18 at device 1.0 on pci0 > drmn0: on vgapci0 > info: [drm] MSI enabled 1 message(s) > info: [drm] RADEON_IS_PCIE > info: [drm] initializing kernel modesetting (PALM 0x1002:0x9802 > 0x17AA:0x21EC). > info: [drm] register mmio base: 0xF0300000 > info: [drm] register mmio size: 262144 > info: [drm] radeon_atrm_get_bios: ===> Try ATRM... > info: [drm] radeon_atrm_get_bios: IGP card detected, skipping this method... > info: [drm] radeon_acpi_vfct_bios: ===> Try VFCT... > info: [drm] radeon_acpi_vfct_bios: Get "VFCT" ACPI table > info: [drm] radeon_acpi_vfct_bios: Failed to get "VFCT" table: AE_NOT_FOUND > info: [drm] igp_read_bios_from_vram: ===> Try IGP's VRAM... > info: [drm] igp_read_bios_from_vram: VRAM base address: 0xe0000000 > info: [drm] igp_read_bios_from_vram: Map address: 0xfffff800e0000000 > (262144 bytes) > info: [drm] igp_read_bios_from_vram: Incorrect BIOS signature: 0x0000 > info: [drm] radeon_read_bios: ===> Try PCI Expansion ROM... > info: [drm] radeon_read_bios: Map address: 0xfffff800000c0000 (131072 bytes) > info: [drm] ATOM BIOS: Lenovo > drmn0: info: VRAM: 384M 0x0000000000000000 - 0x0000000017FFFFFF (384M used) > drmn0: info: GTT: 512M 0x0000000018000000 - 0x0000000037FFFFFF > info: [drm] Detected VRAM RAM=384M, BAR=256M > info: [drm] RAM width 32bits DDR > [TTM] Zone kernel: Available graphics memory: 1872740 kiB > [TTM] Initializing pool allocator > info: [drm] radeon: 384M of VRAM memory ready > info: [drm] radeon: 512M of GTT memory ready. > info: [drm] Supports vblank timestamp caching Rev 1 (10.10.2010). > info: [drm] Driver supports precise vblank timestamp query. > info: [drm] radeon: irq initialized. > info: [drm] GART: num cpu pages 131072, num gpu pages 131072 > info: [drm] Loading PALM Microcode > info: [drm] PCIE GART of 512M enabled (table at 0x0000000000040000). > drmn0: info: WB enabled > drmn0: info: fence driver on ring 0 use gpu addr 0x0000000018000c00 and > cpu addr 0x0xfffff8011efc9c00 > drmn0: info: fence driver on ring 3 use gpu addr 0x0000000018000c0c and > cpu addr 0x0xfffff8011efc9c0c > info: [drm] ring test on 0 succeeded in 1 usecs > error: [drm:pid0:r600_dma_ring_test] *ERROR* radeon: ring 3 test failed > (0xCAFEDEAD) > > ** ^ This seems to be the source of the problem.... > > drmn0: error: disabling GPU acceleration > drmn0: warning: 0xfffff80002af6000 unpin not necessary > info: [drm] radeon_device_init: Taking over the fictitious range > 0xe0000000-0xf0000000 > > [...] > > info: [drm] Radeon Display Connectors > info: [drm] Connector 0: > info: [drm] LVDS-1 > info: [drm] HPD1 > info: [drm] DDC: 0x6430 0x6430 0x6434 0x6434 0x6438 0x6438 0x643c 0x643c > info: [drm] Encoders: > info: [drm] LCD1: INTERNAL_UNIPHY > info: [drm] Connector 1: > info: [drm] HDMI-A-1 > info: [drm] HPD2 > info: [drm] DDC: 0x6440 0x6440 0x6444 0x6444 0x6448 0x6448 0x644c 0x644c > info: [drm] Encoders: > info: [drm] DFP1: INTERNAL_UNIPHY > info: [drm] Connector 2: > info: [drm] VGA-1 > info: [drm] DDC: 0x64d8 0x64d8 0x64dc 0x64dc 0x64e0 0x64e0 0x64e4 0x64e4 > info: [drm] Encoders: > info: [drm] CRT1: INTERNAL_KLDSCP_DAC1 > drmn0: warning: Can't enable IRQ/MSI because no handler is installed > info: [drm] Internal thermal controller without fan control > info: [drm] radeon: power management initialized > info: [drm] Connector LVDS-1: get mode from tunables: > info: [drm] - kern.vt.fb.modes.LVDS-1 > info: [drm] - kern.vt.fb.default_mode > info: [drm] Connector HDMI-A-1: get mode from tunables: > info: [drm] - kern.vt.fb.modes.HDMI-A-1 > info: [drm] - kern.vt.fb.default_mode > info: [drm] Connector VGA-1: get mode from tunables: > info: [drm] - kern.vt.fb.modes.VGA-1 > info: [drm] - kern.vt.fb.default_mode > info: [drm] fb mappable at 0xE0142000 > info: [drm] vram apper at 0xE0000000 > info: [drm] size 4325376 > info: [drm] fb depth is 24 > info: [drm] pitch is 5632 > fbd0 on drmn0 > VT: Replacing driver "efifb" with new "fb". > info: [drm] Initialized radeon 2.29.0 20080528 > vgapci0: Boot video device > > As https://wiki.freebsd.org/Graphics lists my chip with "Works", what > could I have missed here? Could it be anything in 11-current breaking > this, so trying 10.1 could help? > > Thanks for help/ideas/hints ... > > Best regards, > Felix > > -- > Dipl.-Inform. Felix Palmen ,.//.......... > {web} http://palmen-it.de {jabber} [see email] ,//palmen-it.de > {pgp public key} http://palmen-it.de/pub.txt // """"""""""" > {pgp fingerprint} ED9B 62D0 BE39 32F9 2488 5D0C 8177 9D80 5ECF F683 > _______________________________________________ > freebsd-x11@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-x11 > To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org" An article on wikipedia 'claims' the Radeon HD 6310 'Zacate' using Evergreen chipset, however the wiki page on FreeBSD graphics shows Northern Islands / Palm... see in your posted log that PALM firmware is being loaded. http://en.wikipedia.org/wiki/AMD_Accelerated_Processing_Unit#Bobcat_architecture_.282011.29:_Ontario.2C_Zacate.2C_Desna.2C_Hondo (6310 does not appear on http://en.wikipedia.org/wiki/Radeon_HD_6000_Series) It appears to me this product was released in 2011 'in-between-stage' Evergreen/Northern Islands. Maybe that's the issue? Can you try booting a Linux kernel (maybe mainline) from USB or something to see what firmware is loaded? also.. It would be nice to import a newer kernel version.. 3.8 (if my recollection is correct) is getting dated. +I'd still love to have BONAIR support. :) -- Waitman Gobble