[Bf-committers] Multisample issue on Linux/X11/GLX

Cédric PAILLE cedricpaille at gmail.com
Thu Nov 13 13:50:18 CET 2014


Hi Barton,

It works perfectly !

Thank you

2014-11-13 12:06 GMT+01:00 Campbell Barton <ideasman42 at gmail.com>:

> Hi Cédric, could you check if this patch resolves the problem?
>
> https://developer.blender.org/D894
>
> On Wed, Nov 12, 2014 at 9:45 PM, Sergey Sharybin <sergey.vfx at gmail.com>
> wrote:
> > Thanks a good catch!
> >
> > And actually, seems Campbell saw this email before me and was trying to
> fix
> > it.
> >
> > On Wed, Nov 12, 2014 at 6:06 PM, Cédric PAILLE <cedricpaille at gmail.com>
> > wrote:
> >
> >> Found !
> >>
> >> In GHOST_WindowX11.cpp, XCreateWindow(...) didn''t get the good XVisual
> >> (I've made one with glXChooseVisual(...), like in GHOST_ContextGLX.cpp)
> and
> >> it works.
> >>
> >>
> >> 2014-11-12 17:16 GMT+01:00 Cédric PAILLE <cedricpaille at gmail.com>:
> >>
> >> > Hi,
> >> >
> >> > I've no message in the terminal about multisample, but after some
> >> > researches, it seems that it's broken since GHOST has been re-factored
> >> > recently. I've an old version of Blender (2.69) that works correctly.
> I'm
> >> > trying to fix it, but it doesn't seem obvious...
> >> >
> >> > Cheers
> >> >
> >> > 2014-11-12 16:14 GMT+01:00 Sergey Sharybin <sergey.vfx at gmail.com>:
> >> >
> >> >> This is a video driver feature, which might be disabled by nvidia on
> >> some
> >> >> platforms (assuming you're using nvidia driver).
> >> >>
> >> >> Also, are there any messages regarding multisample in the console?
> >> >>
> >> >> P.S. There was a demo application in qt, which might be the fastest
> way
> >> to
> >> >> figure out if the issue is in blender itself or in video
> driver/X11/etc.
> >> >>
> >> >> On Wed, Nov 12, 2014 at 12:02 PM, Cédric PAILLE <
> cedricpaille at gmail.com
> >> >
> >> >> wrote:
> >> >>
> >> >> > Hi,
> >> >> >
> >> >> > I've spent a long time trying to resolve a problem with the 3D
> >> >> viewport's
> >> >> > multisample. I just can't get it to work on a CentOS 6.5 from
> sources
> >> >> (It's
> >> >> > working if I download the binaries from the Blender's website).
> >> >> > I've tried compiling with the latest GLEW library, with the
> internal
> >> >> GLEW,
> >> >> > with GHOST_SDL compilation flag, and it's always the same,
> multisample
> >> >> just
> >> >> > doesn't work. If I ask openGL for samples (using *glGetIntegerv*
> >> >> > (GL_SAMPLES,
> >> >> > samples) ) it always returns 0.
> >> >> >
> >> >> > Does anyone have an idea on how to debug this problem ?
> >> >> >
> >> >> > System : CentOS 6.5, Nvidia Quadro K2000 with latest drivers.
> >> >> >
> >> >> > --
> >> >> > Cédric PAILLE.
> >> >> > _______________________________________________
> >> >> > Bf-committers mailing list
> >> >> > Bf-committers at blender.org
> >> >> > http://lists.blender.org/mailman/listinfo/bf-committers
> >> >> >
> >> >>
> >> >>
> >> >>
> >> >> --
> >> >> With best regards, Sergey Sharybin
> >> >> _______________________________________________
> >> >> Bf-committers mailing list
> >> >> Bf-committers at blender.org
> >> >> http://lists.blender.org/mailman/listinfo/bf-committers
> >> >>
> >> >
> >> >
> >> >
> >> > --
> >> > Cédric PAILLE.
> >> >
> >>
> >>
> >>
> >> --
> >> Cédric PAILLE.
> >> _______________________________________________
> >> Bf-committers mailing list
> >> Bf-committers at blender.org
> >> http://lists.blender.org/mailman/listinfo/bf-committers
> >>
> >
> >
> >
> > --
> > With best regards, Sergey Sharybin
> > _______________________________________________
> > Bf-committers mailing list
> > Bf-committers at blender.org
> > http://lists.blender.org/mailman/listinfo/bf-committers
>
>
>
> --
> - Campbell
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>



-- 
Cédric PAILLE.


More information about the Bf-committers mailing list