Bug 211604 - wrong summary when burning over midnight
Summary: wrong summary when burning over midnight
Status: RESOLVED FIXED
Alias: None
Product: k3b
Classification: Applications
Component: general (show other bugs)
Version: 1.66.0
Platform: openSUSE Linux
: NOR minor
Target Milestone: ---
Assignee: Sebastian Trueg
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-24 00:19 UTC by Jakub Holý
Modified: 2009-10-25 19:25 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
screenshot after burning (333.71 KB, image/png)
2009-10-24 00:21 UTC, Jakub Holý
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jakub Holý 2009-10-24 00:19:23 UTC
Version:            (using KDE 4.3.1)
OS:                Linux
Installed from:    SuSE RPMs

i burned a DVD over midnight, and got interesting summary...

here's  the debugging output, i will attach the screenshot later.




Devices
-----------------------
Optiarc DVD RW AD-7200S 1.06 (/dev/sr0, CD-R, CD-RW, CD-ROM, DVD-ROM, DVD-R, DVD-RW, DVD-R DL, DVD+R, DVD+RW, DVD+R DL) [DVD-ROM, DVD-R Sequential, DVD-R Dual Layer Sequential, DVD-R Dual Layer Jump, DVD-RAM, DVD-RW Restricted Overwrite, DVD-RW Sequential, DVD+RW, DVD+R, DVD+R Dual Layer, CD-ROM, CD-R, CD-RW] [SAO, TAO, RAW, SAO/R96P, SAO/R96R, RAW/R16, RAW/R96P, RAW/R96R, Restricted Overwrite, Layer Jump] [%7]

K3b::IsoImager
-----------------------
mkisofs print size result: 2093412 (4287307776 bytes)

System
-----------------------
K3b Version: 1.66.0
KDE Version: 4.3.1 (KDE 4.3.1) "release 163"
QT Version:  4.5.2
Kernel:      2.6.27.29-0.1-default

Used versions
-----------------------
mkisofs: 2.1.1a63
cdrecord: 2.1.1a03

cdrecord
-----------------------
wodim: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK limits.scsidev: '/dev/sr0'
devname: '/dev/sr0'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Wodim version: 1.1.8
SCSI buffer size: 64512
Beginning DMA speed test. Set CDR_NODMATEST environment variable if device
communication breaks or freezes immediately after that.
TOC Type: 1 = CD-ROM
Driveropts: 'burnfree'
Device type    : Removable CD-ROM
Version        : 5
Response Format: 2
Capabilities   : 
Vendor_info    : 'Optiarc '
Identification : 'DVD RW AD-7200S '
Revision       : '1.06'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x0011 (DVD-R sequential recording)
Profile: 0x002B (DVD+R/DL) 
Profile: 0x001B (DVD+R) 
Profile: 0x001A (DVD+RW) 
Profile: 0x0016 (DVD-R/DL layer jump recording) 
Profile: 0x0015 (DVD-R/DL sequential recording) 
Profile: 0x0014 (DVD-RW sequential recording) 
Profile: 0x0013 (DVD-RW restricted overwrite) 
Profile: 0x0012 (DVD-RAM) 
Profile: 0x0011 (DVD-R sequential recording) (current)
Profile: 0x0010 (DVD-ROM) 
Profile: 0x000A (CD-RW) 
Profile: 0x0009 (CD-R) 
Profile: 0x0008 (CD-ROM) 
Profile: 0x0002 (Removable disk) 
Using generic SCSI-3/mmc DVD-R(W) driver (mmc_mdvd).
Driver flags   : SWABAUDIO BURNFREE 
Supported modes: PACKET SAO
Drive buf size : 1277952 = 1248 KB
FIFO size      : 4194304 = 4096 KB
Speed set to 5540 KB/s
Track 01: data  4088 MB        
Total size:     4695 MB (465:12.16) = 2093412 sectors
Lout start:     4695 MB (465:14/12) = 2093412 sectors
Current Secsize: 2048
HINT: use dvd+rw-mediainfo from dvd+rw-tools for information extraction.
Blocks total: 2298496 Blocks current: 2298496 Blocks remaining: 205084
Starting to write CD/DVD at speed   4.0 in real SAO mode for single session.
Last chance to quit, starting real write in    2 seconds.
   1 seconds.
   0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
Performing OPC...
Sending CUE sheet...
Starting new track at sector: 0
Track 01:    0 of 4088 MB written.
Track 01:    1 of 4088 MB written (fifo  93%) [buf  63%]   0.0x.
Track 01:    2 of 4088 MB written (fifo 100%) [buf  97%]   0.8x.
Track 01:    3 of 4088 MB written (fifo 100%) [buf  97%]   4.3x.
...
Track 01: 4087 of 4088 MB written (fifo 100%) [buf  95%]   4.0x.
Track 01: 4088 of 4088 MB written (fifo 100%) [buf  95%]   4.2x.
Track 01: Total bytes read/written: 4287307776/4287307776 (2093412 sectors).
Writing  time:  813.579s
Average write speed   3.8x.
Min drive buffer fill was 45%
Fixating...
Fixating time:   18.967s
wodim: fifo had 67530 puts and 67530 gets.
wodim: fifo was 0 times empty and 37691 times full, min fill was 65%.

cdrecord command:
-----------------------
/usr/bin/cdrecord -v gracetime=2 dev=/dev/sr0 speed=4 -sao driveropts=burnfree -data -tsize=2093412s -

mkisofs
-----------------------
2093412
/usr/bin/mkisofs: Warning: Cannot add inode hints with -no-cache-inodes.
=== last message repeated 2 times. ===
Setting input-charset to 'UTF-8' from locale.
  0.02% done, estimate finish Fri Oct 23 23:56:22 2009
  0.05% done, estimate finish Fri Oct 23 23:56:22 2009
...
 99.96% done, estimate finish Sat Oct 24 00:09:57 2009
 99.98% done, estimate finish Sat Oct 24 00:09:57 2009
Total translation table size: 0
Total rockridge attributes bytes: 432
Total directory bytes: 656
Path table size(bytes): 10
Max brk space used 0
2093412 extents written (4088 MB)

mkisofs calculate size command:
-----------------------
/usr/bin/mkisofs -gui -graft-points -print-size -quiet -volid DVD -volset  -appid K3B THE CD KREATOR (C) 1998-2007 SEBASTIAN TRUEG -publisher  -preparer  -sysid LINUX -volset-size 1 -volset-seqno 1 -sort /tmp/kde-kubik/k3bUB7489.tmp -rational-rock -hide-list /tmp/kde-kubik/k3bLU7489.tmp -joliet -joliet-long -hide-joliet-list /tmp/kde-kubik/k3bms7489.tmp -no-cache-inodes -full-iso9660-filenames -iso-level 3 -path-list /tmp/kde-kubik/k3blg7489.tmp

mkisofs command:
-----------------------
/usr/bin/mkisofs -gui -graft-points -volid DVD -volset  -appid K3B THE CD KREATOR (C) 1998-2007 SEBASTIAN TRUEG -publisher  -preparer  -sysid LINUX -volset-size 1 -volset-seqno 1 -sort /tmp/kde-kubik/k3buI7489.tmp -rational-rock -hide-list /tmp/kde-kubik/k3bKh7489.tmp -joliet -joliet-long -hide-joliet-list /tmp/kde-kubik/k3bAr7489.tmp -no-cache-inodes -full-iso9660-filenames -iso-level 3 -path-list /tmp/kde-kubik/k3btg7489.tmp
Comment 1 Jakub Holý 2009-10-24 00:21:00 UTC
Created attachment 37776 [details]
screenshot after burning

note the Elapsed time and write speed...
Comment 2 Michał Małek 2009-10-25 19:25:34 UTC
SVN commit 1040147 by mmalek:

Fixed computing elapsed time in JobProgressDialog. Since QDateTime::daysTo() returns literal difference between day numbers, it has no use for computing time span (e.g. it returns 1 for dates 23 October 23:56 and 24 October 00:09). Let's just compute it from seconds, as we do for remaining time.
BUG: 211604

 M  +9 -9      k3bjobprogressdialog.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1040147