I have a framework 13 13th generation 32 GB RAM, 1 Tb SSD.
I have a dual boot windows 11 / ubuntu and on ubuntu i have virtual box with kali.
Kali is fluent with the terminale etc but when i want to use firefox latencies are appearing. For example with youtube the video is not fluent at all : picture by picture
I have exactly the same configuration than the configuration below from the official kali linux website :
have you tried different virtualisation software? qemu runs better than virtualbox on linux. you can use virt-manager to have a gui for it.
the reason youtube is lagging in the vm could be because of issues with the emulated graphics card (e.g. no codec support). try going to about:support in firefox in the vm and looking for codec support and hardware acceleration related items.
Noted it is exactly the same result on my Ubuntu/Virtual Box and Windows11Pro/VMWare Workstation Pro → Video and sound are horrible and full of latencies
Firefox cannot provide hardware acceleration with just OpenGL 2.1 (I have actual physical hardware that supports OpenGL 2.1 at maximum, and I can confirm that YouTube will max out the two cores which that machine has). VLC will be able to play stuff back (although i havent extensively tested it). Maybe put the YouTube video URL into VLC as a network source in the Kali VM if you really need to (assuming VLC still supports YouTube) - that might yield better results.
Edit 2: the physical hardware in question is a Thinkpad X200
It is usefull to watch some tutorials or walkthroughs when i am working in my VM yes.
Second, I tried all the possibilities in VirtualBox so for now i am focusing on VMWare Workstation Pro 17 ONLY. But to be honest it is weird because i have the same comportment between Virtual Box and VMWare while they are not installed on the same OS
After installing Kali Linux VM on VirtualBox and tried 100 possibilities to watch for example a simple video on youtube throw my VM on VirtualBox it’s impossible sound/image latencies are horrible !
it might be possible that your vm at work is configured to pass a gpu from the host system through to the vm (which would provide it with the needed graphical capabilities)
this doesnt really work on the framework 13 because it doesnt have an extra gpu that you would be able to passthrough