From owner-freebsd-x11@freebsd.org Thu Aug 16 17:31:00 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 69476106FC30 for ; Thu, 16 Aug 2018 17:31:00 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from vps-mail.nomadlogic.org (mail.nomadlogic.org [IPv6:2607:f2f8:a098::2]) (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 E24138EEBD for ; Thu, 16 Aug 2018 17:30:59 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from [192.168.1.106] (cpe-76-175-75-27.socal.res.rr.com [76.175.75.27]) by vps-mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id f861229f TLS version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO; Thu, 16 Aug 2018 10:30:57 -0700 (PDT) Subject: Re: Testing the linux compatibility with the amdgpu driver and linux-doom3 fails To: Stefan Rumetshofer , freebsd-x11@freebsd.org References: <255786377.P3pStmDMii@saturn.lan> From: Pete Wright Message-ID: Date: Thu, 16 Aug 2018 10:30:53 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <255786377.P3pStmDMii@saturn.lan> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US 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:31:00 -0000 On 8/16/18 9:46 AM, 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. > > 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. interesting, have you tried starting Xorg without a configuration in place?  on my intel systems not having a config in place has Xorg utilize the modesetting driver, which gives me full hardware acceleration.  i believe this should also work on amdgpu as well (although i'm less familiar with that GPU).  you may have to remove the xf86-video-amdgpu pkg to see if it can load modesetting. also, with your current config does "glxinfo" show support for the missing extensions?  interestingly enough I do not see support for GL_EXT_shared_texture_palette nor GL_NV_register_combiners on my intel system.  it' been a while since i've done any 3d work so I'm not %100 sure of the criticality of those last two extensions are. -pete -- Pete Wright pete@nomadlogic.org @nomadlogicLA