Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Feb 2016 10:05:01 -0800
From:      "Lundberg, Johannes" <johannes@brilliantservice.co.jp>
To:        Eax Melanhovich <afiskon@devzen.ru>
Cc:        "Michael B. Eichorn" <ike@michaeleichorn.com>,  "freebsd-x11@freebsd.org" <freebsd-x11@freebsd.org>
Subject:   Re: Does FreeBSD support OpenGL 3.3?
Message-ID:  <CAASDrVkKiGmZgFeAA5GD6-g31MT-xs=MT5OyZG4nnPJhrFtYsw@mail.gmail.com>
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> <CAASDrVnhez_t=VWqCfVmJunAWr=VyZf63UG9i3ERkknuHCzneA@mail.gmail.com> <20160214205517.79f56c35@fujitsu>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <http://jp.linkedin.com/in/lundbergjohannes>; Facebook
<https://www.facebook.com/miramaone>; Reddit
<https://www.reddit.com/user/yohanesu75/>; Twitter
<https://twitter.com/Yohanesu75Tweet>; GitHub <https://github.com/yohanesu75=
>
GitLab <https://gitlab.com/u/johannes_lundberg>;
Company:  Mirama <http://mira.ma>; Brilliantservice US
<http://www.brilliantserviceusa.com>; Brilliantservice JP
<http://www.brilliantservice.co.jp>;

On Sun, Feb 14, 2016 at 9:55 AM, Eax Melanhovich <afiskon@devzen.ru> 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 <afiskon@devzen.ru> 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" <johannes@brilliantservice.co.jp> 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 <http://jp.linkedin.com/in/lundbergjohannes>;
> > Facebook <https://www.facebook.com/miramaone>; Reddit
> > <https://www.reddit.com/user/yohanesu75/>; Twitter
> > <https://twitter.com/Yohanesu75Tweet>; GitHub
> > <https://github.com/yohanesu75>; GitLab
> > <https://gitlab.com/u/johannes_lundberg>; Company:  Mirama
> > <http://mira.ma>; Brilliantservice US
> > <http://www.brilliantserviceusa.com>; Brilliantservice JP
> > <http://www.brilliantservice.co.jp>;
> >
> > On Sun, Feb 14, 2016 at 8:49 AM, Eax Melanhovich <afiskon@devzen.ru>
> > 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAASDrVkKiGmZgFeAA5GD6-g31MT-xs=MT5OyZG4nnPJhrFtYsw>