Re: [gentoo-user] SSD or MoBo playing up?

2020-06-18 Thread mad . scientist . at . large
You also might try a known good power supply as well.  

You should definitely try the drive on another system if you can't do that, 
and/or try another drive with the current mother board.  With the errors being 
different over time it could easily be nearly any component in the system.  
Symptoms are sometimes misleading, trouble shooting is difficult for most 
people, sometimes even for people who are usually good at it and experienced.  
Root causes are often obscured and failures can propagate in unforeseen ways 
even for the experienced.  Testing suspect components in another system and/or 
substituting known good components into the failing system are the most useful 
for trouble shooting, but you have to remember what you've tested and what it 
suggested and recheck when it doesn't make sense.

-- “The whole world is watching! The whole world is watching!”



Jun 18, 2020, 18:28 by adamcart...@gmail.com:

> On Fri, Jun 19, 2020 at 8:48 AM Michael <> confabul...@kintzios.com> > wrote:
>
>> It started thus:
>>  
>>  Jun 18 17:52:45 asus kernel: ata1.00: exception Emask 0x0 SAct 0x2 SErr 0x0 
>>  action 0x6 frozen
>>  Jun 18 17:52:45 asus kernel: ata1.00: failed command: WRITE FPDMA QUEUED
>>  Jun 18 17:52:45 asus kernel: ata1.00: cmd 
>> 61/20:08:60:f1:90/00:00:02:00:00/40 
>>  tag 1 ncq dma 16384 out\x0a         res 40/00:01:00:4f:c2/00:00:00:00:00/00 
>>  Emask 0x4 (timeout)
>> 
>>
>
> What does smartctl -a /dev/sda report?
>
> Tried replacing the cable?
>




Re: [gentoo-user] SSD or MoBo playing up?

2020-06-18 Thread Adam Carter
On Fri, Jun 19, 2020 at 8:48 AM Michael  wrote:

> It started thus:
>
> Jun 18 17:52:45 asus kernel: ata1.00: exception Emask 0x0 SAct 0x2 SErr
> 0x0
> action 0x6 frozen
> Jun 18 17:52:45 asus kernel: ata1.00: failed command: WRITE FPDMA QUEUED
> Jun 18 17:52:45 asus kernel: ata1.00: cmd
> 61/20:08:60:f1:90/00:00:02:00:00/40
> tag 1 ncq dma 16384 out\x0a res
> 40/00:01:00:4f:c2/00:00:00:00:00/00
> Emask 0x4 (timeout)
> 
>

What does smartctl -a /dev/sda report?

Tried replacing the cable?


Re: [gentoo-user] Anyone willing to share a kernel .config file?

2020-06-18 Thread Adam Carter
On Fri, Jun 19, 2020 at 7:45 AM Andrew Lowe  wrote:

> Hi all,
> I have an AMD Ryzen 7 2700 CPU sitting in a Gigabyte X470 Aurus
> Ultra
> Gaming motherboard with 64GB of RAM and an nVidia graphics card. For
> some reason I've never been happy with the kernels config.
>

Can you post your .config, and also dmesg and .local/share/xorg/Xorg.0.log ?


[gentoo-user] SSD or MoBo playing up?

2020-06-18 Thread Michael
It started thus:

Jun 18 17:52:45 asus kernel: ata1.00: exception Emask 0x0 SAct 0x2 SErr 0x0 
action 0x6 frozen
Jun 18 17:52:45 asus kernel: ata1.00: failed command: WRITE FPDMA QUEUED
Jun 18 17:52:45 asus kernel: ata1.00: cmd 61/20:08:60:f1:90/00:00:02:00:00/40 
tag 1 ncq dma 16384 out\x0a res 40/00:01:00:4f:c2/00:00:00:00:00/00 
Emask 0x4 (timeout)
Jun 18 17:52:45 asus kernel: ata1.00: status: { DRDY }
Jun 18 17:52:45 asus kernel: ata1: hard resetting link
Jun 18 17:52:55 asus kernel: ata1: softreset failed (1st FIS failed)
Jun 18 17:52:55 asus kernel: ata1: hard resetting link
Jun 18 17:53:05 asus kernel: ata1: softreset failed (1st FIS failed)
Jun 18 17:53:05 asus kernel: ata1: hard resetting link
Jun 18 17:53:40 asus kernel: ata1: softreset failed (1st FIS failed)
Jun 18 17:53:40 asus kernel: ata1: limiting SATA link speed to 3.0 Gbps
Jun 18 17:53:40 asus kernel: ata1: hard resetting link
Jun 18 17:53:45 asus kernel: ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 
320)
Jun 18 17:53:45 asus kernel: ata1.00: link online but device misclassified
Jun 18 17:53:51 asus kernel: ata1.00: qc timeout (cmd 0xec)
Jun 18 17:53:51 asus kernel: ata1.00: failed to IDENTIFY (I/O error, 
err_mask=0x4)
Jun 18 17:53:51 asus kernel: ata1.00: revalidation failed (errno=-5)
Jun 18 17:53:51 asus kernel: ata1: hard resetting link
Jun 18 17:54:01 asus kernel: ata1: softreset failed (1st FIS failed)
Jun 18 17:54:01 asus kernel: ata1: hard resetting link
Jun 18 17:54:11 asus kernel: ata1: softreset failed (1st FIS failed)
Jun 18 17:54:11 asus kernel: ata1: hard resetting link
Jun 18 17:54:46 asus kernel: ata1: softreset failed (1st FIS failed)
Jun 18 17:54:46 asus kernel: ata1: limiting SATA link speed to 1.5 Gbps
Jun 18 17:54:46 asus kernel: ata1: hard resetting link
Jun 18 17:54:51 asus kernel: ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 
310)
Jun 18 17:54:51 asus kernel: ata1.00: link online but device misclassified
Jun 18 17:55:01 asus kernel: ata1.00: qc timeout (cmd 0xec)
Jun 18 17:55:01 asus kernel: ata1.00: failed to IDENTIFY (I/O error, 
err_mask=0x4)
Jun 18 17:55:01 asus kernel: ata1.00: revalidation failed (errno=-5)
Jun 18 17:55:01 asus kernel: ata1: hard resetting link
Jun 18 17:55:11 asus kernel: ata1: softreset failed (1st FIS failed)
[snip ...] 

Jun 18 17:57:32 asus kernel: ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 
310)
Jun 18 17:57:32 asus kernel: ata1.00: link online but device misclassified
Jun 18 17:57:32 asus kernel: ata1: EH complete
Jun 18 17:57:32 asus kernel: sd 0:0:0:0: [sda] tag#15 FAILED Result: 
hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
Jun 18 17:57:32 asus kernel: sd 0:0:0:0: [sda] tag#15 CDB: Write(10) 2a 00 03 
b5 5d 18 00 00 08 00
Jun 18 17:57:32 asus kernel: blk_update_request: I/O error, dev sda, sector 
62217496 op 0x1:(WRITE) flags 0x10 phys_seg 1 prio class 0
Jun 18 17:57:32 asus kernel: BTRFS error (device sda3): bdev /dev/sda3 errs: 
wr 1, rd 0, flush 0, corrupt 0, gen 0
Jun 18 17:57:32 asus kernel: sd 0:0:0:0: [sda] tag#16 FAILED Result: 
hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
Jun 18 17:57:32 asus kernel: sd 0:0:0:0: [sda] tag#16 CDB: Write(10) 2a 00 08 
7b 76 68 00 00 08 00
Jun 18 17:57:32 asus kernel: blk_update_request: I/O error, dev sda, sector 
142308968 op 0x1:(WRITE) flags 0x800 phys_seg 1 prio class 0
Jun 18 17:57:32 asus kernel: BTRFS error (device sda3): bdev /dev/sda3 errs: 
wr 2, rd 0, flush 0, corrupt 0, gen 0
Jun 18 17:57:32 asus kernel: sd 0:0:0:0: [sda] tag#24 FAILED Result: 
hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
Jun 18 17:57:32 asus kernel: sd 0:0:0:0: [sda] tag#17 FAILED Result: 
hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
Jun 18 17:57:32 asus kernel: sd 0:0:0:0: [sda] tag#17 CDB: Write(10) 2a 00 02 
90 f1 60 00 00 20 00
Jun 18 17:57:32 asus kernel: blk_update_request: I/O error, dev sda, sector 
43053408 op 0x1:(WRITE) flags 0x1800 phys_seg 4 prio class 0
Jun 18 17:57:32 asus kernel: sd 0:0:0:0: [sda] tag#24 CDB: ATA command pass 
through(16) 85 06 20 00 00 00 00 00 00 00 00 00 00 00 e5 00
Jun 18 17:57:32 asus kernel: BTRFS error (device sda3): bdev /dev/sda3 errs: 
wr 3, rd 0, flush 0, corrupt 0, gen 0
Jun 18 17:57:32 asus kernel: BTRFS: error (device sda3) in 
btrfs_commit_transaction:2280: errno=-5 IO failure (Error while writing out 
transaction)
Jun 18 17:57:32 asus kernel: BTRFS info (device sda3): forced readonly
Jun 18 17:57:32 asus kernel: BTRFS warning (device sda3): Skipping commit of 
aborted transaction.
Jun 18 17:57:32 asus kernel: BTRFS: error (device sda3) in 
cleanup_transaction:1832: errno=-5 IO failure
Jun 18 17:57:32 asus kernel: BTRFS info (device sda3): delayed_refs has NO 
entry
Jun 18 17:57:32 asus kernel: sd 0:0:0:0: [sda] tag#18 FAILED Result: 
hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
Jun 18 17:57:32 asus kernel: sd 0:0:0:0: [sda] tag#18 CDB: Read(10) 28 00 01 
2b 3b c0 00 00 20 00
Jun 18 17:57:32 asus kernel: blk_update_request: I/O error, dev sda, sector 
19610560 op 0x0:(READ) flags 0x100

Re: [gentoo-user] Anyone willing to share a kernel .config file?

2020-06-18 Thread Jack

On 2020.06.18 17:45, Andrew Lowe wrote:

Hi all,
	I have an AMD Ryzen 7 2700 CPU sitting in a Gigabyte X470 Aurus  
Ultra Gaming motherboard with 64GB of RAM and an nVidia graphics  
card. For some reason I've never been happy with the kernels config.  
Considering the grunt this thing should have, I am seeing nothing  
like what I would expect. By way of example, if I am running a vid  
through VLC on one screen and get Firefox to create a new tab within  
the browser on another screen, the video in VLC freezes for several  
seconds. Other things freeze when I think they shouldn't be.


	I know this problem could be related to Qt, KDE, VLC, Firefox  
etc, but I think I will take this opportunity to check that my  
foundations, the kernel, are solid in the first place before I start  
looking at other stuff.


	Does anyone have a physical configuration like mine, and that  
they think runs well, and are willing to share the .config file?


Regards,
Andrew
Ryzen 5 2600 on an MSI B350 Tomahawk.  I know I get full use of all  
cores/threads (6/12).  Video is ATI - let me know if you want more  
details about that or anything else.\


Jack#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 5.7.2-gentoo Kernel Configuration
#

#
# Compiler: gcc (Gentoo 10.1.0 p1) 10.1.0
#
CONFIG_CC_IS_GCC=y
CONFIG_GCC_VERSION=100100
CONFIG_LD_VERSION=23301
CONFIG_CLANG_VERSION=0
CONFIG_CC_CAN_LINK=y
CONFIG_CC_HAS_ASM_GOTO=y
CONFIG_CC_HAS_ASM_INLINE=y
CONFIG_IRQ_WORK=y
CONFIG_BUILDTIME_TABLE_SORT=y
CONFIG_THREAD_INFO_IN_TASK=y

#
# General setup
#
CONFIG_INIT_ENV_ARG_LIMIT=32
# CONFIG_COMPILE_TEST is not set
CONFIG_LOCALVERSION="-x86_64-01"
# CONFIG_LOCALVERSION_AUTO is not set
CONFIG_BUILD_SALT=""
CONFIG_HAVE_KERNEL_GZIP=y
CONFIG_HAVE_KERNEL_BZIP2=y
CONFIG_HAVE_KERNEL_LZMA=y
CONFIG_HAVE_KERNEL_XZ=y
CONFIG_HAVE_KERNEL_LZO=y
CONFIG_HAVE_KERNEL_LZ4=y
CONFIG_KERNEL_GZIP=y
# CONFIG_KERNEL_BZIP2 is not set
# CONFIG_KERNEL_LZMA is not set
# CONFIG_KERNEL_XZ is not set
# CONFIG_KERNEL_LZO is not set
# CONFIG_KERNEL_LZ4 is not set
CONFIG_DEFAULT_HOSTNAME="(none)"
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
CONFIG_SYSVIPC_SYSCTL=y
CONFIG_POSIX_MQUEUE=y
CONFIG_POSIX_MQUEUE_SYSCTL=y
CONFIG_CROSS_MEMORY_ATTACH=y
CONFIG_USELIB=y
CONFIG_AUDIT=y
CONFIG_HAVE_ARCH_AUDITSYSCALL=y
CONFIG_AUDITSYSCALL=y

#
# IRQ subsystem
#
CONFIG_GENERIC_IRQ_PROBE=y
CONFIG_GENERIC_IRQ_SHOW=y
CONFIG_GENERIC_IRQ_EFFECTIVE_AFF_MASK=y
CONFIG_GENERIC_PENDING_IRQ=y
CONFIG_GENERIC_IRQ_MIGRATION=y
CONFIG_HARDIRQS_SW_RESEND=y
CONFIG_IRQ_DOMAIN=y
CONFIG_IRQ_DOMAIN_HIERARCHY=y
CONFIG_GENERIC_MSI_IRQ=y
CONFIG_GENERIC_MSI_IRQ_DOMAIN=y
CONFIG_IRQ_MSI_IOMMU=y
CONFIG_GENERIC_IRQ_MATRIX_ALLOCATOR=y
CONFIG_GENERIC_IRQ_RESERVATION_MODE=y
CONFIG_IRQ_FORCED_THREADING=y
CONFIG_SPARSE_IRQ=y
# CONFIG_GENERIC_IRQ_DEBUGFS is not set
# end of IRQ subsystem

CONFIG_CLOCKSOURCE_WATCHDOG=y
CONFIG_ARCH_CLOCKSOURCE_INIT=y
CONFIG_CLOCKSOURCE_VALIDATE_LAST_CYCLE=y
CONFIG_GENERIC_TIME_VSYSCALL=y
CONFIG_GENERIC_CLOCKEVENTS=y
CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y
CONFIG_GENERIC_CLOCKEVENTS_MIN_ADJUST=y
CONFIG_GENERIC_CMOS_UPDATE=y

#
# Timers subsystem
#
CONFIG_TICK_ONESHOT=y
CONFIG_NO_HZ_COMMON=y
# CONFIG_HZ_PERIODIC is not set
CONFIG_NO_HZ_IDLE=y
# CONFIG_NO_HZ_FULL is not set
CONFIG_NO_HZ=y
CONFIG_HIGH_RES_TIMERS=y
# end of Timers subsystem

# CONFIG_PREEMPT_NONE is not set
CONFIG_PREEMPT_VOLUNTARY=y
# CONFIG_PREEMPT is not set

#
# CPU/Task time and stats accounting
#
CONFIG_TICK_CPU_ACCOUNTING=y
# CONFIG_VIRT_CPU_ACCOUNTING_GEN is not set
# CONFIG_IRQ_TIME_ACCOUNTING is not set
# CONFIG_SCHED_THERMAL_PRESSURE is not set
CONFIG_BSD_PROCESS_ACCT=y
# CONFIG_BSD_PROCESS_ACCT_V3 is not set
CONFIG_TASKSTATS=y
CONFIG_TASK_DELAY_ACCT=y
CONFIG_TASK_XACCT=y
CONFIG_TASK_IO_ACCOUNTING=y
# CONFIG_PSI is not set
# end of CPU/Task time and stats accounting

CONFIG_CPU_ISOLATION=y

#
# RCU Subsystem
#
CONFIG_TREE_RCU=y
# CONFIG_RCU_EXPERT is not set
CONFIG_SRCU=y
CONFIG_TREE_SRCU=y
CONFIG_RCU_STALL_COMMON=y
CONFIG_RCU_NEED_SEGCBLIST=y
# end of RCU Subsystem

CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
# CONFIG_IKHEADERS is not set
CONFIG_LOG_BUF_SHIFT=18
CONFIG_LOG_CPU_MAX_BUF_SHIFT=12
CONFIG_PRINTK_SAFE_LOG_BUF_SHIFT=13
CONFIG_HAVE_UNSTABLE_SCHED_CLOCK=y

#
# Scheduler features
#
# CONFIG_UCLAMP_TASK is not set
# end of Scheduler features

CONFIG_ARCH_SUPPORTS_NUMA_BALANCING=y
CONFIG_ARCH_WANT_BATCHED_UNMAP_TLB_FLUSH=y
CONFIG_CC_HAS_INT128=y
CONFIG_ARCH_SUPPORTS_INT128=y
# CONFIG_NUMA_BALANCING is not set
CONFIG_CGROUPS=y
# CONFIG_MEMCG is not set
# CONFIG_BLK_CGROUP is not set
CONFIG_CGROUP_SCHED=y
CONFIG_FAIR_GROUP_SCHED=y
# CONFIG_CFS_BANDWIDTH is not set
# CONFIG_RT_GROUP_SCHED is not set
# CONFIG_CGROUP_PIDS is not set
# CONFIG_CGROUP_RDMA is not set
CONFIG_CGROUP_FREEZER=y
# CONFIG_CGROUP_HUGETLB is not set
CONFIG_CPUSETS=y
CONFIG_PROC_PID_CPUSET=y
# CONFIG_CGROUP_DEVICE is not set
CONFIG_CGROUP_CPUACCT=y
# CONFIG_CGROUP_PERF is not set
# CONFIG_CGROUP_DEBUG is not set
CONFIG_NAMESPA

Re: [gentoo-user] Anyone willing to share a kernel .config file?

2020-06-18 Thread Dale
Andrew Lowe wrote:
> Hi all,
> I have an AMD Ryzen 7 2700 CPU sitting in a Gigabyte X470 Aurus
> Ultra Gaming motherboard with 64GB of RAM and an nVidia graphics card.
> For some reason I've never been happy with the kernels config.
> Considering the grunt this thing should have, I am seeing nothing like
> what I would expect. By way of example, if I am running a vid through
> VLC on one screen and get Firefox to create a new tab within the
> browser on another screen, the video in VLC freezes for several
> seconds. Other things freeze when I think they shouldn't be.
>
> I know this problem could be related to Qt, KDE, VLC, Firefox etc,
> but I think I will take this opportunity to check that my foundations,
> the kernel, are solid in the first place before I start looking at
> other stuff.
>
> Does anyone have a physical configuration like mine, and that they
> think runs well, and are willing to share the .config file?
>
> Regards,
>     Andrew
>
>


I'd check to make sure that all core/threads are operational.  It could
be that for some reason only one core is actually running.  One way to
test that, start compiling gcc or something and run htop.  If setup
right, it will display a bar graph for each core/thread.  If you don't
see the number that you should, then yea, the kernel config could be a
issue or the mobo settings one. 

I'm sure someone with a similar setup will share a config soon.  Just
something you might want to check in the meantime. 

Dale

:-)  :-) 


[gentoo-user] Anyone willing to share a kernel .config file?

2020-06-18 Thread Andrew Lowe

Hi all,
	I have an AMD Ryzen 7 2700 CPU sitting in a Gigabyte X470 Aurus Ultra 
Gaming motherboard with 64GB of RAM and an nVidia graphics card. For 
some reason I've never been happy with the kernels config. Considering 
the grunt this thing should have, I am seeing nothing like what I would 
expect. By way of example, if I am running a vid through VLC on one 
screen and get Firefox to create a new tab within the browser on another 
screen, the video in VLC freezes for several seconds. Other things 
freeze when I think they shouldn't be.


	I know this problem could be related to Qt, KDE, VLC, Firefox etc, but 
I think I will take this opportunity to check that my foundations, the 
kernel, are solid in the first place before I start looking at other stuff.


	Does anyone have a physical configuration like mine, and that they 
think runs well, and are willing to share the .config file?


Regards,
Andrew



Re: [gentoo-user] old kernel on Gentoo

2020-06-18 Thread james

On 6/18/20 4:02 PM, Rich Freeman wrote:

On Thu, Jun 18, 2020 at 3:35 PM james  wrote:


I use a 3.18.40 kernel, currently, on one of my AMD systems. It has
thousands of source build packages, not only from portage but many others.


Keep in mind that you're running a non-longterm kernel, which means
that if there is a known regression or security issue in your kernel,
a kernel update to fix it wouldn't be provided upstream.

If you were running 3.16 or 4.4 you would get these updates.  If you
plan to stick with a kernel for a very long time you should try to
pick one that is designated as a longterm kernel.  3.16.85 was
released just a week ago.  It obviously doesn't get very frequent
updates, but if something important comes along they'll release a fix.
I'd have to check the timelines but you might have unmitigated Spectre
vulnerabilities in that kernel.

Also, you mention AMD.  If you happen to be using a Ryzen processor
there were a number of updates to the kernel to better support it.  I
forget which kernels have these but if you don't have those patches
you'd probably benefit from an upgrade.  If you have a pre-Ryzen CPU
then that won't matter much.

I completely agree that you can get away with a longterm kernel and
there are a lot of reasons for doing so.  I just recommend sticking
with one that actually is supported.



Agreed. It just happened that way; no planning Yep all of the 
embedded devices where pre-Ryzen, as well at the amd-15 chipsets of the 
old hosts, where a plethora of codes live.


Definitely not suggesting that pathway and I never intended to get that 
deep into embedded; it just happened. I was just trying to 'inspire' 
folks on older codes and such.


In an ideal life, I'd be getting a HH-50!

https://www.hhcatamarans.com/hh50


Harboring it  on Sugarloaf Key (east) of Key West a few miles)  and 
forgetting how to spell Gentoo. Of coarse that would mean I'd have to 
have a few (coding) youngsters that like the aero-nautical life style. I 
rarely get to live out a properly planned life. My Gentoo Foo is 
definitely a mess...


https://www.zillow.com/homedetails/57-Palm-Dr-Key-West-FL-33040/2101168547_zpid/?mmlb=g,0

For me, HOPE is a dream, being totally (gentoo and codes) ORGANIZED; 
wishful thinking.



Thank you Rich,

James



Re: [gentoo-user] old kernel on Gentoo

2020-06-18 Thread Rich Freeman
On Thu, Jun 18, 2020 at 3:35 PM james  wrote:
>
> I use a 3.18.40 kernel, currently, on one of my AMD systems. It has
> thousands of source build packages, not only from portage but many others.

Keep in mind that you're running a non-longterm kernel, which means
that if there is a known regression or security issue in your kernel,
a kernel update to fix it wouldn't be provided upstream.

If you were running 3.16 or 4.4 you would get these updates.  If you
plan to stick with a kernel for a very long time you should try to
pick one that is designated as a longterm kernel.  3.16.85 was
released just a week ago.  It obviously doesn't get very frequent
updates, but if something important comes along they'll release a fix.
I'd have to check the timelines but you might have unmitigated Spectre
vulnerabilities in that kernel.

Also, you mention AMD.  If you happen to be using a Ryzen processor
there were a number of updates to the kernel to better support it.  I
forget which kernels have these but if you don't have those patches
you'd probably benefit from an upgrade.  If you have a pre-Ryzen CPU
then that won't matter much.

I completely agree that you can get away with a longterm kernel and
there are a lot of reasons for doing so.  I just recommend sticking
with one that actually is supported.

-- 
Rich



Re: [gentoo-user] old kernel on Gentoo

2020-06-18 Thread james

On 6/17/20 12:52 PM, Raffaele BELARDI wrote:

Hello,

I might need to build and run an old 3.x kernel on a Desktop PC for some 
very specific tests. Would Gentoo be a good solution?


I see that currently gentoo-sources only includes 4.x and 5.x sources.

Thanks,

raffaele



I use a 3.18.40 kernel, currently, on one of my AMD systems. It has 
thousands of source build packages, not only from portage but many others.


Occasionally, I have to use another AMD system, with a newer kernel. I 
have many old codes, centric to a version 3 of the kernel, that would be 
a massive pita to move to a 5 version of the kernel. There are plans, as 
many are related to hybrid-optimized cluster that are NOT centric to the 
popular cluster codes.


Home made 'systolic array processing' is just one legacy collective of 
old codes, I still use.



Many embedded (gentoo) devs still use very old linux kernels for a wide 
variety of reasons. Products often developed do not change much, except 
to update the firmware for a strong reason.


Thousands (millions?) of companies use very old linux codes, including 
kernels for a plethora or reason. They just do not publish it. The old 
stuff, if beautiful compared to much of the bloat-ware we have today. 
From linux kernels to cluster*.  I still run codes on 386/486 machines, 
just for grins and as a seed for codes that are minimized. IoT from the 
big vendors is so bloated, they cannot even find  problems. Old embedded 
(gentoo) linux codes run so fast, reliable and easy to collect 
performance data. You go down this path, its a game-changer. An 
addition, as minimalist coding and small, secure executables are an 
artform. Most of the semiconductor manufactures, are *ALWAYS* looking 
for those types of coders.  Hello (TI)!


So, YES old gentoo is very alive amongst minimalist and corporations. 
ymmv. I've run into many that keep incredicle trees of old, reliable 
codes. They are often much easier for an EE to use in verification of 
functions, Micro-Controllers, FPGA, etc etc etc.



hth,
James



RE: [gentoo-user] old kernel on Gentoo

2020-06-18 Thread Raffaele BELARDI
> -Original Message-
> From: Michael 
> Sent: Wednesday, June 17, 2020 21:45
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] old kernel on Gentoo
> 
> On Wednesday, 17 June 2020 18:36:51 BST J. Roeleveld wrote:
> > On 17 June 2020 18:52:49 CEST, Raffaele BELARDI
> > 
> wrote:
> > >Hello,
> > >
> > >I might need to build and run an old 3.x kernel on a Desktop PC for
> > >some very specific tests. Would Gentoo be a good solution?
> > >I see that currently gentoo-sources only includes 4.x and 5.x sources.
> > >
> > >Thanks,
> > >
> > >raffaele
> >
> > Not entirely certain userspace will be supported, but it shouldn't be
> > too difficult to test.
> >
> > --
> > Joost
> 
> Have a look here:
> 
> https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-
> kernel/gentoo-sources/?hideattic=0
> 
> However, unless you replicate a system from back then you will be trying to
> build old sources with a new toolchain.  Perhaps it would be easier to fetch

Yes, that is my main worry. I guess there is no way to tell unless you try.

> an old minimal CD with a 3 series kernel, or for a ready made OS and kernel
> into one, see if you can dig out some older Debian release?



Re: [gentoo-user] MS-Teams on XFCE4/Gentoo

2020-06-18 Thread Jack

On 6/18/20 7:03 AM, Dr Rainer Woitok wrote:

On Thursday, 2020-06-18 09:32:35 +0100, you wrote:

...
Am I getting old or do others also wish they could just get a text howto
instead of watching a video every time they want to do something new?

Don't know anything about your age  ...  but you should know  you're not
alone ... :-)

Apparently coolness is meanwhile dominating reason ... :-/


This is a real sore point for me.  Especially with organizations that 
talk about Diversity, but ignore diversity, particularly of learning style.


Jack





Re: [gentoo-user] MS-Teams on XFCE4/Gentoo

2020-06-18 Thread J. Roeleveld
On Thursday, June 18, 2020 1:35:31 PM CEST Neil Bothwick wrote:
> On Thu, 18 Jun 2020 13:03:19 +0200, J. Roeleveld wrote:
> > I could really do with some help here.
> > All the videos I find either require a green-screen behind me (which is
> > not going to work) or an additional tool in between that adds a virtual
> > green screen.
> 
> I cheated, I used a "green" screen - it doesn't have to be green, just a
> consistent colour that doesn't appear in your foreground image.

It will be difficult to mount a big sheet behind me, but I managed to get some 
transparency (eg. hiding my background) using:

first:
Luma Key (both max sliders all the way to the right, and both min sliders all 
the way to the left)

second:
color key
- I chose white as colour (#ff)
- then the values as follows (top to bottom): 366 , 50 , 100 , 0.00 , 0.00 , 
0.00

third:
crop/pad to reduce the image to only show me and a little around it


If I then add an image (chose a random one) as 2nd source, my background is 
really difficult to identify, but I can be identified.

I think my face would be better if I would be less pale, but for now, I am 
happy with the result.

--
Joost





Re: [gentoo-user] MS-Teams on XFCE4/Gentoo

2020-06-18 Thread Neil Bothwick
On Thu, 18 Jun 2020 13:03:19 +0200, J. Roeleveld wrote:

> I could really do with some help here.
> All the videos I find either require a green-screen behind me (which is
> not going to work) or an additional tool in between that adds a virtual
> green screen.

I cheated, I used a "green" screen - it doesn't have to be green, just a
consistent colour that doesn't appear in your foreground image.


-- 
Neil Bothwick

Experience is directly proportional to the value of equipment destroyed.


pgpg2PZ_zm4N_.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] MS-Teams on XFCE4/Gentoo

2020-06-18 Thread Dr Rainer Woitok
Neil,

On Thursday, 2020-06-18 09:32:35 +0100, you wrote:

> ...
> Am I getting old or do others also wish they could just get a text howto
> instead of watching a video every time they want to do something new?

Don't know anything about your age  ...  but you should know  you're not
alone ... :-)

Apparently coolness is meanwhile dominating reason ... :-/

Sincerely,
  Rainer



Re: [gentoo-user] MS-Teams on XFCE4/Gentoo

2020-06-18 Thread J. Roeleveld
On Thursday, June 18, 2020 12:29:24 PM CEST Neil Bothwick wrote:
> On Thu, 18 Jun 2020 10:37:39 +0200, J. Roeleveld wrote:
> > > The homepage has clear instructions for setting it up. For doing the
> > > background replacement in OBS, I googled and found some Youtube
> > > videos.
> > 
> > Great, watching youtube for the guide...
> > Will start googling, did you bookmark them?
> 
> No I didn't, and there are a few in my history. I took my usual approach
> with Youtube guides and picked the shortest one first.

Neil,

I could really do with some help here.
All the videos I find either require a green-screen behind me (which is not 
going to work) or an additional tool in between that adds a virtual green 
screen.

How did you configure the filters to add a different background picture? Some 
screenshots would be helpful.

--
Joost






Re: [gentoo-user] MS-Teams on XFCE4/Gentoo

2020-06-18 Thread Neil Bothwick
On Thu, 18 Jun 2020 10:37:39 +0200, J. Roeleveld wrote:

> > The homepage has clear instructions for setting it up. For doing the
> > background replacement in OBS, I googled and found some Youtube
> > videos.  
> 
> Great, watching youtube for the guide...
> Will start googling, did you bookmark them?

No I didn't, and there are a few in my history. I took my usual approach
with Youtube guides and picked the shortest one first.


-- 
Neil Bothwick

"Logic will get you from A to B. Imagination will take you everywhere."
 (Albert Einstein)


pgp6gkftIcSZT.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] MS-Teams on XFCE4/Gentoo

2020-06-18 Thread J. Roeleveld
On Thursday, June 18, 2020 10:37:39 AM CEST J. Roeleveld wrote:
> On Thursday, June 18, 2020 10:32:35 AM CEST Neil Bothwick wrote:
> > On Thu, 18 Jun 2020 10:21:12 +0200, J. Roeleveld wrote:
> > > > I don't have "media-video/obs-v4l2sink", I do have
> > > > "media-video/obs-studio"
> > > > 
> > > > Is this a typo? Or are you using an overlay?
> > > 
> > > Never mind this, was added recently.
> > > 
> > > Which USE-flags did you use and is there a simple howto somewhere?
> > 
> > The homepage has clear instructions for setting it up. For doing the
> > background replacement in OBS, I googled and found some Youtube videos.
> 
> Great, watching youtube for the guide...
> Will start googling, did you bookmark them?
> 
> > Am I getting old or do others also wish they could just get a text howto
> > instead of watching a video every time they want to do something new?
> 
> I prefer text-howto's over videos. Makes it easier to go through it at my
> own pace and rewinding/pausing text is soo much simpler than on youtube
> where it keeps adding adverts in the middle of an explanation.
> 
> --
> Joost

Managed to get the video working through OBS. I did notice that if the 
resolution is too large, I get a black screen.

The largest I managed to get working is 640x360.

Bill, you might be able to get video by sending it through OBS as well?

I unmasked "media-video/obs-studio" and "media-video/obs-v4l2sink"
(Latest version, except for )

Don't forget to apply the patch Neil mentioned in his email.

I added the "v4l" USE-flag to "media-video/obs-studio"


When all is installed, load the v4l2loopback driver with:

# modprobe v4l2loopback exclusive_caps=1 video_nr=5 card_label="loopback"

Then start OBS:
# obs

In settings, set "output (scaled) resolution" to 640x360 (You can find this 
under "VIDEO")

Add your real webcam as video-source (set resolution to 640x360 if at all 
possible, OBS will scale on the fly if necessary.

Start the V4L2 sink by:
Tools -> V4L2 Video Ouput

Set " /dev/video5 " as device and format " YUV420 "

Then start "teams" and select "loopback" as the video-device.

For me, this worked.

Now only to find out how to add a different background and do other silly 
things.

--
Joost






Re: [gentoo-user] virtualbox in headless configuration broken after update: delayed echo [ RESOLVED, kinda ]

2020-06-18 Thread Michael
On Thursday, 18 June 2020 00:09:45 BST William Kenworthy wrote:
> On 18/6/20 3:55 am, J. Roeleveld wrote:
> > On 17 June 2020 21:32:19 CEST, Michael  wrote:
> >> On Wednesday, 17 June 2020 18:31:42 BST J. Roeleveld wrote:
> >>> On 17 June 2020 19:01:54 CEST, Michael 
> > 
> > This brings another problem I have with KVM/QEMU: all howtos and documents
> > I find show long commandline options to just start the VM. I have not
> > found one where I can provide all the config in a single file and use
> > that. Allowing me to duplicate settings by simply copying the file and
> > changing a few lines.
> > 
> > KVM/Qemu seems to be written to be used together with virt-manager which,
> > for me, lacks important features to make it usable in production.
> > 
> > --
> > Joost
> 
> Until a few months ago I was using Qemu/KVM/VirtManager with snapshots
> for linux and Windows VM's running network services - the trick is
> redundancy and suspend.
> 
> Using libvirt, suspend the VM which copies ram to disk, then snapshot
> ((I used btrfs) both the ram and storage and restart the VM - takes
> seconds (so redundancy may be needed) - at this point I backup'ed the
> snapshot and deleted it.

Ahh!  Yes!

I had seen the Virsh command which involves pausing a live image and then 
taking a snapshot of it.  William's pointer makes sense.

However, there is also the option to define a memory file as an object

 '-object memory-backend-file,size=1M,share,mem-path=/dev/shm/blah...'

and this can be attached/detached/migrated/snapshoted/etc between hosts as 
desired.

More details here (search for "Generic object creation"):

https://qemu.readthedocs.io/en/latest/system/invocation.html

> When using snapshots of live systems, I had problems restoring some of
> the more active VM's which this avoids.
> 
> 
> BillK

Perhaps the technique with busy systems, other than pausing > snapshot, could 
involve using a migration of the image to a new location?  As I understand it 
the newly migrated image will take over and start running in place of the old 
image, the moment the migration is completed.

Scratching around I found the way to move an image from a qcow2 file on the 
host fs, to a raw format on a disk/partition.  It is simpler than I thought 
(even with no libvirt):

qemu-img convert -O raw image.qcow2 /dev/sda5

Or, 

the output can be 'image.raw' then keep a backup copy of it as a file and then 
dd it to a partition.disk.

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


Re: [gentoo-user] Testing a used hard drive to make SURE it is good.

2020-06-18 Thread Dale
David Haller wrote:
> Hello,
>
> On Mon, 15 Jun 2020, Dale wrote:
> [..]
>> While I'm at it, when running dd, I have zero and random in /dev.  Where
>> does a person obtain a one?  In other words, I can write all zeros, I
>> can write all random but I can't write all ones since it isn't in /dev. 
>> Does that even exist?  Can I create it myself somehow?  Can I download
>> it or install it somehow?  I been curious about that for a good long
>> while now.  I just never remember to ask. 
> I've wondered that too. So I just hacked one up just now.
>
>  ones.c 
> #include 
> #include 
> #include 
> static unsigned int buf[BUFSIZ];
> int main(void) {
> unsigned int i;
> for(i = 0; i < BUFSIZ; i++) { buf[i] = (unsigned int)-1; }
> while( write(STDOUT_FILENO, buf, sizeof(buf)) );
> exit(0);
> }
> 
>
> Compile with:
> gcc $CFLAGS -o ones ones.c
> or
> gcc $(portageq envvar CFLAGS) -o ones ones.c
>
> and use/test e.g. like
>
> ./ones | dd of=/dev/null bs=8M count=1000 iflag=fullblock
>
> Here, it's about as fast as
>
> cat /dev/zero | dd of=/dev/null bs=8M count=1000 iflag=fullblock
>
> (but only about ~25% as fast as 
> dd if=/dev/zero of=/dev/null bs=8M count=1000 iflag=fullblock
> for whatever reason ever, but the implementation of /dev/zero is
> non-trivial ...)
>
> HTH,
> -dnh
>

I got it to compile, at least it created a file named ones anyway.  What
I'm unclear about, where is the if= for dd in the command?  All the
commands I've seen before has a if= and a of=.  The if for input and of
for output or target.  I'm assuming that if I want to target sdb, I'd
replace null with /dev/sdb. 

As I've posted before, even my scripting skills are minimal.  Surprised
I got it to compile even.  lol  Just trying to make sure I don't mess up
something.  I placed all this in the /root directory.  I'm assuming I
can copy paste the commands above while in /root to make it work?  I'm
asking because I haven't tried it yet. 

Thanks.

Dale

:-)  :-) 




Re: [gentoo-user] MS-Teams on XFCE4/Gentoo

2020-06-18 Thread J. Roeleveld
On Thursday, June 18, 2020 10:32:35 AM CEST Neil Bothwick wrote:
> On Thu, 18 Jun 2020 10:21:12 +0200, J. Roeleveld wrote:
> > > I don't have "media-video/obs-v4l2sink", I do have
> > > "media-video/obs-studio"
> > > 
> > > Is this a typo? Or are you using an overlay?
> > 
> > Never mind this, was added recently.
> > 
> > Which USE-flags did you use and is there a simple howto somewhere?
> 
> The homepage has clear instructions for setting it up. For doing the
> background replacement in OBS, I googled and found some Youtube videos.

Great, watching youtube for the guide...
Will start googling, did you bookmark them?

> Am I getting old or do others also wish they could just get a text howto
> instead of watching a video every time they want to do something new?

I prefer text-howto's over videos. Makes it easier to go through it at my own 
pace and rewinding/pausing text is soo much simpler than on youtube where it 
keeps adding adverts in the middle of an explanation.

--
Joost





Re: [gentoo-user] MS-Teams on XFCE4/Gentoo

2020-06-18 Thread Neil Bothwick
On Thu, 18 Jun 2020 10:21:12 +0200, J. Roeleveld wrote:

> > I don't have "media-video/obs-v4l2sink", I do have
> > "media-video/obs-studio"
> > 
> > Is this a typo? Or are you using an overlay?  
> 
> Never mind this, was added recently.
> 
> Which USE-flags did you use and is there a simple howto somewhere?

The homepage has clear instructions for setting it up. For doing the
background replacement in OBS, I googled and found some Youtube videos.

Am I getting old or do others also wish they could just get a text howto
instead of watching a video every time they want to do something new?


-- 
Neil Bothwick

Snacktrek, n.:
 The peculiar habit, when searching for a snack, of constantly
 returning to the refrigerator in hopes that something new will have
 materialized.


pgp9ctz8DIQFV.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] MS-Teams on XFCE4/Gentoo

2020-06-18 Thread Neil Bothwick
On Thu, 18 Jun 2020 10:17:23 +0200, J. Roeleveld wrote:

> > I worked around this is Jitsi (it has background blur but not
> > replacement) by using OBS Studio, which does all this and much, much
> > more. With the plugin from media-video/obs-v4l2sink it creates a new
> > "camera" with its output. That's a standard-looking /dev/videoX device
> > and can be used with any software.
> > 
> > It's a bit of a sledgehammer to crack a nut just to get background
> > replacement bit it works well and I already had it installed from
> > something else.  
> 
> Neil,
> 
> I don't have "media-video/obs-v4l2sink", I do have
> "media-video/obs-studio"
> 
> Is this a typo? Or are you using an overlay?

No and No. However, it is in testing, so you'll have to add it to
accept_keywords if you're running stable.

[I] media-video/obs-studio
 Available versions:  (~)25.0.8-r1{tbz2} ***l {+alsa fdk imagemagick 
jack luajit nvenc pulseaudio python speex +ssl truetype v4l vlc 
PYTHON_SINGLE_TARGET="python3_6 python3_7"}
 Installed versions:  25.0.8-r1{tbz2}(22:53:32 08/06/20)(alsa pulseaudio 
ssl truetype v4l -fdk -imagemagick -jack -luajit -nvenc -python -speex -vlc 
PYTHON_SINGLE_TARGET="python3_7 -python3_6")
 Homepage:https://obsproject.com
 Description: Software for Recording and Streaming Live Video 
Content

[I] media-video/obs-v4l2sink
 Available versions:  (~)0.1.0_p20181012-r1{tbz2}
 Installed versions:  0.1.0_p20181012-r1{tbz2}(12:17:29 16/06/20)
 Homepage:https://github.com/CatxFish/obs-v4l2sink
 Description: obs studio output plugin for Video4Linux2 device

Found 2 matches

You may find it installs the plugin to the wrong directory, the patch
here fixes that: https://bugs.gentoo.org/show_bug.cgi?id=723210


-- 
Neil Bothwick

I am MODERATOR of BORG. Follow the rules or be assimilated.


pgpR1Hpjz1gTL.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] MS-Teams on XFCE4/Gentoo

2020-06-18 Thread J. Roeleveld
On Thursday, June 18, 2020 10:17:23 AM CEST J. Roeleveld wrote:
> On Thursday, June 18, 2020 9:33:26 AM CEST Neil Bothwick wrote:
> > On Thu, 18 Jun 2020 08:23:29 +0200, J. Roeleveld wrote:
> > > Do take note, the Linux version is lacking several features that the
> > > other "native" clients have. Notably:
> > > - Only 4 camera-views at the same time (instead of 9, I believe)
> > > - No background-blur or image
> > > 
> > > This means, you only get to show your real background or leave the
> > > camera off/ covered.
> > 
> > I worked around this is Jitsi (it has background blur but not
> > replacement) by using OBS Studio, which does all this and much, much
> > more. With the plugin from media-video/obs-v4l2sink it creates a new
> > "camera" with its output. That's a standard-looking /dev/videoX device
> > and can be used with any software.
> > 
> > It's a bit of a sledgehammer to crack a nut just to get background
> > replacement bit it works well and I already had it installed from
> > something else.
> 
> Neil,
> 
> I don't have "media-video/obs-v4l2sink", I do have "media-video/obs-studio"
> 
> Is this a typo? Or are you using an overlay?

Never mind this, was added recently.

Which USE-flags did you use and is there a simple howto somewhere?

--
Joost





Re: [gentoo-user] MS-Teams on XFCE4/Gentoo

2020-06-18 Thread J. Roeleveld
On Thursday, June 18, 2020 9:33:26 AM CEST Neil Bothwick wrote:
> On Thu, 18 Jun 2020 08:23:29 +0200, J. Roeleveld wrote:
> > Do take note, the Linux version is lacking several features that the
> > other "native" clients have. Notably:
> > - Only 4 camera-views at the same time (instead of 9, I believe)
> > - No background-blur or image
> > 
> > This means, you only get to show your real background or leave the
> > camera off/ covered.
> 
> I worked around this is Jitsi (it has background blur but not
> replacement) by using OBS Studio, which does all this and much, much
> more. With the plugin from media-video/obs-v4l2sink it creates a new
> "camera" with its output. That's a standard-looking /dev/videoX device
> and can be used with any software.
> 
> It's a bit of a sledgehammer to crack a nut just to get background
> replacement bit it works well and I already had it installed from
> something else.

Neil,

I don't have "media-video/obs-v4l2sink", I do have "media-video/obs-studio"

Is this a typo? Or are you using an overlay?

--
Joost






Re: [gentoo-user] Testing a used hard drive to make SURE it is good.

2020-06-18 Thread Dr Rainer Woitok
David,

On Wednesday, 2020-06-17 17:27:30 +0200, you wrote:

> ...
> $ man -l -Tps -P-pa4 $(man -w smartctl ) | ps2pdf - smartctl.pdf

Why not simply

   $ man -Tps -P-pa4 smartctl | ps2pdf - smartctl.pdf

Sincerely,
  Rainer



Re: [gentoo-user] MS-Teams on XFCE4/Gentoo

2020-06-18 Thread William Kenworthy
On 18/6/20 3:33 pm, J. Roeleveld wrote:
> On Thursday, June 18, 2020 9:09:08 AM CEST William Kenworthy wrote:
>> On 18/6/20 2:23 pm, J. Roeleveld wrote:
>>> On Thursday, June 18, 2020 7:58:00 AM CEST William Kenworthy wrote:
 Hi all,

 I ve just installed MS-Teams from portage and do not have webcam

 video (it sees the USB code, but gives a black screen).  I also tried
 the linux download from MS and it behaves the same.  The camera works
 fine in teams on chromium, Firefox, zoom etc. under the same user.

 Has anyone any suggestions ?

 BillK
>>> Hi Bill,
>>>
>>> I have been using MS Teams on Linux for over a couple of months now and
>>> the
>>> camera does work for me.
>>>
>>> The settings I have are:
>>> - User added to the groups "audio", "video" and "usb"
>>>
>>> In Teams, I did have to configure the devices, the settings can be found
>>> by
>>> clicking on your "avatar", top-right of the window with your initials.
>>> (Mine says JR)
>>> Then select "Settings" and go to "Devices"
>>> I seem to remember it didn't auto-select my camera, but the preview
>>> should,
>>> when selected, actually work.
>>>
>>> Here you can also select a headset as audio-device.
>>>
>>> Also, make sure there is nothing else using the camera at the same time.
>>>
>>> Do take note, the Linux version is lacking several features that the other
>>> "native" clients have. Notably:
>>> - Only 4 camera-views at the same time (instead of 9, I believe)
>>> - No background-blur or image
>>>
>>> This means, you only get to show your real background or leave the camera
>>> off/ covered.
>>>
>>> --
>>> Joost
>>>
>> Thanks Joost, looks like I am out of luck - just a black screen in preview
>> (I am presuming that means it wont work in a real conference).  It finds
>> the camera automaticly (no error messages) and is acting like its
>> actually working ... but just a black screen.
>> oh well, it will be Chromium again tomorrow :(
> Strange, are you sure the camera is not covered?
> Also, it does take a little bit for the camera picture to actually show on my 
> laptop. Maybe wait a little?
> And did you close all other applications that might be using the camera? 
> (Like 
> the browsers and such?)
>
> --
> Joost
>
>
>
> Yep, all the above - I have a /dev/video0 (of course, as most other video 
> software is woking fine).  I'll have a look at what Neil has suggested.

BillK





Re: [gentoo-user] MS-Teams on XFCE4/Gentoo

2020-06-18 Thread Neil Bothwick
On Thu, 18 Jun 2020 08:23:29 +0200, J. Roeleveld wrote:

> Do take note, the Linux version is lacking several features that the
> other "native" clients have. Notably:
> - Only 4 camera-views at the same time (instead of 9, I believe)
> - No background-blur or image
> 
> This means, you only get to show your real background or leave the
> camera off/ covered.

I worked around this is Jitsi (it has background blur but not
replacement) by using OBS Studio, which does all this and much, much
more. With the plugin from media-video/obs-v4l2sink it creates a new
"camera" with its output. That's a standard-looking /dev/videoX device
and can be used with any software.

It's a bit of a sledgehammer to crack a nut just to get background
replacement bit it works well and I already had it installed from
something else.


-- 
Neil Bothwick

Growing old is mandatory; growing up is optional!!


pgp2VQ80ze8CQ.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] MS-Teams on XFCE4/Gentoo

2020-06-18 Thread J. Roeleveld
On Thursday, June 18, 2020 9:09:08 AM CEST William Kenworthy wrote:
> On 18/6/20 2:23 pm, J. Roeleveld wrote:
> > On Thursday, June 18, 2020 7:58:00 AM CEST William Kenworthy wrote:
> >> Hi all,
> >> 
> >> I ve just installed MS-Teams from portage and do not have webcam
> >> 
> >> video (it sees the USB code, but gives a black screen).  I also tried
> >> the linux download from MS and it behaves the same.  The camera works
> >> fine in teams on chromium, Firefox, zoom etc. under the same user.
> >> 
> >> Has anyone any suggestions ?
> >> 
> >> BillK
> > 
> > Hi Bill,
> > 
> > I have been using MS Teams on Linux for over a couple of months now and
> > the
> > camera does work for me.
> > 
> > The settings I have are:
> > - User added to the groups "audio", "video" and "usb"
> > 
> > In Teams, I did have to configure the devices, the settings can be found
> > by
> > clicking on your "avatar", top-right of the window with your initials.
> > (Mine says JR)
> > Then select "Settings" and go to "Devices"
> > I seem to remember it didn't auto-select my camera, but the preview
> > should,
> > when selected, actually work.
> > 
> > Here you can also select a headset as audio-device.
> > 
> > Also, make sure there is nothing else using the camera at the same time.
> > 
> > Do take note, the Linux version is lacking several features that the other
> > "native" clients have. Notably:
> > - Only 4 camera-views at the same time (instead of 9, I believe)
> > - No background-blur or image
> > 
> > This means, you only get to show your real background or leave the camera
> > off/ covered.
> > 
> > --
> > Joost
> > 
> 
> Thanks Joost, looks like I am out of luck - just a black screen in preview
> (I am presuming that means it wont work in a real conference).  It finds
> the camera automaticly (no error messages) and is acting like its
> actually working ... but just a black screen.
> oh well, it will be Chromium again tomorrow :(

Strange, are you sure the camera is not covered?
Also, it does take a little bit for the camera picture to actually show on my 
laptop. Maybe wait a little?
And did you close all other applications that might be using the camera? (Like 
the browsers and such?)

--
Joost





Re: [gentoo-user] MS-Teams on XFCE4/Gentoo

2020-06-18 Thread William Kenworthy


On 18/6/20 2:23 pm, J. Roeleveld wrote:
> On Thursday, June 18, 2020 7:58:00 AM CEST William Kenworthy wrote:
>> Hi all,
>>
>> I ve just installed MS-Teams from portage and do not have webcam
>> video (it sees the USB code, but gives a black screen).  I also tried
>> the linux download from MS and it behaves the same.  The camera works
>> fine in teams on chromium, Firefox, zoom etc. under the same user.
>>
>> Has anyone any suggestions ?
>>
>> BillK
> Hi Bill,
>
> I have been using MS Teams on Linux for over a couple of months now and the 
> camera does work for me.
>
> The settings I have are:
> - User added to the groups "audio", "video" and "usb"
>
> In Teams, I did have to configure the devices, the settings can be found by 
> clicking on your "avatar", top-right of the window with your initials. (Mine 
> says JR)
> Then select "Settings" and go to "Devices"
> I seem to remember it didn't auto-select my camera, but the preview should, 
> when selected, actually work.
>
> Here you can also select a headset as audio-device.
>
> Also, make sure there is nothing else using the camera at the same time.
>
> Do take note, the Linux version is lacking several features that the other 
> "native" clients have. Notably:
> - Only 4 camera-views at the same time (instead of 9, I believe)
> - No background-blur or image
>
> This means, you only get to show your real background or leave the camera off/
> covered.
>
> --
> Joost
>
>
> Thanks Joost, looks like I am out of luck - just a black screen in preview (I 
> am presuming that means it wont work in a real conference).  It finds the 
> camera automaticly (no error messages) and is acting like its actually 
> working ... but just a black screen.

oh well, it will be Chromium again tomorrow :(

BillK