Re: [gentoo-user] udisks doesn't find libblockdev

2018-01-20 Thread Adam Carter
On Sun, Jan 21, 2018 at 2:40 PM,  wrote:

> I read the oracle as follows:
>
> udisks wants libblockdev version egual or greater 2.14 with "crypt"
> USE flag set.
>
> libblockdev itsself is installed with version 2.15, which is "equal or
> greater 2.14" and with cryptsetup set...which is not "crypt".
> There is no USE flag "crypt" with libblockdev.
>
> H...
>
> What next?
>

Its been reported: https://bugs.gentoo.org/645196

Maybe add that what you noticed about crypt / cryptsetup USE stuff?


[gentoo-user] udisks doesn't find libblockdev

2018-01-20 Thread tuxic

Hi,

got a problem this morning...

Calculating dependencies... done!
 * Dependencies could not be completely resolved due to
 * the following required packages not being installed:
 * 
 *   >=sys-libs/libblockdev-2.14[crypt] pulled in by:
 * sys-fs/udisks-2.7.5
 * 
 * Have you forgotten to do a complete update prior to depclean? The
 * most comprehensive command for this purpose is as follows:
 * 
 *   emerge --update --newuse --deep --with-bdeps=y @world
 * 
 * Note that the --with-bdeps=y option is not required in many
 * situations. Refer to the emerge manual page (run `man emerge`)
 * for more information about --with-bdeps.
 * 
 * Also, note that it may be necessary to manually uninstall
 * packages that no longer exist in the portage tree, since it may
 * not be possible to satisfy their dependencies.
[1]13866 exit 1 cleanup
solfire:/home/mccramer>eix sys-libs/libblockdev 
[I] sys-libs/libblockdev
 Available versions:  2.14-r1 (~)2.15-r1 {bcache +cryptsetup dmraid doc kbd 
lvm test PYTHON_SINGLE_TARGET="python3_4 python3_5 python3_6" 
PYTHON_TARGETS="python3_4 python3_5 python3_6"}
 Installed versions:  2.15-r1(04:19:39 AM 01/21/2018)(cryptsetup -bcache 
-dmraid -doc -kbd -lvm -test PYTHON_SINGLE_TARGET="python3_5 -python3_4 
-python3_6" PYTHON_TARGETS="python3_5 python3_6 -python3_4")
 Homepage:https://github.com/rhinstaller/libblockdev
Description: A library for manipulating block devices


I read the oracle as follows:

udisks wants libblockdev version egual or greater 2.14 with "crypt"
USE flag set.

libblockdev itsself is installed with version 2.15, which is "equal or
greater 2.14" and with cryptsetup set...which is not "crypt".
There is no USE flag "crypt" with libblockdev.

H...

What next?

Cheers
Meino





Re: [gentoo-user] Re: dev-qt/qtdeclarative fails to build

2018-01-20 Thread Christoph Böhmwalder
On Sat, Jan 20, 2018 at 05:26:59AM +0200, Nikos Chantziaras wrote:
> Is this for the profile upgrade?
It's not, I already did that including an emerge -e @world...

> So it tried to link the new PIC-enabled qtdeclarative against the
> old non-PIC qtcore. The result was this exact build error.
... however it is entirely possible that I messed something up that's
related to the profile switch.  Seeing as this is my first profile
upgrade I wouldn't be surprised to find that I've horribly broken
something.

For the record, I tried to install app-crypt/yubikey-manager-qt, which
pulls in qtdeclarative as a dependency.

I'm rebuilding the 107 packages that revdep-rebuild reported (no idea
how that happened) right now, and I'll see if that fixes things.  No
doubt this will be one giant learning experience for me :)

Thanks!

--
Regards,
Christoph



Re: [gentoo-user] mpv: no sound anymore...?

2018-01-20 Thread Simon Thelen
Hello,
On 18-01-20 at 08:11, tu...@posteo.de wrote:
> Hi,
> 
> either by one of the last updates or by me while un-pulseaudio-fy
> firefox (and removing pulseaudio afterwards) mpv is no longer willing
> to play any sound.
I don't have any particularly concrete ideas because the error log isn't
very descriptive, but I have several things you can try that will give
us more info/may help pinpoint the issue.

You might want to post the contents of your /etc/asound.conf and your
~/.asoundrc as well as maybe checking the contents of /usr/share/alsa if
there's anything still referencing pulseaudio in there. Maybe also a
qcheck media-libs/alsa-lib to check if any of the default config files
have any changes in them (you can also diff the output of qlist alsa-lib
and find /usr/share/alsa).

You might also want to check your mpv.conf if you have change any of the
audio settings there.

[..]
> Output on the console while playing a video:
> mpv the_best_GPU_for_Blender-720p.mp4
> Playing: the_best_GPU_for_Blender-720p.mp4
>  (+) Video --vid=1 (*) (h264 1280x720 29.970fps)
>  (+) Audio --aid=1 --alang=und (*) (aac 2ch 44100Hz)
> ALSA lib 
> /var/tmp/portage/media-libs/alsa-lib-1.1.5/work/alsa-lib-1.1.5/src/pcm/pcm_dmix.c:1099:(snd_pcm_dmix_open)
>  unable to open slave
> [ao/alsa] Playback open error: Device or resource busy
> [ao] Failed to initialize audio driver 'alsa'
> Could not open/initialize audio device -> no sound.
> Audio: no audio
> VO: [opengl] 1280x720 yuv420p
> V: 00:00:01 / 00:12:38 (0%)
You can try running mpv in verbose mode (-v) to see if that prints any
more relevant information and also try using any of the other (alsa)
audio-devices listed by --audio-device=help. You could also try setting
--audio-samplerate=48k and try enabling/disabling alsa resampling with
--alsa-resample=yes/no.

[..]
> mpv --audio-device=jack the_best_GPU_for_Blender-720p.mp4 
> Playing: the_best_GPU_for_Blender-720p.mp4
>  (+) Video --vid=1 (*) (h264 1280x720 29.970fps)
>  (+) Audio --aid=1 --alang=und (*) (aac 2ch 44100Hz)
> ALSA lib 
> /var/tmp/portage/media-libs/alsa-lib-1.1.5/work/alsa-lib-1.1.5/src/pcm/pcm_dmix.c:1099:(snd_pcm_dmix_open)
>  unable to open slave
> [ao/alsa] Playback open error: Device or resource busy
> [ao] Failed to initialize audio driver 'alsa'
> Could not open/initialize audio device -> no sound.
> Audio: no audio
> VO: [opengl] 1280x720 yuv420p
> V: 00:00:01 / 00:12:38 (0%)
> 
> (why it is accessing alsa here???)
mpv's verbose mode will probably give more info as to why it's trying to
open alsa, but I don't know enough about jack to give any useful ideas
here.

> Using for example zynaddsubfx (softsynth) via qjackctrl/jack I can
> play sound.
> Mpv does not show up in qjackctrl
What samplerate does that generate sound at? 48k or 44.1k?

-- 
Simon Thelen



Re: [gentoo-user] mpv: no sound anymore...?

2018-01-20 Thread Mick
On Saturday, 20 January 2018 07:11:52 GMT tu...@posteo.de wrote:
> Hi,
> 
> either by one of the last updates or by me while un-pulseaudio-fy
> firefox (and removing pulseaudio afterwards) mpv is no longer willing
> to play any sound.
> 
> 
> Some informations:
> 
> [I] media-video/mpv
>  Available versions:  0.18.0-r1 0.25.0-r2 (~)0.26.0 (~)0.27.0-r1
> [M](~)0.28.0 ** {+X +alsa aqua archive bluray cdda +cli coreaudio
> cplugins cuda doc drm dvb dvd +egl +enca encode gbm +iconv jack javascript
> jpeg lcms +libass libav libcaca libguess libmpv (+)lua luajit openal
> +opengl oss pulseaudio raspberry-pi rubberband samba sdl selinux test tools
> (+)uchardet v4l vaapi vdpau vf-dlopen wayland xinerama +xscreensaver +xv
> zlib zsh-completion CPU_FLAGS_X86="sse4_1" PYTHON_TARGETS="python2_7
> python3_4 python3_5 python3_6"} Installed versions:  0.27.0-r1(06:53:23 AM
> 01/04/2018)(X alsa archive cdda cli cplugins cuda doc drm dvb dvd egl
> encode iconv jack jpeg libass lua luajit opengl tools uchardet v4l vdpau xv
> zlib zsh-completion -aqua -bluray -coreaudio -gbm -javascript -lcms -libav
> -libcaca -libmpv -openal -oss -pulseaudio -raspberry-pi -rubberband -samba
> -sdl -selinux -test -vaapi -wayland PYTHON_TARGETS="python2_7 python3_5
> python3_6 -python3_4") Homepage:https://mpv.io/
>  Description: Media player based on MPlayer and mplayer2
> 
> 
> Output on the console while playing a video:
> mpv the_best_GPU_for_Blender-720p.mp4
> Playing: the_best_GPU_for_Blender-720p.mp4
>  (+) Video --vid=1 (*) (h264 1280x720 29.970fps)
>  (+) Audio --aid=1 --alang=und (*) (aac 2ch 44100Hz)
> ALSA lib
> /var/tmp/portage/media-libs/alsa-lib-1.1.5/work/alsa-lib-1.1.5/src/pcm/pcm_
> dmix.c:1099:(snd_pcm_dmix_open) unable to open slave [ao/alsa] Playback open
> error: Device or resource busy
> [ao] Failed to initialize audio driver 'alsa'
> Could not open/initialize audio device -> no sound.
> Audio: no audio
> VO: [opengl] 1280x720 yuv420p
> V: 00:00:01 / 00:12:38 (0%)
> 
> 
> Exiting... (Quit)
> 
> 
> Or with jack:
> 
> (replaced my username by 'user')
> 
> ps -ef | grep jack
> user  4299 1  0 02:47 ?00:01:34 jackd -t5000 -dalsa -dhw:0
> -r48000 -p1024 -n2 -H -M -Xseq user 24837 24766  0 08:05 pts/300:00:00
> grep -E --color jack
> 
> id
> uid=1001(user) gid=100(users)
> groups=100(users),10(wheel),12(mail),14(uucp),18(audio),19(cdrom),27(video)
> ,35(games),80(cdrw),85(usb),103(docker),237(wireshark),244(vboxusers),245(vl
> ock),246(realtime)
> 
> [I] media-sound/jack-audio-connection-kit
>  Available versions:  0.121.3-r1 (~)0.124.1-r1 (~)0.125.0 {alsa altivec
> coreaudio cpudetection debug doc examples oss pam ABI_MIPS="n32 n64 o32"
> ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32" CPU_FLAGS_X86="3dnow
> mmx sse"} Installed versions:  0.125.0(07:33:45 AM 12/05/2017)(alsa pam
> -altivec -coreaudio -debug -doc -examples -oss ABI_MIPS="-n32 -n64 -o32"
> ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="64 -32 -x32"
> CPU_FLAGS_X86="3dnow sse") Homepage:http://www.jackaudio.org
>  Description: A low-latency audio server
> 
> (using zsh):
> l /dev/**/*jack*
> srwxr-xr-x 1 user users  0 2018-01-20 02:47
> /dev/shm/jack-1001/default/jack_0 srwxr-xr-x 1 user users  0 2018-01-20
> 02:47 /dev/shm/jack-1001/default/jack_ack_0 prw-r--r-- 1 user users  0
> 2018-01-20 08:07 /dev/shm/jack-1001/default/jack-ack-fifo-4299-0 prw-r--r--
> 1 user users  0 2018-01-20 08:07
> /dev/shm/jack-1001/default/jack-ack-fifo-4299-1 prw-r--r-- 1 user users  0
> 2018-01-20 02:47 /dev/shm/jack-1001/default/jack-ack-fifo-4299-2 prw-r--r--
> 1 user users  0 2018-01-20 02:49
> /dev/shm/jack-1001/default/jack-ack-fifo-4299-3
> 
> /dev/shm/jack-1001:
> total 0
> 
> mpv --audio-device=jack the_best_GPU_for_Blender-720p.mp4
> Playing: the_best_GPU_for_Blender-720p.mp4
>  (+) Video --vid=1 (*) (h264 1280x720 29.970fps)
>  (+) Audio --aid=1 --alang=und (*) (aac 2ch 44100Hz)
> ALSA lib
> /var/tmp/portage/media-libs/alsa-lib-1.1.5/work/alsa-lib-1.1.5/src/pcm/pcm_
> dmix.c:1099:(snd_pcm_dmix_open) unable to open slave [ao/alsa] Playback open
> error: Device or resource busy
> [ao] Failed to initialize audio driver 'alsa'
> Could not open/initialize audio device -> no sound.
> Audio: no audio
> VO: [opengl] 1280x720 yuv420p
> V: 00:00:01 / 00:12:38 (0%)
> 
> (why it is accessing alsa here???)
> 
> 
> Using for example zynaddsubfx (softsynth) via qjackctrl/jack I can
> play sound.
> Mpv does not show up in qjackctrl
> 
> The situation does not change if doing anything of the above as root.
> 
> Mplayer plays sound...but fails to play the video instead.
> 
> Currently I dont know what the problem here.
> 
> If anyone has any idea...heartly welcome... :)
> 
> Cheers
> Meino

I'd start by running 'alsactl init' to (re)initialise alsa and see if it 
reports any errors.

-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.