[k3b] [Bug 380064] [MATSHITA BD-MLT UJ240AS] Estimated writing speed: 4046 KB/s (0,9x)*?

2017-11-12 Thread Simon Andric
https://bugs.kde.org/show_bug.cgi?id=380064

Simon Andric  changed:

   What|Removed |Added

 CC||simonandr...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[k3b] [Bug 380064] [MATSHITA BD-MLT UJ240AS] Estimated writing speed: 4046 KB/s (0,9x)*?

2017-11-11 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=380064

Leslie Zhai  changed:

   What|Removed |Added

 CC||haman...@gmx.fr

--- Comment #19 from Leslie Zhai  ---
*** Bug 384566 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[k3b] [Bug 380064] [MATSHITA BD-MLT UJ240AS] Estimated writing speed: 4046 KB/s (0,9x)*?

2017-06-14 Thread Cristian Aravena Romero
https://bugs.kde.org/show_bug.cgi?id=380064

Cristian Aravena Romero  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |FIXED

--- Comment #18 from Cristian Aravena Romero  ---
https://cgit.kde.org/k3b.git/commit/?id=c8ed0188800a5b8e010a6f25fc9e7d8af363892a

-- 
You are receiving this mail because:
You are watching all bug changes.

[k3b] [Bug 380064] [MATSHITA BD-MLT UJ240AS] Estimated writing speed: 4046 KB/s (0,9x)*?

2017-06-11 Thread Cristian Aravena Romero
https://bugs.kde.org/show_bug.cgi?id=380064

--- Comment #17 from Cristian Aravena Romero  ---
Created attachment 106052
  --> https://bugs.kde.org/attachment.cgi?id=106052=edit
k3b_giteb55cd2.png

-- 
You are receiving this mail because:
You are watching all bug changes.

[k3b] [Bug 380064] [MATSHITA BD-MLT UJ240AS] Estimated writing speed: 4046 KB/s (0,9x)*?

2017-06-11 Thread Cristian Aravena Romero
https://bugs.kde.org/show_bug.cgi?id=380064

--- Comment #16 from Cristian Aravena Romero  ---
Created attachment 106051
  --> https://bugs.kde.org/attachment.cgi?id=106051=edit
k3b_giteb55cd2.log

-- 
You are receiving this mail because:
You are watching all bug changes.

[k3b] [Bug 380064] [MATSHITA BD-MLT UJ240AS] Estimated writing speed: 4046 KB/s (0,9x)*?

2017-06-11 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=380064

--- Comment #15 from Leslie Zhai  ---
Hi Cristian,

> k3b burn

Have you tried cdrskin as Writing app? and please attach the log and
screenshot, thanks!

Regards,
Leslie Zhai

-- 
You are receiving this mail because:
You are watching all bug changes.

[k3b] [Bug 380064] [MATSHITA BD-MLT UJ240AS] Estimated writing speed: 4046 KB/s (0,9x)*?

2017-06-09 Thread Cristian Aravena Romero
https://bugs.kde.org/show_bug.cgi?id=380064

--- Comment #14 from Cristian Aravena Romero  ---
Created attachment 106021
  --> https://bugs.kde.org/attachment.cgi?id=106021=edit
k3b burn

-- 
You are receiving this mail because:
You are watching all bug changes.

[k3b] [Bug 380064] [MATSHITA BD-MLT UJ240AS] Estimated writing speed: 4046 KB/s (0,9x)*?

2017-06-08 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=380064

--- Comment #13 from Leslie Zhai  ---
Hi Cristian,

> Not K3B's fault. growisofs needs a maintainer.

Why not cdrskin as Writing app?

Regards,
Leslie Zhai

-- 
You are receiving this mail because:
You are watching all bug changes.

[k3b] [Bug 380064] [MATSHITA BD-MLT UJ240AS] Estimated writing speed: 4046 KB/s (0,9x)*?

2017-06-08 Thread Thomas Schmitt
https://bugs.kde.org/show_bug.cgi?id=380064

--- Comment #12 from Thomas Schmitt  ---
Hi,

the strange speed value 4.1x seems to stem from a 1024/1000 confusion
in growisofs.
growisofs_mmc.cpp has:

  #define BD_1X   4390// 4495.5 * 1000 / 1024
  ...
_1x = BD_1X;
  ...
  page2A = pull_page2A (cmd);
  ...
hlen = 8 + (page2A[6]<<8|page2A[7]);

unsigned char * const p = page2A + hlen;
  ...
{   velocity = p[28]<<8|p[29];
  ...
fprintf (stderr,"%s: \"Current Write Speed\" is %.1fx%dKBps.\n",
ioctl_device,velocity/(double)_1x,_1x);

Page 0x2A is the obsolete "CD/DVD Capabilities and Mechanical Status Page"
last mentioned in MMC-3. One can ask a drive to fill it out and return it.
Its bytes 28 and 29 then contain the "Current Write Speed Selected".
To my knowledge, all drives return this value as kB/sec. So growisofs
should divide it by 4495, not by 4390.

Not K3B's fault. growisofs needs a maintainer.


Have a nice day :)

Thomas

-- 
You are receiving this mail because:
You are watching all bug changes.

[k3b] [Bug 380064] [MATSHITA BD-MLT UJ240AS] Estimated writing speed: 4046 KB/s (0,9x)*?

2017-06-08 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=380064

--- Comment #11 from Leslie Zhai  ---
Hi Thomas,

Thanks for your help!

> "Writing speed: 5678 KB/s (4,1x)" obviously implies the speed factor
> for DVD of 1385 kB/s, rather than the factor of 4495 kB/s of BD.
> As BD speed 5678 kB/s would be about 1.3x.
> It is not clear which of both numbers is the computed one.
> Combined with the growisofs message
>   /dev/sr0: "Current Write Speed" is 4.1x4390KBps.
> i'd expect that 5678 is wrong and should be about 18500.
> (4390 KiB/s = 4495.36 kB/s.)
Yes, original GrowisofsHandler only considered about DVD, so I simply added
setMediaType for it to consider about Device::SPEED_FACTOR_BD too
https://github.com/KDE/k3b/blob/master/libk3b/projects/k3bgrowisofshandler.cpp#L177


> 
> "Estimated writing speed: 4046 KB/s (0,9x)" on the other hand is
> converted correctly.
> 
> One may ask the drive and inserted medium for its announced speed 
> values by this shell command:
> 
>   dvd+rw-mediainfo /dev/sr0
> 
> A PHILIP/R04 BD-R medium in ASUS BW-16D1HT drive reports
>   Write Speed #0:8.0x4495=35968KB/s
>   Write Speed #1:6.0x4495=26976KB/s
>   Write Speed #2:4.0x4495=17984KB/s
> 
> The value "4.1x" reported by K3B could be really "4.0x" if K3B
> misunderstands 17984 kB/s as 17984 KiB/s (17984*1.024/4495 = 4.0969).
> 
> One should check K3B for such 1024 = 1000 mistakes. SCSI/MMC always
> reports and expects SI compliant kB/s. I.e. "k" = 1000, not 1024.
> This applies to the output of dvd+rw-mediainfo and to the reply of
> SCSI command GET PERFORMANCE.
> 
> 
> If i shall guess, then "Writing speed" is what K3B asks growisofs
> to use by option "-speed=4", and "Estimated writing speed" would be
Yes! in the K3b::GrowisofsWriter::prepareProcess()
https://github.com/KDE/k3b/blob/master/libk3b/projects/k3bgrowisofswriter.cpp#L291


Regards,
Leslie Zhai

-- 
You are receiving this mail because:
You are watching all bug changes.

[k3b] [Bug 380064] [MATSHITA BD-MLT UJ240AS] Estimated writing speed: 4046 KB/s (0,9x)*?

2017-06-08 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=380064

--- Comment #10 from Leslie Zhai  ---
Git commit cb723c528e8bf4ac3a60a244690439230d1e2346 by Leslie Zhai.
Committed on 08/06/2017 at 08:53.
Pushed by lesliezhai into branch 'master'.

Add MediaType for GrowisofsHandler

So it is able to calculate Current Write Speed with DVD or BD speed
factor depends on MediaType.

M  +10   -10   libk3b/projects/k3bgrowisofshandler.cpp
M  +5-0libk3b/projects/k3bgrowisofshandler.h
M  +1-3libk3b/projects/k3bgrowisofswriter.cpp

https://commits.kde.org/k3b/cb723c528e8bf4ac3a60a244690439230d1e2346

-- 
You are receiving this mail because:
You are watching all bug changes.

[k3b] [Bug 380064] [MATSHITA BD-MLT UJ240AS] Estimated writing speed: 4046 KB/s (0,9x)*?

2017-06-08 Thread Thomas Schmitt
https://bugs.kde.org/show_bug.cgi?id=380064

--- Comment #9 from Thomas Schmitt  ---
Hi,

i see confusions about DVD and BD speed units and about SI compliant
kB = 1000 bytes versus programmer's KiB = 1024 bytes.


"Writing speed: 5678 KB/s (4,1x)" obviously implies the speed factor
for DVD of 1385 kB/s, rather than the factor of 4495 kB/s of BD.
As BD speed 5678 kB/s would be about 1.3x.
It is not clear which of both numbers is the computed one.
Combined with the growisofs message
  /dev/sr0: "Current Write Speed" is 4.1x4390KBps.
i'd expect that 5678 is wrong and should be about 18500.
(4390 KiB/s = 4495.36 kB/s.)

"Estimated writing speed: 4046 KB/s (0,9x)" on the other hand is
converted correctly.

One may ask the drive and inserted medium for its announced speed 
values by this shell command:

  dvd+rw-mediainfo /dev/sr0

A PHILIP/R04 BD-R medium in ASUS BW-16D1HT drive reports
  Write Speed #0:8.0x4495=35968KB/s
  Write Speed #1:6.0x4495=26976KB/s
  Write Speed #2:4.0x4495=17984KB/s

The value "4.1x" reported by K3B could be really "4.0x" if K3B
misunderstands 17984 kB/s as 17984 KiB/s (17984*1.024/4495 = 4.0969).

One should check K3B for such 1024 = 1000 mistakes. SCSI/MMC always
reports and expects SI compliant kB/s. I.e. "k" = 1000, not 1024.
This applies to the output of dvd+rw-mediainfo and to the reply of
SCSI command GET PERFORMANCE.


If i shall guess, then "Writing speed" is what K3B asks growisofs
to use by option "-speed=4", and "Estimated writing speed" would be
the real throughput measured between K3B and growisofs.

0.9x effective speed at 4x nominal speed is not very good. Only for
a short time (around 43 %) throughput accelerated to 1.6x for a short
time.
With Defect Management enabled 4x nominal should be about 1.5x to 2x
effective throughput.

As for CDEmu, it obviously does not feel restricted to the speed wish
18.4x DVD (= 6x BD) issued by K3 to growisofs, but rather burns as fast
as the computer can copy bytes.


Have a nice day :)

Thomas

-- 
You are receiving this mail because:
You are watching all bug changes.

[k3b] [Bug 380064] [MATSHITA BD-MLT UJ240AS] Estimated writing speed: 4046 KB/s (0,9x)*?

2017-06-07 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=380064

--- Comment #8 from Leslie Zhai  ---
Hi Thomas,

Please give me some hint, thanks a lot!

> Why growisofs Current Write Speed is different from Estimated writing speed?
> 
> M  +5-2libk3b/projects/k3bgrowisofshandler.cpp
> M  +7-3libk3b/projects/k3bgrowisofswriter.cpp
> A  +3-0tests/test-blank-cdr.sh
> A  +3-0tests/test-blank-dvd+r.sh
> 
> https://commits.kde.org/k3b/d4b6d1f25717e777c040e64f9183532d2184954c

growisofs Current Write Speed -> DEBUG: void
K3b::GrowisofsHandler::handleLine(const QString&) 25484 18.4 1385

Estimated writing speed -> DEBUG: void
K3b::GrowisofsWriter::slotReceivedStderr(const QString&) 104013 75.1 1385

Regards,
Leslie Zhai

-- 
You are receiving this mail because:
You are watching all bug changes.

[k3b] [Bug 380064] [MATSHITA BD-MLT UJ240AS] Estimated writing speed: 4046 KB/s (0,9x)*?

2017-06-07 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=380064

--- Comment #7 from Leslie Zhai  ---
Git commit d4b6d1f25717e777c040e64f9183532d2184954c by Leslie Zhai.
Committed on 08/06/2017 at 04:07.
Pushed by lesliezhai into branch 'master'.

Why growisofs Current Write Speed is different from Estimated writing speed?

M  +5-2libk3b/projects/k3bgrowisofshandler.cpp
M  +7-3libk3b/projects/k3bgrowisofswriter.cpp
A  +3-0tests/test-blank-cdr.sh
A  +3-0tests/test-blank-dvd+r.sh

https://commits.kde.org/k3b/d4b6d1f25717e777c040e64f9183532d2184954c

-- 
You are receiving this mail because:
You are watching all bug changes.

[k3b] [Bug 380064] [MATSHITA BD-MLT UJ240AS] Estimated writing speed: 4046 KB/s (0,9x)*?

2017-06-07 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=380064

Leslie Zhai  changed:

   What|Removed |Added

 CC||scdbac...@gmx.net

-- 
You are receiving this mail because:
You are watching all bug changes.

[k3b] [Bug 380064] [MATSHITA BD-MLT UJ240AS] Estimated writing speed: 4046 KB/s (0,9x)*?

2017-06-06 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=380064

--- Comment #6 from Leslie Zhai  ---
Hi Cristian,

Thanks for your test!

> Is this a good log?

very good! I will check out why Writing speed (5678 KB/s) is different with
Estimated writing speed (3596 KB/s)

Regards,
Leslie Zhai

-- 
You are receiving this mail because:
You are watching all bug changes.

[k3b] [Bug 380064] [MATSHITA BD-MLT UJ240AS] Estimated writing speed: 4046 KB/s (0,9x)*?

2017-06-06 Thread Cristian Aravena Romero
https://bugs.kde.org/show_bug.cgi?id=380064

--- Comment #5 from Cristian Aravena Romero  ---
Created attachment 105946
  --> https://bugs.kde.org/attachment.cgi?id=105946=edit
k3b.log

Hello Leslie Zhai,

Is this a good log?

Thanks,
--
Cristian

-- 
You are receiving this mail because:
You are watching all bug changes.

[k3b] [Bug 380064] [MATSHITA BD-MLT UJ240AS] Estimated writing speed: 4046 KB/s (0,9x)*?

2017-06-05 Thread Leslie Zhai
https://bugs.kde.org/show_bug.cgi?id=380064

Leslie Zhai  changed:

   What|Removed |Added

 CC||lesliez...@llvm.org.cn

--- Comment #4 from Leslie Zhai  ---
Hi Cristian,

But what about the speed for CDEmu? could you provide another log when using
CDEmu for recording compare? thanks!

Regards,
Leslie Zhai

-- 
You are receiving this mail because:
You are watching all bug changes.

[k3b] [Bug 380064] [MATSHITA BD-MLT UJ240AS] Estimated writing speed: 4046 KB/s (0,9x)*?

2017-05-22 Thread Cristian Aravena Romero
https://bugs.kde.org/show_bug.cgi?id=380064

--- Comment #3 from Cristian Aravena Romero  ---
https://bugs.launchpad.net/k3b/+bug/1692730

-- 
You are receiving this mail because:
You are watching all bug changes.

[k3b] [Bug 380064] [MATSHITA BD-MLT UJ240AS] Estimated writing speed: 4046 KB/s (0,9x)*?

2017-05-21 Thread Cristian Aravena Romero
https://bugs.kde.org/show_bug.cgi?id=380064

--- Comment #2 from Cristian Aravena Romero  ---
Created attachment 105667
  --> https://bugs.kde.org/attachment.cgi?id=105667=edit
k3b_git85105cd.log

-- 
You are receiving this mail because:
You are watching all bug changes.

[k3b] [Bug 380064] [MATSHITA BD-MLT UJ240AS] Estimated writing speed: 4046 KB/s (0,9x)*?

2017-05-21 Thread Cristian Aravena Romero
https://bugs.kde.org/show_bug.cgi?id=380064

--- Comment #1 from Cristian Aravena Romero  ---
Created attachment 105665
  --> https://bugs.kde.org/attachment.cgi?id=105665=edit
k3b_version-git85105cd

-- 
You are receiving this mail because:
You are watching all bug changes.