DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 31st May 2021
dcbdbis dcbdbis is offline
Port Guard
 
Join Date: May 2021
Posts: 10
Default Two Needs and Request for Info

Good Evening All,

My linux contracts are winding down. I no longer need Linux as my main "driver".

I have a friend who is recommending that I give OpenBSD a shot, instead of returning to FreeBSD which I have used extensively.

I have two needs - that are now very important.

a) I need a VM manager. Be That VirtualBox, or a KVM(linux only) like alternative. I don;t se anything of the sorts in either of the online ports tree amalgams I've look at. Is there a VMM for OpenBSD?

b) The latest AMDGPU drivers - turn the fans off at startup. The GPU then idles @ ~ 140degF (60DegC). In Linux - I run a python daemon that samples the temp every 10 seconds, and then sets the fan to a specified fan curve in a text file that sits in the /etc tree (/usr/local/etc in many BSD's). How do we do that in OpenBSD?

MSI RX-480.

Thank you for taking the time to read this...


Dave

Last edited by dcbdbis; 31st May 2021 at 02:26 AM.
Reply With Quote
  #2   (View Single Post)  
Old 31st May 2021
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 4,167
Default

OpenBSD has virtualization. From https://www.openbsd.org/faq/faq16.html :

Quote:
OpenBSD comes with the vmm(4) hypervisor and vmd(8) daemon. Virtual machines can be orchestrated with the vmctl(8) control utility, using configuration settings stored in the vm.conf(5) file.
But be aware that compared with VirtualBox or KVM it misses some features:

Quote:
The following features are not available at this time:
  • graphics
  • snapshots
  • guest SMP support
  • hardware passthrough
  • live migration across hosts
  • live hardware change
Supported guest operating systems are currently limited to OpenBSD and Linux. As there is no VGA support yet, the guest OS must support serial console.
BTW the OpenBSD FAQ is a nice introduction to the features of the OS.
It just does not have a section about the OpenBSD implementation of Wireguard yet.
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
  #3   (View Single Post)  
Old 31st May 2021
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 8,052
Default

To extend on J65kno's comments -- while there is no virtual graphics hardware support, guest virtual machines can deploy network connected graphical protocols such as X11, VNC, HTML, etc.

The OpenBSD admin has no direct control over hardware fan speed. One can only set the OS performance adjustments to high/low/automatic via apm(8) and apmd(8).
Reply With Quote
  #4   (View Single Post)  
Old 1st June 2021
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 4,167
Default

For a list of known issues with OpenBSD vmm see https://openbsd.amsterdam/known.html
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
  #5   (View Single Post)  
Old 1st June 2021
dcbdbis dcbdbis is offline
Port Guard
 
Join Date: May 2021
Posts: 10
Default

Thank you for the response. I posted in both the OpenBSD and FreeBSD forums deliberately - because both of these BSD's are in the running for my return to BSD's. OpenBSD can't always do what FreeBSD does - so I thought posting in both forums for this scenario was appropriate as I was unsure which BSD could do this.

THANK YOU for the responses. Now I know that OpenBSD can't do what I need it to do to be a daily driver... That's not a rap on OpenBSd - not at all...It just not ready for this type of workflow yet.

D
Reply With Quote
  #6   (View Single Post)  
Old 1st June 2021
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 4,167
Default

I have used OpenBSD guests on a Linux box using KVM. See http://daemonforums.org/showthread.php?t=8791
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
  #7   (View Single Post)  
Old 1st June 2021
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 8,052
Default

And I am running HTML graphics applications from a guest OpenBSD OS under the OpenBSD hypervisor. It's a QC test environment for a production Wordpress webserver.
Reply With Quote
  #8   (View Single Post)  
Old 2nd June 2021
dcbdbis dcbdbis is offline
Port Guard
 
Join Date: May 2021
Posts: 10
Default

I have contacted the author of the AMDGPU-Fan python daemon. He is going to look at his code and see what it would take to work under FreeBSD...

D
Reply With Quote
  #9   (View Single Post)  
Old 3rd June 2021
dcbdbis dcbdbis is offline
Port Guard
 
Join Date: May 2021
Posts: 10
Default

Good Afternoon All,


I think we have reached the end of this discussion.

I want to sincerely thank all of the respondents for their posts. It's all helpful - thank you!


Reading the amdgpu temp, and then controlling the GPU fan, is not possible under ANY BSD.

In all the posts I've read in a wide variety of BSD resources, it has been alleged that the porters of the amdgpu to BSD's, were forced to turn off certain features and functionality in the amdgpu driver, in order for it to work within the limitations of the various BSD kernels.

Why the amd folks decided to turn the fans to zero with their newer drivers is beyond me. This is an AMD issue - not a BSD one. And then the onboard GPU BIOS waits way too late to even begin to spool up the fans.

Heat - is the bane of all electronics.

It's a bummer - but the BSD's do not meet my requirements to use a BSD as a daily driver.
And I am not going to purchase an NVidia GPU just so I can use their proprietary driver - which does include fan control (I am told). But - I don't even know if an NVidia GPU even needs special consideration for their fans. They may already do autonomously, what I need to do manually with AMD.

NVidia is particularly hostile to OSS - so I will not purchase any of their stuff. Kinda my personal boycott if you will.



D
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
VirtualBox late info sharris FreeBSD General 4 31st October 2010 09:15 PM
uncovering network info? evilunixuser Other OS 2 2nd June 2009 04:35 PM
Using a LiveCD to gather info phreud FreeBSD Installation and Upgrading 9 15th November 2008 12:43 AM
port info sniper007 FreeBSD General 6 14th November 2008 11:46 AM


All times are GMT. The time now is 11:05 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick