Giter Club home page Giter Club logo

Comments (14)

geekwilliams avatar geekwilliams commented on May 24, 2024 1

There's no reason to. The kernel handles everything it needs to in that case. Your issue is because of the way the OEM of your motherboard implemented secure boot, not because Linux is missing functionality.

from xmrig.

geekwilliams avatar geekwilliams commented on May 24, 2024

A quick google search indicates that turning OFF virtualization settings in the BIOS may help resolve your problem. Have you done this?

from xmrig.

giosal avatar giosal commented on May 24, 2024

Thank you for your reply. But it does work in Windows with virtualization enabled.
Nevertheless, I'll give it a try

from xmrig.

giosal avatar giosal commented on May 24, 2024

@geekwilliams I've tried it, but I'm still getting the same output

from xmrig.

giosal avatar giosal commented on May 24, 2024

Updated original post with randomx bosst script output

from xmrig.

lesjokolat avatar lesjokolat commented on May 24, 2024

are you running as sudo(root)?

from xmrig.

giosal avatar giosal commented on May 24, 2024

from xmrig.

SChernykh avatar SChernykh commented on May 24, 2024

So did you actually try to disable secure boot? #2534
As for 1GB pages, you don't need them for GhostRider.

from xmrig.

giosal avatar giosal commented on May 24, 2024

So did you actually try to disable secure boot? #2534 As for 1GB pages, you don't need them for GhostRider.

This seems to have worked, thank you.
However, I would really like to know whether this is really the only available solution? Isn't it possible to sign the wrmsr in the same way NVIDIA or AMD sign their drivers? And import the key into Secure Boot MOK in the same way?
I would prefer to keep the Secure Boot on due to security concerns (obviously)

On the other hand, 1GB pages are still disabled. Am I correct to assume that they are enabled only for RandomX?

from xmrig.

geekwilliams avatar geekwilliams commented on May 24, 2024

I don't have the answer you're looking for, but I'm curious if you installed Ubuntu with secure boot enabled? Are you dual booting this machine or did you use an install disk to boot and test?

from xmrig.

giosal avatar giosal commented on May 24, 2024

I don't have the answer you're looking for, but I'm curious if you installed Ubuntu with secure boot enabled? Are you dual booting this machine or did you use an install disk to boot and test?

I've installed Ubuntu on a machine with existing Windows installation, but on a separate physical disk, with a Secure Boot on.
So, from the beginning, I've had Secure Boot on and that's how I was able to correctly install the drivers.
I also have a Dual Boot, obviously, as I have an existing Windows installation, where it does work with Secure Boot on.

from xmrig.

giosal avatar giosal commented on May 24, 2024

Weird fact is that it works in Windows, but not in Ubuntu, both with virtualization and secure boot enabled

from xmrig.

geekwilliams avatar geekwilliams commented on May 24, 2024

Got it. The Ubuntu release 23.10 is a short term one, but seems to have all the same stuff as a regular LTS in terms of signing. To answer your previous question, and according to issue #1891, some system/os combos just require secure boot to be off to do CPU tweaks.

There's no way around it in your case. Windows uses the signed WinRing driver, but Linux uses built-kernel functionality to directly write to cpu registers. This is a lower level issue than xmrig, and to get any resolution you'd need to talk to your equipment manufacturer.

from xmrig.

giosal avatar giosal commented on May 24, 2024

Got it. The Ubuntu release 23.10 is a short term one, but seems to have all the same stuff as a regular LTS in terms of signing. To answer your previous question, and according to issue #1891, some system/os combos just require secure boot to be off to do CPU tweaks.

There's no way around it in your case. Windows uses the signed WinRing driver, but Linux uses built-kernel functionality to directly write to cpu registers. This is a lower level issue than xmrig, and to get any resolution you'd need to talk to your equipment manufacturer.

Okay, thanks for the reply. That's quite interesting.
So, I imagine, there is no possibility to introduce something similar to WinRing driver to Linux systems?

from xmrig.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.