From owner-freebsd-x11@FreeBSD.ORG Wed Nov 19 14:46:12 2014 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 61B1C3E1 for ; Wed, 19 Nov 2014 14:46:12 +0000 (UTC) Received: from mail.palmen-it.de (stef.palmen-it.de [IPv6:2a01:198:49d:1::1]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2596E69 for ; Wed, 19 Nov 2014 14:46:12 +0000 (UTC) Received: from dslb-084-056-246-061.084.056.pools.vodafone-ip.de ([84.56.246.61] helo=[192.168.98.102]) by mail.palmen-it.de with esmtpsa (TLS1.0:DHE_RSA_CAMELLIA_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1Xr6WI-0002oe-3T for freebsd-x11@freebsd.org; Wed, 19 Nov 2014 14:46:10 +0000 Message-ID: <546CAD30.3060600@palmen-it.de> Date: Wed, 19 Nov 2014 15:46:08 +0100 From: Felix Palmen User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130307 Thunderbird/17.0.4 MIME-Version: 1.0 To: freebsd-x11@freebsd.org Subject: DRI not working, AMD E 300 with Radeon HD 6310 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 84.56.246.61 X-SA-Exim-Rcpt-To: freebsd-x11@freebsd.org X-SA-Exim-Mail-From: felix@palmen-it.de X-SA-Exim-Scanned: No (on mail.palmen-it.de); SAEximRunCond expanded to false 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 14:46:12 -0000 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