From owner-freebsd-x11@freebsd.org Thu Aug 16 17:32: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 4B1E3106FE37 for ; Thu, 16 Aug 2018 17:32:28 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: from hraggstad.unrelenting.technology (hraggstad.unrelenting.technology [71.19.146.151]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hraggstad.unrelenting.technology", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C6E8E8F156 for ; Thu, 16 Aug 2018 17:32:27 +0000 (UTC) (envelope-from greg@unrelenting.technology) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=unrelenting.technology; h=date:from:subject:to:message-id; s=default; bh=HchHEUp1Bt0uey+aF6Y1sKgKojd3jb4NkT0KMJvwUts=; b=HIN8UTl7+OXchqUsMrAvuqJ6F2/2g2TCXqVgEtgbCmyClwagaU6NyyZ4etLkEFxr9cCcdCiG/RzIpCWO0O0lg3rAfObJVENBtW2t1b10In+muQkcK57hLYq2Seg2Lb4s56tiszcwKlqZvGos6mlKtAiaMdNIlAAkqFYGVOPR6T8= Received: by hraggstad.unrelenting.technology (OpenSMTPD) with ESMTPSA id 170b8f09 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Thu, 16 Aug 2018 17:32:12 +0000 (UTC) Date: Thu, 16 Aug 2018 20:32:07 +0300 From: Greg V Subject: Re: Testing the linux compatibility with the amdgpu driver and linux-doom3 fails To: Stefan Rumetshofer Cc: freebsd-x11@freebsd.org Message-Id: <1534440727.2150.0@hraggstad.unrelenting.technology> In-Reply-To: <255786377.P3pStmDMii@saturn.lan> References: <255786377.P3pStmDMii@saturn.lan> X-Mailer: geary/0.12.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed 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: Thu, 16 Aug 2018 17:32:28 -0000 On Thu, Aug 16, 2018 at 7:46 PM, Stefan Rumetshofer wrote: > Firts of all i hope this is not the wrong mailing list. > > I was trying to run linux-doom3 from the ports collection with my > graphics > hardware but this fails with an error realted to OpenGL or so. Also > other > linux games are failing like Unreal or RTCW. It seems that there is a > general > Problem with the amd Graphics driver and the linux compatibility. I > also teted > the game wit the intel driver on my SandyBridge GPU with no error. Hi, was the sandybridge system running i915 also from drm-next or the old in-tree version? > My graphics hardware is an AMD Radeon RX560. OS is a FreeBSD > 11.2-RELEASE with > drm-next-kmod and xf86-video-amdgpu. The kernel module is loaded with > kld_list="amdgpu" in the rc.conf and the X11 driver is loaded with > 'Driver > "amdgpu"' in the Device Section of the xorg.conf. Xorg works fine > with this > configuration. > > Following linux related packages are installed: > linux-c7-dri-17.0.1 = up-to-date with remote > linux-c7-elfutils-libelf-0.168 = up-to-date with remote > linux-c7-expat-2.1.0_2 = up-to-date with remote > linux-c7-fontconfig-2.10.95_3 = up-to-date with remote > linux-c7-glx-utils-8.2.0_4 = up-to-date with remote > linux-c7-libpciaccess-0.13.4_3 = up-to-date with remote > linux-c7-xorg-libs-7.7_5 = up-to-date with remote > linux-doom3-1.3.1.1304,1 = up-to-date with remote > linux_base-c7-7.4.1708_6 = up-to-date with remote > > When running linux-doom3 i get the following output: > % linux-doom3 > [...] > ------------------------------- > using ARB_vertex_buffer_object memory > using ARB2 renderSystem > signal caught: Segmentation fault > si_code 1 A backtrace would be useful here. Was a core dump produced? Anyway, I definitely have run Linux GL applications on amdgpu, but I was using an Ubuntu chroot instead of the linux-* ports.