Build an arm static executable on Fedora
by Cătălin George Feștilă
I try to create a hello word arm static executable, with the default example but I got
these errors.
I search on the web and fedora packages to find a way to solve this issue.
I used a basic example source code:
cat hello.cpp
#include <iostream>
using namespace std;
int main(void)
{
std::cout << "Hello word! from Fedora Linux!" << std::endl;
return 0;
}
2 years, 1 month
Re: Kinda OT: Email clients and Email Management
by c. marlow
SO UPDATE:
Since I have a domain host that allows me to point my email to be
delivered to any email address that accepts mail.
It's what they call a "Forwarding only service"
I currently have my email pointed towards a brand new free Yahoo
account.
To date... Yahoo has the biggest storage limit of 1 Terabyte of
storage. And since I don't send out a lot of emails anymore nor do I
get a lot of emails with a lot of attachments, 1 TB of storage could
last me for the rest of my life!
TBH on using IMAP: Opening Claws and having to wait for a little over a
minute for email to be sorted into folders and then wait for the folder
to light up to let me know that, that folder has new mail in it, is
kinda frustrating. But I guess I'll get use to it?
I just know that backing up my Claws-Mail folders is starting to get
harder and harder.
Right now, Nautilius says that the claws folder has
31,989 items in it, and the current size of my Claws data folder is
799.2 Megs.
My Nextcloud backup service only gives me 20 gigs of storage.
So, by me doing daily backups of my Claws Data.. I am currently sitting
at 9.1 gigs out of 20 used.
I was using a free gmail account, but GMAIL is fixing to do away with
being able to use Less Secure Apps... And I didn't feel like having to
jump through hoops to set up O-OATH for Claws and gmail..
So I knew it was time to make the switch now, instead of waiting until
May.
Switching to IMAP is kind of new for me. It also gives me anxiety too
knowing my WHOLE LIFE is stored online now instead of locally in my
email client
But it does make life a little bit easier now that I don't have anything
to backup anymore and I can switch around to any email client that I
want.
=======================
Thanks,
Chris
Please send *ALL* off list conversations to Chris(a)CWM030.com
Otherwise, I will never see it.
2 years, 1 month
Re: Time to update the hardware
by R. G. Newbury
>From: Patrick O'Callaghan <pocallaghan(a)gmail.com>
> On Mon, 2022-03-07 at 23:35 -0500, R. G. Newbury wrote:
>> Has a 240G SSD for Fedora, and 2 500G nvme ssd's for storage (both in
>> adapters as the MB has no M.2 slots).
>
> Somewhat OT, but do you notice a difference between the SSD and the
> NVMe+adapter combos? I don't have M.2 slots either and wondered if it
> made sense for me (I have a good SATA3 SSD already).
> poc
I wondered the same thing. And also whether it made a difference which
PCIE x16 slot contained which hardware (including the nvidia GT9700
video card.
I ran a test transferring 3GB from RAM tmpfs to each drive *using
rsync*. That was too small a test to show any substantive difference.
Spurred by your request I ran it again writing 23GB to each storage
unit. I used rsync on a folder containing many various size files as a
real world test.
Transfer 23G using rsync -a
SSD Crucial (2012)
Disk model: M4-CT256M4SSD2
Tue 08 Mar 2022 09:14:41 PM EST
Tue 08 Mar 2022 09:19:38 PM EST
Diff 4:57
NVME0 WD Black SN750 (2019)
Disk model: WDS500G3X0C-00SJG0
Tue 08 Mar 2022 09:19:38 PM EST
Tue 08 Mar 2022 09:22:45 PM EST
Diff 3:07
HD WD Red (2012)
Disk model: WDC WD10EFRX-68F
Tue 08 Mar 2022 09:22:45 PM EST
Tue 08 Mar 2022 09:28:56 PM EST
Diff 6:11
NVME1
Tue 08 Mar 2022 09:28:56 PM EST
Tue 08 Mar 2022 09:31:59 PM EST
Disk model: Samsung SSD 970 EVO Plus 500GB
Diff 3:03
So yes the NVME drives were substantially faster than the (now-old) SSD
transferring in 60% of the time of the SSD.
I expected a greater difference between the 2 NVME drives given that the
Samsung 970 touts a substantially higher write capability.
NVME0 is mounted in a Startech adapter: cost$13.00 Cdn about a year ago.
NVME1 is mounted in a axGear adapter, purchased through Best Buy for a
staggering $10.99 Cdn on sale, with free shipping! So the M.2 plus
adapter cost me $102 including tax. Very happy. Recommended.
Only caveat is that you need a free long PCIE x16 slot (although each
adapter/M.2 only uses x4 for the 4 channels that each M.2 uses. So slot
sharing is not actually a problem as between multiple adapters. I am
going to swap the video card around to see if that might make a
difference although I doubt it will.
Available here until March 10 at $10.99:
https://www.bestbuy.ca/en-ca/product/axgear-m-2-nvme-ssd-ngff-to-pci-e-ad...
If you want more storage the Asus Ultra Quad at around $90 will handle 4
M.2 up to 2280 drives and will handle a RAID storage setup.
HTH
Geoff
2 years, 1 month
Fedora performance and Intel i915?
by Jeffrey Ross
I've been chasing some performance issues on a recently reinstalled
Fedora system and I think I've identified the problem along with what
maybe an incomplete or not fully optimized solution.
The problem started when I had upgraded to Fedora 35 the upgrade went
south with the booting of the OS, grub for whatever reason reverted to
trying to boot a very old kernel that didn't exist. I figured the
easiest and fastest way was to simply reinstall the OS, retaining my
/home partition. The re-installation went fine however performance
SUCKED, it so so bad that using firefox, thunderbird, and chrome I could
type faster than the system can display characters on the screen.
Apparently quite some time ago I had put in some options into grub that
enabled optimizations with the i915 graphics chipset and had forgotten
about it. So after a lot of digging I have added to the
GRUB_CMDLINE_LINUX line in the /etc/default/grub file:
i915.enable_rc6=7 i915.enable_fbc=1 i915.lvds_downclock=1
i915.semaphores=1
This seems to have given me a dramatic boost in system performance, and
I no longer have lag when I'm typing, the system is loading web pages
etc a whole lot faster, and CPU usage is way down.
Now I'm not confident I have the best options enabled for my system with
its i915 chipset and I'm also not sure I have added it in the correct
location.
The system is an older laptop, Lenovo T440P (4th gen i7)
hwinfo identifies the i915 as the following:
33: PCI 02.0: 0300 VGA compatible controller (VGA)
[Created at pci.386]
Unique ID: _Znp.rz2n9XAjpu9
SysFS ID: /devices/pci0000:00/0000:00:02.0
SysFS BusID: 0000:00:02.0
Hardware Class: graphics card
Model: "Intel 4th Gen Core Processor Integrated Graphics
Controller"
Vendor: pci 0x8086 "Intel Corporation"
Device: pci 0x0416 "4th Gen Core Processor Integrated
Graphics Controller"
SubVendor: pci 0x17aa "Lenovo"
SubDevice: pci 0x221d
Revision: 0x06
Driver: "i915"
Driver Modules: "i915"
Memory Range: 0xf3000000-0xf33fffff (rw,non-prefetchable)
Memory Range: 0xc0000000-0xdfffffff (ro,non-prefetchable)
I/O Ports: 0x4000-0x403f (rw)
Memory Range: 0x000c0000-0x000dffff
(rw,non-prefetchable,disabled)
IRQ: 35 (10229876 events)
Module Alias:
"pci:v00008086d00000416sv000017AAsd0000221Dbc03sc00i00"
Driver Info #0:
Driver Status: i915 is active
Driver Activation Cmd: "modprobe i915"
Config Status: cfg=new, avail=yes, need=no, active=unknown
I also see the following in the kernel log (as pulled from hwinfo)
<3>[ 38.067230] i915 0000:00:02.0: [drm] *ERROR* mstb
00000000b560c211 port 3: DPCD read on addr 0x4b0 for 1 bytes NAKed
Any suggestions on tweaking the i915 configuration would be appreciated
2 years, 1 month
Re: Time to update the hardware
by R. G. Newbury
> On Mon, Mar 07, 2022 at 10:21:05AM +0000, Patrick O'Callaghan wrote:
>> On Mon, 2022-03-07 at 01:47 -0500, Javier Perez wrote:
>>> Hi.
>>> I am using Fedora 35 and everything is working fine in general.
>>>
>>> But I was checking out my hardware and I realized that It is from
>>> 2013. My
>>> CPU is 4th generation intel and I am using the nvidia-470 drivers for
>>> my
>>> video card. Motherboard uses the H87 chipset.
>>> I just wonder if this combination will become obsolete anytime soon
>>> and should I worry about it...
Well in one sense it is already obsolescent tech. It attained that
status a couple of months or maybe *days* after it left the production
line. But in another sense, it is NOT obsolete. It still works and does
*exactly* what is was designed to do and within its specifications.
Of course you can do 'better' than that today. Faster etc.
My desktop has an Asus P8 series motherboard. The manual is copyright
dated June 2011. I installed an Nvidia Geforce 9500GT in the predecessor
motherboard and moved it over to this one when I upgraded about 4 years
ago. (It uses the nvidia-3xx series drivers! and drives a 30" Dell
monitor I bought in early 2007).
Has a 240G SSD for Fedora, and 2 500G nvme ssd's for storage (both in
adapters as the MB has no M.2 slots). The second 500G nvme is recent,
*because I got tired of listening to the hard drive hum!* The
Thermaltake closed-system water cooler is basically silent and the core
temps are generally about 35C. If I power test the system, I get 60C.
So this is not useless tech. To get anything faster I would need to step
up to a faster CPU and MB and RAM... for not a lot of change.
What you have seems to meet your requirements so why are you worried?
My setup works like a charm and usually has an uptime measured in weeks.
Geoff
2 years, 1 month
Time to update the hardware?
by Javier Perez
Hi.
I am using Fedora 35 and everything is working fine in general.
But I was checking out my hardware and I realized that It is from 2013. My
CPU is 4th generation intel and I am using the nvidia-470 drivers for my
video card. Motherboard uses the H87 chipset.
System is being used for regular home use, no extreme gaming or anything
that really stress it out. Occasional ffmpeg usage.
I just wonder if this combination will become obsolete anytime soon and
should I worry about it...
Appreciate your thoughts on the matter.
JP
--
------------------------------
/\_/\
|O O| pepebuho(a)gmail.com
~~~~ Javier Perez
~~~~ While the night runs
~~~~ toward the day...
m m Pepebuho watches
from his high perch.
2 years, 1 month
enabling hibernate on a new F35 installation
by Ranjan Maitra
My approach to enabling hibernate on Fedora since F20 has been to create a swap partition and then do the following:
sudo vi /etc/default/grub
add --> resume=UUID="****" <-- to the line GRUB_CMDLINE_LINUX=
where the uuid is obtained using blkid, and then for efi-based systems do:
sudo bash -x grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
and then use:
systemctl hibernate
However, this approach no longer works for me. It goes down all right, but comes back into a newly booted system.
Reading up, it appears that things changed in F34, but I have been caught napping since I have been upgrading from previous versions for a while (I guess this was sort of grandfathered in).
I tried a few things, but what do I do to get hibernate going on a new (clean) F35 installation.
Many thanks and best wishes,
Ranjan
2 years, 1 month
Bluetooth audio does not awake from sleep
by Dorin Xevious
Hi,
I have a soundbar which is connected to the system using Bluetooth. The
issue seems to be that when resuming from sleep, the soundbar is simply not
being connected back to the system.
I decided to write a tiny script which should take care of the soundbar
when going to sleep and resuming from sleep mode. Here is the script:
#!/bin/bash
if [ "${1}" == "pre" ]; then
/usr/bin/bluetoothctl disconnect "C4:30:18:A0:2F:33"
echo "Disconnecting Bluetooth device"
elif [ "${1}" == "post" ]; then
echo "Connecting Bluetooth device"
/usr/bin/bluetoothctl connect "C4:30:18:A0:2F:33"
fi
After testing this script (it's located in /usr/lib/systemd/system-sleep/
directory, as advised by the systemd-sleep docs) - the "pre" parts works
without any problem, but the "post" part is not running at all, not even
the "echo" line.
Any suggestions?
2 years, 1 month