Asus TUF Gaming F15 (

Hello. Can someone help me with configuring FreeBSD for my laptop. Unfortunately, after running "hw-probe" it seems that the processor is not recognized and bluetooth is not recognized. I don't want to give up freebsd for another operating system
  • 12th Gen Intel Core i7 12700H
  • 14 Cores, 20 Threads
  • 16 GB DDR5 RAM
  • 512 GB SSD
  • 4 GB NVIDIA GeForce RTX 3050-Ti
  • 15.6 inches, 1920 x 1080 pixels
 
I doubt the CPU isn't recognized. The only thing that might not work is that the 12th gen CPUs have different types of cores and the process scheduler will treat P and E cores exactly the same. It'll work but it won't be optimal (background tasks might get scheduled on a P core and your foreground tasks might get scheduled to an E core).

The GeForce RTX-3050 should work just fine with the x11/nvidia-driver.

Bluetooth might be the only thing not working. FreeBSD has rather poor bluetooth support. Can't tell what wifi chip it has though, that might be the other issue. Some Intel Wifi 6 chipsets are supported (but don't run on their 'full' speed yet).
 
I run an MSI gaming DESKTOP-PC with NVIDIA RTX-2060 ; CPU - 12th Gen Intel Core i5.
FreeBSD works fine.
What happens when you boot freebsd from an usb stick ?. Which errors do you see ?
An app to see some cpu info,
 
I have run hw-probe and I don't know if my configuration is correct for the desktop, also when I compile for example "vscode" from the ports all the processors are at 100%
can you advise me?
 

Attachments

  • Screenshot at 2023-01-31 18-58-52.png
    Screenshot at 2023-01-31 18-58-52.png
    84.4 KB · Views: 128
  • Screenshot at 2023-01-31 18-59-20.png
    Screenshot at 2023-01-31 18-59-20.png
    117.3 KB · Views: 132
  • Screenshot at 2023-01-31 19-05-01.png
    Screenshot at 2023-01-31 19-05-01.png
    72.5 KB · Views: 117
  • HW probe of ASUSTek ASUS TUF Gaming F15 ... #484e2176b2.pdf
    HW probe of ASUSTek ASUS TUF Gaming F15 ... #484e2176b2.pdf
    570.5 KB · Views: 139
Hello. Can someone help me with configuring FreeBSD for my laptop. Unfortunately, after running "hw-probe" it seems that the processor is not recognized and bluetooth is not recognized. I don't want to give up freebsd for another operating system
  • 12th Gen Intel Core i7 12700H
  • 14 Cores, 20 Threads
  • 16 GB DDR5 RAM
  • 512 GB SSD
  • 4 GB NVIDIA GeForce RTX 3050-Ti
  • 15.6 inches, 1920 x 1080 pixels
Can you run hw-probe -all -upload and send us the link, please?
 
I have run hw-probe and I don't know if my configuration is correct for the desktop, also when I compile for example "vscode" from the ports all the processors are at 100%
can you advise me?
Don't send pictures please, it is impossible to quote it. You can send the configs as text inside code blocks, it is way better to read and quote if need it.
 
I followed the steps from here to slow down the ventilation
 
I meant like that:

Code:
$ cat /etc/sysctl.conf
# $FreeBSD$
#
#  This file is read when going to multi-user and its contents piped thru
#  ``sysctl'' to adjust kernel values.  ``man 5 sysctl.conf'' for details.
#

# Security
# Uncomment this to prevent users from seeing information about processes that
# are being run under another UID.
security.bsd.see_other_uids=0
security.bsd.see_other_gids=0
security.bsd.see_jail_proc=0
security.bsd.unprivileged_read_msgbuf=0
security.bsd.unprivileged_proc_debug=0
## Kernel Hardening
kern.randompid=1
kern.elf32.aslr.enable=1
kern.elf32.aslr.pie_enable=1
kern.elf32.aslr.honor_sbrk=0
kern.elf64.aslr.enable=1
kern.elf64.aslr.pie_enable=1
kern.elf64.aslr.honor_sbrk=0
vfs.zfs.min_auto_ashift=12
###############################################
# Boost performance
kern.sched.preempt_thresh=224
kern.ipc.shm_allow_removed=1
kern.ipc.shmmax=67108864
kern.ipc.shmall=32768
kern.threads.max_threads_per_proc=4096
#kern.sched.slice=5
kern.coredump=0
###############################################
# FUSEfs Samba
vfs.usermount=1
###############################################
# Network
net.local.stream.recvspace=65536
net.local.stream.sendspace=65536
net.inet.ip.forwarding=1
net.inet.ip.random_id=1
###############################################
# Suspend on lid close
hw.acpi.lid_switch_state=S3

EDIT: my /etc/sysctl.conf was just a example. You can find the tutorial for this in this thread:

And the explanation here:
 
this is my config files:
/etc/rc.conf:
hostname="acasa"
ifconfig_em0="DHCP"
ifconfig_em0_ipv6="inet6 accept_rtadv"
sshd_enable="YES"
ntpd_enable="YES"
powerd_enable="YES"
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="AUTO"
zfs_enable="YES"
#####################
clear_temp_enable="YES"
kld_list="linux nvidia nvidia-modeset fuse cuse nmdm vmm iwlwifi"
linux_enable="YES"
powerd_enable="YES"
dbus_enable="YES"
autofs_enable="YES"
moused_enable="YES"
#hald_enable="YES"
wlans_iwlwifi0="wlan0"
ifconfig_wlan0="WPA SYNCDHCP"
cloned_interfaces="bridge0 tap1"
gateway_enable="YES"
lightdm_enable="YES"
sendmail_submit_enable="NO"
sendmail_msp_queue_enable="NO"
webcamd_enable="YES"
webcamd_0_flags="-d ugen0.6"
pf_enable="YES"
jail_enable="YES"
cupsd_enable="YES"
smartd_enable="YES"

/boot/loader.conf
ern.geom.label.disk_ident.enable="0"
kern.geom.label.gptid.enable="0"
cryptodev_load="YES"
zfs_load="YES"
##############
linux_load="YES"
nvidia_load="YES"
nvidia_name="nvidia"
nvidia_modeset_load="YES"
nvidia_modeset_name="nvidia-modeset"
##############
machdep.hwpstate_pkg_ctrl=0
###############
sound_load="YES"
snd_hda_load="YES"
###############
cuse_load="YES"
##############
vmm_load="YES"
nmdm_load="YES"
if_tap_load="YES"
hw.vmm.topology.cores_per_package=4
###################
ng_ubt_load="YES"

/etc/sysctl.conf
# $FreeBSD$
#
# This file is read when going to multi-user and its contents piped thru
# ``sysctl'' to adjust kernel values. ``man 5 sysctl.conf'' for details.
#

# Uncomment this to prevent users from seeing information about processes that
# are being run under another UID.
#security.bsd.see_other_uids=0
vfs.zfs.min_auto_ashift=12

dev.hwpstate_intel.0.epp=50
dev.hwpstate_intel.1.epp=50
dev.hwpstate_intel.2.epp=50
dev.hwpstate_intel.3.epp=50
dev.hwpstate_intel.4.epp=50
dev.hwpstate_intel.5.epp=50
dev.hwpstate_intel.6.epp=50
dev.hwpstate_intel.7.epp=50
dev.hwpstate_intel.8.epp=50
dev.hwpstate_intel.9.epp=50
dev.hwpstate_intel.10.epp=50
dev.hwpstate_intel.11.epp=50
dev.hwpstate_intel.12.epp=50
dev.hwpstate_intel.13.epp=50
dev.hwpstate_intel.14.epp=50
dev.hwpstate_intel.15.epp=50
dev.hwpstate_intel.16.epp=50
dev.hwpstate_intel.17.epp=50
dev.hwpstate_intel.18.epp=50
dev.hwpstate_intel.19.epp=50
 
I have run hw-probe and I don't know if my configuration is correct for the desktop, also when I compile for example "vscode" from the ports all the processors are at 100%
can you advise me?
electron,chromium,iridum&ungoogled-chromium are the "big ports".
I just have myself a problem with electron (vscode) after 10 hours compiling. So it's normal.
Sometimes some tuning is needed as how much you do in memory.
I'll try later this week some other tuning. I let you know.
 
Code:
nvidia_load="YES"
nvidia_name="nvidia"
nvidia_modeset_load="YES"
nvidia_modeset_name="nvidia-modeset"
You can remove these. I've seen them before, I think they're mentioned in the documentation from NVidia. They're not correct though. You only need nvidia-modeset in kld_list in /etc/rc.conf. Nothing more is needed to load the required kernel module(s).

also when I compile for example "vscode" from the ports all the processors are at 100%
can you advise me?
Yes, use packages. Especially at first. Building from ports is cool but can take a really long time, certainly big ports with lots of dependencies (each one would have to be built too). You should be happy if you have all cores blazing away at 100%, it means its running at full capacity, doing what needs to be doing. Building things from source requires a lot of resources. The more and faster resources you can throw at it, the quicker it'll be done. Still, start with packages. Those are precompiled ports, you only have to install them. Save a lot of time.
 
Electron (dependency of vscode), is really really big.
CPU at 100% means compiling is at full speed ( a good thing).
Thanks Alain De Vos.at the moment I have this configuration. What is found about nvidia in /boot/load.conf results after compiling the nvidia drivers according to the official site. Can you advise me with some other settings for desktop?

florin@home:~ $ cat /etc/rc.conf
clear_tmp_enable="YES"
sendmail_enable="NO"
hostname="home"
ifconfig_em0="DHCP"
ifconfig_em0_ipv6="inet6 accept_rtadv"
sshd_enable="YES"
moused_enable="YES"
ntpd_enable="YES"
powerd_enable="YES"
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="AUTO"
zfs_enable="YES"
############################
clear_tmp_enable="YES"
kld_list="linux nvidia-modeset cpuctl fuse nmdm vmm cuse iwlwifi ng_ubt"
linux_enable="YES"
nvidia_xorg_enable="YES"
microcode_update_enable="YES"
dbus_enable="YES"
########################
sound_load="YES"
snd_hda_load="YES"
webcamd_enable="YES"
ng_ubt_load="YES"
hald_enable="YES"
wlans_iwlwifi0="wlan0"
ifconfig_wlan0="WPA SYNCDHCP"
cloned_interfaces="bridge0 tap1"
gateway_enable="YES"
lightdm_enable="YES"
vm_enable="YES"
jail_enable="YES"
autofs_enable="YES"
jackd_enable="YES"
jackd_user="florin"
jackd_rtprio="YES"
jackd_args="-R -doss -r48000 -p1024 -n1 -w16 \
--capture /dev/dsp0 --playback /dev/dsp0"
smartd_enable="YES"
florin@home:~ $ cat /boot/loader.conf
kern.geom.label.disk_ident.enable="0"
kern.geom.label.gptid.enable="0"
cryptodev_load="YES"
zfs_load="YES"
nvidia_load="YES"
nvidia_name="nvidia"
nvidia_modeset_load="YES"
nvidia_modeset_name="nvidia-modeset"
 
PCH HECI Controller
That's not going to matter much. It's a way to 'remote' control your laptop, shouldn't be needed for actually operating the thing itself.

AX201 Bluetooth are not detected
AX201 is Wifi 6 and bluetooth. It's quite common nowadays to put both Wifi and bluetooth on the same controller chip. They're both wireless networks operating on similar frequencies (2.4GHz band). It makes sense to put them on the same controller instead of using two separate chips for it. What version did you try? 13.1? You might want to try the 13.2 beta, it should be released in a couple of days.

It's possible only the Wifi part of the AX201 is supported, but not the bluetooth part.
 
Back
Top