From owner-freebsd-x11@freebsd.org Thu Aug 16 18:42:32 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 4C838107298A for ; Thu, 16 Aug 2018 18:42:32 +0000 (UTC) (envelope-from sterum77@gmail.com) Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com [IPv6:2a00:1450:4864:20::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BE4F972C84 for ; Thu, 16 Aug 2018 18:42:31 +0000 (UTC) (envelope-from sterum77@gmail.com) Received: by mail-lj1-x22f.google.com with SMTP id q127-v6so4442366ljq.11 for ; Thu, 16 Aug 2018 11:42:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Wv+DPJ5f6Chep32Hnq6ZORGulEyNmAsjPLdOaae2xiI=; b=asPv+ykO/KX8LHZ1uMm6ys4vQDXzrVuNV6dtQTYBEV7SGSHzd7QCw4Lg891u0cJgnY b0yDazPQdGeuVYTmrsonvuT6MsrPZBF/brvR4GCrh+64xJ5T+5EJ1bALYGtXndDsgSiB 0l+hZDw56hSjgU3o6JBvxlyu+ravGk74M/IVYVmY3j3cIOTgHKUtyRO8thQI3wz+ygTN mridBYNmDef2meFhdt5DICu6TFAVwjZmNFyExzxaCAZM3e17eGRAlyQU38c8jcecnWJh MZa0I8UQpZO0CDaSdRpctgSIKUAoMKY5OScbndiweeYNyJijYwHRSu/bfBwr4ZMHN4+c /FUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Wv+DPJ5f6Chep32Hnq6ZORGulEyNmAsjPLdOaae2xiI=; b=D/VXIXGUzwuox15GhTLhDJlIvWpvwXH37u+k1eVKmIHNGDczzhDBvBm+yg9zttvEdU DhLtKX9/LiuZaK0tzNvT7UtIZWb2dVrbQlPywUahzr/AQx86/EEpBVy7lVH3cADSldRb lUT47U/5KDLU1gwHp7yrKon9p59OXQpg19WJF8V5P7wMZ3xLD2eX2pJvuSN0vvCI4fvX bN19jU8wmltjpIx0sNLCdrBsX7CYT0FBEAhBEdDfU7FiB5d839rNsqXM84IHSNRpjXzM Src6/0T6oqWoRHHtlmjuX6kvxtcsyS+H+7/k3LND0A3yxhKYEDjETWCYv6RpmHXseguV veUg== X-Gm-Message-State: AOUpUlEcvSYnathT600XkoqAWJVcoFsNeES80qST2sAfS14gUNlDv6zU +BE/F34WyQcxtttWevBUczapGaZs8bEv3mz35R40MEM= X-Google-Smtp-Source: AA+uWPz9BuLGy7vQkDJwc7tZlfNkBGmDp5GM+4ORIvpyZqSBcKIAsUxUW7rAq1eMDQud0ZAIukQnd8lZOYZNRH1CqhE= X-Received: by 2002:a2e:1984:: with SMTP id 4-v6mr23378215ljz.35.1534444950362; Thu, 16 Aug 2018 11:42:30 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:ab3:690e:0:0:0:0:0 with HTTP; Thu, 16 Aug 2018 11:42:29 -0700 (PDT) In-Reply-To: <1534440727.2150.0@hraggstad.unrelenting.technology> References: <255786377.P3pStmDMii@saturn.lan> <1534440727.2150.0@hraggstad.unrelenting.technology> From: Stefan Rumetshofer Date: Thu, 16 Aug 2018 20:42:29 +0200 Message-ID: Subject: Re: Testing the linux compatibility with the amdgpu driver and linux-doom3 fails To: Greg V Cc: "freebsd-x11@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 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 18:42:32 -0000 Am Donnerstag, 16. August 2018 schrieb Greg V : > > > 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? It was the same system with the Radeon card detached. The i915kms.ko was loaded via the rc.conf and the xf86-video-intel port was installed and loaded with the xorg.conf file. Tomorrow i can upload the Xorg.0.log files if they are needed. > > 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? No coredump because i disabled it with kern.coredump=0 but i can change this and look if a dump will be created. Tomorrow... > > > Anyway, I definitely have run Linux GL applications on amdgpu, but I was > using an Ubuntu chroot instead of the linux-* ports. Which Ubuntu version should i try? How can i create such a chroot. Is it possible to install an Ubuntu on a separate disk, tar it up and unpack it to /compat/linux.