GNOME Bugzilla – Bug 676938
[Nouveau] EOG Eye of gnome shows black stripe in pictures
Last modified: 2012-09-15 16:58:49 UTC
Original bug report: https://bugs.launchpad.net/ubuntu/+source/eog/+bug/1005292 I'm using a freshly installed Precise on a fairly old computer. eog: 3.4.1-0ubuntu1 xserver-xorg-video-nouveau: 1:0.0.16+git20111201+b5534a1-1build2 The problem is that eog shows a black stripe in some of my jpg pictures. I think the position of the stripe depends on the resolution of the picture. If the resolution is high the stripe is located close to the top, if it's medium the stripe is in the middle. If the resolution is low then there is no black stripe. Please take a look at the sample images. I used the printscreen button to create the eog version of the images. There is no problem with other image viewing tools. Sample images: https://bugs.launchpad.net/ubuntu/+source/eog/+bug/1005292/+attachment/3166211/+files/original.JPG https://bugs.launchpad.net/ubuntu/+source/eog/+bug/1005292/+attachment/3166213/+files/eog-version.png https://bugs.launchpad.net/ubuntu/+source/eog/+bug/1005292/+attachment/3166214/+files/original2.JPG https://bugs.launchpad.net/ubuntu/+source/eog/+bug/1005292/+attachment/3166215/+files/eog-version_2.png
Created attachment 219397 [details] Xorg.0.log
Strange, I can't find Comment #1 on this page, has it dissapeared? Anyway, here is my answer: I tried to reproduce this issue at different resolution (1280*720, 1440*900) and it did not happen. When I switched back to 1920*1080 it did not happen either. However when I rebooted and tried again it did happen again. I got error messages in Xorg.0.log. I've already atteched it. --- Comment #1 from Felix Riemann <friemann@gnome.org> 2012-06-03 13:05:52 UTC --- Hmm, I'm suspecting a driver problem or a hardware limitation. Does the driver output any log data into the kernel and xorg logs when this happens? Can you also try if it works at different screen resolutions as in bug 656224?
Created attachment 219398 [details] dmesg
Created attachment 219399 [details] sudo lspci -vvnn
Hmm, the Xorg output sounds like the X server (or parts of it) are hanging. I know that a similar situation can happen for very large pictures but it shouldn't happen with pictures of your size. Anyway, I had a similar report from another GeForce FX 5xxx user using nouveau. We tried to test it against the nvidia binary driver, but failed with the manual installation of the driver package. As Ubuntu seems to have put an updated driver in their repository now I'd like to ask you the same. Would it be possible for you to test against the binary driver to rule out a driver problem? (Although it could still be a hardware limitation we're hitting here.)
I just tried it again with the latest updates installed on 12.04 and the problem remains. This is not a hardware limitation because there was no problem with this on 10.04.
Have you tried nVidia's binary driver (nvidia-173)? AFAIK the nouveau driver hasn't received an update in Ubuntu 12.04 since release. I wouldn't rule out a hardware limitation just because it worked in 10.04. The eog that was used in Ubuntu's last LTS release had a much different render code. eog-2.x prescaled the image and sent it to the X server in blocks. eog-3.x uses cairo to do the scaling and compositing, delivering the whole image at once. This can be more taxing on the hardware as well as the driver, but depending on your gfx card and driver it can speed up rendering quite a bit. The problem is I am unable to reproduce your problem with an Ubuntu 12.04 livecd with my graphics card, which makes me think it might be driver or hardware related. And to rule out the hardware I'd like to have a cross-check against nVidia's own driver, to see if it could be a problem of nouveau (or rather Ubuntu's snapshot of it) with GeForce 5 cards.
You are right, I just tried it again after installing nvidia-173 via jockey and the bug does not happen anymore. So this must be a nouveau problem.
By the way Shotwell can view pictures with nouveau too. Thanks for your help.
Great that you found the reason! Closing as NOTGNOME as this was a bug that wasn't fixed in the GNOME codebase. Could you please forward this bug report to bugs.freedesktop.org by filing it either under "xorg -> Driver/nouveau" or "Mesa -> Drivers/DRI/nouveau"? Thanks for your help!
For the record: I opened a bug report at freedesktop: https://bugs.freedesktop.org/show_bug.cgi?id=54970
Thanks for testing, Adam! It's surely possible that Shotwell shows images correctly with your Nouveau driver. I think it works similar to the older eog by rendering a prescaled image to the cairo context.