Jump to content

greg00pl

Members
  • Content Count

    4
  • Joined

  • Last visited

  1. Hi When i'm trying to update cmake from 3.18.4 to 3.19.0 i've got: patch -p1 failed with /var/tmp/portage/dev-util/cmake-3.19.0/files/cmake-3.17.0_rc1-FindLAPACK.patch no matter what use and c and cxx flags i use... i turned off ccache and use -march=native Can anybody help ?
  2. greg00pl

    arch selection

    Hi i might not be a Funtoo Guru, but as i remember the performance difference between 2 intel generations wasn't that big... so even using the same flags as for the oldest chip you won't feel the difference... The difference between separate architectures is in functions build in core... and it's important... only when u use application that need it... for example: If u run emerge --ask firefox u will see CPU_FLAGS_X86="avx2" somewhere in output... so Firefox is able to use AVX2 extension to speed up calculations... and as i remember all Intel core processors have AVX2 extension... As i remember especially media applications use some of the newest CPU extensions, but u won't feel much difference... You can compare your computers by running on them "less /proc/cpuinfo" and compare "flags" section between them. Another simply app that it would do it for u is cpuid2cpuflags... (emerge --ask app-portage/cpuid2cpuflags) gregfuntoo ~ # cpuid2cpuflags CPU_FLAGS_X86: aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3 so in make.conf you just add: CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" and same in USE section: USE="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" because not all ebuilds are configured for dealing with CPU_FLAGS_X86 The best way to deal with CFLAGS, and CXXFLAGS is to use "-march=native -O2 -pipe" and compile on machine that will use it... or set -march= for the oldest pc u have to use compiled packages at any of them...
  3. Hi again, I've got some problems with setting Polish locales, but i worked it out... If anybody have similar problem - thats what you should do: 1) In /etc/portage/make.conf you shoud have (it might be wrong, but works): L10N="pl_PL en_US pl" LINGUAS="pl_PL en_US pl" USE="nls unicode userlocales pl" 2) Set proper locales in /etc/locale.gen pl_PL.UTF-8 UTF-8 pl_PL ISO-8859-2 en_US.UTF-8 UTF-8 en_US ISO-8859-1 C.UTF-8 UTF-8 3) Run locale-gen as root, and use eselect locale list, and set to pl_PL.utf8... 4) Run locale and output should looks like: gregfuntoo ~ # locale LANG=pl_PL.utf8 LC_CTYPE="pl_PL.utf8" LC_NUMERIC="pl_PL.utf8" LC_TIME="pl_PL.utf8" LC_COLLATE=POSIX LC_MONETARY="pl_PL.utf8" LC_MESSAGES="pl_PL.utf8" LC_PAPER="pl_PL.utf8" LC_NAME="pl_PL.utf8" LC_ADDRESS="pl_PL.utf8" LC_TELEPHONE="pl_PL.utf8" LC_MEASUREMENT="pl_PL.utf8" LC_IDENTIFICATION="pl_PL.utf8" LC_ALL= after that run env-update && source /etc/profile 5)Now we should check if services consolefont and keymaps are loading during boot Run rc-config all to check, and if they arent run: rc-update add consolefont boot rc-update add keymaps boot 6) At /etc/rc.conf UNICODE="yes" 7) At /etc/conf.d/keymaps KEYMAP="pl2" DUMPKEYS_CHARSET="ISO-8859-2" 8 ) Now we need font that has Polish letters emerge -av media-fonts/terminus-font 9) At /etc/conf.d/consolefont CONSOLEFONT="ter-v16b" #CONSOLETRANSLATION="" 10) In GNOME Settings in language tab we need to set everything for Polish, and in users tab we set language for users Polish. 11) Reboot and have Fun - Too (please somebody correct it, because even I see that i wrote in gibberish xD ) Best wishes !
  4. Hi! My first post here... (and my english is not so good) I just installed Funtoo (i had Gentoo some time ago) and it doesnt recognize second battery at my ThinkPad T550... as i remember when i was using Gentoo (gnome 3.20 / systemd / ck-sources and really messed up make.conf :P ) i could see 2 batteries on power indicator (with % charge) i check, but upower doesnt see second battery... regfuntoo ~ # upower -i /org/freedesktop/UPower/devices/battery_BAT1 native-path: (null) power supply: no updated: czw, 1 sty 1970, 02:00:00 (1605632029 seconds ago) has history: no has statistics: no unknown warning-level: unknown battery-level: unknown icon-name: '(null)' gregfuntoo ~ # upower -i /org/freedesktop/UPower/devices/battery_BAT0 native-path: BAT0 vendor: SANYO model: 45N1741 serial: 442 power supply: yes updated: wto, 17 lis 2020, 18:53:01 (53 seconds ago) has history: yes has statistics: yes battery present: yes rechargeable: yes state: fully-charged warning-level: none energy: 39,08 Wh energy-empty: 0 Wh energy-full: 39,08 Wh energy-full-design: 44,43 Wh energy-rate: 0 W voltage: 12,856 V percentage: 100% capacity: 87,9586% technology: lithium-polymer icon-name: 'battery-full-charged-symbolic' I would be very grateful for some help with it... I forgot a lot about working with distros like Gentoo/Funtoo (because since my son was born i did't have much time so i used Manjaro :P )
×
×
  • Create New...