You are not logged in.

#1 2016-12-21 12:58:45

setevoy
Member
From: Kiev, Ukraine
Registered: 2016-11-29
Posts: 17
Website

Tint2: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

Hi.

I'm trying to run `tint2` with my config I used on another box - but have errors here (they was on the previous box, but fixed - just can't remember HOW:-( ).

If run `tint2conf`:

$ tint2conf 
snapshot NULL : tint2 -c '/home/setevoy/.config/tint2/tint2rc' -s '/tmp/tint2-13096.jpg' 1>/dev/null 2>/dev/null                                                                                   

(tint2conf:13096): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(tint2conf:13096): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed
snapshot NULL : tint2 -c '/home/setevoy/.config/tint2/horizontal-dark-opaque.tint2rc' -s '/tmp/tint2-13096.jpg' 1>/dev/null 2>/dev/null

(tint2conf:13096): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion 'GDK_IS_PIXBUF (pixbuf)' failed
...

If run tint2 with my config - there is just a few  useless messages about a "rounded value":

$ tint2 -c MY-horizontal-dark-transparent.tint2rc
xRandr: Found crtc's: 3
xRandr: Linking output VGA-1 with crtc 1
xRandr: Linking output HDMI-1 with crtc 2
No XSETTINGS manager, tint2 uses config option 'launcher_icon_theme'.
real transparency off.... depth: 24
panel items: LTSC
Systray composited rendering off
systray_asb forced to 100 0 0
tint2 : nb monitor 3, nb monitor used 1, nb desktop 4
task_background_id has a too large rounded value. Please fix your tint2rc
task_active_background_id has a too large rounded value. Please fix your tint2rc
task_iconified_background_id has a too large rounded value. Please fix your tint2rc
task_urgent_background_id has a too large rounded value. Please fix your tint2rc
task_urgent_background_id has a too large rounded value. Please fix your tint2rc
Kernel uevent interface initialized...
systray window 8388619
tint2 : systray started

> task_urgent_background_id has a too large rounded value. Please fix your tint2rc

What does this mean? Tint wants me to set "task_background_id = 2.0" instead of 2?

Sorry  - I can't understand such a message, too bad English, maybe.

I have `gdk-pixbuf2` and `imlib` packages installed:

$ pacman -Q| grep 'gdk\|imlib'
gdk-pixbuf2 2.36.1+31+gecea71eb6-1
imlib 1.9.15-15
imlib2 1.4.9-1

Tried to google this issue (which is really common) - but still can't make it works. Usually - it's config error, but file `MY-horizontal-dark-transparent.tint2rc` is working one, taken from another Arch setup.

Where can I start to look for a solution?

P.S. Can post my tint2rc somewhere if this could help.

P.P.S. I also noticed that`tint2conf` on old box - uses `gdk-pixbuf` and `gtk` libs:

$ lsof  -p 609 | grep pix
tint2conf 609 setevoy  mem       REG              254,0    23104   166360 /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-jpeg.so
tint2conf 609 setevoy  mem       REG              254,0    43560   166901 /usr/lib/gtk-2.0/2.10.0/engines/libpixmap.so
tint2conf 609 setevoy  mem       REG              254,0   686856   159763 /usr/lib/libpixman-1.so.0.34.0
tint2conf 609 setevoy  mem       REG              254,0   159536   166347 /usr/lib/libgdk_pixbuf-2.0.so.0.3601.0

Bot on new one - only two s. objects:

$ lsof -p 18020 | grep pix
tint2conf 18020 setevoy  mem       REG              254,0   686856    423644 /usr/lib/libpixman-1.so.0.34.0
tint2conf 18020 setevoy  mem       REG              254,0   159536    424850 /usr/lib/libgdk_pixbuf-2.0.so.0.3601.0

Last edited by setevoy (2016-12-21 14:39:34)

Offline

#2 2016-12-21 15:59:23

berbae
Member
From: France
Registered: 2007-02-12
Posts: 1,304

Re: Tint2: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

From man tint2:

Backgrounds and borders
       The tint2 config file starts with the options defining background elements with borders:

              · rounded = number_of_pixels : the corner radius

This is this value in the definition of the backgrounds which is not good in your tint2rc file.

Last edited by berbae (2016-12-21 15:59:59)

Offline

#3 2016-12-21 16:07:19

setevoy
Member
From: Kiev, Ukraine
Registered: 2016-11-29
Posts: 17
Website

Re: Tint2: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

berbae wrote:

From man tint2:
This is this value in the definition of the backgrounds which is not good in your tint2rc file.

Hi, @berbae. Thanks for reply - got it now. But anyway - even if I set 0 or 1 or 3 - have the same result. even if I remove/comment out this option.
I guess - there is exactly the "gdk-pixbuf" issue (which is not loaded by tint2 on the new system), but can't see - why.

P.S. 2 looks like correct value anyway, isn't it?

$ cat .config/tint2/MY-horizontal-dark-transparent.tint2rc| grep task_background_id
task_background_id = 2

Last edited by setevoy (2016-12-21 16:10:30)

Offline

#4 2016-12-22 09:49:35

berbae
Member
From: France
Registered: 2007-02-12
Posts: 1,304

Re: Tint2: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

What happens if you use the included '/usr/share/tint2/horizontal-dark-transparent.tint2rc' of the tint2 package?

What have you changed in it?

Offline

#5 2016-12-22 11:20:33

setevoy
Member
From: Kiev, Ukraine
Registered: 2016-11-29
Posts: 17
Website

Re: Tint2: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

berbae wrote:

What happens if you use the included '/usr/share/tint2/horizontal-dark-transparent.tint2rc' of the tint2 package?

What have you changed in it?

Same behaviour with any config:

$ tint2 -c /usr/share/tint2/horizontal-dark-transparent.tint2rc
xRandr: Found crtc's: 3                                                                                                                                                                            
xRandr: Linking output VGA-1 with crtc 1
xRandr: Linking output HDMI-1 with crtc 2
No XSETTINGS manager, tint2 uses config option 'launcher_icon_theme'.
real transparency off.... depth: 24
panel items: LTSC
Systray composited rendering on
tint2 : nb monitor 3, nb monitor used 3, nb desktop 4
Could not open file /usr/share/applications/firefox.desktop
Could not open file /usr/share/applications/iceweasel.desktop
Could not open file /usr/share/applications/google-chrome.desktop
Could not open file /usr/local/share/applications/tint2conf.desktop
task_background_id has a too large rounded value. Please fix your tint2rc
task_active_background_id has a too large rounded value. Please fix your tint2rc
task_iconified_background_id has a too large rounded value. Please fix your tint2rc
task_urgent_background_id has a too large rounded value. Please fix your tint2rc
task_urgent_background_id has a too large rounded value. Please fix your tint2rc
Could not open file /usr/share/applications/firefox.desktop
Could not open file /usr/share/applications/iceweasel.desktop
Could not open file /usr/share/applications/google-chrome.desktop
Could not open file /usr/local/share/applications/tint2conf.desktop
task_active_background_id has a too large rounded value. Please fix your tint2rc
Could not open file /usr/share/applications/firefox.desktop
Could not open file /usr/share/applications/iceweasel.desktop
Could not open file /usr/share/applications/google-chrome.desktop
Could not open file /usr/local/share/applications/tint2conf.desktop
task_active_background_id has a too large rounded value. Please fix your tint2rc
Kernel uevent interface initialized...
systray window 39845906
tint2 : systray started
add_icon: 6291468 (volumeicon), pid 531, visual 0x1948bc0, colormap 6291467, depth 32, width 1, height 1
Couldn't get geometry of window!
systray 763: cannot embed icon for window 6291468 (volumeicon) parent 39846003 pid 531
remove_icon: 6291468 (volumeicon)
add_icon: 14696635 (deluge), pid 8380, visual 0x1948bc0, colormap 14696634, depth 32, width 48, height 48
Couldn't get geometry of window!
systray 763: cannot embed icon for window 14696635 (deluge) parent 39846009 pid 8380
remove_icon: 14696635 (deluge)
add_icon: 16777276 (slack), pid 534, visual 0x1948bc0, colormap 16777275, depth 32, width 32, height 32
Couldn't get geometry of window!
systray 763: cannot embed icon for window 16777276 (slack) parent 39846013 pid 534
remove_icon: 16777276 (slack)
add_icon: 10485802 (gxneur), pid 530, visual 0x1948bc0, colormap 10485801, depth 32, width 48, height 48
Couldn't get geometry of window!
systray 763: cannot embed icon for window 10485802 (gxneur) parent 39846017 pid 530
remove_icon: 10485802 (gxneur)

And as result - just dark line on display.

Offline

#6 2016-12-22 14:34:48

setevoy
Member
From: Kiev, Ukraine
Registered: 2016-11-29
Posts: 17
Website

Re: Tint2: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

OK, finally - it works. I just dropped everything from root and /boot and reinstalled from scratch (only left old /home) - and it works, as expected. Not sure what the issue cause was - I have almost same installation steps, just added few pgs during Openbox install (faenza-icon-theme, gnome-menus, tangerine-icon-theme, hicolor-icon-theme - previously was installed after OB and Tint).

Anyway - thank you, @berbae for the assist :beers: :-)

Offline

Board footer

Powered by FluxBB