From owner-freebsd-x11@freebsd.org Thu Aug 16 17:36:41 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 9F354106FFDE for ; Thu, 16 Aug 2018 17:36:41 +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 12CA78F29E for ; Thu, 16 Aug 2018 17:36:40 +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=MFu4YIGmTs8qqopSCTYPgKutIInb7a51tQYuZdGPez0=; b=FZBvnG7LO2Ik/pDNlLX4K9YNwEqlbAHpy1vL/SteTaWSR7vN5Nnscvorg+QI/pojkNS0y6Jee/3CiDhYgq6/JY2M7gdJDLnahNeO4sFuUw8amT0OMeQHo549f+8mK5WJEG1ZLBDUlLuQGMlCNpxS/cGWGYlTDO2peAGAp9jg49M= Received: by hraggstad.unrelenting.technology (OpenSMTPD) with ESMTPSA id 021a687c TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Thu, 16 Aug 2018 17:36:26 +0000 (UTC) Date: Thu, 16 Aug 2018 20:36:21 +0300 From: Greg V Subject: Re: Testing the linux compatibility with the amdgpu driver and linux-doom3 fails To: Pete Wright Cc: Stefan Rumetshofer , freebsd-x11@freebsd.org Message-Id: <1534440981.2150.1@hraggstad.unrelenting.technology> In-Reply-To: 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:36:41 -0000 On Thu, Aug 16, 2018 at 8:30 PM, Pete Wright wrote: > > > 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. amdgpu is the better driver. It uses glamor for acceleration, just like modesetting, but it is much better in terms of screen tearing. On intel, modesetting is the *only* way to use glamor, since the 'intel' driver uses old UXA or SNA stuff (sort-of native 2d acceleration that Intel doesn't really want to maintain anymore) > 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. I think doom3 would specifically error if an extension was a hard requirement, not segfault :)