You are not logged in.

#1 2013-12-30 17:19:14

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

[solved] Last update seems to have broken qiv

Last update seems to have broken qiv https://projects.archlinux.org/svntogit … c2a04d35a2
Instead of oopening a window and displaying the picture, I get only a window with the black background, no picture displayed. These *.jpg files used to work OK, now they don't, neither do any .png or .gif.
Downgrading qiv makes it work again.

$ qiv -fm *.jpg 

(qiv:887): Gdk-CRITICAL **: IA__gdk_drawable_set_colormap: assertion 'cmap == NULL || gdk_drawable_get_depth (drawable) == cmap->visual->depth' failed

(qiv:887): Gdk-WARNING **: Attempt to draw a drawable with depth 24 to a drawable with depth 15

(qiv:887): Gdk-CRITICAL **: IA__gdk_drawable_set_colormap: assertion 'cmap == NULL || gdk_drawable_get_depth (drawable) == cmap->visual->depth' failed

(qiv:887): Gdk-WARNING **: Attempt to draw a drawable with depth 24 to a drawable with depth 15
$ qiv *.jpg

(qiv:1930): Gdk-CRITICAL **: IA__gdk_drawable_set_colormap: assertion 'cmap == NULL || gdk_drawable_get_depth (drawable) == cmap->visual->depth' failed

(qiv:1930): Gdk-CRITICAL **: IA__gdk_window_set_back_pixmap: assertion 'pixmap == NULL || gdk_drawable_get_depth (window) == gdk_drawable_get_depth (pixmap)' failed

Other viewers, like sxiv, work fine.

Can anyone confirm?

Last edited by karol (2014-01-06 01:30:23)

Offline

#2 2014-01-01 14:18:40

linux-ka
Member
From: ADL
Registered: 2010-05-07
Posts: 232

Re: [solved] Last update seems to have broken qiv

I experience similar issues. I do not get this error output you mention above, but when viewing images the display becomes black. Zooming in/out or doing any action on the image is being displayed. When viewing the image via qiv -f (fullscreen) it is displayed as usual. Other viewers work fine.

Offline

#3 2014-01-01 14:29:19

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [solved] Last update seems to have broken qiv

I get this messages only on one of my computers.

Are you saying that 'qiv -f' works fine for you?

Offline

#4 2014-01-01 14:37:55

linux-ka
Member
From: ADL
Registered: 2010-05-07
Posts: 232

Re: [solved] Last update seems to have broken qiv

Indeed, qiv -f works fine. I am using DWM. But this should affect the image viewing ability.

Offline

#5 2014-01-01 15:20:14

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [solved] Last update seems to have broken qiv

I'm using dwm too and 'qiv -f' does not work on the computer that prints the warnings in the console (and is running [testing]), but it indeed does work on another computer, with a different graphics card.
I found out that if I go to another tag and back, the image is displayed correctly, even if I used just 'qiv *.jpg'. The catch is, the images are displayed in the rectangle the size of the first image and I have to go to another tag and back on every image to get it displayed in full, not just the portion set by the first image.


I opened a bug report: https://bugs.archlinux.org/task/38339

Offline

#6 2014-01-06 01:30:03

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [solved] Last update seems to have broken qiv

To fix this, create the file /usr/share/X11/xorg.conf.d/10-intel.conf with the following content:

Section "Screen"
Identifier "Default Screen"
DefaultDepth 24
EndSection

Thanks, City-busz :-)

Offline

#7 2014-01-06 21:58:38

linux-ka
Member
From: ADL
Registered: 2010-05-07
Posts: 232

Re: [solved] Last update seems to have broken qiv

It doesn't work on my machine :-\ (thinkpad edge 330)

Offline

#8 2014-01-06 22:02:45

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [solved] Last update seems to have broken qiv

The report I opened has been closed as 'upstream bug', so this may be just a workaround.

What hardware are you using? What drivers and settings? Stock Intel drivers here, SNA acceleration method

$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 01)

Offline

#9 2014-01-06 22:10:51

linux-ka
Member
From: ADL
Registered: 2010-05-07
Posts: 232

Re: [solved] Last update seems to have broken qiv

$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)

My xorg config says I am using the SNA acceleration.

Offline

#10 2014-01-21 14:25:36

linux-ka
Member
From: ADL
Registered: 2010-05-07
Posts: 232

Re: [solved] Last update seems to have broken qiv

well, I don't see a solution here. I still have the problem. The initial displayed image is black. I found out that moving a window over the black display/image makes the fresh uncovered image visible as it should be. So,
there seems to be an issue with X? Is qiv now incompatible with sna drivers ?

Offline

#11 2014-01-22 12:02:07

linux-ka
Member
From: ADL
Registered: 2010-05-07
Posts: 232

Re: [solved] Last update seems to have broken qiv

I just downgraded to v2.2.4. The current release v2.3.1 still won't work properly. What a pity.

Offline

Board footer

Powered by FluxBB