From owner-freebsd-emulation@freebsd.org Thu May 7 11:44:02 2020 Return-Path: Delivered-To: freebsd-emulation@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 06C142C5101 for ; Thu, 7 May 2020 11:44:02 +0000 (UTC) (envelope-from shuriku@shurik.kiev.ua) Received: from mail.flex-it.com.ua (mail.flex-it.com.ua [193.239.74.7]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49Hs746vtWz43Tc for ; Thu, 7 May 2020 11:44:00 +0000 (UTC) (envelope-from shuriku@shurik.kiev.ua) Received: from [91.243.219.39] (helo=thinkpad.flex-it.com.ua) by mail.flex-it.com.ua with esmtpsa (TLS1.3) tls TLS_AES_128_GCM_SHA256 (Exim 4.93.0.4 (FreeBSD)) (envelope-from ) id 1jWewR-000Mce-TE for freebsd-emulation@freebsd.org; Thu, 07 May 2020 14:43:52 +0300 Subject: Re: Microsoft Teams for Linux To: freebsd-emulation@freebsd.org References: From: Alexandr Krivulya Message-ID: <50e10756-d2f9-b5a8-2f05-7cbefa1685aa@shurik.kiev.ua> Date: Thu, 7 May 2020 14:43:46 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 49Hs746vtWz43Tc X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of shuriku@shurik.kiev.ua designates 193.239.74.7 as permitted sender) smtp.mailfrom=shuriku@shurik.kiev.ua X-Spamd-Result: default: False [-5.74 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[39.219.243.91.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[shurik.kiev.ua]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE(-3.44)[ip: (-9.10), ipnet: 193.239.72.0/22(-4.55), asn: 35297(-3.64), country: UA(0.07)]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:35297, ipnet:193.239.72.0/22, country:UA]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 May 2020 11:44:02 -0000 06.05.20 10:09, Maciej Suszko пишет: > Just adding freebsd-questions list - anyone here who tried to run or use > Microsoft Teams web/app ? > > On 5/5/20 2:52 PM, Maciej Suszko wrote: >> Hi, >> >> I'm wondering if anyone tried to use Microsoft Temas either web version >> or desktop app... Web version does work but making audio/video call >> isn't officialy suppported, so you need to spoof user-agent to make it >> partially working - but from time to time MS change something and it >> just stop working. In the past weeks I was able to make audio calls, now >> it's not possible (neither Firefox nor Chrome) >> >> I tested my webcam and mic on https://www.onlinemictest.com/ and it's >> all working, so problematic is the web application from MS. >> >> Desktop application - here are two options, one for Linux, one for >> Windows. I tried to run the Linux version using linuxulator, >> brandelf-ing all the binaries but with no success... >> >> #v+ >> tlhscd@arsenic:/tmp/teams/share/teams $ ./teams >> Trace/BPT trap (core dumped) >> #v- >> >> How do you think - are there any chances to make the desktop app working >> in out FreeBSD desktops?-- Yesterday I tried to call my colleague via Microsoft Teams web-app (latest Firefox on CURRENT, spoofed User-Agent). Yes, there is no audio and video at all in both directions. If I run desktop version with linux strace and it crashes. I think it because of unimplemented cgroups calls. Both Microsoft Teams and Skype are Electron applications, that tries to run chromium in isolated environment. ipe([8, 9])                            = 0 mmap(NULL, 536875008, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x8277c0000 mprotect(0x8277c0000, 4096, PROT_NONE)  = 0 clone(child_stack=0x8477bfc70, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x8477c09d0, tls=0x8477c0700, child_tidptr=0x8477c09d0) = 102129 read(4001536, 0x8477bfc70, 35559049680) = -1 ENOSYS (Function not implemented) read(1, 0x7fffffffe130, 132630488)      = -1 ENOSYS (Function not implemented) set_robust_list(0x8477c09e0, 24)        = 0 gettid()                                = 102129 mmap(NULL, 134217728, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = 0x8477c1000 munmap(0x8477c1000, 8646656)            = 0 munmap(0x84c000000, 58462208)           = 0 mprotect(0x848000000, 135168, PROT_READ|PROT_WRITE) = 0 stat("/sys/fs/cgroup/cpuset/chrome", 0x8477bfa40) = -1 ENOENT (No such file or directory) stat("/sys/fs/cgroup/schedtune/chrome", 0x8477bfa40) = -1 ENOENT (No such file or directory) setpriority(PRIO_PROCESS, 0, 0)         = 0 gettid()                                = 102129 gettid()                                = 102129 gettid()                                = 102129 gettid()                                = 102129 prctl(PR_SET_NAME, "sandbox_ipc_thre")  = 0 futex(0x7fffffffe1b4, FUTEX_CMP_REQUEUE_PRIVATE, 1, 2147483647, 0x7fffffffe188, 2) = 1 read(-7756, 0x80, 1)                    = -1 ENOSYS (Function not implemented) read(1, 0x7fffffffe130, 80)             = -1 ENOSYS (Function not implemented) poll([{fd=8, events=POLLIN}, {fd=7, events=POLLIN}], 2, -1) = 0 (Timeout) readlink("/proc/self/exe", "/compat/linux/usr/share/teams/te"..., 4096) = 35 lstat("/compat", {st_mode=S_IFDIR|0755, st_size=3, ...}) = 0 lstat("/compat/linux", {st_mode=S_IFDIR|0755, st_size=15, ...}) = 0 lstat("/compat/linux/usr", {st_mode=S_IFDIR|0775, st_size=10, ...}) = 0 lstat("/compat/linux/usr/share", {st_mode=S_IFDIR|0775, st_size=50, ...}) = 0 lstat("/compat/linux/usr/share/teams", {st_mode=S_IFDIR|0755, st_size=18, ...}) = 0 lstat("/compat/linux/usr/share/teams/teams", {st_mode=S_IFREG|0755, st_size=114964776, ...}) = 0 socketpair(AF_LOCAL, SOCK_SEQPACKET, 0, [10, 11]) = 0 setsockopt(10, SOL_SOCKET, SO_PASSCRED, [1], 4) = -1 ENOPROTOOPT (Protocol not available) --- SIGTRAP {si_signo=SIGTRAP, si_code=TRAP_BRKPT, si_errno=32767, si_value={int=132631408, ptr=0x7e7cb70}} --- /compat/linux/bin/strace: [ Process PID=38396 runs in x32 mode. ] syscall_18446744072635809788(0x8477bf9e0, 0x2, 0xffffffff, 0x7fffffff, 0, 0x7e7cb50 +++ killed by SIGTRAP +++