From owner-freebsd-x11@freebsd.org Mon Aug 20 07:54:23 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 50C841087E3D for ; Mon, 20 Aug 2018 07:54:23 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) (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 A00DD80918 for ; Mon, 20 Aug 2018 07:54:22 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: by mail-wr1-x434.google.com with SMTP id u12-v6so12153325wrr.4 for ; Mon, 20 Aug 2018 00:54:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=cPf3p3sgGYPUH5gYAjBquZASn9ho+lTovbOMhfXz5Lg=; b=KXXpI3zKiuytMoGWJJwDNPuAnCIdPYIbaavu3EowcULgIAEtVIxvDFokLVZNWbNd1z rctQyMTmB43QOKn9dkSa2l0Hd8ZoY8osgNnyuDS1G7zMLys5cGe0cLvFK4v/Qin5P8r5 BbqgpbDlrvulfNKIJHClVRo0vehO+AJ2TVSP+3C/GRnGBkIzxSq7RbDSrE0x/1mKqeQv VHouNdUmyXHHfUHeWfvGrxHQMmTI+kXa6ClX68A60vcLYbtvb7f2IxwHlYGFYLcRppIU S9PFmsoldmNtPowI5/ao8RPj3BXTEUbpRViIzIOyk12cD0bgZV5sX2ijyXcB0WimSH63 w0PA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=cPf3p3sgGYPUH5gYAjBquZASn9ho+lTovbOMhfXz5Lg=; b=XFAbiO1JIyYZhPLK2GWJep+hc0++HEBJkfB6/yy72Zyk1U/m5Fstwnyuo7ae4S2Cvl 8fAvNDIAj1oxdVjjS3COI+nFFU7zz7kmdIZtkvyPpejE4fHiaXdRzAeq6mQPJ8l67QOU 3RdBzQ5L1x2+AgnbYPMBFoWkckyK7VJAuTbMHNNu/psKEk3iFfqmbKiNjDrbzKVuDRmy 4BWBMhdZtHnF234Iity9LsJJMS62HcjPZdUyyS2uUb57KqaMC1iuHaeqgikTulFV8pVW jbDw/SEjs2+e4Q6/GntOEhBcyYWdGfaPFeFKzrmJOiXTzcRbg3RRwwvufXxcZL9KA2b4 ww2w== X-Gm-Message-State: APzg51BWC6I+7aG9pXam2uheXRDuPJBZfVzEq1vT+8u/MvGfv0Iqh1GS dWKSHr5D3MOTRNLR1D+6kbh1vTxu7/AjHnD0G4M= X-Google-Smtp-Source: ANB0VdYxgRfZpgMX8FPnoUZMM0E4Ka3xcYAK5IMK35T42N9Ngd7AToQ33Uqfbz/c9j+2vNKh0b6WqI0V9FCEWvjju78= X-Received: by 2002:a5d:4c84:: with SMTP id z4-v6mr1710351wrs.210.1534751661567; Mon, 20 Aug 2018 00:54:21 -0700 (PDT) MIME-Version: 1.0 References: <255786377.P3pStmDMii@saturn.lan> <1534440727.2150.0@hraggstad.unrelenting.technology> <1534446663.2150.2@hraggstad.unrelenting.technology> In-Reply-To: From: Johannes Lundberg Date: Mon, 20 Aug 2018 08:53:44 +0100 Message-ID: Subject: Re: Testing the linux compatibility with the amdgpu driver and linux-doom3 fails To: sterum77@gmail.com Cc: Greg V , x11-list freebsd Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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: Mon, 20 Aug 2018 07:54:23 -0000 On Sat, Aug 18, 2018 at 8:38 PM Stefan Rumetshofer wrote: > > > 2018-08-18 20:05 GMT+02:00 Johannes Lundberg : > >> >> >> On Thu, Aug 16, 2018 at 8:15 PM Greg V >> wrote: >> >>> >>> >>> On Thu, Aug 16, 2018 at 9:42 PM, Stefan Rumetshofer >>> wrote: >>> > >>> > >>> > 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. >>> >>> If you just load it without the full /boot/modules path, it's the >>> system one=E2=80=A6 >>> >>> >> >>> >>> 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=3D"amdgpu" in the rc.conf and the X11 driver is loaded wit= h >>> >>> '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 =3D up-to-date with remote >>> >>> linux-c7-elfutils-libelf-0.168 =3D up-to-date with remote >>> >>> linux-c7-expat-2.1.0_2 =3D up-to-date with remote >>> >>> linux-c7-fontconfig-2.10.95_3 =3D up-to-date with remote >>> >>> linux-c7-glx-utils-8.2.0_4 =3D up-to-date with remote >>> >>> linux-c7-libpciaccess-0.13.4_3 =3D up-to-date with remote >>> >>> linux-c7-xorg-libs-7.7_5 =3D up-to-date with remote >>> >>> linux-doom3-1.3.1.1304,1 =3D up-to-date with remote >>> >>> linux_base-c7-7.4.1708_6 =3D 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=3D0 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. >>> >>> 16.04 or older. >>> Just download e.g. >>> >>> https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-a= md64-root.tar.xz >>> untar somewhere (anywhere, e.g. under the home dir), mount linprocfs, >>> linsysfs and devfs under there, chroot into that, and you can use apt >>> and whatnot >>> >> >> How do you manage this? apt just gives me >> http: ../sysdeps/posix/getaddrinfo.c:1758: rfc3484_sort: Assertion >> `a1->source_addr.sin6_family =3D=3D PF_INET6' failed. >> E: Method http has died unexpectedly! >> E: Sub-process http received signal 6. >> >> with 12-current. >> Do you have the linux and linux64 module loaded? Also in chroot make sur= e >> that the /etc/resolv.conf has a correct entry. >> > Yes and yes. The solution was to disable IPv6 on the native interface. >>> _______________________________________________ >>> freebsd-x11@freebsd.org mailing list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-x11 >>> To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org" >>> >> >