From owner-freebsd-x11@freebsd.org Sun Feb 14 17:57:46 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 93457AA8F0A for ; Sun, 14 Feb 2016 17:57:46 +0000 (UTC) (envelope-from afiskon@devzen.ru) Received: from relay16.nicmail.ru (relay16.nicmail.ru [195.208.5.134]) by mx1.freebsd.org (Postfix) with ESMTP id 156F01034 for ; Sun, 14 Feb 2016 17:57:45 +0000 (UTC) (envelope-from afiskon@devzen.ru) Received: from [109.70.25.119] (port=38425 helo=nicmail.ru) by f17.mail.nic.ru with esmtp (Exim 5.55) (envelope-from ) id 1aV0vW-0004BI-3c; Sun, 14 Feb 2016 20:57:42 +0300 Received: from [10.0.6.224] (account afiskon@devzen.ru HELO fujitsu) by fcgp05.nicmail.ru (CommuniGate Pro SMTP 5.2.3) with ESMTPA id 338414582; Sun, 14 Feb 2016 20:57:42 +0300 Received: from [188.123.231.37] (account afiskon@devzen.ru HELO fujitsu) by proxy04.mail.nic.ru (Exim 5.55) with id 1aV0vV-0000Ym-U0; Sun, 14 Feb 2016 20:57:42 +0300 Date: Sun, 14 Feb 2016 20:55:17 +0300 From: Eax Melanhovich To: "Lundberg, Johannes" Cc: "Michael B. Eichorn" , "freebsd-x11@freebsd.org" Subject: Re: Does FreeBSD support OpenGL 3.3? Message-ID: <20160214205517.79f56c35@fujitsu> In-Reply-To: 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> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 17:57:46 -0000 > 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%20Linux%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-dds-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%20Linux%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-dds-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/