Re: [gentoo-user] Diskless nodes

2017-03-18 Thread thelma
On 03/18/2017 05:33 AM, Rich Freeman wrote:
> On Sat, Mar 18, 2017 at 4:25 AM, Ural  wrote:
>> Rich Freeman:
>>> On Thu, Mar 16, 2017 at 11:12 PM,   wrote:

 So, instead of getting into trouble of making disk-less node I figure it 
 out my Atom (small box) can access Main server via X2GO.  I tested it on 
 my local network and speed wise it works OK.  Buy my computer is much 
 faster than the Atom.  So after upgrade I'll see how it will run. All 
 boxes have gigabit network cards.

>>>
>>> While this would certainly work, you should also consider using a
>>> windows technology like rdp/citrix to connect directly from the client
>>> to the VM guest.  That might actually give you better performance.
>>>
>>> It is analogous to running a linux VM in a window and typing into its
>>> console, vs running a linux VM headless and using ssh to connect to
>>> it.  Ssh is probably going to give you a more integrated experience
>>> and better performance, because you're not virtualizing a console with
>>> minimal support for stuff like the clipboard/etc.
>>>
>>
>> Try using Nomachine.com NX. It is fastest remote connection, but it is
>> proprietary. There is open source client available for Linux
>>
> 
> x2go is based on NX.  I doubt that NX + VM console window is faster
> than Citrix for accessing a Windows machine.  NX was largely inspired
> by Citrix.
> 
> Both approaches have their pros and cons.  NX is the right solution
> for accessing a linux X11 server.  rdp/citrix is probably the right
> solution for accessing a windows console.  So, the question is whether
> you want to be accessing the VM console running on Linux, or directly
> accessing the windows console running inside the VM.  I suspect that
> the latter is going to be a bit cleaner when you consider things like
> clipboard support and such.  But, if you want to be able to start/stop
> the VM and such then obviously you can't do that from the windows
> console.

OK, I've maxed the RAM on Linux server that will be running two
VM-Windows7 with 32GB of RAM and it has SSD so it should handle the load
(8-core AMD).
One VM-Windows7 run a program as a server the other VM-Windows7 acts as
a client, run by another user. Another user will log to the his account
on a sever via X2GO and start VM-Windows7 (run the same program but in a
client mode).

I've NX as well, but they have closed the source.  X2GO was easier to
install as well.

The rdp might work.  It would be best if I could by-pass the switch,
since both VM's are running on the same Linux server.

--
Thelma




Re: [gentoo-user] Has someone managed to compile nvidia-drivers against a 4.10.*-Linux-kernel?

2017-03-18 Thread tuxic
On 03/18 07:47, Alan McKinnon wrote:
> On 18/03/2017 14:13, tu...@posteo.de wrote:
> > Hi,
> > 
> > if someone has managed to compile the nividia-drivers
> > against one of the linux-4.10.* kernels I would
> > be glad fpr the information what version are compatible
> > with each other... :)
> 
> use kernel series 4.9 until nVidia release a driver version with 4.10
> support
> 
> 4.10 is still very new and you are most unlikely to absolutely require it.
> 
> Patience young padawan, patience. The universe is not instant coffee, you
> don't just add water right now.
> 
> 
> -- 
> Alan McKinnon
> alan.mckin...@gmail.com
> 
> 


Hi Alan,

what is the exspectation/experience, when nvidia will release a version
of their drivers, which will compatible with the 4.10-line
of the linux kernel?

Cheers
Meino






Re: [gentoo-user] Slightly OT - My new SSD.

2017-03-18 Thread Daniel Frey
On 03/18/2017 09:36 AM, Alan Mackenzie wrote:
> Hello, Gentoo.
> 
> I've just bought myself a Samsung NVMe 960 EVO M.2 SSD.  (Do I get a
> prize for the number of inscruitable abbreviations in a row? ;-)  The
> idea is, this will form a core part of my new machine, just as soon as
> AMD Ryzen motherboards start being reasonably available.
> 

I recently bought a ThinkPad P70 (it has two m.2 nvme ports.) I have a
960 EVO, decided to order the WD Black 250G nvme for Windoze so they
have their separate space.

The WD Black is supposed to be slower than the EVO but I don't use
Windows all that often anymore. The price was quite a bit cheaper than
the EVO.

I did install the EVO and the kernel I compiled already had support, so
I didn't have to do anything special. It did see it no problem, I think
I went to partition it but stopped - I am still waiting for the other
one to arrive so I can reconfigure my laptop and fiddle with them a bit.

Dan



Re: [gentoo-user] Some Addtions to: mpv startup times...is this guy waiting for soemthing ?

2017-03-18 Thread Adam Carter
Try turning off the cache just to see if that affects the start time,
--cache=no. This would only be an issue if the file loading is slow.

Otherwise try running it with strace to see what's happening during the
dead time. strace mpv 


Re: [gentoo-user] Slightly OT - My new SSD.

2017-03-18 Thread Adam Carter
On Sun, Mar 19, 2017 at 3:36 AM, Alan Mackenzie  wrote:

> Hello, Gentoo.
>
> I've just bought myself a Samsung NVMe 960 EVO M.2 SSD.
> 
> Some timings:
>
> An emerge -puND @world (when there's nothing to merge) took 38.5s.  With
> my mirrored HDDs, this took 45.6s.  (Though usually it takes nearer a
> minute.)
>
> An emerge of Firefox took 34m23s, compared with 37m34s with the HDDs.
> The lack of the sound of the HDD heads moving was either disconcerting
> or a bit of a relief, I'm not sure which.
>
> Copying my email spool file (~110,000 entries, ~1.4 GB) from SSD -> SSD
> took 6.1s.  From HDD RAID -> HDD RAID it took 30.0s.
>
> 
>

I was also hoping for more speed up when i got mine, but of course it only
helps with the system is IO bound. Its great for loading VMs.

It may be mandatory with NVM, but you can check multiqueue is setup/working
with;
# cat /proc/interrupts | egrep '(CPU|nvm)'
CPU0   CPU1   CPU2   CPU3   CPU4
CPU5   CPU6   CPU7
  30:  21596  0  0  0  0
0  0  0   PCI-MSI 1572864-edge  nvme0q0, nvme0q1
  40:  0  12195  0  0  0
0  0  0   PCI-MSI 1572865-edge  nvme0q2
  41:  0  0  12188  0  0
0  0  0   PCI-MSI 1572866-edge  nvme0q3
  42:  0  0  0  13696  0
0  0  0   PCI-MSI 1572867-edge  nvme0q4
  43:  0  0  0  0  11698
0  0  0   PCI-MSI 1572868-edge  nvme0q5
  44:  0  0  0  0  0
45820  0  0   PCI-MSI 1572869-edge  nvme0q6
  45:  0  0  0  0  0
0  10917  0   PCI-MSI 1572870-edge  nvme0q7
  46:  0  0  0  0  0
0  0  12865   PCI-MSI 1572871-edge  nvme0q8

If its not setup there'll be just a single IRQ/core handling all the IO.

FWIW
# hdparm -tT /dev/nvme0n1

/dev/nvme0n1:
 Timing cached reads:   9884 MB in  2.00 seconds = 4945.35 MB/sec
 Timing buffered disk reads: 4506 MB in  3.00 seconds = 1501.84 MB/sec


Re: [gentoo-user] modules-load restart

2017-03-18 Thread David W Noon
On Sat, 18 Mar 2017 22:31:44 +, Neil Bothwick (n...@digimed.co.uk)
wrote about "Re: [gentoo-user] modules-load restart" (in
<20170318223144.17e0e...@digimed.co.uk>):

> On Fri, 17 Mar 2017 17:28:27 +, David W Noon wrote:
[snip]
>> Otherwise the second assignment deletes the module list from the first
>> assignment.
> 
> If that were true, it87 would be the only module loaded, not the only
> module not loaded.

It depends on the order of assignments. I am not certain Thelma provided
the file in the same order as it was when the problem first arose.

> The comments in the file show multiple module definitions without
> explicitly adding the previous values.

Those examples are singletons. They show how to incorporate various
levels of version/release information into the assignments. They are not
a sequence of related assignments.
-- 
Regards,

Dave  [RLU #314465]
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
dwn...@ntlworld.com (David W Noon)
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

 




Re: [gentoo-user] Converting to mirror - filesystem maintained or need to restore

2017-03-18 Thread Adam Carter
Thanks guys. I re-created md127, mkfs'd and restored the files. Was just
getting confused with what is possible in solaris.


Re: [gentoo-user] modules-load restart

2017-03-18 Thread Neil Bothwick
On Fri, 17 Mar 2017 17:28:27 +, David W Noon wrote:

> > cat /etc/conf.d/modules 
> > modules="vboxdrv vboxnetflt vboxnetadp vboxpci"
> > modules="it87"  
> 
> The above syntax is incorrect.
> 
> To use multiple lines, you need to re-interpolate the modules variable,
> thus:
> 
> modules="vboxdrv vboxnetflt vboxnetadp vboxpci"
> modules="${modules} it87"
> 
> Otherwise the second assignment deletes the module list from the first
> assignment.

If that were true, it87 would be the only module loaded, not the only
module not loaded.

The comments in the file show multiple module definitions without
explicitly adding the previous values.


-- 
Neil Bothwick

"They that can give up essential liberty to obtain a little
temporary safety, deserve neither liberty nor safety."
Benjamin Franklin


pgpqDSjCwOuJz.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Some Addtions to: mpv startup times...is this guy waiting for soemthing ?

2017-03-18 Thread Neil Bothwick
On Sat, 18 Mar 2017 18:33:09 +0100, tu...@posteo.de wrote:

> Addition:
> It seems to be a permission related problem as root is not
> affected by the effect.

That could also indicate a difference on the configurations for the user
and root, which is more likely than permissions. Permission would
normally either let you read it or not.


-- 
Neil Bothwick

One-seventh of your life is spent on Monday.


pgpPWL9jP5c9S.pgp
Description: OpenPGP digital signature


[gentoo-user] Re: mpv startup times...is this guy waiting for soemthing ?

2017-03-18 Thread Kai Krakow
Am Sat, 18 Mar 2017 17:48:45 +0100
schrieb tu...@posteo.de:

> Hi,
> 
> very often I use mpv to watch videos.
> 
> On my old root, the start of that tool
> was nearly instantly.
> 
> With my new root, it seems, that mpv
> is waiting for something. For example:
> 
> Playing: 
> [ffmpeg/demuxer] flv: video stream discovered after head already
> parsed [ffmpeg/demuxer] flv: audio stream discovered after head
> already parsed (+) Video --vid=1 (h264)
>  (+) Audio --aid=1 (aac)
> AO: [alsa] 48000Hz stereo 2ch float
> VO: [opengl] 480x360 yuv420p
> 
> The above is printed instantly onto the console...than it waits
> ~5 seconds, then the video is started and this is printed
> and updated:
> 
> AV: 00:00:00 / 01:25:09 (0%) A-V:  0.000
> 
> 
> . This happens with flv, mp4 but it happens to pure audio
> files like ogg and wav also.
> 
> I have no idea, for what mpv is waiting for --  but it annoys me.
> 
> 
> Is it fixable...and 
> if( true ) 
> then 
> how( "?" )
> fi
> 
> :)

There's a good chance it's waiting for pulseaudio autospawning... Did
you try starting pulseaudio manually first, then mpv? Just to see if it
makes a difference?

Maybe add your user to the audio group... Or remove him from the group.
Can make a difference. A modern system should not need the user to be
in video and audio groups as udev/policykit should do proper ACL
setups. Having those groups added to the user may even make problems
occur (at least that happened to me once).

Also, you could start mpv with strace and see at which point the system
waits, then inspect the previous function calls. If it's a permission
error, you should see errors.

If you start processes with "sudo" and not "sudo -i" or "sudo -H",
there's a slight chance that root is already owning files in your
$HOME. Please check this:

# find $HOME -user root

And fix it if it finds something:

# find $HOME -user root -print0 | sudo xargs -0 chown $(id -u)


-- 
Regards,
Kai

Replies to list-only preferred.




Re: [gentoo-user] mpv startup times...is this guy waiting for soemthing ?

2017-03-18 Thread J. Roeleveld
On March 18, 2017 7:44:59 PM GMT+01:00, tu...@posteo.de wrote:
>No.
>Starting mpv as root "fixes" the problem...so it is 
>a permission problem (see my second mail). But mpv
>does not complain about missing permissions and plays
>the fileafter 5 seconds (when used as unpriveledged
>user).
>
>I am member of group "video" though and -- for example -- Blender
>gets full access to video infrastructure without problems...
>
>
>
>On 03/18 12:35, Maxim Wexler wrote:
>> Do the files repose on a on a big(terabytes!) outboard drive? This
>> could cause a delay on account of the OS having to read the thing
>> first.
>> 
>> On 3/18/17, tu...@posteo.de  wrote:
>> > Hi,
>> >
>> > very often I use mpv to watch videos.
>> >
>> > On my old root, the start of that tool
>> > was nearly instantly.
>> >
>> > With my new root, it seems, that mpv
>> > is waiting for something. For example:
>> >
>> > Playing: 
>> > [ffmpeg/demuxer] flv: video stream discovered after head already
>parsed
>> > [ffmpeg/demuxer] flv: audio stream discovered after head already
>parsed
>> >  (+) Video --vid=1 (h264)
>> >  (+) Audio --aid=1 (aac)
>> > AO: [alsa] 48000Hz stereo 2ch float
>> > VO: [opengl] 480x360 yuv420p
>> >
>> > The above is printed instantly onto the console...than it waits
>> > ~5 seconds, then the video is started and this is printed
>> > and updated:
>> >
>> > AV: 00:00:00 / 01:25:09 (0%) A-V:  0.000
>> >
>> >
>> > . This happens with flv, mp4 but it happens to pure audio
>> > files like ogg and wav also.
>> >
>> > I have no idea, for what mpv is waiting for --  but it annoys me.
>> >
>> >
>> > Is it fixable...and
>> > if( true )
>> > then
>> > how( "?" )
>> > fi
>> >
>> > :)
>> >
>> > Cheers
>> > Meino
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> 

If it also happens with pure audio files, I would suspect an issue with the 
audio subsystem.
Maybe it tries direct access. Doesn't work, so it switches to something else 
(maybe pulseaudio)
Root being allowed direct access, doesn't suffer from this?

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Re: [gentoo-user] mpv startup times...is this guy waiting for soemthing ?

2017-03-18 Thread tuxic
No.
Starting mpv as root "fixes" the problem...so it is 
a permission problem (see my second mail). But mpv
does not complain about missing permissions and plays
the fileafter 5 seconds (when used as unpriveledged
user).

I am member of group "video" though and -- for example -- Blender
gets full access to video infrastructure without problems...



On 03/18 12:35, Maxim Wexler wrote:
> Do the files repose on a on a big(terabytes!) outboard drive? This
> could cause a delay on account of the OS having to read the thing
> first.
> 
> On 3/18/17, tu...@posteo.de  wrote:
> > Hi,
> >
> > very often I use mpv to watch videos.
> >
> > On my old root, the start of that tool
> > was nearly instantly.
> >
> > With my new root, it seems, that mpv
> > is waiting for something. For example:
> >
> > Playing: 
> > [ffmpeg/demuxer] flv: video stream discovered after head already parsed
> > [ffmpeg/demuxer] flv: audio stream discovered after head already parsed
> >  (+) Video --vid=1 (h264)
> >  (+) Audio --aid=1 (aac)
> > AO: [alsa] 48000Hz stereo 2ch float
> > VO: [opengl] 480x360 yuv420p
> >
> > The above is printed instantly onto the console...than it waits
> > ~5 seconds, then the video is started and this is printed
> > and updated:
> >
> > AV: 00:00:00 / 01:25:09 (0%) A-V:  0.000
> >
> >
> > . This happens with flv, mp4 but it happens to pure audio
> > files like ogg and wav also.
> >
> > I have no idea, for what mpv is waiting for --  but it annoys me.
> >
> >
> > Is it fixable...and
> > if( true )
> > then
> > how( "?" )
> > fi
> >
> > :)
> >
> > Cheers
> > Meino
> >
> >
> >
> >
> >
> >
> >
> 



Re: [gentoo-user] mpv startup times...is this guy waiting for soemthing ?

2017-03-18 Thread Maxim Wexler
Do the files repose on a on a big(terabytes!) outboard drive? This
could cause a delay on account of the OS having to read the thing
first.

On 3/18/17, tu...@posteo.de  wrote:
> Hi,
>
> very often I use mpv to watch videos.
>
> On my old root, the start of that tool
> was nearly instantly.
>
> With my new root, it seems, that mpv
> is waiting for something. For example:
>
> Playing: 
> [ffmpeg/demuxer] flv: video stream discovered after head already parsed
> [ffmpeg/demuxer] flv: audio stream discovered after head already parsed
>  (+) Video --vid=1 (h264)
>  (+) Audio --aid=1 (aac)
> AO: [alsa] 48000Hz stereo 2ch float
> VO: [opengl] 480x360 yuv420p
>
> The above is printed instantly onto the console...than it waits
> ~5 seconds, then the video is started and this is printed
> and updated:
>
> AV: 00:00:00 / 01:25:09 (0%) A-V:  0.000
>
>
> . This happens with flv, mp4 but it happens to pure audio
> files like ogg and wav also.
>
> I have no idea, for what mpv is waiting for --  but it annoys me.
>
>
> Is it fixable...and
> if( true )
> then
> how( "?" )
> fi
>
> :)
>
> Cheers
> Meino
>
>
>
>
>
>
>



Re: [gentoo-user] Has someone managed to compile nvidia-drivers against a 4.10.*-Linux-kernel?

2017-03-18 Thread Alan McKinnon

On 18/03/2017 14:13, tu...@posteo.de wrote:

Hi,

if someone has managed to compile the nividia-drivers
against one of the linux-4.10.* kernels I would
be glad fpr the information what version are compatible
with each other... :)


use kernel series 4.9 until nVidia release a driver version with 4.10 
support


4.10 is still very new and you are most unlikely to absolutely require it.

Patience young padawan, patience. The universe is not instant coffee, 
you don't just add water right now.



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




Re: [gentoo-user] Has someone managed to compile nvidia-drivers against a 4.10.*-Linux-kernel?

2017-03-18 Thread Heiko Baums
Am 18.03.2017 um 13:13 schrieb tu...@posteo.de:
> if someone has managed to compile the nividia-drivers
> against one of the linux-4.10.* kernels I would
> be glad fpr the information what version are compatible
> with each other... :)

It compiled with kernel 4.10.1 on my desktop but failed to build on my
notebook.

So I guess it depends on the hardware resp. on the kernel configuration.
And I guess, as always, you'll have to wait until Nvidia releases an
update of the driver.

Heiko



Re: [gentoo-user] Has someone managed to compile nvidia-drivers against a 4.10.*-Linux-kernel?

2017-03-18 Thread Simon Thelen
On 17-03-18 at 13:13, tu...@posteo.de wrote:
> Hi,
> 
> if someone has managed to compile the nividia-drivers
> against one of the linux-4.10.* kernels I would
> be glad fpr the information what version are compatible
> with each other... :)
Running gentoo-sources-4.10.2 with nvidia-drivers-378.13 and having no
problems.

-- 
Simon Thelen



[gentoo-user] Some Addtions to: mpv startup times...is this guy waiting for soemthing ?

2017-03-18 Thread tuxic
On 03/18 05:48, tu...@posteo.de wrote:
> Hi,
> 
> very often I use mpv to watch videos.
> 
> On my old root, the start of that tool
> was nearly instantly.
> 
> With my new root, it seems, that mpv
> is waiting for something. For example:
> 
> Playing: 
> [ffmpeg/demuxer] flv: video stream discovered after head already parsed
> [ffmpeg/demuxer] flv: audio stream discovered after head already parsed
>  (+) Video --vid=1 (h264)
>  (+) Audio --aid=1 (aac)
> AO: [alsa] 48000Hz stereo 2ch float
> VO: [opengl] 480x360 yuv420p
> 
> The above is printed instantly onto the console...than it waits
> ~5 seconds, then the video is started and this is printed
> and updated:
> 
> AV: 00:00:00 / 01:25:09 (0%) A-V:  0.000
> 
> 
> . This happens with flv, mp4 but it happens to pure audio
> files like ogg and wav also.
> 
> I have no idea, for what mpv is waiting for --  but it annoys me.
> 
> 
> Is it fixable...and 
> if( true ) 
> then 
> how( "?" )
> fi
> 
> :)
> 
> Cheers
> Meino
> 

Addition:
It seems to be a permission related problem as root is not
affected by the effect.

Me (the user, not root) is already assigned to group "video" though...
At it plays nonetheless...after 5  seconds...

mpv is

[I] media-video/mpv
 Available versions:  0.18.0-r1 (~)0.22.0-r2 (~)0.24.0 ** {+X +alsa 
aqua archive bluray cdda +cli coreaudio cplugins cuda doc drm dvb dvd +egl 
+enca encode gbm +iconv jack 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 zsh-completion CPU_FLAGS_X86="sse4_1" 
PYTHON_TARGETS="python2_7 python3_4 python3_5"}
 Installed versions:  0.24.0(06:13:39 PM 03/18/2017)(X alsa archive cdda 
cli cplugins doc drm dvb dvd egl encode iconv jack jpeg libass lua luajit 
opengl tools uchardet v4l vdpau xscreensaver xv zsh-completion -aqua -bluray 
-coreaudio -cuda -gbm -lcms -libav -libcaca -libmpv -openal -oss -pulseaudio 
-raspberry-pi -rubberband -samba -sdl -selinux -test -vaapi -vf-dlopen -wayland 
-xinerama CPU_FLAGS_X86="-sse4_1" PYTHON_TARGETS="python2_7 python3_4 
-python3_5")
 Homepage:https://mpv.io/
 Description: Media player based on MPlayer and mplayer2


Cheers
Meino



Re: [gentoo-user] modules-load restart

2017-03-18 Thread David W Noon
On Fri, 17 Mar 2017 23:16:24 +, Peter Humphrey
(pe...@prh.myzen.co.uk) wrote about "Re: [gentoo-user] modules-load
restart" (in <4385990.55jxZYQh37@peak>):

> On Friday 17 Mar 2017 17:28:27 David W Noon wrote:
[snip]
>> To use multiple lines, you need to re-interpolate the modules variable,
>> thus:
>>
>> modules="vboxdrv vboxnetflt vboxnetadp vboxpci"
>> modules="${modules} it87"
>>
>> Otherwise the second assignment deletes the module list from the first
>> assignment.
> 
> That can't be true. I have these entries in /etc/conf.d/modules:
> 
> modules="e1000e"
> modules="vboxdrv"
> modules="vboxpci vboxnetadp vboxnetflt"
> 
> Those modules are all loaded as expected.

These modules can be pulled in by depmod processing. so it doesn't
necessarily follow that your control file is correct.
-- 
Regards,

Dave  [RLU #314465]
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
dwn...@ntlworld.com (David W Noon)
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

 




[gentoo-user] mpv startup times...is this guy waiting for soemthing ?

2017-03-18 Thread tuxic
Hi,

very often I use mpv to watch videos.

On my old root, the start of that tool
was nearly instantly.

With my new root, it seems, that mpv
is waiting for something. For example:

Playing: 
[ffmpeg/demuxer] flv: video stream discovered after head already parsed
[ffmpeg/demuxer] flv: audio stream discovered after head already parsed
 (+) Video --vid=1 (h264)
 (+) Audio --aid=1 (aac)
AO: [alsa] 48000Hz stereo 2ch float
VO: [opengl] 480x360 yuv420p

The above is printed instantly onto the console...than it waits
~5 seconds, then the video is started and this is printed
and updated:

AV: 00:00:00 / 01:25:09 (0%) A-V:  0.000


. This happens with flv, mp4 but it happens to pure audio
files like ogg and wav also.

I have no idea, for what mpv is waiting for --  but it annoys me.


Is it fixable...and 
if( true ) 
then 
how( "?" )
fi

:)

Cheers
Meino








[gentoo-user] Slightly OT - My new SSD.

2017-03-18 Thread Alan Mackenzie
Hello, Gentoo.

I've just bought myself a Samsung NVMe 960 EVO M.2 SSD.  (Do I get a
prize for the number of inscruitable abbreviations in a row? ;-)  The
idea is, this will form a core part of my new machine, just as soon as
AMD Ryzen motherboards start being reasonably available.

I put it into my current (7½ YO) box to test it out.

Physically installing it was no problem at all - I also bought a PCIe
carrier card with an M.2 slot.  Making Linux see it was also no sweat -
I just added the appropriate settings to the device driver bit of the
kernel's menuconfig (as detailed in the Gentoo NVMe wiki page), rebuilt
and re-installed it and it worked.

I'd had some slight worry about how to actually drive this thing.  The
night before, I'd emerged sys-apps/nvme-cli, and became bewildered by
all the things it appears you need to understands for NVMe drives.  But
my new SSD, /dev/nvme0, already carried a "namespace", /dev/nvme0n1.
Before long, the "namespace" had an MS-DOS partition table and two 20GB
ext-3 partitions, just to try it out.

I copied /usr/portage onto one of these partitions and mounted it at
/usr/portage.  I mounted the other one at /var/tmp.

Some timings:

An emerge -puND @world (when there's nothing to merge) took 38.5s.  With
my mirrored HDDs, this took 45.6s.  (Though usually it takes nearer a
minute.)

An emerge of Firefox took 34m23s, compared with 37m34s with the HDDs.
The lack of the sound of the HDD heads moving was either disconcerting
or a bit of a relief, I'm not sure which.

Copying my email spool file (~110,000 entries, ~1.4 GB) from SSD -> SSD
took 6.1s.  From HDD RAID -> HDD RAID it took 30.0s.

#

I must confess to feeling somewhat underwhelmed by this new SSD.  I'm
quite some way off of the advertised ~3 GB/s read speed and ~1.5 GB/s
write speed (which admittedly needs PCIe version 3).  Quite likely, I've
not got the drive set up optimally, but I think it's connected to the
rest of the PC via four PCIe version 2 lanes.  (I'll need to work out
how to check this.)

But in a pure file copy, I'm only getting a factor 5 speed increase over
my 7½ year old HDD pair.  Doing portage things, it's shaving only modest
factors off of the timings.

My intention was to have a RAID pair of these NVMe drives in my new box.
Now I'm thinking more along the lines of using this NVMe drive for the
OS, and a RAID pair of (cheaper) SATA SDDs for precious data - the extra
performance that NVMe gives over SATA, although more significant with a
modern speed machine than my 7½ year old one, seems unlikely to justify
the extra cost.

-- 
Alan Mackenzie (Nuremberg, Germany).



Re: [gentoo-user] Has someone managed to compile nvidia-drivers against a 4.10.*-Linux-kernel?

2017-03-18 Thread Danny YUE
Hi,

I got the same problem here.
And in the error message of nvidia-drivers, you would see something
like below:
currently only supports  wrote:
> On 18 March 2017 at 13:13,  wrote:
>
>> Hi,
>>
>> if someone has managed to compile the nividia-drivers
>> against one of the linux-4.10.* kernels I would
>> be glad fpr the information what version are compatible
>> with each other... :)
>>
>
> There are some patches for both the latest drivers and the older branch on
> the forums. I have not tried them, but look here:
> https://forums.gentoo.org/viewtopic-t-1059660-highlight-nvidia.html
>
> Cheers,
> Arve




Re: [gentoo-user] Has someone managed to compile nvidia-drivers against a 4.10.*-Linux-kernel?

2017-03-18 Thread Arve Barsnes
On 18 March 2017 at 13:13,  wrote:

> Hi,
>
> if someone has managed to compile the nividia-drivers
> against one of the linux-4.10.* kernels I would
> be glad fpr the information what version are compatible
> with each other... :)
>

There are some patches for both the latest drivers and the older branch on
the forums. I have not tried them, but look here:
https://forums.gentoo.org/viewtopic-t-1059660-highlight-nvidia.html

Cheers,
Arve


[gentoo-user] Has someone managed to compile nvidia-drivers against a 4.10.*-Linux-kernel?

2017-03-18 Thread tuxic
Hi,

if someone has managed to compile the nividia-drivers
against one of the linux-4.10.* kernels I would
be glad fpr the information what version are compatible
with each other... :)

Cheers
Meino





Re: [gentoo-user] Diskless nodes

2017-03-18 Thread Rich Freeman
On Sat, Mar 18, 2017 at 4:25 AM, Ural  wrote:
> Rich Freeman:
>> On Thu, Mar 16, 2017 at 11:12 PM,   wrote:
>>>
>>> So, instead of getting into trouble of making disk-less node I figure it 
>>> out my Atom (small box) can access Main server via X2GO.  I tested it on my 
>>> local network and speed wise it works OK.  Buy my computer is much faster 
>>> than the Atom.  So after upgrade I'll see how it will run. All boxes have 
>>> gigabit network cards.
>>>
>>
>> While this would certainly work, you should also consider using a
>> windows technology like rdp/citrix to connect directly from the client
>> to the VM guest.  That might actually give you better performance.
>>
>> It is analogous to running a linux VM in a window and typing into its
>> console, vs running a linux VM headless and using ssh to connect to
>> it.  Ssh is probably going to give you a more integrated experience
>> and better performance, because you're not virtualizing a console with
>> minimal support for stuff like the clipboard/etc.
>>
>
> Try using Nomachine.com NX. It is fastest remote connection, but it is
> proprietary. There is open source client available for Linux
>

x2go is based on NX.  I doubt that NX + VM console window is faster
than Citrix for accessing a Windows machine.  NX was largely inspired
by Citrix.

Both approaches have their pros and cons.  NX is the right solution
for accessing a linux X11 server.  rdp/citrix is probably the right
solution for accessing a windows console.  So, the question is whether
you want to be accessing the VM console running on Linux, or directly
accessing the windows console running inside the VM.  I suspect that
the latter is going to be a bit cleaner when you consider things like
clipboard support and such.  But, if you want to be able to start/stop
the VM and such then obviously you can't do that from the windows
console.

-- 
Rich



Re: [gentoo-user] Converting to mirror - filesystem maintained or need to restore

2017-03-18 Thread Rich Freeman
On Sat, Mar 18, 2017 at 5:14 AM, Neil Bothwick  wrote:
> On Sat, 18 Mar 2017 13:29:36 +1100, Adam Carter wrote:
>
>> IIRC when you add a device to a mirror say with;
>> mdadm --create --verbose /dev/md127 --level=mirror --raid-devices=1
>> --force /dev/sdb3
>>
>> I thought the filesystem is maintained and so /dev/md127 should be
>> immediately mountable, however, it doesnt mount.
>> mount: wrong fs type, bad option, bad superblock on /dev/md127,
>>missing codepage or helper program, or other error
>
> You have created a block device at /dev/md127 but you haven't created a
> filesystem on it, there's nothing to mount.
>
> Unless you are trying to add a device to an existing array, in which case
> you shouldn't be using --create.
>

Yeah, if you are sticking "--force" on a command line you had better
know exactly what you're doing.  I suspect that mdadm was refusing to
wipe out the existing array and destroy all the data on it until this
was added.

mdadm is quite versatile.  You can add/remove individual disks from
any type of raid online without losing data (well, removing disks may
require resizing filesystems first as the device could get truncated
depending on what you're doing).

However, --create is not used to modify existing arrays, unless by
modify you mean delete-the-old-and-create-something-new.

Since you only specified one device, you might actually be able to
recover.  I'm not sure what your existing device was, but if it wasn't
/dev/sdb3 then what you might have done is create a second array with
the same device name.  Now, /dev/md127 at that moment will point to
the new empty array, but the old array may still be untouched on disk,
so you might be able to activate it and still have all the data.  Then
you could delete the new array (be VERY careful here that you're
deleting the right one), and then correctly add /dev/sdb3 to the old
array.

Can you spell out your configuration?  What devices constituted your
original array and what was it called?  What device did you intend to
add to it?  What happens when you run mdadm --query  and mdadm
--examine  on both your old and new devices?

I'll confess that it has been a few years since I've used mdadm but if
the actual disks are still intact then you should be able to
re-assemble everything correctly.

-- 
Rich



Re: [gentoo-user] Converting to mirror - filesystem maintained or need to restore

2017-03-18 Thread Neil Bothwick
On Sat, 18 Mar 2017 13:29:36 +1100, Adam Carter wrote:

> IIRC when you add a device to a mirror say with;
> mdadm --create --verbose /dev/md127 --level=mirror --raid-devices=1
> --force /dev/sdb3
> 
> I thought the filesystem is maintained and so /dev/md127 should be
> immediately mountable, however, it doesnt mount.
> mount: wrong fs type, bad option, bad superblock on /dev/md127,
>missing codepage or helper program, or other error

You have created a block device at /dev/md127 but you haven't created a
filesystem on it, there's nothing to mount.

Unless you are trying to add a device to an existing array, in which case
you shouldn't be using --create.


-- 
Neil Bothwick

I locked my coathanger in my car; good thing I had a key.


pgpXJtctPcOG8.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Wiping the old root without killing the new root

2017-03-18 Thread Alan McKinnon
On 18/03/2017 02:55, tu...@posteo.de wrote:
> On 03/17 11:20, Peter Humphrey wrote:
>> On Friday 17 Mar 2017 19:10:03 Alan McKinnon wrote:
>>
>>> As Grant said, we don't really know what you are up to from the given
>>> information.
>>
>> In particular, at least some of us don't know what you mean by a root.
>>
>> -- 
>> Regards
>> Peter
>>
>>
> 
> Hi,
> 
>  I want to wipe a partition from old stuff, so that:
>  1) a new mkfs.whatever will not revive the old stuff
>  2) the wipe does not to be "cryptograohically secure" (i.e. dd
>  if=/dev/zero of=/dev/partition)
>  3) only the contents of partition and nothing else will be wiped
> 
>  I will try to mkfs.ext4 the partition as Nils suggested. 
>  Ext4 was also the previous fs.

2) will do what you want


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




Re: [gentoo-user] Diskless nodes

2017-03-18 Thread Ural
Rich Freeman:
> On Thu, Mar 16, 2017 at 11:12 PM,   wrote:
>>
>> So, instead of getting into trouble of making disk-less node I figure it out 
>> my Atom (small box) can access Main server via X2GO.  I tested it on my 
>> local network and speed wise it works OK.  Buy my computer is much faster 
>> than the Atom.  So after upgrade I'll see how it will run. All boxes have 
>> gigabit network cards.
>>
> 
> While this would certainly work, you should also consider using a
> windows technology like rdp/citrix to connect directly from the client
> to the VM guest.  That might actually give you better performance.
> 
> It is analogous to running a linux VM in a window and typing into its
> console, vs running a linux VM headless and using ssh to connect to
> it.  Ssh is probably going to give you a more integrated experience
> and better performance, because you're not virtualizing a console with
> minimal support for stuff like the clipboard/etc.
> 

Try using Nomachine.com NX. It is fastest remote connection, but it is
proprietary. There is open source client available for Linux