Bug#827939: Please consider marking mesa-utils as Multi-Arch: allowed

2016-06-26 Thread Michel Dänzer
On 25.06.2016 00:59, Lisandro Damián Nicanor Pérez Meyer wrote:
> On viernes, 24 de junio de 2016 11:08:32 A. M. ART Julien Cristau wrote:
>> On Thu, Jun 23, 2016 at 10:11:45 -0300, Lisandro Damián Nicanor Pérez Meyer 
> wrote:
>>> Question: if a user has a video card wich is OpenGL2 or more capable but
>>> does not has libgl1-mesa-dri installed: does glxinfo informs "OpenGL
>>> version string:" with value 2 or more?
>>
>> They could be using a non-mesa driver.
> 
> OK, now I'm beggining to understand how this works. Depending on each video 
> card implementation it might require an associated -dri package.
> 
> Also glxutils will output the current OpenGL version supported depending 
> wether the video card supports it and the required software is installed.
> 
> If this is the case then this bug is indeed still valid, and now a more 
> important as before, as we can warn users wether they video card with their 
> current setup does supports OepnGL2+ or not.
> 
> Of course, if I missinterpreted something then please do not hasitate in 
> remarking it :)

As Julien pointed out, libqt5gui5 should really just check itself if it
can get a GLX context with the needed properties, instead of relying on
glxinfo for that.


-- 
Earthling Michel Dänzer   |   http://www.amd.com
Libre software enthusiast | Mesa and X developer



signature.asc
Description: OpenPGP digital signature


Bug#827939: Please consider marking mesa-utils as Multi-Arch: allowed

2016-06-24 Thread Lisandro Damián Nicanor Pérez Meyer
On viernes, 24 de junio de 2016 11:08:32 A. M. ART Julien Cristau wrote:
> On Thu, Jun 23, 2016 at 10:11:45 -0300, Lisandro Damián Nicanor Pérez Meyer 
wrote:
> > Question: if a user has a video card wich is OpenGL2 or more capable but
> > does not has libgl1-mesa-dri installed: does glxinfo informs "OpenGL
> > version string:" with value 2 or more?
> 
> They could be using a non-mesa driver.

OK, now I'm beggining to understand how this works. Depending on each video 
card implementation it might require an associated -dri package.

Also glxutils will output the current OpenGL version supported depending 
wether the video card supports it and the required software is installed.

If this is the case then this bug is indeed still valid, and now a more 
important as before, as we can warn users wether they video card with their 
current setup does supports OepnGL2+ or not.

Of course, if I missinterpreted something then please do not hasitate in 
remarking it :)

Thanks in advance, Lisandro.


-- 
16: De quien es Internet
* De DIOS dado que todas las cosas del mundo le pertenecen
Damian Nadales
http://mx.grulic.org.ar/lurker/message/20080307.141449.a70fb2fc.es.html

Lisandro Damián Nicanor Pérez Meyer
http://perezmeyer.com.ar/
http://perezmeyer.blogspot.com/


signature.asc
Description: This is a digitally signed message part.


Bug#827939: Please consider marking mesa-utils as Multi-Arch: allowed

2016-06-24 Thread Julien Cristau
On Thu, Jun 23, 2016 at 10:11:45 -0300, Lisandro Damián Nicanor Pérez Meyer 
wrote:

> Question: if a user has a video card wich is OpenGL2 or more capable but does 
> not has libgl1-mesa-dri installed: does glxinfo informs "OpenGL version 
> string:" with value 2 or more?
> 
They could be using a non-mesa driver.

Cheers,
Julien



Bug#827939: Please consider marking mesa-utils as Multi-Arch: allowed

2016-06-23 Thread Lisandro Damián Nicanor Pérez Meyer
On viernes, 24 de junio de 2016 10:56:42 A. M. ART Michel Dänzer wrote:
> On 23.06.2016 22:11, Lisandro Damián Nicanor Pérez Meyer wrote:
> > Question: if a user has a video card wich is OpenGL2 or more capable but
> > does not has libgl1-mesa-dri installed: does glxinfo informs "OpenGL
> > version string:" with value 2 or more?
> 
> It shouldn't, because without libgl1-mesa-dri it should fall back to GLX
> indirect rendering, which only supports up to OpenGL 1.4.

Now this alone makes filing this bug worthwhile. Thanks a lot! We clearly need 
to suggest libgl1-mesa-dri then.

-- 
Lisandro Damián Nicanor Pérez Meyer
http://perezmeyer.com.ar/
http://perezmeyer.blogspot.com/


signature.asc
Description: This is a digitally signed message part.


Bug#827939: Please consider marking mesa-utils as Multi-Arch: allowed

2016-06-23 Thread Michel Dänzer
On 23.06.2016 22:11, Lisandro Damián Nicanor Pérez Meyer wrote:
> Question: if a user has a video card wich is OpenGL2 or more capable but does 
> not has libgl1-mesa-dri installed: does glxinfo informs "OpenGL version 
> string:" with value 2 or more?

It shouldn't, because without libgl1-mesa-dri it should fall back to GLX
indirect rendering, which only supports up to OpenGL 1.4.


-- 
Earthling Michel Dänzer   |   http://www.amd.com
Libre software enthusiast | Mesa and X developer



signature.asc
Description: OpenPGP digital signature


Bug#827939: Please consider marking mesa-utils as Multi-Arch: allowed

2016-06-23 Thread Lisandro Damián Nicanor Pérez Meyer
On jueves, 23 de junio de 2016 11:18:45 P. M. ART Julien Cristau wrote:
> On Wed, Jun 22, 2016 at 21:50:35 -0300, Lisandro Damián Nicanor Pérez Meyer 
wrote:
> > Package: mesa-utils
> > Version: 8.3.0-1
> > Severity: wishlist
> > 
> > tl;dr: make mesa-utils M-A: allowed in order to be able to depend on it as
> > mesa-utils:any
> > 
> > Hi! libqt5gui5 now ships a script in order to detect wether users have an
> > OpenGL2 compatible video card. It case they don't it sets up an
> > environment
> > variable to let Qt now that it should use rasterization instead.
> > 
> > The script uses mesa-utils' glxinfo package for this.
> 
> Why do that in a script instead of in qt directly?  That seems like a
> pretty weird implementation choice...

That's a good question and yes, it would have been better if it would be 
checked directly.

The fact is that upstream does really not support using Qt with OpenGL less 
than 2. But Fedora packagers asked for an exception with a patch that checks 
for an env variable, and as upstream knows that we distros sometimes need to 
support this kind of setups and they accepted it.

Considering the low amount of users with such a setup I don't think it's worth 
to work on a patch.

-- 
My favourite poem is the one that starts 'Thirty days hath September' because
it actually tells you something.
 -- Groucho Marx

Lisandro Damián Nicanor Pérez Meyer
http://perezmeyer.com.ar/
http://perezmeyer.blogspot.com/


signature.asc
Description: This is a digitally signed message part.


Bug#827939: Please consider marking mesa-utils as Multi-Arch: allowed

2016-06-23 Thread Julien Cristau
On Wed, Jun 22, 2016 at 21:50:35 -0300, Lisandro Damián Nicanor Pérez Meyer 
wrote:

> Package: mesa-utils
> Version: 8.3.0-1
> Severity: wishlist
> 
> tl;dr: make mesa-utils M-A: allowed in order to be able to depend on it as
> mesa-utils:any
> 
> Hi! libqt5gui5 now ships a script in order to detect wether users have an
> OpenGL2 compatible video card. It case they don't it sets up an environment
> variable to let Qt now that it should use rasterization instead.
> 
> The script uses mesa-utils' glxinfo package for this.
> 
Why do that in a script instead of in qt directly?  That seems like a
pretty weird implementation choice...

Cheers,
Julien



Bug#827939: Please consider marking mesa-utils as Multi-Arch: allowed

2016-06-23 Thread Lisandro Damián Nicanor Pérez Meyer
Question: if a user has a video card wich is OpenGL2 or more capable but does 
not has libgl1-mesa-dri installed: does glxinfo informs "OpenGL version 
string:" with value 2 or more?

This is a very important thing: if this is true then we should maybe recommend 
libgl1-mesa-dri in libqt5gui5, as Qt heavily relies on OpenGL.

Thanks in advance!

-- 
Lo que me sorprende de las mujeres es que se arrancan los pelos desde
la raíz con cera caliente y aún así le temen a las arañas.
  Jerry Seinfeld

lis: comentario sobre tu frase
yo soy mujer, yo me arranco los pelos y VOS le tenes miedo a las arañas
  María Luján Pérez Meyer (mi hermana)

Lisandro Damián Nicanor Pérez Meyer
http://perezmeyer.com.ar/
http://perezmeyer.blogspot.com/


signature.asc
Description: This is a digitally signed message part.


Bug#827939: Please consider marking mesa-utils as Multi-Arch: allowed

2016-06-23 Thread Lisandro Damián Nicanor Pérez Meyer
Hi Michel!

On jueves, 23 de junio de 2016 10:02:30 A. M. ART Michel Dänzer wrote:
[snip] 
> > If mesa-utils gets marked as M-A: allowed then we can make libqt5gui5
> > depend upon mesa-utils:any, ie, any arch' version of mesa-utils will
> > satisfy the dependency.
> 
> One problem with that is: If libqt5gui5 and mesa-utils aren't the same
> architecture, what glxinfo reports doesn't necessarily apply to
> libqt5gui5. For example: glxinfo from mesa-utils:amd64 reports that
> OpenGL 2 hardware acceleration is working, because libgl1-mesa-dri:amd64
> is installed. However, OpenGL 2 hardware acceleration still doesn't work
> for libqt5gui5:i386, because libgl1-mesa-dri:i386 isn't installed.

Good catch. libqt5gui5 depends upon libgl1-mesa-glx but not -dri. I guess that 
most users will get it through recommends, but this probably makes the whole 
excercise futile.

Except you happen to have another idea I would say this bug can be closed.

Thanks *a lot* for your quick reply.


-- 
perezmeyer: Gus no tiene inet :-(
PabloOdorico: oh
perezmeyer: te mando una copia de lo que hagamos esta noche
PabloOdorico: de ultima mandame un loro del parque con una flash en la pata ;)

Lisandro Damián Nicanor Pérez Meyer
http://perezmeyer.com.ar/
http://perezmeyer.blogspot.com/


signature.asc
Description: This is a digitally signed message part.


Bug#827939: Please consider marking mesa-utils as Multi-Arch: allowed

2016-06-22 Thread Michel Dänzer
On 23.06.2016 09:50, Lisandro Damián Nicanor Pérez Meyer wrote:
> Package: mesa-utils
> Version: 8.3.0-1
> Severity: wishlist
> 
> tl;dr: make mesa-utils M-A: allowed in order to be able to depend on it as
> mesa-utils:any
> 
> Hi! libqt5gui5 now ships a script in order to detect wether users have an
> OpenGL2 compatible video card. It case they don't it sets up an environment
> variable to let Qt now that it should use rasterization instead.
> 
> The script uses mesa-utils' glxinfo package for this.
> 
> Problem arises that libqt5gui5 is M-A: same, but ends up depending on
> mesa-utils:.
> 
> If mesa-utils gets marked as M-A: allowed then we can make libqt5gui5
> depend upon mesa-utils:any, ie, any arch' version of mesa-utils will satisfy
> the dependency.

One problem with that is: If libqt5gui5 and mesa-utils aren't the same
architecture, what glxinfo reports doesn't necessarily apply to
libqt5gui5. For example: glxinfo from mesa-utils:amd64 reports that
OpenGL 2 hardware acceleration is working, because libgl1-mesa-dri:amd64
is installed. However, OpenGL 2 hardware acceleration still doesn't work
for libqt5gui5:i386, because libgl1-mesa-dri:i386 isn't installed.


-- 
Earthling Michel Dänzer   |   http://www.amd.com
Libre software enthusiast | Mesa and X developer



Bug#827939: Please consider marking mesa-utils as Multi-Arch: allowed

2016-06-22 Thread Lisandro Damián Nicanor Pérez Meyer
Package: mesa-utils
Version: 8.3.0-1
Severity: wishlist

tl;dr: make mesa-utils M-A: allowed in order to be able to depend on it as
mesa-utils:any

Hi! libqt5gui5 now ships a script in order to detect wether users have an
OpenGL2 compatible video card. It case they don't it sets up an environment
variable to let Qt now that it should use rasterization instead.

The script uses mesa-utils' glxinfo package for this.

Problem arises that libqt5gui5 is M-A: same, but ends up depending on
mesa-utils:.

If mesa-utils gets marked as M-A: allowed then we can make libqt5gui5
depend upon mesa-utils:any, ie, any arch' version of mesa-utils will satisfy
the dependency.

I would highly appreciate if you can at least reply if you are OK or not with
the idea, as we currently have a broken M-A libqt5gui5 and would like to
take the necessary steps to solve this.

Thanks a lot in advance, Lisandro. 

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'unstable-debug'), (500, 
'buildd-unstable'), (500, 'testing'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.6.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=es_AR.UTF-8, LC_CTYPE=es_AR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages mesa-utils depends on:
ii  libc6 2.22-12
ii  libgl1-mesa-glx [libgl1]  11.2.2-1
ii  libglew1.13   1.13.0-2
ii  libglu1-mesa [libglu1]9.0.0-2.1
ii  libx11-6  2:1.6.3-1
ii  libxext6  2:1.3.3-1

mesa-utils recommends no packages.

mesa-utils suggests no packages.

-- no debconf information