INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Images in Views not displaying, Ubuntu 14.04 latest MC  (Read 6791 times)

r1pp3r

  • Recent member
  • *
  • Posts: 12
Images in Views not displaying, Ubuntu 14.04 latest MC
« on: December 21, 2015, 05:23:53 am »

They do not.

The Display Window displays the image, but none of the views display any images other than the standard note.

I wiped out my .jriver folder, imported a single album. Cleared the tags, imported an image into the FLAC files, rebuilt the thumbnails, made sure the "image from file" was checked in options.

Nothing.

Is there anything else I can do?
Logged

r1pp3r

  • Recent member
  • *
  • Posts: 12
Re: Images in Views not displaying, Ubuntu 14.04 latest MC
« Reply #1 on: January 09, 2016, 05:30:53 am »

Upgraded to Ubuntu 15.04, waited, new release of MC.

Nothing.

Using my test collection and the latest MC21, I removed the thumbnails, added the jpeg to the files using MC, rebuilt the thumbnails.

The logs say thumbnails are being created. But I still cant see the thumbnail anywhere but the Display Window, bottom LHS.

If these problems continue I shall be asking for my money back. If MC21 is that broke - and imo it is - then don't sell licences for any distribs other than the ones you support.

Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13946
Re: Images in Views not displaying, Ubuntu 14.04 latest MC
« Reply #2 on: January 11, 2016, 10:47:17 am »

I doubt this has anything to do with the distro since others are running MC as you are without the issue you describe.
There are bugs in the noveau XWindows video driver if you are running that it may be your problem.

It could also be that you are doing something out of the ordinary and have run into a generic problem we haven't seen yet.

Are the media files on your local drive?
Are you running as a user and not root?
Are you storing the images separately and/or in tags?
Are the images jpeg or something else?
Logged

r1pp3r

  • Recent member
  • *
  • Posts: 12
Re: Images in Views not displaying, Ubuntu 14.04 latest MC
« Reply #3 on: January 11, 2016, 01:03:28 pm »

I doubt this has anything to do with the distro since others are running MC as you are without the issue you describe.
There are bugs in the noveau XWindows video driver if you are running that it may be your problem.

It could also be that you are doing something out of the ordinary and have run into a generic problem we haven't seen yet.

Are the media files on your local drive?
Are you running as a user and not root?
Are you storing the images separately and/or in tags?
Are the images jpeg or something else?


Thank you for your reply.

I'd be surprised if it was the Video Driver as the Display Window (bottom LH corner of the MC window) displays the picture perfectly. Also, when I do "Tools->Cover Art->View (first file)" up it pops.

I tried rebuilding the thumbnail. I looked at the log, and it does appear to be picking up the image and doing something with it.

To answer your your questions

1. USB3 Drive
   - As a test, I cleaned the library, copied files to the local disk and reconstituted the library. Same issue.
2. User
3. Both.
  - I used the MC utility to fetch and store the JPG image.
4. JPEGS
 
Regards, Roger
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13946
Re: Images in Views not displaying, Ubuntu 14.04 latest MC
« Reply #4 on: January 15, 2016, 05:41:36 pm »

Thank you for your reply.

I'd be surprised if it was the Video Driver as the Display Window (bottom LH corner of the MC window) displays the picture perfectly. Also, when I do "Tools->Cover Art->View (first file)" up it pops.

I tried rebuilding the thumbnail. I looked at the log, and it does appear to be picking up the image and doing something with it.

To answer your your questions

1. USB3 Drive
   - As a test, I cleaned the library, copied files to the local disk and reconstituted the library. Same issue.
2. User
3. Both.
  - I used the MC utility to fetch and store the JPG image.
4. JPEGS
 
Regards, Roger
Would you try build 37 which is just going live?
Logged

r1pp3r

  • Recent member
  • *
  • Posts: 12
Re: Images in Views not displaying, Ubuntu 14.04 latest MC
« Reply #5 on: January 16, 2016, 04:16:13 am »

Would you try build 37 which is just going live?


Same tests, same problem.

A query. Are these fields meant to be empty?

 4 drwxrwxr-x 3 roger roger 4096 Jan 16 10:07 ..
12 -rw-r--r-- 1 roger roger  142 Jan 16 10:10 field (thumbnail info (local)).jmd
12 -rw-r--r-- 1 roger roger   32 Jan 16 10:10 field (thumbnail offset large).jmd
12 -rw-r--r-- 1 roger roger   32 Jan 16 10:10 field (thumbnail offset medium).jmd
12 -rw-r--r-- 1 roger roger   32 Jan 16 10:10 field (thumbnail offset small).jmd
 8 -rw-r--r-- 1 roger roger    0 Jan 16 10:09 Thumbnails (large).jmd
 8 -rw-r--r-- 1 roger roger    0 Jan 16 10:09 Thumbnails (medium).jmd
 8 -rw-r--r-- 1 roger roger    0 Jan 16 10:09 Thumbnails (small).jmd


Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13946
Re: Images in Views not displaying, Ubuntu 14.04 latest MC
« Reply #6 on: January 16, 2016, 12:33:59 pm »

Same tests, same problem.

A query. Are these fields meant to be empty?

 4 drwxrwxr-x 3 roger roger 4096 Jan 16 10:07 ..
12 -rw-r--r-- 1 roger roger  142 Jan 16 10:10 field (thumbnail info (local)).jmd
12 -rw-r--r-- 1 roger roger   32 Jan 16 10:10 field (thumbnail offset large).jmd
12 -rw-r--r-- 1 roger roger   32 Jan 16 10:10 field (thumbnail offset medium).jmd
12 -rw-r--r-- 1 roger roger   32 Jan 16 10:10 field (thumbnail offset small).jmd
 8 -rw-r--r-- 1 roger roger    0 Jan 16 10:09 Thumbnails (large).jmd
 8 -rw-r--r-- 1 roger roger    0 Jan 16 10:09 Thumbnails (medium).jmd
 8 -rw-r--r-- 1 roger roger    0 Jan 16 10:09 Thumbnails (small).jmd




I haven't looked at the individual database files before however they are not empty on my library and the thumbnail files are 8 megs in size each.

Is the filesystem full where this library is stored?

The only other thing I can think of is that JRWorker is aborting for some reason.
You could run mediacenter21 from the command line and you'll see the output of JRWorker as it does it's thing...
Logged

r1pp3r

  • Recent member
  • *
  • Posts: 12
Re: Images in Views not displaying, Ubuntu 14.04 latest MC
« Reply #7 on: January 16, 2016, 12:58:07 pm »

I haven't looked at the individual database files before however they are not empty on my library and the thumbnail files are 8 megs in size each.

Is the filesystem full where this library is stored?

The only other thing I can think of is that JRWorker is aborting for some reason.
You could run mediacenter21 from the command line and you'll see the output of JRWorker as it does it's thing...


The file system is not full.

I don't see much when I run up media-centre, possibly because I've got the Debugger option sat to on. Please see attached log file FFI.

Regards, Roger
Logged

r1pp3r

  • Recent member
  • *
  • Posts: 12
Re: Images in Views not displaying, Ubuntu 14.04 latest MC
« Reply #8 on: January 17, 2016, 11:48:02 am »

The file system is not full.

I don't see much when I run up media-centre, possibly because I've got the Debugger option sat to on. Please see attached log file FFI.

Regards, Roger


Hi, I ran mediacenter with the command

strace -o <filename> mediacenter

and I found a failing call to fallocate for the files with 0 length.

open("/home/roger/.jriver/Media Center 21/Thumbnails/{F883701E-6806-B14D-A73A-D363EC14AE46}/Normal (v3)/Thumbnails (large).jmd", O_RDWR|O_CREAT|O_TRUNC, 0644) = 28
fcntl(28, F_SETLK, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) = 0
fstat(28, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
lseek(28, 8388608, SEEK_SET)            = 8388608
lseek(28, 0, SEEK_CUR)                  = 8388608
fallocate(28, 0, 0, 8388608)            = -1 EOPNOTSUPP (Operation not supported)
close(28)

for each of the files in question.

I hope this is useful.



Regards, Roger
Logged

r1pp3r

  • Recent member
  • *
  • Posts: 12
Re: Images in Views not displaying, Ubuntu 14.04 latest MC
« Reply #9 on: January 17, 2016, 12:08:33 pm »

Hi, I ran mediacenter with the command

strace -o <filename> mediacenter

and I found a failing call to fallocate for the files with 0 length.

open("/home/roger/.jriver/Media Center 21/Thumbnails/{F883701E-6806-B14D-A73A-D363EC14AE46}/Normal (v3)/Thumbnails (large).jmd", O_RDWR|O_CREAT|O_TRUNC, 0644) = 28
fcntl(28, F_SETLK, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) = 0
fstat(28, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
lseek(28, 8388608, SEEK_SET)            = 8388608
lseek(28, 0, SEEK_CUR)                  = 8388608
fallocate(28, 0, 0, 8388608)            = -1 EOPNOTSUPP (Operation not supported)
close(28)

for each of the files in question.


It appears that fallocate doesn't work on encrypted partitions - my home partition is encrypted.

I moved the .jriver folder to a non-encrypted partition, soft-linked from the Home directory and ran up mediacenter. Voila! Pretty pictures!

There's probably a small penalty for accessing the MC database through the soft-link but it's negligible in my case.

The fallocate man-page doesn't mention encryped partitions so I'll report it to Ubuntu.

Regards, Roger.
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13946
Re: Images in Views not displaying, Ubuntu 14.04 latest MC
« Reply #10 on: January 18, 2016, 03:55:02 pm »

It appears that fallocate doesn't work on encrypted partitions - my home partition is encrypted.

I moved the .jriver folder to a non-encrypted partition, soft-linked from the Home directory and ran up mediacenter. Voila! Pretty pictures!

There's probably a small penalty for accessing the MC database through the soft-link but it's negligible in my case.

The fallocate man-page doesn't mention encryped partitions so I'll report it to Ubuntu.

Regards, Roger.
Nice find!
fallocate is used in MC to preallocate a file block.
The reason it's used is that it's much faster than ftruncate.
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13946
Re: Images in Views not displaying, Ubuntu 14.04 latest MC
« Reply #11 on: January 18, 2016, 04:08:45 pm »

Nice find!
fallocate is used in MC to preallocate a file block.
The reason it's used is that it's much faster than ftruncate.
Changed it to use ftruncate if fallocate isn't supported.
Logged

r1pp3r

  • Recent member
  • *
  • Posts: 12
Re: Images in Views not displaying, Ubuntu 14.04 latest MC
« Reply #12 on: January 19, 2016, 07:31:32 am »

Changed it to use ftruncate if fallocate isn't supported.


Nice.

BTW, the image import facility is very impressive, especially with multiple albums:)

I've not thrown my entire library at it, but it's dealing with sizeable chunks quite nicely.

Cheers, Roger.
Logged
Pages: [1]   Go Up