Re: [gentoo-user] NVidia-driver, RTX 2060 SUPER. Blender and NO Optix...

2020-04-03 Thread Andrew Udvare



> On Apr 4, 2020, at 00:59, Dale  wrote:
> 
> tu...@posteo.de wrote:
>> Hi,
>> 
>> I have discussed this on www.blenderartists.org and they asked
>> me to ask here to sort out, whether the problem is a Blender-thing,
>> a Linux-thing or a GENTOO-thing.
>> 
>> My setup is as follows:
>> NVidia RTX 2060 SUPER
>> 
>> NVidia-drivers:
>> [I] x11-drivers/nvidia-drivers
>> Available versions:  (~)304.137-r1(0/304)^md[1] 
>> (~)340.107-r2(0/340)^md[1] 340.108(0/340)^mtd (~)375.82-r2(0/375)^md[1] 
>> (~)378.13-r5(0/378)^md[1] (~)381.22-r3(0/381)^md[1] 
>> (~)384.130-r1(0/384)^md[1] (~)387.34-r1(0/387)^md[1] 
>> (~)390.77-r1(0/390)^md[1] (~)390.87(0/390)^md[1] 390.132-r1(0/390)^mtd 
>> (~)390.132-r2(0/390)^mtd (~)396.24-r2(0/396)^md[1] 
>> (~)396.24.10-r1(0/396.24)^md[1] (~)396.45-r1(0/396)^md[1] 
>> (~)396.51-r1(0/396)^md[1] (~)396.51.02(0/396.51)^md[1] 
>> (~)396.54(0/396)^md[1] 430.64-r1(0/430)^mtd 435.21-r1(0/435)^mtd 
>> 440.64(0/440)^mtd {+X acpi compat +driver gtk3 +kms +libglvnd multilib 
>> pax_kernel static-libs +tools uvm wayland ABI_MIPS="n32 n64 o32" 
>> ABI_RISCV="lp64 lp64d" ABI_S390="32 64" ABI_X86="32 64 x32" KERNEL="FreeBSD 
>> linux"}
>> Installed versions:  440.64(0/440)^mtd(03:03:25 AM 04/03/2020)(X driver 
>> kms libglvnd static-libs tools uvm -acpi -compat -gtk3 -multilib -wayland 
>> ABI_MIPS="-n32 -n64 -o32" ABI_RISCV="-lp64 -lp64d" ABI_S390="-32 -64" 
>> ABI_X86="64 -32 -x32" KERNEL="linux -FreeBSD")
>> Homepage:https://www.nvidia.com/
>> Description: NVIDIA Accelerated Graphics Driver
>> 
>> Blender 2.82a (stable) and
>> Blender 2.83  (deveoper build)
>> 
>> The NVidia RTX-cards offer a new feature called "Optix" which blender
>> can use to speed up rendering and denoising.
>> 
>> When Blender is started one choose "Optix" from the user
>> Preferences->System tab and then the Optix-enabled devices of the
>> system in question are shown.
>> There is a similiar tab, if you want to use CUDA instead.
>> 
>> The CUDA tab shows my graphics card and everything behaves as
>> exsoected. Choosing "Optix" instead says "No Optix enabled
>> device".
>> 
>> Which is not quite right, since the RTX-cards are Optix enabled.

I suggest filing a bug about this regarding the nvidia-drivers package. It's 
possible it's not installing the necessary files.


Re: [gentoo-user] NVidia-driver, RTX 2060 SUPER. Blender and NO Optix...

2020-04-03 Thread Dale
tu...@posteo.de wrote:
> Hi,
>
> I have discussed this on www.blenderartists.org and they asked
> me to ask here to sort out, whether the problem is a Blender-thing,
> a Linux-thing or a GENTOO-thing.
>
> My setup is as follows:
> NVidia RTX 2060 SUPER
>
> NVidia-drivers:
> [I] x11-drivers/nvidia-drivers
>  Available versions:  (~)304.137-r1(0/304)^md[1] 
> (~)340.107-r2(0/340)^md[1] 340.108(0/340)^mtd (~)375.82-r2(0/375)^md[1] 
> (~)378.13-r5(0/378)^md[1] (~)381.22-r3(0/381)^md[1] 
> (~)384.130-r1(0/384)^md[1] (~)387.34-r1(0/387)^md[1] 
> (~)390.77-r1(0/390)^md[1] (~)390.87(0/390)^md[1] 390.132-r1(0/390)^mtd 
> (~)390.132-r2(0/390)^mtd (~)396.24-r2(0/396)^md[1] 
> (~)396.24.10-r1(0/396.24)^md[1] (~)396.45-r1(0/396)^md[1] 
> (~)396.51-r1(0/396)^md[1] (~)396.51.02(0/396.51)^md[1] (~)396.54(0/396)^md[1] 
> 430.64-r1(0/430)^mtd 435.21-r1(0/435)^mtd 440.64(0/440)^mtd {+X acpi compat 
> +driver gtk3 +kms +libglvnd multilib pax_kernel static-libs +tools uvm 
> wayland ABI_MIPS="n32 n64 o32" ABI_RISCV="lp64 lp64d" ABI_S390="32 64" 
> ABI_X86="32 64 x32" KERNEL="FreeBSD linux"}
>  Installed versions:  440.64(0/440)^mtd(03:03:25 AM 04/03/2020)(X driver 
> kms libglvnd static-libs tools uvm -acpi -compat -gtk3 -multilib -wayland 
> ABI_MIPS="-n32 -n64 -o32" ABI_RISCV="-lp64 -lp64d" ABI_S390="-32 -64" 
> ABI_X86="64 -32 -x32" KERNEL="linux -FreeBSD")
>  Homepage:https://www.nvidia.com/
>  Description: NVIDIA Accelerated Graphics Driver
>
> Blender 2.82a (stable) and
> Blender 2.83  (deveoper build)
>
> The NVidia RTX-cards offer a new feature called "Optix" which blender
> can use to speed up rendering and denoising.
>
> When Blender is started one choose "Optix" from the user
> Preferences->System tab and then the Optix-enabled devices of the
> system in question are shown.
> There is a similiar tab, if you want to use CUDA instead.
>
> The CUDA tab shows my graphics card and everything behaves as
> exsoected. Choosing "Optix" instead says "No Optix enabled
> device".
>
> Which is not quite right, since the RTX-cards are Optix enabled.
>
> In the thread on blenderartists there were two libs (?) mentioned (on
> a Ubuntu system, where the Optix thingie works), which I cannot
> find on my system:
>
> + libnividia-compute 
> + libnivia-gl 
>
> . Does Gentoo installs a differently packaged nvidia-driver?
> What is the source of those libraries?
>
> If someone got Optix running with blender on a RTX-card under GENTOO
> I woyld be very happy for any help! :)
>
> Cheers and stay healthy!
> Meino
>

This site doesn't always have the answer but it can be a good place to
start.  It works for the most common stuff at least.  However, if no one
shares data with the site that has some obscure package or command, it
reports no hits. 

http://www.portagefilelist.de/site/query

I did a couple searches but it might be that you had typos in at least
one of the file names you are looking for.  You may want to try the
search and make sure you have the names spelled correctly. 

Another thing to consider, you could have a USE flag disabled that needs
to be enabled to turn on the features you want.  That may be needed for
more than one package. 

Hope this helps.

Dale

:-)  :-) 



[gentoo-user] NVidia-driver, RTX 2060 SUPER. Blender and NO Optix...

2020-04-03 Thread tuxic
Hi,

I have discussed this on www.blenderartists.org and they asked
me to ask here to sort out, whether the problem is a Blender-thing,
a Linux-thing or a GENTOO-thing.

My setup is as follows:
NVidia RTX 2060 SUPER

NVidia-drivers:
[I] x11-drivers/nvidia-drivers
 Available versions:  (~)304.137-r1(0/304)^md[1] (~)340.107-r2(0/340)^md[1] 
340.108(0/340)^mtd (~)375.82-r2(0/375)^md[1] (~)378.13-r5(0/378)^md[1] 
(~)381.22-r3(0/381)^md[1] (~)384.130-r1(0/384)^md[1] (~)387.34-r1(0/387)^md[1] 
(~)390.77-r1(0/390)^md[1] (~)390.87(0/390)^md[1] 390.132-r1(0/390)^mtd 
(~)390.132-r2(0/390)^mtd (~)396.24-r2(0/396)^md[1] 
(~)396.24.10-r1(0/396.24)^md[1] (~)396.45-r1(0/396)^md[1] 
(~)396.51-r1(0/396)^md[1] (~)396.51.02(0/396.51)^md[1] (~)396.54(0/396)^md[1] 
430.64-r1(0/430)^mtd 435.21-r1(0/435)^mtd 440.64(0/440)^mtd {+X acpi compat 
+driver gtk3 +kms +libglvnd multilib pax_kernel static-libs +tools uvm wayland 
ABI_MIPS="n32 n64 o32" ABI_RISCV="lp64 lp64d" ABI_S390="32 64" ABI_X86="32 64 
x32" KERNEL="FreeBSD linux"}
 Installed versions:  440.64(0/440)^mtd(03:03:25 AM 04/03/2020)(X driver 
kms libglvnd static-libs tools uvm -acpi -compat -gtk3 -multilib -wayland 
ABI_MIPS="-n32 -n64 -o32" ABI_RISCV="-lp64 -lp64d" ABI_S390="-32 -64" 
ABI_X86="64 -32 -x32" KERNEL="linux -FreeBSD")
 Homepage:https://www.nvidia.com/
 Description: NVIDIA Accelerated Graphics Driver

Blender 2.82a (stable) and
Blender 2.83  (deveoper build)

The NVidia RTX-cards offer a new feature called "Optix" which blender
can use to speed up rendering and denoising.

When Blender is started one choose "Optix" from the user
Preferences->System tab and then the Optix-enabled devices of the
system in question are shown.
There is a similiar tab, if you want to use CUDA instead.

The CUDA tab shows my graphics card and everything behaves as
exsoected. Choosing "Optix" instead says "No Optix enabled
device".

Which is not quite right, since the RTX-cards are Optix enabled.

In the thread on blenderartists there were two libs (?) mentioned (on
a Ubuntu system, where the Optix thingie works), which I cannot
find on my system:

+ libnividia-compute 
+ libnivia-gl 

. Does Gentoo installs a differently packaged nvidia-driver?
What is the source of those libraries?

If someone got Optix running with blender on a RTX-card under GENTOO
I woyld be very happy for any help! :)

Cheers and stay healthy!
Meino





Re: [gentoo-user] syslog-ng keeps restarting every few minutes

2020-04-03 Thread Dale
William Kenworthy wrote:
> Hi,
>
>     Some years ago I built up a 32 bit raspberry pi gentoo userland and
> now have 8 copies of it running on various devices - all with the same
> problem.
>
> Syslog-ng is restarting every few minutes! I have been able to narrow it
> down to a process named "supervise" as after killing it syslog-ng
> settles down.
>
> I cant find where this process is configured or run from - has anyone
> come across this before?
>
>
> BillK

Is this related? 

https://untroubled.org/daemontools-encore/supervise.8.html

http://manpages.ubuntu.com/manpages/trusty/man8/supervise.8.html

While both seem to be the same, maybe one will give a clue as to where
it came from, what installed the creature and how to get rid of it. 

Hope that helps.

Dale

:-)  :-) 



[gentoo-user] syslog-ng keeps restarting every few minutes

2020-04-03 Thread William Kenworthy
Hi,

    Some years ago I built up a 32 bit raspberry pi gentoo userland and
now have 8 copies of it running on various devices - all with the same
problem.

Syslog-ng is restarting every few minutes! I have been able to narrow it
down to a process named "supervise" as after killing it syslog-ng
settles down.

I cant find where this process is configured or run from - has anyone
come across this before?


BillK





Re: [gentoo-user] Re: mail cannot send emails (trying to use it with smartd)

2020-04-03 Thread Grant Taylor

On 4/3/20 4:01 PM, Grant Edwards wrote:
If you want to become an ultra-professional, that's fine.  If you 
just want to be able to send mail interactively from mutt...


OK, that's a bad example now that mutt has built-in SMTP client 
capabilities.


How about ... if you only want to get email off your local box to a 
remote server and don't care how it's done, then Sendmail probably isn't 
your best / easiest / first choice.  ;-)




--
Grant. . . .
unix || die



[gentoo-user] Re: mail cannot send emails (trying to use it with smartd)

2020-04-03 Thread Grant Edwards
On 2020-04-03, Grant Taylor  wrote:

> (20)ProTip:  You really do want local outbound queueing /somewhere/ on box.
>
> You don't want your web application to error out when it can't reach 
> it's SMTP server.  You don't want t loose that receipt for the 
> transaction that the customer just made.  Can you regenerate the 
> receipt?  ;-)

If you've got any sort of non-interactive "server" type applications
that need to send mail, then you _definitely_ want local queueing --
and probably decent logging capabilities and local delivery of problem
notification e-mails.

I only use ssmtp for situations where mail is only sent by an
application I'm interacting with and where I can _see_ that the send
failed and can save/postpone the message while I fix whatever's broken
that caused the failure.

> But I really object to the "ultra-professional" comment, because 
> everybody has to start somewhere.

If you want to become an ultra-professional, that's fine.  If you just
want to be able to send mail interactively from mutt...

OK, that's a bad example now that mutt has built-in SMTP client
capabilities.

--
Grant






Re: [gentoo-user] Re: mail cannot send emails (trying to use it with smartd)

2020-04-03 Thread Grant Taylor

On 4/2/20 10:47 PM, Caveman Al Toraboran wrote:

wow, didn't know sendmail's syntax was so hard it needed a compiler
:D thank you very much for your help.  highly appreciated.

I think that's an inaccurate statement.

First, m4 is a macro package, not a compiler.

Second, the macros are used to reduce the size of the macro config (mc) 
file to something manageable instead of hundreds of lines that are easy 
to cause a syntax mistake.


Third, the macros made the mc file more semantics in nature instead of 
Sendmail config file (cf) specific.  Meaning that one line allows 
changing values in multiple places that use the common information, like 
the domain name(s).


My home system has a 33 line mc file (including comments) that expands 
to 1915 lines of cf file (including comments).


Both the input and output is ASCII text.  Humans can read both of them. 
 Humans that understand cf syntax can read both files.


This is far from turning something into byte code.



--
Grant. . . .
unix || die



Re: [gentoo-user] Re: mail cannot send emails (trying to use it with smartd)

2020-04-03 Thread Grant Taylor

On 4/2/20 8:23 PM, Grant Edwards wrote:
It's very powerful but the configuration file format is almost 
impossible to understand, so people developed an m4 application that 
accepted a _slightly_ less cryptic language and generated the 
sendmail configuration file.

The configuration file is far from impossible to understand.

Calling it a configuration file is sort of a misnomer in that it's more 
of a programing language than a configuration file.  Some have even said 
that it's Turning complete.


It does have some things going against it though.

1)  It is highly dependent on the tab character (one or more) being used 
to separate two parts of specific lines.  This is easily visually lost 
as well as frequently lost with bad copy & paste.  But it's trivial to 
know about and correct.  (Compare that to Python that has lost all of 
it's leading white space.)


2)  The "config" file is really multiple sub-routine that are called in 
specific instances and do very specific things.  You must know which one 
you need to use when.


3)  Sendmail's logic is different than what most people are used to. 
It's not quite RPN.  But it's different enough that many people have 
problems with it.  I think it's more like relay logic.  Each line in a 
rule-set has an opportunity to apply to the current working space.  Each 
line can modify the working space, possibly directly or indirectly by 
calling other things.  If you aren't careful, the working set can be 
inadvertently matched by multiple lines (rules).  As such, the working 
set is specifically modified so that other lines don't match if they 
should not.  There is a lot of pattern manipulation to keep track of and 
it takes practice.


I'm sure that there are others.  But those are the big ones that come to 
mind at the moment.


At it's peak back in the early 90's there were approximately five 
people in the world who actually understood sendmail, and none of 
them ever worked where you did.


I don't know about the '90s, but I do know that in the '00s and '10s, 
your statement is exaggeration to the point of being hyperbole.


I have witnessed an active Sendmail support community for about 15 of 
the last 20 years.  Most of that support was via the comp.mail.sendmail 
newsgroup.


The rest of us stumbled in the dark using the finely honed 
cargo-cult practices cutting and pasting random snippets out of 
example configurations to see what happened.


Your lack of use of resources doesn't mean that said resources wasn't 
available.


Usually what happed is that mail was lost or flew around in a loop 
multiplying to the point where a disk parition filled up.


Yep.

That said, sendmail has features that no other MTA has.  For 
example, it can transfer mail using all sorts of different protocols 
that nobody uses these days.


It's not just (on the wire) protocols that sendmail supports.  Many of 
which are effectively obsolete save for specific microcosms.  Sendmail 
also supports interfacing with other programs in a very flexible manner.


It is fairly easy to have Sendmail support Mailman (et al.) in such a 
way as that you don't need to change anything on the email server when 
adding or removing mailing lists.  No, I'm not talking about automated 
alias generation.  There is no need for alias generation when Sendmail 
and Mailman are connected properly.


Sendmail quite happily supports LMTP into local mail stores / programs. 
 This is quite handy when you want something like a recipient's sive 
filter to be able to reject a message.



Back in the 90's a number of replacement MTAs were developed such as
qmail, postfix, exim, etc.  When you installed one of these, (instead
of the classic sendmail), they would usually provide an executable
file named "sendmail" that accepted the same command line arguments
and input format that the original did.  That allowed applications who
wanted to send email to remain ignorant about exactly what MTA was
installed.


Yep.  The "sendmail" command has become a de facto industry standard 
that most MTAs emulate.




--
Grant. . . .
unix || die



Re: [gentoo-user] Re: mail cannot send emails (trying to use it with smartd)

2020-04-03 Thread Grant Taylor

On 4/2/20 6:26 PM, Caveman Al Toraboran wrote:

though i'm a bit curious about sendmail (if your time allows).


Feel free to ask questions about sendmail.  I'll do my best to answer.


do you mean the ebuild "sendmail"? or the command "sendmail"?


In this context, ebuild as a reference to the MTA known as Sendmail.

i used to think it's a swiss-army kind of tool (used to call 
"sendmail" in my cgi scripts decades ago without any infrastructure; 
by just directly zapping recipient's smtp gateway).


Yes, Sendmail can e a Swiss Army knife.  That's one of it's advantages. 
 That's also one of it's disadvantages.


Your historic use of Sendmail is an example of using a local queuing 
MTA.  Your CGI scripts passed the message off to the queuing MTA and 
didn't need to worry about what to do if the remote mail server couldn't 
be reached.  You didn't have to bother with detecting the error and 
reporting it to the end user via the web form.  You didn't have to 
bother with storing information for later retry.  The local queuing MTA 
did all of that for you.




--
Grant. . . .
unix || die



Re: [gentoo-user] Re: mail cannot send emails (trying to use it with smartd)

2020-04-03 Thread Grant Taylor

On 4/2/20 8:18 AM, Grant Edwards wrote:
Then DO NOT use sendmail.  Sendmail is only for the 
ultra-professional who already knows how to configure it (not 
joking).


I take exception to that for multiple reasons:

1)  Bootstrapping - you can't learn something without actually using it.
2)  I've been quite happily using Sendmail on multiple platforms for 20 
years.
3)  Sendmail is capable of working in every single email scenario that 
I've seen in said 20 years.  The same can't be said for other MTAs.


If all your mail gets sent via a single SMTP server at your ISP (or 
wherever), then Sendmail is definitely not what you want.


That depends.

If you have a fleet of Sendmail servers, chances are good that you will 
prefer to re-use the same solution, even in small / simple role.  Read: 
 The Devil that you know.


If you don't need local queueing (so you can send email while 
offline), then I'd pick ssmtp.


(20)ProTip:  You really do want local outbound queueing /somewhere/ on box.

You don't want your web application to error out when it can't reach 
it's SMTP server.  You don't want t loose that receipt for the 
transaction that the customer just made.  Can you regenerate the 
receipt?  ;-)


You can have each application do it's own queuing / re-sending, r you 
can rely on the local MTA to do it for you.


Where do you want the queuing complexity?

A local queuing MTA is simple and solves a LOT of problems.

If you want something even more sophisticated (e.g. something that 
can deliver mail locally and receive inbound mail using SMTP), then 
postfix or exim would probably the be the next step up:


I would add Sendmail to the front of that list.  But I might be biased.

I've read claims that there are things you can do with sendmail that 
Exim or Postfix can't handle, but I'm not sure I believe it.  I am 
sure I'll never need to do any of those things.

I don't know Exim or Posfix well enough to comment with any authority.

I do know that I Sendmail, Postifx, and Exim all handle (E)SMTP without 
any problem.


I think that Postfix can be made to handle UUCP.  Sendmail has four 
different ways that it can use UUCP, built in.  I have no idea about Exim.


Sendmail can easily work with other protocols, Mail11, fax, pager, news 
gateway (send and / or receive).  It's also easy to add additional 
protocols without needing to recompile anything, only configuration 
changes are needed.


I don't know where in the list I lost Postfix and / or Exim, but I 
expect that they didn't make it through the last paragraph.


For a long time, Sendmail did have one claim to fame that no other MTA 
had.  Specifically Sendmail had the ability to use milters (mail 
filters) and filter email during the SMTP transaction.  It's trivial to 
hook ClamAV, SpamAssassin, and just about anything you want into 
checking mail during the SMTP transaction such that you have the ability 
to reject, not bounce, the message.  Thus making the sending host be 
responsible for it.


I'm sure there are many more and far more esoteric things that Sendmail 
can do.  Though I doubt that many of them are as germane today as they 
were in the mid '90s.  I was recently playing with the ability to have a 
domain spread across multiple servers and configuring Sendmail to route 
messages to the proper back end server, a feature known as LDAP routing.


Yes, Sendmail has a lot of power, much like unix.  It will happily hand 
you a loaded gun, encourage you to point it at your feet and empty the 
magazine as fast as possible.  When you're done, it will help you reload 
and do it again.


If you know how to wield this power Sendmail can be a wonderful tool 
that can be used in all of the scenarios described in this thread.  It's 
also relatively trivial to have Sendmail be a basic queuing outbound 
only MTA that uses ISP smart hosts to provide SMTP services to local 
applications.


But I really object to the "ultra-professional" comment, because 
everybody has to start somewhere.




--
Grant. . . .
unix || die



smime.p7s
Description: S/MIME Cryptographic Signature


Re: [gentoo-user] Idea for Videoconferencing (Video part)

2020-04-03 Thread Spackman, Chris
On 2020/04/03 at 11:16am, Petric Frank wrote:

> Problem: Usually the camera is outside of the screen. The user
> normally looks at the screen. As result the communication partner(s)
> see him not looking at the camera.

> Idea: Use two cameras positioned left and right or top and bottom of
> the screen. Combine the two video streams and generate a third stream
> having a virtual camera positioned at the middle of the screen.

> Result: Better communication. The partners always looking in their
> eyes. At the same time the screen contents can be viewed.

I think this would be fun to try, but I don't have any idea the actual
feasibility.

Moreover, I believe Apple tried something similar, very briefly, with
Face Time. I think it just used processing to try to "fix" where the
eyes were looking. My understanding is that it creeped everyone out and
no one liked it. Probably an uncanny vallley thing. So, they dropped
it. (IIRC, I heard that on TWIT a while back.)

Maybe two cameras could do it better, though?

-- 
Chris Spackman  ch...@osugisakae.com

ESL Coordinator The Graham Family of Schools
ESL Instructor  Columbus State Community College
Japan Exchange and Teaching Program   Wajima, Ishikawa 1995-1998
Linux user since 1998 Linux User #137532




Re: [gentoo-user] Idea for Videoconferencing (Video part)

2020-04-03 Thread Ralph Seichter
* Petric Frank:

> But normal people aren't professional actors. I thought i could be
> a technical solution. Making life easier in this corona-days with
> increasing video conferences.

Normal people just have to adapt to a worldwide pandemic and be damn
grateful for existing video conferencing software, much of it available
free of charge. In light of the real problems related to COVID-19 I
couldn't care less about fake eye contact if I actively tried.

However, business has been very slow lately. If you are willing to pay
me for months of work, and for the necessary hardware, I might work
something out. Oh, while you're at it, don't forget that you'll need to
sponsor multiple cameras for each user of the new software.

Sorry, I just cannot take this seriously. In fact, it annoys me to even
contemplate this prime example of a first world problem. If you want to
make life easier for some people and have a little money to spare, please
consider supporting local health workers. Thank you.

-Ralph



[gentoo-user] Re: Idea for Videoconferencing (Video part)

2020-04-03 Thread Grant Edwards
On 2020-04-03, Petric Frank  wrote:

> Idea: Use two cameras positioned left and right or top and bottom of the
> screen. Combine the two video streams and generate a third stream having a
> virtual camera positioned at the middle of the screen.

Can you explain how that "combine" would be done in real time?  It
sounds like some pretty sophisticated real-tiem 3D modelling and CGI to me...

--
Grant




Re: [gentoo-user] Idea for Videoconferencing (Video part)

2020-04-03 Thread Rich Freeman
On Fri, Apr 3, 2020 at 12:44 PM Petric Frank  wrote:
>
> i think eye contact is a good thing while working on the screen.
>

I think most people think that eye contact is a good thing most of the
time.  If you have any tips for actually doing it I suspect half of us
on the list would benefit.  :)

I guess one thing I like about web conferencing is not using the
camera and then nobody thinks about the fact that I never look at
their faces...

-- 
Rich



Re: [gentoo-user] Idea for Videoconferencing (Video part)

2020-04-03 Thread Petric Frank
Hello Ralph,

Am Freitag, 3. April 2020, 17:41:20 CEST schrieb Ralph Seichter:
> * Petric Frank:
> > Problem: Usually the camera is outside of the screen. The user normally
> > looks at the screen. As result the communication partner(s) see him not
> > looking at the camera.
>
> It may be bothering you, but that's not a problem in any real life
> sense. People can either live with it, knowing the reasons behind it, or
> look into the camera when speaking, if they want to provide an illusion
> of eye contact. Actors have been doing it for ages.

But normal people aren't professional actors. I thought i could be a technical
solution. Making life easier in this corona-days with increasing video
conferences.
I know, many people don't mind. But i think eye contact is a good thing while
working on the screen.

> > Anyone taking the task ?
>
> You are aware it is no longer April the first? :-)

Sure, therefore i've awaited the april fools day passed.

kind regards and keep well
  Petric






Re: [gentoo-user] aggregate logs into Elasticsearch

2020-04-03 Thread Ralph Seichter
* Stefan G. Weichinger:

> My goal:
>
> collect logs of postfix, nginx into the docker-containers running ES,
> Kibana .. and learn my way from there.

If you are not dead-set on Elasticsearch et al, I propose considering
MongoDB as an alternative.

There are syslog Modules that allow logging into MongoDB directly. On
the DB side, collections (roughly equivalent to tables in relational
databases) can be limited by size or by age, meaning that removing older
data will happen automatically if you so wish.

MongoDB also makes it easy to add data from sources with different data
makeup to shared collections, because there is no rigid table structure.

For analysis, MongoDB includes its own Aggregation Framework[1], which
is a very powerful and versatile. While probably not relevant to your
needs right now, It even comes with built-in geolocation search

  [1] https://docs.mongodb.com/manual/core/aggregation-pipeline/

I think very highly of MongoDB and encourage you to look into it as a
possibility and as an interesing technical concept.

-Ralph



Re: [gentoo-user] Idea for Videoconferencing (Video part)

2020-04-03 Thread Ashley Dixon
On Fri, Apr 03, 2020 at 05:41:20PM +0200, Ralph Seichter wrote:
> * Petric Frank:
> 
> > Problem: Usually the camera is outside of the screen. The user normally 
> > looks
> > at the screen. As result the communication partner(s) see him not looking at
> > the camera.
> 
> It may be bothering you, but that's not a problem in any real life
> sense. People can either live with it, knowing the reasons behind it, or
> look into the camera when speaking, if they want to provide an illusion
> of eye contact. Actors have been doing it for ages.

On a lot of news T.V.\ channels, they place the camera quite far away from the
newsreader, making it almost impossible to notice they are looking at the
teleprompter, instead of directly into the lens. Maybe that would be a solution
to this pressing issue ?

Alternatively, dark glasses could be used, or even better, glasses with painted
eyes on them from the local joke shop. If you were feeling sadistic and wanted
to further the misalignment, how about glasses with spring-loaded eyes ?

-- 

Ashley Dixon
suugaku.co.uk

2A9A 4117
DA96 D18A
8A7B B0D2
A30E BF25
F290 A8AA



signature.asc
Description: PGP signature


Re: [gentoo-user] Idea for Videoconferencing (Video part)

2020-04-03 Thread Ralph Seichter
* Petric Frank:

> Problem: Usually the camera is outside of the screen. The user normally looks
> at the screen. As result the communication partner(s) see him not looking at
> the camera.

It may be bothering you, but that's not a problem in any real life
sense. People can either live with it, knowing the reasons behind it, or
look into the camera when speaking, if they want to provide an illusion
of eye contact. Actors have been doing it for ages.

> Anyone taking the task ?

You are aware it is no longer April the first? :-)

-Ralph



Re: [gentoo-user] Re: SDD, what features to look for and what to avoid.

2020-04-03 Thread Dale
Frank Steinmetzger wrote:
> On Thu, Apr 02, 2020 at 09:45:58AM -0500, Dale wrote:
>> Grant Edwards wrote:
>>> On 2020-04-02, Dale  wrote:
>>>
 Oooo.  That nvme speed is fss.
 Do you happen to have the OS on that and if so, just how fast does it go
 from BIOS or Grub to bootup complete? I'm almost scared to ask. o_O
>>> I've been wondering if older fairly generic motherboards (7-8 years
>>> old) from the likes of Asrock would be able to boot from an NVMe card
>>> using a PCIe adapter like this:
>>>
>>> https://www.amazon.com/QNINE-Adapter-Express-Controller-Expansion/dp/B075MDH28Y
>>>
>>> I suspect not...
>>>
>>> --
>>> Grant
>> I have a Gigabyte 970 that is only a few years old and it doesn't
>> support it.  I wish it did.
> Well, raw throughput is great ’n all, but in real-life you won’t notice much
> difference between a SATA and an NVME drive. The bottleneck quickly becomes
> the CPU again during boot or loading more complex applications (browser,
> office). The biggest improvement in those situation comes from the fast
> “seeking” and reading of many small files. HDDs are at a big disatvantage
> here due to their moving head and mechanical seeking.
>
> In fact I doubt you have many use cases for reading many gigabytes at a time
> over and over again every day without much CPU overhead, like video editing
> (loading previews in 4K or 8K), copying, archiving, checksumming and so on.
>
> Due to their immense speed, those NVMEs also tend to heat up quite a bit
> under load, eventually leading to throttling. So from a practical POV, and
> since you’re on a budget, I suggest cutting cost by staying with SATA.
>


Yea, I don't see me getting a nvme anyway.  They kind of pricey.  While
fast, I have more time than I do money.  I do try to keep my rig in a
good place as far as age tho.  I may try to upgrade my mobo in a couple
years but stick with my current CPU and memory.  Mobos do go bad with
age, I've read about caps blowing their top and stinking up a room quite
well. 

While I don't edit videos, I do have several terabytes of video.  I
mostly just play them tho and they play fine with no skipping or
anything so what I got is plenty fast for that.  I mostly just want the
OS itself on something faster but also newer since that HDD I have now
has some age on it. 

I still find the nvmes interestingly fast.  Wow!!

Dale

:-)  :-) 

P. S. My top fan in my Cooler Master HAF-932 case got stuck the other
day.  It stopped spinning and gkrellm was kind enough to let me know
that.  I took it out, oiled it good and it works fine again.  I also
oiled the side fan and the front fan.  I got some high dollar gun oil I
use for those.  It's super slick, handles a wide range of temps and
lasts for ages.  I've used it in several fans.  Even my old CPU cooler
fan still runs.  I replaced it over a year ago.  I use the old one to
dry counter tops, dishes and cool batteries I'm charging. 



Re: [gentoo-user] Re: SDD, what features to look for and what to avoid.

2020-04-03 Thread Frank Steinmetzger
On Thu, Apr 02, 2020 at 09:45:58AM -0500, Dale wrote:
> Grant Edwards wrote:
> > On 2020-04-02, Dale  wrote:
> >
> >> Oooo.  That nvme speed is fss.
> >> Do you happen to have the OS on that and if so, just how fast does it go
> >> from BIOS or Grub to bootup complete? I'm almost scared to ask. o_O
> > I've been wondering if older fairly generic motherboards (7-8 years
> > old) from the likes of Asrock would be able to boot from an NVMe card
> > using a PCIe adapter like this:
> >
> > https://www.amazon.com/QNINE-Adapter-Express-Controller-Expansion/dp/B075MDH28Y
> >
> > I suspect not...
> >
> > --
> > Grant
> 
> I have a Gigabyte 970 that is only a few years old and it doesn't
> support it.  I wish it did.

Well, raw throughput is great ’n all, but in real-life you won’t notice much
difference between a SATA and an NVME drive. The bottleneck quickly becomes
the CPU again during boot or loading more complex applications (browser,
office). The biggest improvement in those situation comes from the fast
“seeking” and reading of many small files. HDDs are at a big disatvantage
here due to their moving head and mechanical seeking.

In fact I doubt you have many use cases for reading many gigabytes at a time
over and over again every day without much CPU overhead, like video editing
(loading previews in 4K or 8K), copying, archiving, checksumming and so on.

Due to their immense speed, those NVMEs also tend to heat up quite a bit
under load, eventually leading to throttling. So from a practical POV, and
since you’re on a budget, I suggest cutting cost by staying with SATA.

-- 
Gruß | Greetings | Qapla’
Please do not share anything from, with or about me on any social network.

“He doesn’t know how to use the three seashells!”


signature.asc
Description: PGP signature


[gentoo-user] Unstable package "xfce-base/xfce4-session-4.14.2" segfaults

2020-04-03 Thread Dr Rainer Woitok
Greetings,

when I installed my first Gentoo system on my laptop back in September I
had to accept the  "~amd64" keyword  for quite a few "xfce-*/*" packages
due to stable versions not being available at all for some packages, and
due to several of these unstable packages requiring unstable versions of
their dependencies.  But it worked, at least until recently:

After a routine upgrade of Gentoo  I could no longer hibernate nor susp-
end my laptop.   Rather I was simply confronted  with a new login screen
and my former session was gone completely.   After I found the following
in "/var/log/syslog"

   Apr  3 13:37:16 tux kernel: xfce4-session[11142]: segfault at 8 ip 
55eff2f87539 sp 7ffc8409e470 error 4 in 
xfce4-session[55eff2f75000+1c000]
   Apr  3 13:37:16 tux kernel: Code: 48 8d 35 fa e6 00 00 48 8d 3d b0 9d 00 00 
e8 be dc fe ff 31 c0 eb c2 66 2e 0f 1f 84 00 00 00 00 00 48 8b 04 24 31 f6 4c 
89 ef <48> 8b 50 08 31 c0 e8 cc b2 ff ff 4c 89 e7 e8 24 f3 fe ff b8 01 00
   Apr  3 13:37:16 tux lightdm[9818]: pam_unix(lightdm:session): session closed 
for user rainer
   Apr  3 13:37:16 tux polkitd[5036]: Unregistered Authentication Agent for 
unix-session:/org/freedesktop/ConsoleKit/Session2 (system bus name :1.42, 
object path /org/gnome/PolicyKit1/AuthenticationAgent, locale en_GB.utf8) 
(disconnected from bus)
   Apr  3 13:37:16 tux sudo[4135]: pam_unix(sudo:session): session closed for 
user root

I checked the "emerge" logs,  and sure enough package  "xfce-base/xfce4-
session" had just been  upgraded to new  unstable version 4.14.2.   So I
again downgraded it  to version 4.14.1 (which meanwhile  is stable), and
the problem went away.

Thus in case any of you  is using the currently unstable  version 4.14.2
of package "xfce-base/xfce4-session", beware!

Sincerely,
  Rainer



Re: [gentoo-user] portage: how to inhibit binary distribution [RESOLVED]

2020-04-03 Thread Ashley Dixon
On Fri, Apr 03, 2020 at 04:29:43PM +0200, n952162 wrote:
> Okay, I discovered that
> 
> /var/db/pkg/app-crypt/gnugp*/CONTENTS
> 
> is, apparently the contents of the package *after* building - I don't
> find /usr/bin/gpg in the tarball.

That's just meta-data for Portage. You're probably looking for
/var/cache/distfiles/ if you want the sources of downloaded packages.

-- 

Ashley Dixon
suugaku.co.uk

2A9A 4117
DA96 D18A
8A7B B0D2
A30E BF25
F290 A8AA



signature.asc
Description: PGP signature


[gentoo-user] portage: how to inhibit binary distribution [RESOLVED]

2020-04-03 Thread n952162

Okay, I discovered that

/var/db/pkg/app-crypt/gnugp*/CONTENTS

is, apparently the contents of the package *after* building - I don't
find /usr/bin/gpg in the tarball.


Re: [gentoo-user] Firefox 68.6.0-r3 local URL parsing is borked?

2020-04-03 Thread Michael
On Thursday, 2 April 2020 12:33:33 BST Michael wrote:
> Something changed in the Gentoo /usr/bin/firefox script and parsing URLs
> with spaces in the file name fails to escape the spaces and opens all sort
> tabs while trying to resolve/search for each part of the URL string.
> 
> Using /usr/lib64/firefox/firefox seems to parse the path correctly (when
> called from a local firefox.desktop file).
> 
> This looks like a bug to me, but have you noticed something similar with
> Firefox 68.6.0-r3?

Fixed in 68.6.0-r4.  Saved me reporting a bug.  ;-)


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


[gentoo-user] aggregate logs into Elasticsearch

2020-04-03 Thread Stefan G. Weichinger


I am trying my first steps to collect and aggregate logs into a
elasticsearch/kibana combo.

I have them in a docker-compose stack and want to collect nginx and
postfix logs for a start.

So far I am confused by stuff like filebeat, logstash, fluentd ... brrr

Could someone explain or even share some config files? How to set that
up without dozens of packages installed etc (fluentd pulls a lot of
packages, for example).

My goal:

collect logs of postfix, nginx into the docker-containers running ES,
Kibana .. and learn my way from there.

thanks, Stefan



Re: [gentoo-user] Idea for Videoconferencing (Video part)

2020-04-03 Thread Ashley Dixon
On Fri, Apr 03, 2020 at 11:16:01AM +0200, Petric Frank wrote:
> Idea: Use two cameras positioned left and right or top and bottom of the
> screen. Combine the two video streams and generate a third stream having a
> virtual camera positioned at the middle of the screen.

How about looking at the camera when you're talking, and looking at the screen
only when absolutely required ? This isn't really a computing issue, but more
one of basic etiquette.

If you were in a real meeting and you had some documents in front of you, I
would think it superfluous to use technology to average out the position of your
eyes (which would unlikely work anyway). I very much doubt that anyone would
find it offensive if you failed to constantly stare at them throughout an entire
interaction, and some may even find it off-putting.

-- 

Ashley Dixon
suugaku.co.uk

2A9A 4117
DA96 D18A
8A7B B0D2
A30E BF25
F290 A8AA



signature.asc
Description: PGP signature


[gentoo-user] Idea for Videoconferencing (Video part)

2020-04-03 Thread Petric Frank
Hello,

this is not exactly a gentoo issue. But due i am using gentoo i am asking
here.

Problem: Usually the camera is outside of the screen. The user normally looks
at the screen. As result the communication partner(s) see him not looking at
the camera.

Idea: Use two cameras positioned left and right or top and bottom of the
screen. Combine the two video streams and generate a third stream having a
virtual camera positioned at the middle of the screen.

Result: Better communication. The partners always looking in their eyes. At
the same time the screen contents can be viewed.

Is this description clear enough ?

Sounds that feasible ?

Anyone taking the task ?

Or is there a better place to post such an idea ?

kind regards
  Petric






Re: [gentoo-user] static-libs for sys-libs/zlib and app-arch/bzip2

2020-04-03 Thread Alarig Le Lay
On ven.  3 avr. 00:13:38 2020, Sergei Trofimovich wrote:
> Probably an effect of fixed deps in:
> 
> https://gitweb.gentoo.org/repo/gentoo.git/commit/dev-libs/elfutils?id=261f473f807caef944d126c23438181bdf699d6b
> 
> You probably already have USE=static-libs for elfutils. You need
> to track it down locally.

Ah yes indeed, it was caused by wine. I never noticed it before :p

Thanks,
-- 
Alarig



Re: [gentoo-user] Re: mail cannot send emails (trying to use it with smartd)

2020-04-03 Thread Caveman Al Toraboran
On Thursday, April 2, 2020 6:18 PM, Grant Edwards  
wrote:

> Nullmailer is also a good option with the added bonus of queueing
> outbound mail while you're offline.:

nullmailer is now configured, and test with `echo "Subject: ..." | sendmail -v
m...@dom.com` works.  but, smartd's test mail is not working, with this error:

Apr 03 10:15:09 blah smartd[219171]: Test of  to m...@dom.com 
produced unexpected output (65 bytes) to STDOUT/STDERR:
Apr 03 10:15:09 blah smartd[219171]: mail: cannot send message: Process 
exited with a non-zero status
Apr 03 10:15:09 blah smartd[219171]: Test of  to m...@dom.com: failed 
(32-bit/8-bit exit status: 9216/36)

tried to test `mail` in isolation:

echo "test body" | mail -s "test subj" m...@dom.com --debug-level=3
mail: sendmail binary: /usr/sbin/sendmail
mail: source=system, name=me, passwd=x, uid=1000, gid=1000, gecos=, 
dir=/home/me, shell=/bin/fish, mailbox=.maildir, quota=0, change_uid=1
mail: source=system, name=me, passwd=x, uid=1000, gid=1000, gecos=, 
dir=/home/me, shell=/bin/fish, mailbox=.maildir, quota=0, change_uid=1
mail: mu_mailer_send_message(): using From: me@localhost
mail: Sending headers...
mail: Sending body...
mail: /usr/sbin/sendmail exited with: 1
mail: progmailer error: Process exited with a non-zero status
mail: cannot send message: Process exited with a non-zero status
mail: source=system, name=me, passwd=x, uid=1000, gid=1000, gecos=, 
dir=/home/me, shell=/bin/fish, mailbox=.maildir, quota=0, change_uid=1

i've also monitored `watch -n .1 tree /var/spool/nullmailer/` and verified that
the queue never gets filled with any message when i use the `mail` command
(which, i think, is what `smartd` uses).  but, the queues get filled when i
used `sendmail` by the command in my 1st paragraph.


i like the queue functionality, so it is definitely more suitable for me
than ssmtp.  but i'm disappointed that it requires the service nullmailer
to be running all the time.  it should -imo- run in a triggered way upon
calling sendmail, and should run once at bootup just to check if queue is
not empty.  and, if it runs, and is unable to empty the queue (e.g. due to
no network availability) then it shall remain running until the network is
back and the queue is empty.  but, currently, it seems that the null mailer
is just always running.  disappoint!