Drawing engine shows tiles on big images

Bugs and Suggestions in XnView MP or XnConvert MP which have been resolved.

Moderators: XnTriq, helmut, xnview

User avatar
m.Th.
XnThusiast
Posts: 1612
Joined: Wed Aug 16, 2006 6:31 am

Drawing engine shows tiles on big images

Post by m.Th. »

Take a landscape image @ 22 MPix (for ex. photos from Canon 5D2 or, better, 5DMk3) and display them in Full Screen (by pressing F11). Actually I have the Full Screen mode set up on the 2ndary monitor but I don't think that matters. Display them at 100% and after that at 'zoom to fit'. In both cases (either 100% zoom or zoom to fit), lines in background color appear over the photo giving a tiling effect.

Something like this:
Capture.jpg
Note: if you cannot see the image, you can download it from here: http://we.tl/Y3AKul1kbe

The phenomenon is tested both in Full Screen mode and in the Preview pane (undocked and enlarged accordingly) with RAW files from Canon 5D Mk3 and Nikon D800, PSD and JPG files. ISTM that it has something to do with image dimensions because for the small images does not appear and for the bigger ones (eg. Nikon D800's images) the lines are thinner. It seems that the phenomenon doesn't appear when the files are in portrait orientation. Most probably (even if I don't know for sure) the drawing engine has a tiled (parallel / multi-threaded?) architecture but there is a misalignment bug when the resulting image is blitted (composed) again.


HTH,
You do not have the required permissions to view the files attached to this post.
m. Th.

- Dark Themed XnViewMP 1.5 64bit on Win10 x64 -
User avatar
oops66
XnThusiast
Posts: 2005
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Re: Drawing engine shows tiles on big images

Post by oops66 »

Hello,
Which MP version? which OS ?
XnViewMP Linux X64 - Debian - X64
User avatar
m.Th.
XnThusiast
Posts: 1612
Joined: Wed Aug 16, 2006 6:31 am

Re: Drawing engine shows tiles on big images

Post by m.Th. »

oops66 wrote:Hello,
Which MP version? which OS ?
Oh, sorry! :)

XnViewMP - Version 0.53 (Dec 18 2012)
Windows 7 Enterprise x64 (no SP1) - version no: 6.1.7600
Graphic subsystem: ATI/AMD Radeon HD6750 (5GB Graphic Memory) with two monitors attached. 1st: 1920 x 1200, 2nd: 2560 x 1440 - both @ 32bit color. The driver is the latest(?) Catalyst pack (ie. the AMD's driver, not the original one from Microsoft which ships with Windows).

HTH

PS: I'm at your disposition to test an early internal alpha if you'd like.
m. Th.

- Dark Themed XnViewMP 1.5 64bit on Win10 x64 -
User avatar
m.Th.
XnThusiast
Posts: 1612
Joined: Wed Aug 16, 2006 6:31 am

Re: Drawing engine shows tiles on big images

Post by m.Th. »

Update:

The artifacts appear NOT when the big image is zoomed at 100% (by pressing * ) but when it is zoomed at 133% (the 'Real size' zoom option - Ctrl+/ ). Sorry for confusion.
m. Th.

- Dark Themed XnViewMP 1.5 64bit on Win10 x64 -
User avatar
JohnFredC
XnThusiast
Posts: 2010
Joined: Wed Mar 17, 2004 8:33 pm
Location: Sarasota Florida

Re: Drawing engine shows tiles on big images

Post by JohnFredC »

This is a long-standing issue in XnView. Here is my most recent post concerning the bug. It contains a link to an even earlier bug report about the same behavior.

As an encouraging sign, the latest version of XnView Classic (v2.0) seems to behave correctly.
John
User avatar
oops66
XnThusiast
Posts: 2005
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Re: Drawing engine shows tiles on big images

Post by oops66 »

Hello,
FYI: I also sometimes have this bug under XnViewMP 0.51 Linux (full screen mode only right now). It probably depends of the software screen resolution & the W&H image size/ratio ?.

See here for more information:
http://newsgroup.xnview.com/viewtopic.p ... 57#p111257

Edit:
Seems to be fixed here with the XnViewMP 0.56 Linux X64 version
XnViewMP Linux X64 - Debian - X64