Re: Power consumption of Pinebook Pro running OpenBSD
>The lack of hardware accelerated video >*anything* on the PBP (unless this has changed in the last couple of releases) >will murder your battery life and make >videos rather stuttery. > Thanks Daniel, Based on your info I will do the opposite of what I had planned, and install OpenBSD on my desktop and Linux on the PinebookPro. Brett.
Re: Power consumption of Pinebook Pro running OpenBSD
On Sat, May 04, 2024 at 05:56:10PM +1000, Brett Mahar wrote: > Hi misc, > > I am getting a Pinebook Pro soon and just wondering how many hours the > battery tends to last from a full charge with OpenBSD? I ran openbsd on my PBP for a while. To answer your question: a lot less than Linux. The lack of hardware accelerated video *anything* on the PBP (unless this has changed in the last couple of releases) will murder your battery life and make videos rather stuttery. This may be at least partially resolved since I last used it (I don't know if mali drivers would be pulled in during a resync of DRM,) but another thing to be aware of with installing OpenBSD is that (again, unless I'm out of date) there's no tty driver. This means you'll have to do the installation with a 3.5mm to serial adapter. The Pine store sells defective ones, but you can take your chances if you like. You can also repair them if you like. From the factory they're specced to put 5v on the PBP which is expecting 3.3v. It probably won't fry your laptop, but it might. I think it's just swapping one resistor in the cable. Just a heads up. I'd be curious if the experience is much better these days, but given how garbage even support for Linux is when Pine nominally "supports" linux on their products, I'm not holding out too much hope. Best of luck, Danny
Re: obsd wifi
Hello, You need to pre search for devices before you buy or you will run into this. A device driver needs the code and the fw sometimes it's not the code but the fw luckily OpenBSD has fw_uodate which does an awesome job. But if you want to use any BSD you need to either do a approps for supported HW or create your own driver just how it is. You can't buy a new pre built computer and not have something not be supported mostly being wifi not to mention WiFi is limited to 2.4 so what's the point and this isnt the projects fault buy companies that don't have docs for drivers the BSDs are awesome for a server but they aren't good desktops and this to be fair includes Linux the whole what's makes a desktop a desktop is plugging something in and it works if you have to mess with it and install firmwares due to people wanting free software well this happens. WiFi 7 came out but most drivers only support g and g these days is not good enough. Another issue is tech speed we just got the pi5 and this only works on Linux cause the devs only care about it so what's the point in calling it open if the manu only bounds it devs to one set of software ? This is mostly why I'm starting to move away from OSS and go back to Mac os and Windows as it just works (TM) Chris Sent from Proton Mail Android Original Message On 5/4/24 3:11 PM, Peter N. M. Hansteen wrote: > On Sat, May 04, 2024 at 03:01:54PM -0300, Gustavo Rios wrote: > > I have just installed OpenBSD in my brand new notebook. It is a dell > > notebook that came with just a wifi NIC. How do i discover the name o my > > wifi nic ? > > ifconfig with no arguments should list all network interfaces the kernel has > recognized. > > There is a catch, though. For wifi interfaces it is likely that the interface > can not be configured until the device's firmware is installed. > > If that is the situation, a common workaround is to use some device that > *is* configurable (most USB Ethernet dongles I have encountered Just Work), > configure that, then run fw_update. Once the firmware is in place, the rest > should be straightforward. > > Good luck! > > - Peter > > > -- > Peter N. M. Hansteen, member of the first RFC 1149 implementation team > https://bsdly.blogspot.com/ https://www.bsdly.net/ https://www.nuug.no/ > "Remember to set the evil bit on all malicious network traffic" > delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds. > >
Re: Desktop performance
Hello, The best docs I've seen are the ones in OpenBSD they praise to provide very nice docs, Linux by fare sucks in this regard the issue is most people who provide howtos are just kids who try to setup a web server and document how they did it, as well as you get 45 people replying the same out come but in different wording which makes it confusing, but it's how the BSD community is these days. I still run OpenBSD as a server but I stopped using FreeBSD as I don't see how putong all the basics of a is in the ports tree and how installing OpenBSD and having a working GUI and just need to install either gbome xfce or kde while others require you to spend time messing with drm since it's a port it doesn't get the same testing, then you have to add it in and setup x11 for simple people this is too much work and this is why I've started using Open or Net. Too find good searches on Google is pretty much a dead boss and IRC is more about pride and I know more and you're doing it wrong and I'm right to make it a waste of time as well so your best bet if reading man pages or asking for help on a ML Sadmy these projects you need to search before you buy you can't just buy a computer and expsct it to work in any BSD to be fare however OpenBSD has less bs in regards to drivers and the fact that fw_update makes it easier. Never understood the whole let's place this driver in the ports tree they make it as hard as it can be to install it without any internet ?? Chris Sent from Proton Mail Android Original Message On 5/4/24 4:46 PM, Kirill A. Korinsky wrote: > On Sat, 04 May 2024 22:32:46 +0200, > Chris Bennett wrote: > > > > My luck with web searches is about zero. Even swapping to different > > search engines just gives me crap that's too old or ridiculously wrong. > > > > I have a strong feeling that LLM models adds too much "new" text that makes > the OpenBSD community, which is quite small... how can I put it? Well, it > looks like that search engine like Google or Bing seems this community to be > too small fraction of knowledge which isn't worth to be indexed. > > Yes, the indexes include some old sites, but it looks like the mail listings > are ignored, for example. > > -- > wbr, Kirill > >
Re: Desktop performance
On Sat, 04 May 2024 22:32:46 +0200, Chris Bennett wrote: > > My luck with web searches is about zero. Even swapping to different > search engines just gives me crap that's too old or ridiculously wrong. > I have a strong feeling that LLM models adds too much "new" text that makes the OpenBSD community, which is quite small... how can I put it? Well, it looks like that search engine like Google or Bing seems this community to be too small fraction of knowledge which isn't worth to be indexed. Yes, the indexes include some old sites, but it looks like the mail listings are ignored, for example. -- wbr, Kirill
Re: Desktop performance
On Sat, May 04, 2024 at 06:19:54PM +0200, Peter N. M. Hansteen wrote: > Hm. Back in the day I did some conference tutorials on "transition to the most > recent OpenBSD release", with some desktop/laptop oriented tweaks I had found > useful myself. Some of those tweaks may still apply, but some are likely to > be outdated or just plain wrong to start with. But perhaps an updated version > would be useful to somebody? > I wouldn't mind that. I adjusted some stuff a long time ago for some specific need, but it was so long ago that I can't remember why. I was really new to OpenBSD (4.7 or 4.9, I can't remember which. I have two servers, both need extra PostgreSQL connections because of a few pages, for example. Not relevant, but just mentioning it. I have a desktop at home. That's where I have some really old changes. I will go read some man pages, but that isn't always helpful for specific uses. I also have a mailbox where I keep posts that I don't want to lose track of with good info. My luck with web searches is about zero. Even swapping to different search engines just gives me crap that's too old or ridiculously wrong. But if there isn't anyone with the time or desire to do it, no problem. -- Regards, Chris Bennett "Who controls the past controls the future. Who controls the present controls the past." George Orwell - 1984
Re: Desktop performance
Hi, There is no problems with performance, only tested the settings, nevertheless I will undo the changes to the default . I appreciate your recommendations. By the way the website https://www.nechtan.io/articles/openbsd_minimalist_desktop.html comes with the desktop suggestion. By then and thanks Manfred On 5/4/24 18:19, Peter N. M. Hansteen wrote: On Sat, May 04, 2024 at 03:41:28PM +0200, Manfred Koch wrote: These specifications origin from a website I could need your judgments to these settings, so that I can use it. It would be interesting to hear which website recommended those settings, just for reference. It's hard to come up with actually generally valid answers to this kind of question. It really depends on what you want to do with your system. I remember some packages (chrome comes to mind) that have instructions in the package readme file to tweak some of the login.conf parameters. If the software you want to use comes with instructions of that kind, it may be a good idea to follow those suggestions. Otherwise I would as a general rule leave things at the defaults unless you find a specific reason not to. Hm. Back in the day I did some conference tutorials on "transition to the most recent OpenBSD release", with some desktop/laptop oriented tweaks I had found useful myself. Some of those tweaks may still apply, but some are likely to be outdated or just plain wrong to start with. But perhaps an updated version would be useful to somebody?
Re: obsd wifi
On Sat, May 04, 2024 at 03:01:54PM -0300, Gustavo Rios wrote: > I have just installed OpenBSD in my brand new notebook. It is a dell > notebook that came with just a wifi NIC. How do i discover the name o my > wifi nic ? ifconfig with no arguments should list all network interfaces the kernel has recognized. There is a catch, though. For wifi interfaces it is likely that the interface can not be configured until the device's firmware is installed. If that is the situation, a common workaround is to use some device that *is* configurable (most USB Ethernet dongles I have encountered Just Work), configure that, then run fw_update. Once the firmware is in place, the rest should be straightforward. Good luck! - Peter -- Peter N. M. Hansteen, member of the first RFC 1149 implementation team https://bsdly.blogspot.com/ https://www.bsdly.net/ https://www.nuug.no/ "Remember to set the evil bit on all malicious network traffic" delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.
Re: obsd wifi
On Sat, 04 May 2024 21:39:18 +0200, Manuel Solis wrote: > > You could check your interfaces with "ifconfig", then you could see which > interface you have, the most common are iwm0, iwn0, or something like that, > Here the catch: they need a firmware and system needs an internet to get one. -- wbr, Kirill
Re: obsd wifi
Hello Gustavo, You could check your interfaces with "ifconfig", then you could see which interface you have, the most common are iwm0, iwn0, or something like that, Then you could save your SSIDs info at /etc/hostname.interface, ex: /etc/hostname.iwm0 nwid LAN1 wpakey PASSWORD dhcp For reference, feel free to check the FAQ page. https://www.openbsd.org/faq/faq6.html#Wireless El sáb, 4 may 2024 a las 13:16, Gustavo Rios () escribió: > Hi folks! > > I have just installed OpenBSD in my brand new notebook. It is a dell > notebook that came with just a wifi NIC. How do i discover the name o my > wifi nic ? > > Thanks a lot. > > -- > The lion and the tiger may be more powerful, but the wolves do not perform > in the circus > -- Lic. Manuel Solís Vázquez
Re: obsd wifi
On Sat, May 4, 2024 at 2:05 PM Gustavo Rios wrote: > I have just installed OpenBSD in my brand new notebook. It is a dell > notebook that came with just a wifi NIC. How do i discover the name o my > wifi nic ? > If your nic is supported, it will appear in the list of configured network interfaces if you run the "ifconfig" command. To determine which one is wireless if you don't know, you can check the man page for each type of interface to see what they are. For example, if you see you have "lo0", "em0" and "iwm0" interfaces, you can use the commands "man lo", "man em", and "man iwm" to discover what each one is. You can also get information about interfaces by seeing what information was printed about them when the system was booted. Use the "dmesg" command to review these messages. -ken
Re: obsd wifi
On Sat, May 04, 2024 at 03:40:18PM -0300, Gustavo Rios wrote: > how to install via pkg_add if i have no network connection ? dmesg and ifconfig should give you a name of the wifi chipset already. To install required packages and firmware, buy a USB adapter. They are $5 and work out of the box. I keep RTL dongle around for such situations: https://man.openbsd.org/urtwn.4 You can also buy a USB ethernet dongle. Those are also dirt-cheap. Best regards, Chris Narkiewicz
Re: obsd wifi
ummm, did you try ifconfig? On May 4, 2024 12:01:54 PM MDT, Gustavo Rios wrote: >Hi folks! > >I have just installed OpenBSD in my brand new notebook. It is a dell >notebook that came with just a wifi NIC. How do i discover the name o my >wifi nic ? > >Thanks a lot. > >-- >The lion and the tiger may be more powerful, but the wolves do not perform >in the circus
Re: obsd wifi
how to install via pkg_add if i have no network connection ? Em sáb., 4 de mai. de 2024 às 15:25, Mikhail Pchelin escreveu: > On Sat, May 04, 2024 at 03:01:54PM -0300, Gustavo Rios wrote: > > Hi folks! > > > > I have just installed OpenBSD in my brand new notebook. It is a dell > > notebook that came with just a wifi NIC. How do i discover the name o my > > wifi nic ? > > Look at 'dmesg' and 'lspci' output, last one from 'pkg_add pciutils'. > -- The lion and the tiger may be more powerful, but the wolves do not perform in the circus
obsd wifi
Hi folks! I have just installed OpenBSD in my brand new notebook. It is a dell notebook that came with just a wifi NIC. How do i discover the name o my wifi nic ? Thanks a lot. -- The lion and the tiger may be more powerful, but the wolves do not perform in the circus
Re: Desktop performance
On Sat, May 04, 2024 at 03:41:28PM +0200, Manfred Koch wrote: > These specifications origin from a website > > I could need your judgments to these settings, so that I can use it. It would be interesting to hear which website recommended those settings, just for reference. It's hard to come up with actually generally valid answers to this kind of question. It really depends on what you want to do with your system. I remember some packages (chrome comes to mind) that have instructions in the package readme file to tweak some of the login.conf parameters. If the software you want to use comes with instructions of that kind, it may be a good idea to follow those suggestions. Otherwise I would as a general rule leave things at the defaults unless you find a specific reason not to. Hm. Back in the day I did some conference tutorials on "transition to the most recent OpenBSD release", with some desktop/laptop oriented tweaks I had found useful myself. Some of those tweaks may still apply, but some are likely to be outdated or just plain wrong to start with. But perhaps an updated version would be useful to somebody? -- Peter N. M. Hansteen, member of the first RFC 1149 implementation team https://bsdly.blogspot.com/ https://www.bsdly.net/ https://www.nuug.no/ "Remember to set the evil bit on all malicious network traffic" delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.
Re: Desktop performance
On Sat, May 4, 2024, at 8:41 AM, Manfred Koch wrote: > Hi community, > > I'm a newbie and have a few questions according performance in > workstation. The following changes I've made in sysctl.conf: > kern.maxproc=4096 > kern.maxthread=4096 > kern.maxfiles=32768 > > further in the login.conf: > > staff:\ > :datasize-cur=4096M:\ > :datasize-max=infinity:\ > :maxproc-max=512:\ > :maxproc-cur=256:\ > :openfiles-cur=4096:\ > :openfiles-max=4096:\ > :ignorenologin:\ > :requirehome@:\ > :tc=default: > > The user add to the group staff: > usermod -L staff user > usermod -U staff user > > These specifications origin from a website > > I could need your judgments to these settings, so that I can use it. What problem are you trying to solve? I would not recommend blindly changing settings from to a web site. If you describe the issue you're encountering, you're more likely to receive guidance on whether any knobs are relevant to it. Brian
Desktop performance
Hi community, I'm a newbie and have a few questions according performance in workstation. The following changes I've made in sysctl.conf: kern.maxproc=4096 kern.maxthread=4096 kern.maxfiles=32768 further in the login.conf: staff:\ :datasize-cur=4096M:\ :datasize-max=infinity:\ :maxproc-max=512:\ :maxproc-cur=256:\ :openfiles-cur=4096:\ :openfiles-max=4096:\ :ignorenologin:\ :requirehome@:\ :tc=default: The user add to the group staff: usermod -L staff user usermod -U staff user These specifications origin from a website I could need your judgments to these settings, so that I can use it. Thanks Manfred OpenBSD 7.5 (GENERIC.MP) #82: Wed Mar 20 15:48:40 MDT 2024 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 16917565440 (16133MB) avail mem = 16383655936 (15624MB) random: good seed from bootblocks mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 3.3 @ 0x95d5d000 (104 entries) bios0: vendor American Megatrends Inc. version "1601" date 05/07/2022 bios0: Wortmann_AG 1001336;2110226 efi0 at bios0: UEFI 2.7 efi0: American Megatrends rev 0x50013 acpi0 at bios0: ACPI 6.2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP MCFG FIDT MSDM SSDT SSDT SSDT HPET APIC SSDT SSDT NHLT LPIT SSDT SSDT DBGP DBG2 SSDT DMAR SSDT BGRT TPM2 PTDT WSMT FPDT acpi0: wakeup devices PEG1(S4) PEGP(S4) PEGP(S4) RP09(S4) PXSX(S4) RP10(S4) PXSX(S4) RP11(S4) PXSX(S4) RP12(S4) PXSX(S4) RP13(S4) PXSX(S4) RP14(S4) PXSX(S4) RP15(S4) [...] acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimcfg0 at acpi0 acpimcfg0: addr 0xe000, bus 0-255 acpihpet0 at acpi0: 2399 Hz acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: 11th Gen Intel(R) Core(TM) i5-11400 @ 2.60GHz, 4190.56 MHz, 06-a7-01, patch 005e cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,AVX512F,AVX512DQ,RDSEED,ADX,SMAP,AVX512IFMA,CLFLUSHOPT,PT,AVX512CD,SHA,AVX512BW,AVX512VL,AVX512VBMI,UMIP,PKU,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,IBRS_ALL,SKIP_L1DFL,MDS_NO,IF_PSCHANGE,MISC_PKG_CT,ENERGY_FILT,DOITM,SBDR_SSDP_N,FB_CLEAR,GDS_CTRL,XSAVEOPT,XSAVEC,XGETBV1,XSAVES cpu0: 48KB 64b/line 12-way D-cache, 32KB 64b/line 8-way I-cache, 512KB 64b/line 8-way L2 cache, 12MB 64b/line 16-way L3 cache cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges cpu0: apic clock running at 24MHz cpu0: mwait min=64, max=64, C-substates=0.2.0.1.2.1.1.1, IBE cpu1 at mainbus0: apid 2 (application processor) cpu1: 11th Gen Intel(R) Core(TM) i5-11400 @ 2.60GHz, 4190.56 MHz, 06-a7-01, patch 005e cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,AVX512F,AVX512DQ,RDSEED,ADX,SMAP,AVX512IFMA,CLFLUSHOPT,PT,AVX512CD,SHA,AVX512BW,AVX512VL,AVX512VBMI,UMIP,PKU,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,IBRS_ALL,SKIP_L1DFL,MDS_NO,IF_PSCHANGE,MISC_PKG_CT,ENERGY_FILT,DOITM,SBDR_SSDP_N,FB_CLEAR,GDS_CTRL,XSAVEOPT,XSAVEC,XGETBV1,XSAVES cpu1: 48KB 64b/line 12-way D-cache, 32KB 64b/line 8-way I-cache, 512KB 64b/line 8-way L2 cache, 12MB 64b/line 16-way L3 cache cpu1: smt 0, core 1, package 0 cpu2 at mainbus0: apid 4 (application processor) cpu2: 11th Gen Intel(R) Core(TM) i5-11400 @ 2.60GHz, 4190.56 MHz, 06-a7-01, patch 005e cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,AVX512F,AVX512DQ,RDSEED,ADX,SMAP,AVX512IFMA,CLFLUSHOPT,PT,AVX512CD,SHA,AVX512BW,AVX512VL,AVX512VBMI,UMIP,PKU,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,IBRS_ALL,SKIP_L1DFL,MDS_NO,IF_PSCHANGE,MISC_PKG_CT,ENERGY_FILT,DOITM,SBDR_SSDP_N,FB_CLEAR,GDS_CTRL,XSAVEOPT,XSAVEC,XGETBV1,XSAVES cpu2: 48KB 64b/line 12-way D-cache, 32KB 64b/line 8-way I-cache, 512KB 64b/line 8-way L2 cache, 12MB 64b/line 16-way L3 cache cpu2: smt 0, core 2, package 0 cpu3 at mainbus0: apid 6 (application processor) cpu3: 11th Gen Intel(R) Core(TM) i5-11400 @ 2.60GHz, 4190.56 MHz, 06-a7-01, patch 005e cpu3:
Power consumption of Pinebook Pro running OpenBSD
Hi misc, I am getting a Pinebook Pro soon and just wondering how many hours the battery tends to last from a full charge with OpenBSD? Use case is some web browsing, light code compilation and coding in terminal, watching occasional tv show on mpv. Brett. -- Sent from my Android device with K-9 Mail. Please excuse my brevity.