Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[gentoo-user] CPU flags unsatisfied

480 views
Skip to first unread message

the...@sys-concept.com

unread,
Mar 29, 2017, 5:20:05 PM3/29/17
to
When I try to emerge any application that require audio eg: firefox, ffmpeg, asterisk etc.
I get

!!! The ebuild selected to satisfy ">=media-video/ffmpeg-3.2.4:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?]" has unmet requirements.
- media-video/ffmpeg-3.2.4::gentoo USE="X alsa bzip2 encode gpl hardcoded-tables iconv mp3 network opengl postproc sdl threads truetype vorbis x264 xcb xvid zlib (-altivec) -amr -amrenc (-armv5te) (-armv6) (-armv6t2) (-armvfp) -bluray -bs2b -cdio -celt -chromaprint -cpudetection -debug -doc -ebur128 -fdk -flite -fontconfig -frei0r -fribidi -gcrypt -gme -gmp -gnutls -gsm -iec61883 -ieee1394 -jack -jpeg2k -kvazaar -ladspa -libass -libcaca -libilbc -librtmp -libsoxr -libv4l -lzma (-mipsdspr1) (-mipsdspr2) (-mipsfpu) (-mmal) -modplug (-neon) -nvenc -openal -openh264 -openssl -opus -oss -pic -pulseaudio -rubberband -samba -schroedinger -snappy -speex -ssh -static-libs -test -theora -twolame -v4l -vaapi -vdpau -vpx -wavpack -webp -x265 -zimg -zvbi" ABI_X86="64 -32 -x32" CPU_FLAGS_X86="mmx sse sse2 -3dnow -3dnowext -aes -avx -avx2 -fma3 -fma4 -mmxext -sse3 -sse4_1 -sse4_2 -ssse3 -xop" FFTOOLS="aviocat cws2fws ffescape ffeval ffhash fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart sidxindex trasher"

The following REQUIRED_USE flag constraints are unsatisfied:
cpu_flags_x86_sse? ( cpu_flags_x86_mmxext )

The above constraints are a subset of the following complete expression:
libv4l? ( v4l ) fftools_cws2fws? ( zlib ) test? ( encode ) postproc? ( gpl ) frei0r? ( gpl ) cdio? ( gpl ) samba? ( gpl ) encode? ( x264? ( gpl ) x265? ( gpl ) xvid? ( gpl ) X? ( !xcb? ( gpl ) ) ) cpu_flags_x86_avx2? ( cpu_flags_x86_avx ) cpu_flags_x86_fma4? ( cpu_flags_x86_avx ) cpu_flags_x86_fma3? ( cpu_flags_x86_avx ) cpu_flags_x86_xop? ( cpu_flags_x86_avx ) cpu_flags_x86_avx? ( cpu_flags_x86_sse4_2 ) cpu_flags_x86_aes? ( cpu_flags_x86_sse4_2 ) cpu_flags_x86_sse4_2? ( cpu_flags_x86_sse4_1 ) cpu_flags_x86_sse4_1? ( cpu_flags_x86_ssse3 ) cpu_flags_x86_ssse3? ( cpu_flags_x86_sse3 ) cpu_flags_x86_sse3? ( cpu_flags_x86_sse2 ) cpu_flags_x86_sse2? ( cpu_flags_x86_sse ) cpu_flags_x86_sse? ( cpu_flags_x86_mmxext ) cpu_flags_x86_mmxext? ( cpu_flags_x86_mmx ) cpu_flags_x86_3dnowext? ( cpu_flags_x86_3dnow ) cpu_flags_x86_3dnow? ( cpu_flags_x86_mmx )

My cpuinfo flags:
processor : 3
vendor_id : GenuineIntel
cpu family : 6
model : 69
model name : Intel(R) Core(TM) i5-4200U CPU @ 1.60GHz

flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm epb tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt dtherm ida arat pln pts

make.conf
CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="${CFLAGS}"
CHOST="x86_64-pc-linux-gnu"
MAKEOPTS="-j5"

lspci -v | grep -i audio
00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 09)
Subsystem: Intel Corporation Haswell-ULT HD Audio Controller
00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04)
Subsystem: Intel Corporation 8 Series HD Audio Controller

cat /proc/asound/card*/codec* | grep Codec
Codec: Intel Haswell HDMI
Codec: Realtek ALC892

speaker-test -t wave -c 6

speaker-test 1.1.2

Playback device is default
Stream parameters are 48000Hz, S16_LE, 6 channels
WAV file(s)
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.1.2/work/alsa-lib-1.1.2/src/pcm/pcm_dmix.c:1041:(snd_pcm_dmix_open) unable to open slave
Playback open error: -2,No such file or directory

--
Thelma

Neil Bothwick

unread,
Mar 29, 2017, 7:10:02 PM3/29/17
to
On Wed, 29 Mar 2017 15:11:17 -0600, the...@sys-concept.com wrote:

> The following REQUIRED_USE flag constraints are unsatisfied:
> cpu_flags_x86_sse? ( cpu_flags_x86_mmxext )

If you have sse in CPU_FLAGS_X86 you must also have mmxext.

man 5 ebuild explains the syntax of these statements.


--
Neil Bothwick

WinErr 01D: System crash - We are unable to figure out our own code.

Alan McKinnon

unread,
Mar 29, 2017, 7:20:03 PM3/29/17
to
On 29/03/2017 23:11, the...@sys-concept.com wrote:
> When I try to emerge any application that require audio eg: firefox, ffmpeg, asterisk etc.
> I get
>
> !!! The ebuild selected to satisfy ">=media-video/ffmpeg-3.2.4:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?]" has unmet requirements.
> - media-video/ffmpeg-3.2.4::gentoo USE="X alsa bzip2 encode gpl hardcoded-tables iconv mp3 network opengl postproc sdl threads truetype vorbis x264 xcb xvid zlib (-altivec) -amr -amrenc (-armv5te) (-armv6) (-armv6t2) (-armvfp) -bluray -bs2b -cdio -celt -chromaprint -cpudetection -debug -doc -ebur128 -fdk -flite -fontconfig -frei0r -fribidi -gcrypt -gme -gmp -gnutls -gsm -iec61883 -ieee1394 -jack -jpeg2k -kvazaar -ladspa -libass -libcaca -libilbc -librtmp -libsoxr -libv4l -lzma (-mipsdspr1) (-mipsdspr2) (-mipsfpu) (-mmal) -modplug (-neon) -nvenc -openal -openh264 -openssl -opus -oss -pic -pulseaudio -rubberband -samba -schroedinger -snappy -speex -ssh -static-libs -test -theora -twolame -v4l -vaapi -vdpau -vpx -wavpack -webp -x265 -zimg -zvbi" ABI_X86="64 -32 -x32" CPU_FLAGS_X86="mmx sse sse2 -3dnow -3dnowext -aes -avx -avx2 -fma3 -fma4 -mmxext -sse3 -sse4_1 -sse4_2 -ssse3 -xop" FFTOOLS="aviocat cws2fws ffescape ffeval ffhash fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart sidxindex trasher"
>
> The following REQUIRED_USE flag constraints are unsatisfied:
> cpu_flags_x86_sse? ( cpu_flags_x86_mmxext )


Thelma,

Do you EVER bother to read what portage is telling you?

Or do you just by default see an error on-screen, not actually think for
yourself, and dump a paste to gentoo-user expecting everyone here to do
your thinking for you?

Seriously, this is getting tiresome.
I hope you are not being paid wages to work these Gentoo machine(s).

--
Alan McKinnon
alan.m...@gmail.com

Dale

unread,
Mar 29, 2017, 7:40:03 PM3/29/17
to
the...@sys-concept.com wrote:
> When I try to emerge any application that require audio eg: firefox, ffmpeg, asterisk etc.
> I get
>
>
>>> SNIPPY >>>

You may want to try this:

root@fireball / # equery b cpuinfo2cpuflags-x86
* Searching for cpuinfo2cpuflags-x86 ...
app-portage/cpuid2cpuflags-2 (/usr/bin/cpuinfo2cpuflags-x86)
root@fireball / #

Makes it easy to find out what is and is not supported for your CPU.

Dale

:-) :-)

the...@sys-concept.com

unread,
Mar 29, 2017, 8:30:03 PM3/29/17
to
Alan, you keep repeating yourself.
No, I don't get paid for my work, I just run my network; and sometimes I
need help.

When I post a problem I don't wait for the solution; I keep searching.

--
Thelma

the...@sys-concept.com

unread,
Mar 29, 2017, 8:30:03 PM3/29/17
to
Yes, that was the solution, thank you.

run: cpuinfo2cpuflags-x86

replace in make.conf CFLAGS=
with (in my case)
CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3"

run:
emerge --deep -a --changed-use @world

Three files recompiled and solved the problem.

----
Thelam

Daniel Frey

unread,
Mar 29, 2017, 10:30:03 PM3/29/17
to
On 03/29/2017 05:24 PM, the...@sys-concept.com wrote:
> Yes, that was the solution, thank you.
>
> run: cpuinfo2cpuflags-x86
>
> replace in make.conf CFLAGS=
> with (in my case)
> CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3"
>
> run:
> emerge --deep -a --changed-use @world
>
> Three files recompiled and solved the problem.
>
> ----
> Thelam
>
>

This information was also here (scroll to the bottom):

https://wiki.gentoo.org/wiki/Handbook:AMD64/Working/USE

It also would've been a news item at some point (like when installing.)
Did you even read those? A lot of them are important have to do with
configuration changes such as this one.

`eselect news list`

Dan

Arve Barsnes

unread,
Mar 30, 2017, 1:50:03 AM3/30/17
to
On 30 March 2017 at 02:24, <the...@sys-concept.com> wrote:
replace in make.conf CFLAGS=
with (in my case)
CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3"

CFLAGS and CPU_FLAGS_X86 are NOT the same thing, you can't replace one with the other, you want both.

the...@sys-concept.com

unread,
Mar 30, 2017, 10:30:03 AM3/30/17
to

On 03/29/2017 11:40 PM, Arve Barsnes wrote:
> On 30 March 2017 at 02:24, <the...@sys-concept.com
You are correct, thanks for the correction.

--
Thelma

Kai Krakow

unread,
Mar 30, 2017, 3:20:02 PM3/30/17
to
Am Thu, 30 Mar 2017 01:08:06 +0200
schrieb Alan McKinnon <alan.m...@gmail.com>:
To beginners those portage dumps may not be too obvious. Everyone has
to start somewhere. We all did this. If nobody asks those questions,
there's nothing to find easily in Google (or your favorite search
engine).

> Seriously, this is getting tiresome.
> I hope you are not being paid wages to work these Gentoo machine(s).

What I hope is that Thelma is maybe setting up a starters guide,
improve wikis or gives helpful answers in the future.

Explaining how to read this and give the hint is probably more helpful
than harsh comments without any helpful reference to what was asked.

The only thing that Thelma could maybe improve is the order of handling
this: Maybe first search, then ask. Not the other way 'round. OTOH some
other question show that simply the deep knowledge is missing: Those
problems are pretty obvious to us experts and explaining what's behind
is even more important.

;-)

--
Regards,
Kai

Replies to list-only preferred.
0 new messages