Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Haha, fun project :) But why?
nitwhiz1074672dInteresting idea :D
But isn't the whole idea of hyper v that you should not "feel" a difference between real and virtual hardware?
How do these glitches appear then?
The most "logical" thing would be a lower read rate of the data from the dvd. Normally we talk to the drive directly, but with hyper v in between maybe there happens some buffering (but not fast enough)?
Could you try a Win 10 VM or Win 7 on your Win 10 Host?
AtuM22372dI don't know if Windows HyperV can passthrough a video card to the guest. But linux kvm or xen sure can. I have not yet seen any driver that would work well with virtualized desktop in a way that dvd/bd movies or games would work well. I think that gpu does not work well with virtualization. I would like to see improvements here too.
@ScriptCoded for science. I was curious how good hyper-v is at this stuff
@AtuM I think there was a video card passthrough option for gen2 vms, but they removed it. Better GPU support in vms would be nice. Virtual Box's is good enough to play Minecraft though, used it once to play multiplayer on just one PC
@nitwhiz the worse read performance is possible, but that doesn't explain how playing it in Win10 decrypts it for the vm. Also the problem with Win10 in a VM is that you need a license to use Extended Sessione or whatever they're called (really just remotedesktop into the VM instead of the normal Hyper-V console without audio etc). I might try it sometime if I get around to it, have a 3€ professional license from rakuten lying around which might work.
LinusCDE293272dThe whole "can decode once played" is not just in vms.
If you use linux natively and try to rip the whole dvd with dd you get an io-error. If you play it once using vlc i also am able to rip it with dd afterwards.
May guess is that the libdvdcss module uses some direct calls to the dvd drive to maybe transmit the key for decryption. I guess that the hypervisor blocks that kind of direct access or the virtual driver doesn't support it.
Same guess for choppy playback as @nitwhiz . The vm/virtual driver probably can't control the disk speed or gets reported a wrong maximum disk speed.
Would be interesting to see, if the vm could play the second layer of a duallayer dvd (DVD DL). 🤔
@LinusCDE Makes sense. I think it's possible that the hypervisor only exposes data access functions to the vm and nothing like speed detection or transmitting decryption keys. The video length is detected correctly, but I haven't skipped ahead that far. Wouldn't be surprised if switching to the second layer was handled by the drive though