From owner-freebsd-emulation@freebsd.org Fri May 8 06:03:06 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 A9AFC2C2411 for ; Fri, 8 May 2020 06:03:06 +0000 (UTC) (envelope-from damjan.jov@gmail.com) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 49JKWG2rMKz4HMN for ; Fri, 8 May 2020 06:03:06 +0000 (UTC) (envelope-from damjan.jov@gmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id 614C52C2406; Fri, 8 May 2020 06:03:06 +0000 (UTC) Delivered-To: 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 60EB12C2405; Fri, 8 May 2020 06:03:06 +0000 (UTC) (envelope-from damjan.jov@gmail.com) Received: from mail-io1-xd42.google.com (mail-io1-xd42.google.com [IPv6:2607:f8b0:4864:20::d42]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49JKWF5fhTz4HMM; Fri, 8 May 2020 06:03:05 +0000 (UTC) (envelope-from damjan.jov@gmail.com) Received: by mail-io1-xd42.google.com with SMTP id d7so712515ioq.5; Thu, 07 May 2020 23:03:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ufAmnpcU1bCAu1bagKpq4s5+YYr/Q6sxJFCP/BXMTY0=; b=jAEokrcH3jzjHraB/HmrtFJ6hZ6bJfosuEMZJYOIhkNfCB3LF1zUrns6OdXyV0NPak HFkqpO3gzY+MgjilrxLwCeKj7vh1lUz60ECP+X4SuQkMIS4i0XGWnaO9FVUNj4f13IY/ lpdnZTjM/dtG/sg/3Cp7W1I4E7gTpAN1ope4SAc0xLcmCi2xnsX7tR0cf76Y6XOr0gqX FaAbhNf/spRMWt0aAlUpKjKsFFr6YwyM434q0C2SgL5kCk+9D+IuRNpvf49UAK8C3sXi Bo8G7vo2nFzHniizfnQxRJzWr2uHhqC2EaOj1HmFqZaonpXP2ryJ1coU/SiOkiwWbNWf 70DQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ufAmnpcU1bCAu1bagKpq4s5+YYr/Q6sxJFCP/BXMTY0=; b=qgeA2N0sGfT2eSfZg4ZjW6CisJn/Lo+jaNP86uEpJzk7rqi9filyLQ4wZWooFkmkBV 6qK09UeW+Qk1HsaSIkuAOi/83coXPmRSS/u7SVeNCIeajCfvky0S6Un6ut8fmy1KAoPK GEGUERcXMyMulHod9w8PIPUkdd0SDssgE4CKHXdR57eucxaa2GsUrHDvAqWXhJvXZs4a KcK8IxJf4znhyqBNdT+BMt49CCbe8KRu7PrfcUYH1lTlHGLGS5IpqFhu/r7g8PLt3fEO Za1KUluvQdvMabmk5OtrcgThankCNELRtpqgpP/YE7C8EsJCD82ojuqv6dMzZQnLpL4T /48w== X-Gm-Message-State: AGi0PuaRGcx2f2brFuMIVTKnSAuhLcSTvemIl2Dg5RU/T+L6v8f86Sok Fl2bknKaYgyrckQqrVKItF4jhwF8hTHQJX/U2Bqcel/Kac0= X-Google-Smtp-Source: APiQypIl7W8aVIfpE5ALa8dFlKMQc3dAFkWspg6JXoAXLC327s0p4QgKd0EocJUNhIa9K+vBn+mKt2gHd+EoC0qYZSU= X-Received: by 2002:a5e:8613:: with SMTP id z19mr1031375ioj.84.1588917784549; Thu, 07 May 2020 23:03:04 -0700 (PDT) MIME-Version: 1.0 References: <12adb305-6d37-4543-33ce-47d8b07d6a09@suszko.eu> In-Reply-To: <12adb305-6d37-4543-33ce-47d8b07d6a09@suszko.eu> From: Damjan Jovanovic Date: Fri, 8 May 2020 08:02:41 +0200 Message-ID: Subject: Re: Microsoft Teams for Linux To: Maciej Suszko Cc: emulation@freebsd.org, freebsd-questions@freebsd.org X-Rspamd-Queue-Id: 49JKWF5fhTz4HMM X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=jAEokrcH; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of damjanjov@gmail.com designates 2607:f8b0:4864:20::d42 as permitted sender) smtp.mailfrom=damjanjov@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_DN_SOME(0.00)[]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2.4.d.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; IP_SCORE(0.00)[ip: (0.23), ipnet: 2607:f8b0::/32(-0.33), asn: 15169(-0.43), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.30 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: Fri, 08 May 2020 06:03:06 -0000 On Thu, May 7, 2020 at 11:58 PM Maciej Suszko wrote: > On 5/7/20 5:50 PM, Damjan Jovanovic wrote: > > > > > > On Tue, May 5, 2020 at 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... > > > > > > The Linux version is buggy. The microphone often doesn't work. > > > > Wine seems to be 1 bug away from running the Windows version: > > https://bugs.winehq.org/show_bug.cgi?id=48775 > > Since I am forced to use Teams, I might take a look at it soon. > > I tried that too... and still trying to get it to work. Now I have a > problem with current emulators/wine-devel - amd64 version does not work > at all, emulators/i386-wine-devel does not support staging, which is > required to build runas.exe. > Building emulators/wine-devel from ports on i386 chroot (with staging > enabled) throws some errors which I can't cope with: > > #v+ > gcc9 -o wine main.o -Wl,--rpath,\$ORIGIN/../libs/wine -Wl,--export-dynamic > \ > -Wl,-Ttext-segment=0x60000000 -Wl,-z,max-page-size=0x1000 -lwine > -lpthread \ > ../libs/port/libwine_port.a -L/usr/local/lib -L../libs/wine > -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc9 > -L/usr/local/lib/gcc9 > /usr/local/bin/ld: main.o: in function `main': > main.c:(.text.startup+0x1b0): undefined reference to `wine_get_patches' > collect2: error: ld returned 1 exit status > gmake[3]: *** [Makefile:260: wine] Error 1 > gmake[3]: *** Waiting for unfinished jobs.... > /usr/local/bin/ld: main.o: in function `main': > main.c:(.text.startup+0x1b0): undefined reference to `wine_get_patches' > collect2: error: ld returned 1 exit status > gmake[3]: *** [Makefile:264: wine-installed] Error 1 > gmake[3]: Leaving directory > '/usr/ports/emulators/wine-devel/work/wine-5.7/loader' > gmake[2]: *** [Makefile:8940: loader] Error 2 > gmake[2]: *** Waiting for unfinished jobs.... > gcc9 -o widl client.o expr.o hash.o header.o proxy.o register.o server.o > typegen.o typelib.o \ > typetree.o utils.o widl.o write_msft.o write_sltg.o parser.tab.o > parser.yy.o \ > ../../libs/port/libwine_port.a ../../libs/wpp/libwpp.a > -L/usr/local/lib -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc9 > -L/usr/local/lib/gcc9 > gmake[3]: Leaving directory > '/usr/ports/emulators/wine-devel/work/wine-5.7/tools/widl' > gmake[2]: Leaving directory '/usr/ports/emulators/wine-devel/work/wine-5.7' > #v- > > I even tried to copy runas.exe from some other wine binary build, but > I'm not sure it's the way to go - wine throws exception, which tells me > nothing :) > > #v+ > wine: Call from 0x7bc77671 to unimplemented function > ntdll.dll.__wine_create_default_token, aborting > wine: Unimplemented function ntdll.dll.__wine_create_default_token > called at address 7BC77671 (thread 0009), starting debugger... > #v- > > At work I use Teams on a daily basis and it's more and more pain in the > a** having problems with audio/video calls. Switching to other OS is the > last thing I'd like to do... > > BTW Some of my coworkers use Linux and they don't have much problems > with desktop app, although it's quite cpu/memory hog. > > -- > regards, Maciej Suszko. > > Thank you, that should help me get started. I have 14 years and 295 patches worth of development experience with Wine, so hopefully I'll get further. Regards Damjan