Desktop resets randomly  [Solved]

Message
Author
User avatar
ekeimaja
Posts: 133
Joined: Fri May 25, 2018 6:43 pm

Re: Desktop resets randomly

#11 Post by ekeimaja »

Nokkaelaein wrote: Thu Feb 06, 2025 10:22 am Nice that you got it solved. It would be really swell if you described here what caused it and how you solved it, so that the info would be around and searchable, in the case someone else has a similar problem down the road :happy:
I solved it by upgrading the kernel.
Stevo wrote: Thu Feb 06, 2025 11:44 am You would need to add the "ahs" section to the MX repo, using MX Repo Manager, and install virtualbox 7.0.22 from ahs to get one that will work with 6.12 kernels. The virtualbox installer in MXPI should work for that once ahs is enabled and the repositories updated. Usually "ahs" kernels, like the 6.7 you were running before, are happier with ahs drivers, but you were able to get by without them on 6.7. You could disable ahs after updating VBox.
I tried this, but VBox still gives the same error when starting the machine.
Desktop: AMD 3700X, 32 Gb RAM, RX 5700XT (MX 23.3)
Laptops: Juno Nyx 15 v1, Intel i5-10210U, 16Gb RAM (MX 23.3)
Asus Eee 1005P, Intel Atom N450, 2 Gb RAM, Intel GMA3150 (MX 23.3)

User avatar
CharlesV
Global Moderator
Posts: 7595
Joined: Sun Jul 07, 2019 5:11 pm

Re: Desktop resets randomly

#12 Post by CharlesV »

try running this in a terminal on the host, then run Virtualbox

Code: Select all

sudo sysctl vm.drop_caches=3

*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

User avatar
ekeimaja
Posts: 133
Joined: Fri May 25, 2018 6:43 pm

Re: Desktop resets randomly

#13 Post by ekeimaja »

CharlesV wrote: Fri Feb 07, 2025 12:02 pm try running this in a terminal on the host, then run Virtualbox

Code: Select all

sudo sysctl vm.drop_caches=3

Did not help, still gives the same error when I try to start the virtual machine.
Desktop: AMD 3700X, 32 Gb RAM, RX 5700XT (MX 23.3)
Laptops: Juno Nyx 15 v1, Intel i5-10210U, 16Gb RAM (MX 23.3)
Asus Eee 1005P, Intel Atom N450, 2 Gb RAM, Intel GMA3150 (MX 23.3)

User avatar
CharlesV
Global Moderator
Posts: 7595
Joined: Sun Jul 07, 2019 5:11 pm

Re: Desktop resets randomly

#14 Post by CharlesV »

Can you copy and paste the error here please?

The other thing I have on my machine is a LONG message about needing to recompile virtual box. I can get around this by doing the following in a terminal. (Annoying, but works )

Code: Select all

sudo modprobe -r kvm_intel

*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

User avatar
ekeimaja
Posts: 133
Joined: Fri May 25, 2018 6:43 pm

Re: Desktop resets randomly

#15 Post by ekeimaja »

CharlesV wrote: Fri Feb 07, 2025 6:56 pm Can you copy and paste the error here please?

The other thing I have on my machine is a LONG message about needing to recompile virtual box. I can get around this by doing the following in a terminal. (Annoying, but works )

Code: Select all

sudo modprobe -r kvm_intel

That command did not help either, the error message has been the same:

Code: Select all

VirtualBox can't enable the AMD-V extension. Please disable the KVM kernel extension, recompile your kernel and reboot (VERR_SVM_IN_USE).
Result Code:
NS_ERROR_FAILURE (0x80004005)
Component:
ConsoleWrap
Interface:
IConsole {6ac83d89-6ee7-4e33-8ae6-b257b2e81be8}
Desktop: AMD 3700X, 32 Gb RAM, RX 5700XT (MX 23.3)
Laptops: Juno Nyx 15 v1, Intel i5-10210U, 16Gb RAM (MX 23.3)
Asus Eee 1005P, Intel Atom N450, 2 Gb RAM, Intel GMA3150 (MX 23.3)

User avatar
CharlesV
Global Moderator
Posts: 7595
Joined: Sun Jul 07, 2019 5:11 pm

Re: Desktop resets randomly  [Solved]

#16 Post by CharlesV »

oh ya, your amd.. so try this ( as a work around )

Code: Select all

sudo modprobe -r kvm_amd

and then VB should work .


There is a flag you can enter in your boot options that will resolve this, so you dont have to keep doing it.

In MX Boot options, in the kernel Parameters, add the following after what ever you have in there. (space and then this )

Code: Select all

kvm.enable_virt_at_load=0

then click apply. It will update your config and then reboot and try VirtualBox.
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

User avatar
ekeimaja
Posts: 133
Joined: Fri May 25, 2018 6:43 pm

Re: Desktop resets randomly

#17 Post by ekeimaja »

Now it works. Thank you very much!
Desktop: AMD 3700X, 32 Gb RAM, RX 5700XT (MX 23.3)
Laptops: Juno Nyx 15 v1, Intel i5-10210U, 16Gb RAM (MX 23.3)
Asus Eee 1005P, Intel Atom N450, 2 Gb RAM, Intel GMA3150 (MX 23.3)

User avatar
CharlesV
Global Moderator
Posts: 7595
Joined: Sun Jul 07, 2019 5:11 pm

Re: Desktop resets randomly

#18 Post by CharlesV »

You are very welcome and glad we got it figured out.
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

Post Reply

Return to “Software / Configuration”