Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jul 2014 22:25:18 +0200
From:      Carlos Jacobo Puga Medina <cpm@fbsd.es>
To:        freebsd-x11@freebsd.org
Subject:   ATI radeon 3450 with new xorg
Message-ID:  <20140722222518.a5f098a3e5aa4f85407cb3b4@fbsd.es>

next in thread | raw e-mail | index | archive | help
Hi people,

Currently I'm testing an ATI Radeon HD 3450 with the new Xorg drivers on 11-CURRENT. It works partially due some ports aren't able to compile with CLANG and prefer GCC47. These ports are dri, libGL and libglapi.

% uname -a
FreeBSD box.underbuild.com 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r268969: Tue Jul 22 12:50:29 CEST 2014     charly@box.underbuild.com:/usr/obj/usr/src/sys/PROD  i386

% make -C /usr/ports/graphics/dri -V CC
gcc47

I've added in make.conf
WITH_NEW_XORG=yes
WITH_GALLIUM=yes

glxinfo spits out that it doesn't have rendering support:

libGL: OpenDriver: trying /usr/local/lib/dri/r600_dri.so
libGL error: dlopen /usr/local/lib/dri/r600_dri.so failed (/usr/local/lib/dri/r600_dri.so: Undefined symbol "_ZN4llvm13EngineBuilder12selectTargetERKNS_6TripleENS_9StringRefES4_RKNS_15SmallVectorImplISsEE")
libGL error: unable to load driver: r600_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: r600
libGL: OpenDriver: trying /usr/local/lib/dri/swrast_dri.so
libGL error: dlopen /usr/local/lib/dri/swrast_dri.so failed (/usr/local/lib/dri/swrast_dri.so: Undefined symbol "_ZN4llvm13EngineBuilder12selectTargetERKNS_6TripleENS_9StringRefES4_RKNS_15SmallVectorImplISsEE")
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
name of display: :0.0
display: :0  screen: 0
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose) 
<snip>

I attach the full logs for debugging purposes:

http://pastebin.com/avCJN9QJ # glxinfo
http://pastebin.com/C0fF5e3w # pciconf
http://pastebin.com/FYMrV0Fr # Xorg.0.log
http://pastebin.com/rYjrsvjd # dmesg
http://pastebin.com/zbmgfv77 # pkg info

Any thoughts?
-- 
Carlos Jacobo Puga Medina <cpm@fbsd.es>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140722222518.a5f098a3e5aa4f85407cb3b4>