Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 575866 - media-libs/cogl-1.22.0-r2 breaks app-office/pinpoint-0.1.8
Summary: media-libs/cogl-1.22.0-r2 breaks app-office/pinpoint-0.1.8
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: https://bugzilla.gnome.org/show_bug.c...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-28 01:51 UTC by mimosinnet
Modified: 2016-03-12 11:35 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge_info.txt,6.44 KB, text/plain)
2016-02-28 01:57 UTC, mimosinnet
Details
pinpoint error output (pinpoint_output.txt,7.26 KB, text/plain)
2016-02-28 01:59 UTC, mimosinnet
Details
emerge -pv cogl ati-drivers (emerge_cogl_ati-drivers.txt,576 bytes, text/plain)
2016-02-29 02:01 UTC, mimosinnet
Details
lspci (lspci.txt,2.99 KB, text/plain)
2016-02-29 02:03 UTC, mimosinnet
Details
emerge -pv "=media-libs/cogl-1.22.0-r2" ati-drivers (emerge_cogl_ati-drivers.txt,636 bytes, text/plain)
2016-03-01 00:05 UTC, mimosinnet
Details
pinpoint error output nvidia (pinpoint_error_output_nvidia.txt,9.68 KB, text/plain)
2016-03-03 23:11 UTC, mimosinnet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mimosinnet 2016-02-28 01:51:21 UTC
After upgrading app-office/pinpoint from 0.1.6 to 0.1.8 the following packages are also upgraded:
- media-libs/cogl, from 1.20.0 to 1.22.0-r2
- media-libs/clutter, from 1.22.4 to 1.24.2

This makes pinpoint to crash. Downgrading these three packages returns to normal functioning.

Reproducible: Always

Steps to Reproduce:
1. Install app-office/pinpoint-0.1.8, media-libs/cogl-1.22.0-r2, media-libs/clutter-1.24.2
2. pinpoint does not work correctly
3. Downgrade to app-office/pinpoint-0.1.6, media-libs/cogl-1.20.0, media-libs/clutter-1.22.4
4, pinpoint works as expected. 
Actual Results:  
These errors appear on console and presentation does not work as expected when app-office/pinpoint-0.1.8 is installed:
----
(pinpoint:30198): Cogl-WARNING **: Shader compilation failed:
0(9) : error C7555: 'varying' is deprecated, use 'in/out' instead
0(14) : error C7555: 'attribute' is deprecated, use 'in/out' instead
0(15) : error C7555: 'attribute' is deprecated, use 'in/out' instead
0(17) : error C7555: 'attribute' is deprecated, use 'in/out' instead
0(18) : error C7555: 'varying' is deprecated, use 'in/out' instead
0(20) : error C7555: 'attribute' is deprecated, use 'in/out' instead

(pinpoint:30198): Cogl-WARNING **: Shader compilation failed:
0(12) : error C7555: 'varying' is deprecated, use 'in/out' instead
0(23) : error C7555: 'varying' is deprecated, use 'in/out' instead
0(58) : error C7533: global variable gl_FragColor is deprecated after version 120

(pinpoint:30198): Cogl-WARNING **: driver/gl/cogl-pipeline-progend-glsl.c:384: GL error (1282): Invalid operation


Expected Results:  
pinpoint to work as expected
Comment 1 mimosinnet 2016-02-28 01:57:00 UTC
Created attachment 426822 [details]
emerge --info
Comment 2 mimosinnet 2016-02-28 01:59:09 UTC
Created attachment 426824 [details]
pinpoint error output
Comment 3 Pacho Ramos gentoo-dev 2016-02-28 16:01:19 UTC
Please provide "emerge -pv cogl ati-drivers" output too
Comment 4 mimosinnet 2016-02-29 02:01:59 UTC
Created attachment 426944 [details]
emerge -pv cogl ati-drivers
Comment 5 mimosinnet 2016-02-29 02:03:38 UTC
Created attachment 426946 [details]
lspci
Comment 6 Pacho Ramos gentoo-dev 2016-02-29 19:40:25 UTC
It shows me the old cogl... I wanted to see the flags used to get your cogl-1.22.0-r2 installed :/

Please ensure you have "fglrx" enabled for cogl too to ensure the patch is applied to make it work with fglrx

Manjaro is using instead this two patches (and applying them unconditionally):
https://bugzilla.gnome.org/attachment.cgi?id=322590&action=diff
https://bugzilla.gnome.org/attachment.cgi?id=322591&action=diff

But I think that, at the end, they make the same change when you run on fglrx
Comment 7 mimosinnet 2016-03-01 00:05:33 UTC
Created attachment 427056 [details]
emerge -pv  "=media-libs/cogl-1.22.0-r2" ati-drivers
Comment 8 mimosinnet 2016-03-01 00:21:18 UTC
I am also getting the same issue on boxes where the fglrx drive is not in use:

lspci -ks 00:02.0
00:02.0 VGA compatible controller: Intel Corporation Device 22b1 (rev 21)
	Subsystem: CLEVO/KAPOK Computer Device 5108
	Kernel driver in use: i915
	Kernel modules: i915
Comment 9 Pacho Ramos gentoo-dev 2016-03-01 09:46:13 UTC
Lets try to keep on the intel box then as that is the setup I can to test. Anyway, plain "pinpoint" works fine for me... is that the case for you? Does it happen only with certain presentations? 

Also, what is the value of VIDEO_CARDS in your intel box?

The manjaro link is pointing to the problem with ati-drivers, and that is the one that is supposedly solved with their latest cogl package
Comment 10 mimosinnet 2016-03-03 18:17:48 UTC
To set a test case:
----
% youtube-dl -t "https://www.youtube.com/watch?v=Derhh6RxICU"
% mv Gentoo\ Linux\ -\ Explained\ _\ Linux\ Distro\ Reviews-Derhh6RxICU.mp4 GentooLinux.mp4
% echo "#\!/usr/bin/env pinpoint\n--\nTest1\n--\nTest2\n--\nTest3\n-- [GentooLinux.mp4]\n--\nTest4" > test.pin
% pinpoint test.pin
----

a) With:
media-libs/cogl-1.20.0
media-libs/clutter-1.22.4
app-office/pinpoint-0.1.6

I can see all slides and video.

b) With:
media-libs/cogl-1.22.0-r2
media-libs/clutter-1.24.2
app-office/pinpoint-0.1.8

I can not see all slides. 

I have checked this with:
a) lspci -ks 00:02.0
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 12)
	Subsystem: Toshiba America Info Systems Device 0002
	Kernel driver in use: i915
	Kernel modules: i915
b) lspci -ks 00:02.0
00:02.0 VGA compatible controller: Intel Corporation Device 22b1 (rev 21)
	Subsystem: CLEVO/KAPOK Computer Device 5108
	Kernel driver in use: i915
	Kernel modules: i915

The value of VIDEO_CARDS is "intel i965 nouveau"
Comment 11 mimosinnet 2016-03-03 23:11:26 UTC
Created attachment 427362 [details]
pinpoint error output nvidia
Comment 12 Pacho Ramos gentoo-dev 2016-03-05 10:22:39 UTC
In my case I see no error but I only see a black window :S

I would report this to pinpoint upstream at first -> bugzilla.gnome.org

But please send it with information from the intel setup as to preventing them from blaming in proprietary drivers ;)
Comment 13 mimosinnet 2016-03-08 06:04:16 UTC
Thanks! I have opened a bug:

https://bugzilla.gnome.org/show_bug.cgi?id=763288
Comment 14 mimosinnet 2016-03-08 06:16:47 UTC
Also, there seems to be an issue with cogl and nvidia proprietary drivers that breaks pinpoint. I have been able to reproduce the initial errors by:

Using:
media-libs/cogl-1.22.0-r2
media-libs/clutter-1.24.2
app-office/pinpoint-0.1.8

% wget https://git.gnome.org/browse/clutter/plain/examples/actor-model.c 
% gcc -o actor-model actor-model.c `pkg-config --cflags --libs clutter-1.0`
% ./actor-model

* With:
lspci -ks 00:02.0
00:02.0 VGA compatible controller: Intel Corporation Device 22b1 (rev 21)
	Subsystem: CLEVO/KAPOK Computer Device 5108
	Kernel driver in use: i915
	Kernel modules: i915

I can see a menu and select options. 

* With 
lspci -ks 01:00.0
01:00.0 VGA compatible controller: NVIDIA Corporation GF119 [GeForce GT 610] (rev a1)
	Subsystem: Device 7377:0000
	Kernel driver in use: nvidia
	Kernel modules: nvidia

I get a blank screen and errors like:

(actor-model:25847): Cogl-WARNING **: Shader compilation failed:
0(9) : error C7555: 'varying' is deprecated, use 'in/out' instead
0(14) : error C7555: 'attribute' is deprecated, use 'in/out' instead
0(15) : error C7555: 'attribute' is deprecated, use 'in/out' instead
0(17) : error C7555: 'attribute' is deprecated, use 'in/out' instead
Comment 15 mimosinnet 2016-03-12 11:35:03 UTC
Thanks for the link :). Should I:

a) Report this issue to Bug 763288 in genome bugzilla [1]
b) Open a bug in gentoo asking for a new revision of the ebuild like in archlinux [2]

---
[1] https://bugzilla.gnome.org/show_bug.cgi?id=763288
[2] https://aur.archlinux.org/packages/?O=0&K=cogl