LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 06-11-2008, 03:27 PM   #1
Cinematography
Member
 
Registered: Apr 2005
Location: Chicago, IL
Distribution: openSUSE 13.1
Posts: 357

Rep: Reputation: 31
Is an image viewer like ACDSee just not possible for Linux?


I've tried every image viewer for Linux that I could find; DigiKam, GThumb, Eye of Gnome, Gwenview, etc, and none of these image viewers can view images as fast as ACDSee, and many of them don't have an option for directory tree view.

I work as a photographer, and I have to go through hundreds, sometimes thousands, of pictures every week. If I have to wait 2 seconds for each image to load, an extra hour would likely be added to my work schedule. And with hundreds of directories to go through, I would prefer to view them as I have them on my hard drive.

The only viewer that I've found that even comes close to ACDSee is Picasa. But here is the kicker... The Linux version of Picasa uses Windows components and Wine to run!

Is there something about the Linux kernel that makes fast image viewing impossible? And why do so many image viewers not bother with adding a directory tree view? This makes no sense.
 
Old 06-11-2008, 03:33 PM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Quote:
Originally Posted by Cinematography View Post
But here is the kicker... The Linux version of Picasa uses Windows components and Wine to run!
Uuuhhh, I don't use Wine and Picasa works fine on my Linux box. The requirements for Picasa are
Intel 386-compatible processor, glibc 2.3.2 or greater, working X11 display system, current version of Gnome or KDE for desktop integration, kernel >= 2.6.13, hal >= 0.56, libgphoto2, and gnome-volume-manager or equivalent for camera detection.
 
Old 06-11-2008, 04:37 PM   #3
Takla
Member
 
Registered: Aug 2006
Distribution: Debian
Posts: 188

Rep: Reputation: 34
Quote:
Originally Posted by Cinematography View Post
I've tried every image viewer for Linux that I could find; DigiKam, GThumb, Eye of Gnome, Gwenview, etc, and none of these image viewers can view images as fast as ACDSee, and many of them don't have an option for directory tree view.

I work as a photographer, and I have to go through hundreds, sometimes thousands, of pictures every week. If I have to wait 2 seconds for each image to load, an extra hour would likely be added to my work schedule. And with hundreds of directories to go through, I would prefer to view them as I have them on my hard drive.

The only viewer that I've found that even comes close to ACDSee is Picasa. But here is the kicker... The Linux version of Picasa uses Windows components and Wine to run!

Is there something about the Linux kernel that makes fast image viewing impossible? And why do so many image viewers not bother with adding a directory tree view? This makes no sense.
The poor performance is not necessarily the fault of the image viewers but of the default way file access times are handled. Basically every time you access a file (not modify it but simply access it) there is an access time written to disk.....yup, every read means a write!!! It stinks but it's easy to fix. You need as root to edit /etc/fstab and add the noatime option to prevent this so, for example, if the line for your / and /home partitions look like this:

Code:
/dev/sda1          /          ext3          defaults,errors=remount-ro          0  1
/dev/sda2          /home          ext3          defaults          0  2
you can change them to look like:

Code:
/dev/sda1          /          ext3          defaults,noatime,errors=remount-ro          0  1
/dev/sda2          /home          ext3          defaults,noatime          0  2
Now a simple access/read won't cause a write to disk and the performance of your system should be markedly better on any task which involves a lot of reads. I find images load instantly using gthumb or gqview and ever so slightly slower with f-spot.

edit:you'll need to unmount/remount the disks (rebooting is easiest way)

Last edited by Takla; 06-11-2008 at 09:03 PM. Reason: correction (mount to unmount, last line)
 
Old 06-11-2008, 06:12 PM   #4
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian Stable
Posts: 2,546
Blog Entries: 8

Rep: Reputation: 465Reputation: 465Reputation: 465Reputation: 465Reputation: 465
The image viewer I use is GQView. It's the fastest linux image browser I've used so far. It's as fast as an old version of ACDSee I used to use.

Sometimes, I try out a different image browser, but I always end up disappointed by the speed. I return to GQView. Note that you can change the method of image scaling. The fastest is "nearest pixel", which usually looks horrible for low resolution images, but it's not bad for high resolution digital photos.

For browsing high resolution digital photos, I definitely prefer GQView over ACDSee. I don't know if it has a "directory tree" view. I just got used to the way GQView does things and now I find the way ACDSee does things kludgy and a bit annoying.
 
Old 06-11-2008, 06:15 PM   #5
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian Stable
Posts: 2,546
Blog Entries: 8

Rep: Reputation: 465Reputation: 465Reputation: 465Reputation: 465Reputation: 465
Quote:
Originally Posted by Takla View Post
The poor performance is not necessarily the fault of the image viewers but of the default way file access times are handled.
I severely doubt this is the problem. With all of the image browsers I've tried so far, the bottleneck is invariably CPU processing time for jpeg decoding and rescaling. I think many linux image viewers decode the entire jpeg before it starts displaying...which makes browsing sluggish for high resolution images. I don't really know why exactly GQView is zippier than other image browsers. The bottom line is that it's faster, by enough for me to choose it over other image browsers.
 
Old 06-11-2008, 06:20 PM   #6
elliott678
Member
 
Registered: Mar 2005
Location: North Carolina
Distribution: Arch
Posts: 977

Rep: Reputation: 74
I use GQView when viewing collections of pictures, but for a single one I just use feh launched by my file browser.
 
Old 06-11-2008, 06:43 PM   #7
Takla
Member
 
Registered: Aug 2006
Distribution: Debian
Posts: 188

Rep: Reputation: 34
Quote:
Originally Posted by IsaacKuo View Post
I severely doubt this is the problem. With all of the image browsers I've tried so far, the bottleneck is invariably CPU processing time for jpeg decoding and rescaling. I think many linux image viewers decode the entire jpeg before it starts displaying...which makes browsing sluggish for high resolution images. I don't really know why exactly GQView is zippier than other image browsers. The bottom line is that it's faster, by enough for me to choose it over other image browsers.
When you load into an image viewer a folder containing hundreds of image files it has to be a factor that each individual image file causes an individual write to disk unless noatime option is used. Another factor to consider is that the images, unless they are new, already have thumbnails cached, it's these thumbnails which will initially be displayed and should load immediately. These thumbnails are typically under 100 kB in size and in png format so jpeg decoding and image scaling shouldn't be any kind of issue. Of course when loading new images these are factors, as they are when loading individual images (as opposed to viewing thumbnails).

Last edited by Takla; 06-11-2008 at 06:46 PM.
 
Old 06-11-2008, 08:25 PM   #8
Cinematography
Member
 
Registered: Apr 2005
Location: Chicago, IL
Distribution: openSUSE 13.1
Posts: 357

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by weibullguy View Post
Uuuhhh, I don't use Wine and Picasa works fine on my Linux box. The requirements for Picasa are
Intel 386-compatible processor, glibc 2.3.2 or greater, working X11 display system, current version of Gnome or KDE for desktop integration, kernel >= 2.6.13, hal >= 0.56, libgphoto2, and gnome-volume-manager or equivalent for camera detection.
You may not use WINE, but Picasa (even the Linux version) does. Check your .picasa folder.

Quote:
Originally Posted by Takla View Post
The poor performance is not necessarily the fault of the image viewers but of the default way file access times are handled. Basically every time you access a file (not modify it but simply access it) there is an access time written to disk.....yup, every read means a write!!! It stinks but it's easy to fix. You need as root to edit /etc/fstab and add the noatime option to prevent this so, for example, if the line for your / and /home partitions look like this:

Code:
/dev/sda1          /          ext3          defaults,errors=remount-ro          0  1
/dev/sda2          /home          ext3          defaults          0  2
you can change them to look like:

Code:
/dev/sda1          /          ext3          defaults,noatime,errors=remount-ro          0  1
/dev/sda2          /home          ext3          defaults,noatime          0  2
Now a simple access/read won't cause a write to disk and the performance of your system should be markedly better on any task which involves a lot of reads. I find images load instantly using gthumb or gqview and ever so slightly slower with f-spot.

edit:you'll need to mount/remount the disks (rebooting is easiest way)
Interesting. I never knew about this. I'll give it a try and let you know how it works.
 
Old 06-11-2008, 08:57 PM   #9
Takla
Member
 
Registered: Aug 2006
Distribution: Debian
Posts: 188

Rep: Reputation: 34
I think you'll find a distinct benefit right across the board and there is no downside at all. Afaik access times handled the default way are only important when running mail servers or if you perform thorough security audits, for the vast majority of users they're an irrelevance and do nothing except negatively impact performance. Some distros use noatime by default and you'll see more and more distros using noatime and relatime options. You can find out more about the issue at Kerneltrap - Linux: Replacing atime With relatime where Linus Torvalds and others discuss it and note performance gains between 10% and 50%(!) by using noatime instead of the default (atime).

Last edited by Takla; 06-11-2008 at 09:02 PM.
 
Old 06-12-2008, 02:04 AM   #10
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
Here's a couple more you might try: gtksee, gimageview, iv
gtksee is a clone of ACDSee. I also use GQview for viewing a directory full of images.
 
Old 06-12-2008, 05:20 AM   #11
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Quote:
Originally Posted by Cinematography View Post
You may not use WINE, but Picasa (even the Linux version) does. Check your .picasa folder..
Well, I'll be! Never looked before.
 
Old 06-12-2008, 05:49 AM   #12
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
@Cinematography

What photo editing software do you use ?
Lightzone? Gimp? or anything else?
 
Old 06-13-2008, 03:50 PM   #13
Cinematography
Member
 
Registered: Apr 2005
Location: Chicago, IL
Distribution: openSUSE 13.1
Posts: 357

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by Takla View Post
I think you'll find a distinct benefit right across the board and there is no downside at all. Afaik access times handled the default way are only important when running mail servers or if you perform thorough security audits, for the vast majority of users they're an irrelevance and do nothing except negatively impact performance. Some distros use noatime by default and you'll see more and more distros using noatime and relatime options. You can find out more about the issue at Kerneltrap - Linux: Replacing atime With relatime where Linus Torvalds and others discuss it and note performance gains between 10% and 50%(!) by using noatime instead of the default (atime).
I did notice some improvement, but it still takes between 1 to 2 seconds for a simple 7mp jpeg to load. I think the problem may be with the programming. Most people don't need images to load fast, so the developers work more on the features than the speed. For the average person, a 2 second load time is just fine.

I wish Feh had more features.

Quote:
Originally Posted by gnashley View Post
Here's a couple more you might try: gtksee, gimageview, iv
gtksee is a clone of ACDSee. I also use GQview for viewing a directory full of images.
Unfortunately I've already tried all of those.

But thank you for the suggestions.

Quote:
Originally Posted by sycamorex View Post
@Cinematography

What photo editing software do you use ?
Lightzone? Gimp? or anything else?
I use Photoshop CS. Gimp needs too much RAM for some reason. And I've never heard of Lightzone. I'll look it up.

Last edited by Cinematography; 06-13-2008 at 03:56 PM.
 
Old 06-13-2008, 04:06 PM   #14
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian Stable
Posts: 2,546
Blog Entries: 8

Rep: Reputation: 465Reputation: 465Reputation: 465Reputation: 465Reputation: 465
Quote:
Originally Posted by Cinematography View Post
I think the problem may be with the programming. Most people don't need images to load fast, so the developers work more on the features than the speed.
I think it's more the fact that libraries to decode .jpeg/.png/.gif/etc files already exist. So most open source programmers use the existing code instead of developing their own code from scratch.

Have you tried changing the settings on GQView? By default, it uses a processor intensive but very nice looking bilinear scaling routine. But it'll display faster by using the fast but ugly "nearest pixel" scaling routine (which is the same method ACDSee uses, or at least it's the method used by the old version of ACDSee I used to use).

For a 7 megapixel photo, though, "nearest pixel" scaling will look just fine. You'll get a performance boost without really sacrificing scaling quality.

Another way to tune GQView is to turn OFF two pass rendering. To me, this is just a waste of time.

Another thing that affects speed is thumbnails. Personally, I always turn off thumbnail caching in GQView. I suppose it might be nice if I actually used thumbnails, but I don't. I find thumbnails to be too tiny to be very useful. Most of the time, I'd rather flip through the images in a full screen window. For me, generation of thumbnails is just something that slows things down and needlessly clutters up disk space.
 
Old 06-13-2008, 06:53 PM   #15
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
I love lightzone, it's a trial version for linux, but if you want i can send you the previous full version for linux. it's really worth a try

Last edited by sycamorex; 06-14-2008 at 06:12 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Image Viewer Can't View Image Files. klownska Linux - Software 1 02-27-2006 02:26 AM
Image viewer like acdsee for suse 9.3? randon SUSE / openSUSE 8 08-20-2005 02:56 AM
Image Viewer for Linux Sader Slackware 17 03-13-2005 11:03 PM
any good image viewing soft in Linux that is simular to ACDSEE? zaharia Linux - Software 4 03-29-2004 04:53 AM
good image viewer for linux bosewicht Linux - Newbie 6 01-15-2004 11:32 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 09:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration