Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Gelöst] Neuer Computer
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
soundrolf
Tux's lil' helper
Tux's lil' helper


Joined: 08 Sep 2016
Posts: 122
Location: Cologne / Germany

PostPosted: Wed Jul 19, 2023 9:57 am    Post subject: [Gelöst] Neuer Computer Reply with quote

Mobo: Asus Prime B550M-K
CPU: AMD Ryzen 7 5800X

Sollte ich in der make.conf -march=native oder -march=znver3 Eintragen ?

Was sollte ich noch beachten ?

Danke für die Hilfe


Gruß

soundrolf
_________________
Regards
soundrolf

Mobo: ASUS PRIME B550M-K BIOS 3302 08/01/2023
CPU: AMD Ryzen 7 5800X 8-Core Processor (16) @ 3800 MHz
GPU: AMD Caicos Radeon HD 6450/7450/8450 / R5 230 OEM 1GB DDR3
RAM: 80GB crucial DDR4 3200 MHz 2x8GB 2x32GB


Last edited by soundrolf on Wed Aug 02, 2023 1:46 pm; edited 1 time in total
Back to top
View user's profile Send private message
Banana
Veteran
Veteran


Joined: 21 May 2004
Posts: 1392
Location: Germany

PostPosted: Wed Jul 19, 2023 12:41 pm    Post subject: Reply with quote

Hmm, https://wiki.gentoo.org/wiki/Safe_CFLAGS sagt da doch znver2 (oder lese ich das falsch?)

Solltest du wissen was genau der Unterschied zwischen native und znver3 ist und genau diese Unterschiede brauchen, dann die individuelle -march Einstellung nehmen. Ansonsten -march=native, das passt in 99% der Fälle
_________________
My personal space
My delta-labs.org snippets do expire

PFL - Portage file list - find which package a file or command belongs to.
Back to top
View user's profile Send private message
Christian99
Veteran
Veteran


Joined: 28 May 2009
Posts: 1668

PostPosted: Wed Jul 19, 2023 1:46 pm    Post subject: Reply with quote

du kannst auch mal probieren, was app-misc/resolve-march-native sagt.
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4558
Location: Germany

PostPosted: Wed Jul 19, 2023 2:50 pm    Post subject: Reply with quote

soundrolf wrote:
Was sollte ich noch beachten ?

Neben Kernel/Treiber ggf auf die neue Hardware anpassen, dann auch noch
CPU_FLAGS_X86 mit anpassen.
Back to top
View user's profile Send private message
soundrolf
Tux's lil' helper
Tux's lil' helper


Joined: 08 Sep 2016
Posts: 122
Location: Cologne / Germany

PostPosted: Wed Aug 02, 2023 1:46 pm    Post subject: Reply with quote

Vielen Dank

Alles läuft einwandfrei.

Quote:

# Compiler Setting
COMMON_FLAGS="-march=znver3 -O2 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"

# CPU Flags
CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3"

CHOST="x86_64-pc-linux-gnu"

# USE Flags
USE="truetype elogind -consolekit -kde -gnome -systemd -pulseaudio
smp usb alsa v4l -aim -infiniband -cjk icu -oci8 -oscar -joystick
-libav ffmpeg dbus vcd lame aacplus dvd cdr nls sockets twolame X
udev udisks libnotify thunar xinerama qt5 -xscreensaver vdpau
cddb cdio faac vamp theora wav wavpack gtk3 opus ${CPU_FLAGS_X86}"

# USE Expand Flags
LC_MESSAGES="C"
LC_COLLATE="C"
LINGUAS="de"
L10N="de"
ACCEPT_LICENSE="-* @FREE"
ACCEPT_KEYWORS="amd64"
PORTDIR="/var/db/repos/gentoo"
DISTDIR="/var/cache/distfiles"
PKGDIR="/var/cache/binpkgs"
PORTAGE_LOGDIR="/var/log/portage"
PORTAGE_ELOG_CLASSES="warn error info log qa"
PORTAGE_ELOG_SYSTEM="echo save"
FEATURES="split-elog clean-logs"

GENTOO_MIRRORS="http://mirror.netcologne.de/gentoo/ https://ftp.halifax.rwth.aachen.de/gentoo/"

GRUB_PLATFORMS="pc"
VIDEO_CARDS="nouveau fbdev vesa dummy"
ALSA_CARDS="hda-intel"
INPUT_DEVICES="libinput synaptics"
KDIR="/usr/src/linux"
XFCE_PLUGINS="menu clock trash"

MAKEOPTS="-j16"
EMERGE_DEFAULT_OPTS="--quiet-build"


Gruß

soundrolf
_________________
Regards
soundrolf

Mobo: ASUS PRIME B550M-K BIOS 3302 08/01/2023
CPU: AMD Ryzen 7 5800X 8-Core Processor (16) @ 3800 MHz
GPU: AMD Caicos Radeon HD 6450/7450/8450 / R5 230 OEM 1GB DDR3
RAM: 80GB crucial DDR4 3200 MHz 2x8GB 2x32GB
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum