From owner-freebsd-x11@freebsd.org Sun Feb 14 18:05:16 2016 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F0F9BAA8293 for ; Sun, 14 Feb 2016 18:05:16 +0000 (UTC) (envelope-from johannes@brilliantservice.co.jp) Received: from mail-vk0-x22f.google.com (mail-vk0-x22f.google.com [IPv6:2607:f8b0:400c:c05::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A5531136E for ; Sun, 14 Feb 2016 18:05:16 +0000 (UTC) (envelope-from johannes@brilliantservice.co.jp) Received: by mail-vk0-x22f.google.com with SMTP id e6so92474862vkh.2 for ; Sun, 14 Feb 2016 10:05:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brilliantservice-co-jp.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=pXybxKW9cXMsbsZWy2aJLmIJ3VdLUv45nJ/SihujhJs=; b=dFTsmMGDLK+Xm+yfAYjF0tsG79xNIi5bPQKF6PVZVa+t72bK7f4WU5IMhFV2WxDA2T u775AUrJTAmy/UNB+wWquP1/WycyFCu3zb5LTVIYdSqRThuUB9hYw2p+FLwla2gJ2vsK nbMyvOD2oRIi2l8YnIWZEQcwE9clOph+WUsMcmM8dpWSmhFuwdySW2GCZH/fSpVlKatr xlKcD5IskZQSB+wh14MUk9bZuNpdXqio0Xb8AeU3Gquy61lEJWi/VZdX2xU4KxYALBi9 YetvDRFhhdLhNFgNCcNeookkbjY+z+gOHBEQh5boNn8ft/kQYk/JZ9Sf2ZSsG6Ak0gPm pjvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=pXybxKW9cXMsbsZWy2aJLmIJ3VdLUv45nJ/SihujhJs=; b=WY0Q3mzfUN0htkvJ4KdGqsyBX6d5woXv4WHXUb8X1MDj7/+Nb/7pyO5UYsySxb8G+G Xlt9Hv4hwK/wBlNFCYoBkB7U8yFy/zzBpZ2LiWGOMNDJjL20E3LtCRclyS7nMyZnb2sw 3JmGmKkycQgZHopgJqbuGyqOOaSxqtKivVx4OTBzaZ5uwjiV2555iY4m/BqZN/BXaTvF /Rhhi4dkyJxaEMqozBoLRVPmkTPPnibxxL42o8Dkd+5xjryy9k9A8RhM8mCtdytuPf4r l71/+1xG6Q5mY1sMCzCLGFHQ4kHpSAidIHhAoDqPqU98YWgaxj8QNt6fSFB3xXsdIgLU MEEg== X-Gm-Message-State: AG10YOQtlw6fDNGZLhXik/O7lxUImHcuHvnFPhvlZFwXHBAXaBXIH4EG0vUZiHMaF9PNAgaBjK4DjQlrg8D/2GILWfC8ZJwuzmveTjNeq2ASj5W0XFVaf2l6DDWSe+Rwyigl9jTFo1EYSQSakN5Eqg== X-Received: by 10.31.8.83 with SMTP id 80mr10074425vki.105.1455473115616; Sun, 14 Feb 2016 10:05:15 -0800 (PST) MIME-Version: 1.0 Received: by 10.176.3.161 with HTTP; Sun, 14 Feb 2016 10:05:01 -0800 (PST) In-Reply-To: <20160214205517.79f56c35@fujitsu> References: <20160115103123.097be7d9@fujitsu> <5698A68D.8080202@dumbbell.fr> <20160115214315.4ee47348@fujitsu> <56B5434E.8070907@dumbbell.fr> <20160214131056.773c9f87@fujitsu> <1455456349.1203.3.camel@michaeleichorn.com> <20160214194906.5b1d6f6b@fujitsu> <20160214205517.79f56c35@fujitsu> From: "Lundberg, Johannes" Date: Sun, 14 Feb 2016 10:05:01 -0800 Message-ID: Subject: Re: Does FreeBSD support OpenGL 3.3? To: Eax Melanhovich Cc: "Michael B. Eichorn" , "freebsd-x11@freebsd.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Feb 2016 18:05:17 -0000 Hi Eax I running FreeBSD 11-CURRENT on a MacBook Air with HD4000 graphics and if I recall correctly I have to use the graphics development branch as described in https://wiki.freebsd.org/Graphics/Update%20i915%20GPU%20driver%20to%20Linux= %203.8 to get the intel GPU driver to work properly. Not sure about the status of 10.2 so unfortunately I can't help you any further.. Check kldstat and glxinfo to confirm what video driver is being used and what rendering you are using. -- Name: Johannes Lundberg Position: Mirama project leader Phone: +1-408-636-2161 Skype: brilliantjohannes Online: LinkedIn Facebook Reddit Twitter GitHub GitLab Company: Mirama Brilliantservice US Brilliantservice JP On Sun, Feb 14, 2016 at 9:55 AM, Eax Melanhovich wrote: > > All DXT textures are rendered either black or white. I recognize this > > behaviour because I observed it recently when I tried to run OpenGL > > examples on VMWare > > Well, installing libtxn_dxtn-20140604 package solved an issue with DXT > textures. Everything renders OK now. > > Also I managed to crash a kernel :) > > Here is corresponding /var/crash/vmcore.0 file: > > https://dl.dropboxusercontent.com/u/19923518/temp/vmcore.0.tgz > > Hope this is a file you need since I'm not a kernel developer and wiki > says something regarding core.txt.* which I don't have. > > I didn't manage to find exact steps to reproduce a crash but after > running an application for a while, resizing windows, switching > desktops, enabling/disabling wireframes mode (X button) etc it > reproduces regularly. > > Another problem I found is that everything renders OK when I run > application using sudo: > > http://imagizer.imageshack.com/img923/8076/VoUVVt.png > > But when I don't use sudo there is a lot of artifacts and FPS is only > about 15 instead of 60: > > http://imagizer.imageshack.com/img924/8987/L71OjT.png > > > It seems it fails to open the drm device. Have you added your user to > > the "video" group? > > I'm afraid I don't have such a group: > > ``` > sudo pw group mod video -m eax > pw: unknown group `-1' > ``` > > On Sun, 14 Feb 2016 19:49:06 +0300 > Eax Melanhovich wrote: > > > Hello, Michael > > > > > The WIP kernel driver instructions are here: > > > > https://wiki.freebsd.org/Graphics/Update%20i915%20GPU%20driver%20to%20Lin= ux%203.8 > > > > It works! I have OpenGL 3.3 now. But there is a problem. > > > > Here is a program I used to test OpenGL support: > > > > https://github.com/afiskon/c-opengl-text > > > > This is how it looks on Ubuntu, Windows and MacOS: > > > > http://eax.me/files/2016/02/opengl-text.jpg > > > > And this is how it looks on FreeBSD: > > > > http://imagizer.imageshack.com/img923/6271/UrwLLK.png > > > > All DXT textures are rendered either black or white. I recognize this > > behaviour because I observed it recently when I tried to run OpenGL > > examples on VMWare: > > > > > http://askubuntu.com/questions/730536/vmware-workstation-doesnt-render-dd= s-dxt-textures > > > > Also note suspicious output from libGL. > > > > > > -- > Best regards, > Eax Melanhovich > http://eax.me/ > > > On Sun, 14 Feb 2016 09:44:16 -0800 > "Lundberg, Johannes" wrote: > > > Hello Eax > > > > It seems it fails to open the drm device. Have you added your user to > > the "video" group? > > > > > > -- > > Name: Johannes Lundberg > > Position: Mirama project leader > > Phone: +1-408-636-2161 > > Skype: brilliantjohannes > > Online: LinkedIn > > Facebook Reddit > > Twitter > > GitHub > > GitLab > > Company: Mirama > > Brilliantservice US > > Brilliantservice JP > > > > > > On Sun, Feb 14, 2016 at 8:49 AM, Eax Melanhovich > > wrote: > > > > > Hello, Michael > > > > > > > The WIP kernel driver instructions are here: > > > > > > > > https://wiki.freebsd.org/Graphics/Update%20i915%20GPU%20driver%20to%20Lin= ux%203.8 > > > > > > It works! I have OpenGL 3.3 now. But there is a problem. > > > > > > Here is a program I used to test OpenGL support: > > > > > > https://github.com/afiskon/c-opengl-text > > > > > > This is how it looks on Ubuntu, Windows and MacOS: > > > > > > http://eax.me/files/2016/02/opengl-text.jpg > > > > > > And this is how it looks on FreeBSD: > > > > > > http://imagizer.imageshack.com/img923/6271/UrwLLK.png > > > > > > All DXT textures are rendered either black or white. I recognize > > > this behaviour because I observed it recently when I tried to run > > > OpenGL examples on VMWare: > > > > > > > > > > http://askubuntu.com/questions/730536/vmware-workstation-doesnt-render-dd= s-dxt-textures > > > > > > Also note suspicious output from libGL. > > > > > > -- > > > Best regards, > > > Eax Melanhovich > > > http://eax.me/ > > > _______________________________________________ > > > 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" > > > > > > > > > -- > Best regards, > Eax Melanhovich > http://eax.me/ > --=20 =3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D= -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- =E7=A7=98=E5=AF=86=E4=BF=9D=E6=8C=81=E3=81=AB=E3=81=A4=E3=81=84=E3=81=A6=EF= =BC=9A=E3=81=93=E3=81=AE=E9=9B=BB=E5=AD=90=E3=83=A1=E3=83=BC=E3=83=AB=E3=81= =AF=E3=80=81=E5=90=8D=E5=AE=9B=E4=BA=BA=E3=81=AB=E9=80=81=E4=BF=A1=E3=81=97= =E3=81=9F=E3=82=82=E3=81=AE=E3=81=A7=E3=81=82=E3=82=8A=E3=80=81=E7=A7=98=E5= =8C=BF=E7=89=B9=E6=A8=A9=E3=81=AE=E5=AF=BE=E8=B1=A1=E3=81=A8=E3=81=AA=E3=82= =8B=E6=83=85=E5=A0=B1=E3=82=92=E5=90=AB=E3=82=93=E3=81=A7=E3=81=84=E3=81=BE= =E3=81=99=E3=80=82 =E3=82=82=E3=81=97=E3=80=81=E5=90=8D=E5=AE=9B=E4=BA=BA=E4=BB=A5=E5=A4=96=E3= =81=AE=E6=96=B9=E3=81=8C=E5=8F=97=E4=BF=A1=E3=81=95=E3=82=8C=E3=81=9F=E5=A0= =B4=E5=90=88=E3=80=81=E3=81=93=E3=81=AE=E3=83=A1=E3=83=BC=E3=83=AB=E3=81=AE= =E7=A0=B4=E6=A3=84=E3=80=81=E3=81=8A=E3=82=88=E3=81=B3=E3=81=93=E3=81=AE=E3= =83=A1=E3=83=BC=E3=83=AB=E3=81=AB=E9=96=A2=E3=81=99=E3=82=8B=E4=B8=80=E5=88= =87=E3=81=AE=E9=96=8B=E7=A4=BA=E3=80=81 =E8=A4=87=E5=86=99=E3=80=81=E9=85=8D=E5=B8=83=E3=80=81=E3=81=9D=E3=81=AE=E4= =BB=96=E3=81=AE=E5=88=A9=E7=94=A8=E3=80=81=E3=81=BE=E3=81=9F=E3=81=AF=E8=A8= =98=E8=BC=89=E5=86=85=E5=AE=B9=E3=81=AB=E5=9F=BA=E3=81=A5=E3=81=8F=E3=81=84= =E3=81=8B=E3=81=AA=E3=82=8B=E8=A1=8C=E5=8B=95=E3=82=82=E3=81=95=E3=82=8C=E3= =81=AA=E3=81=84=E3=82=88=E3=81=86=E3=81=8A=E9=A1=98=E3=81=84=E7=94=B3=E3=81= =97=E4=B8=8A=E3=81=92=E3=81=BE=E3=81=99=E3=80=82 --- CONFIDENTIALITY NOTE: The information in this email is confidential and intended solely for the addressee. Disclosure, copying, distribution or any other action of use of this email by person other than intended recipient, is prohibited. If you are not the intended recipient and have received this email in error, please destroy the original message.