From gabor at szabgab.com Wed Mar 3 09:25:52 2021 From: gabor at szabgab.com (Gabor Szabo) Date: Wed, 3 Mar 2021 09:25:52 +0200 Subject: Streaming to YouTube from Partner - is there a rate limit? Message-ID: Hi, yesterday I tried to stream a video - a live coding session - to YouTube. I set OBS to send at 2500 bps and later increased it even to 8500 bps. Using "glances" I saw my network card reporting sending at that rate, but YouTube was still complaining of too slow stream - less than 2500 bps. Do you have any experience with streaming? Successes failures? Is it possible that Partner / 012 limits the streaming rate? Can there be some other issue? What do you think I could do? I am on Fiber and the speed test report 92 Mbps / 22 Mbps (I think nominal it is 100/25) to the near-by https://www.speedtest.net/ station. I also checked it with New York and I got 92 / 18. Uploading large videos to YouTube works very fast. I tried mtr with the IP address where traffic seemed to go mtr --tcp 74.125.173.201 -c 100 --csv Mtr_Version,Start_Time,Status,Host,Hop,Ip,Loss%,Snt, ,Last,Avg,Best,Wrst,StDev, MTR.0.93,1614756064,OK,74.125.173.201,1,OpenWrt.lan,0.00,100,0,0.72,0.90,0.38,5.10,0.49 MTR.0.93,1614756064,OK,74.125.173.201,2,176-230-246-67.orange.net.il ,0.00,100,0,1.38,1.92,0.56,29.36,3.44 MTR.0.93,1614756064,OK,74.125.173.201,3,???,100.00,100,100,0.00,0.00,0.00,0.00,0.00 MTR.0.93,1614756064,OK,74.125.173.201,4,???,100.00,100,100,0.00,0.00,0.00,0.00,0.00 MTR.0.93,1614756064,OK,74.125.173.201,5,???,100.00,100,100,0.00,0.00,0.00,0.00,0.00 MTR.0.93,1614756064,OK,74.125.173.201,6,???,100.00,100,100,0.00,0.00,0.00,0.00,0.00 MTR.0.93,1614756064,OK,74.125.173.201,7,82.102.132.78,0.00,100,0,2.73,2.35,1.27,31.73,3.01 MTR.0.93,1614756064,OK,74.125.173.201,8,80.179.166.142.static.012.net.il ,0.00,100,0,54.78,60.55,52.56,84.40,6.62 MTR.0.93,1614756064,OK,74.125.173.201,9, ipv4.de-cix.fra.de.as15169.google.com ,0.00,100,0,70.36,70.37,65.52,81.12,3.69 MTR.0.93,1614756064,OK,74.125.173.201,10,108.170.252.1,0.00,100,0,56.19,58.51,53.72,71.16,4.66 MTR.0.93,1614756064,OK,74.125.173.201,11,74.125.253.245,0.00,100,0,68.74,66.81,58.19,88.29,6.79 MTR.0.93,1614756064,OK,74.125.173.201,12,74.125.173.201,0.00,100,0,56.48,60.12,53.36,80.47,5.75 Gabor -------------- next part -------------- An HTML attachment was scrubbed... URL: From shachar at shemesh.biz Fri Mar 12 12:17:26 2021 From: shachar at shemesh.biz (Shachar Shemesh) Date: Fri, 12 Mar 2021 12:17:26 +0200 Subject: Riddle me this: unsolicited orderly shutdown Message-ID: <5d292e31-d095-38a8-2154-71b540d7e4c1@shemesh.biz> An HTML attachment was scrubbed... URL: From dotan at shavitos.com Fri Mar 12 12:27:10 2021 From: dotan at shavitos.com (Dotan Shavit) Date: Fri, 12 Mar 2021 12:27:10 +0200 Subject: Riddle me this: unsolicited orderly shutdown In-Reply-To: <5d292e31-d095-38a8-2154-71b540d7e4c1@shemesh.biz> References: <5d292e31-d095-38a8-2154-71b540d7e4c1@shemesh.biz> Message-ID: Nice indeed. Have you tried starting this app from a different desktop environment? What syslog says at the shutdown time? ?????, ???? ????, 0544-456656 On Fri, 12 Mar 2021 at 12:18, Shachar Shemesh wrote: > Allow me, if I may, to set up the stage for you. > > I don't know the precise scenario that causes this to happen, but one > thing that triggers it reliably is starting up X-Plane 11 and taking off. A > few second and up to a minute into the flight, my KDE "shutting down" > screen comes up. If I cancel the shutdown, the screen comes up one more > time on its own, and then the computer just shuts down. > > Now, I know what you're all thinking. So I ran X-Plane while monitoring > the CPU's and GPU's temperatures. Sure enough, they get hot. I opened up > the laptop (Dell XPS 15, a gamer's laptop), cleaned the fans, and ran the > game again. Temperatures were much more reasonable. But the shutdown screen > popped up again. > > I ran it with dmesg running. While there are some temperature throttling > messages, not a lot, and none that claim I *have* to shut down. > > I am looking for a way to debug this. Obviously, something in the hardware > gives the command to shut down the computer. I have, however, not been able > to find out what and why. > > Does anyone have any idea which system might be issuing this command, and > where it might be writing its logs? > > Shachar > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > -------------- next part -------------- An HTML attachment was scrubbed... URL: From borissh1983 at gmail.com Fri Mar 12 12:34:04 2021 From: borissh1983 at gmail.com (borissh1983 at gmail.com) Date: Fri, 12 Mar 2021 12:34:04 +0200 Subject: Riddle me this: unsolicited orderly shutdown References: <5d292e31-d095-38a8-2154-71b540d7e4c1@shemesh.biz> Message-ID: <4677426.jbxs0lztFJ@beast> On Friday, 12 March 2021 12:17:26 IST Shachar Shemesh wrote: Allow me, if I may, to set up the stage for you. I don't know the precise scenario that causes this to happen, but one thing that triggers it reliably is starting up X-Plane 11 and taking off. A few second and up to a minute into the flight, my KDE "shutting down" screen comes up. If I cancel the shutdown, the screen comes up one more time on its own, and then the computer just shuts down. Now, I know what you're all thinking. So I ran X-Plane while monitoring the CPU's and GPU's temperatures. Sure enough, they get hot. I opened up the laptop (Dell XPS 15, a gamer's laptop), cleaned the fans, and ran the game again. Temperatures were much more reasonable. But the shutdown screen popped up again. I ran it with dmesg running. While there are some temperature throttling messages, not a lot, and none that claim I *have* to shut down. I am looking for a way to debug this. Obviously, something in the hardware gives the command to shut down the computer. I have, however, not been able to find out what and why. Does anyone have any idea which system might be issuing this command, and where it might be writing its logs? Shachar Would it be possible to monitor both dbus messages (system and user) AND Xsession errors while you do so ? It could be that you have some tool (something like TLP that might trigger a shutdown script when you hit a threashold ) . If I were you I would also check for messages such as "temperature reached" in syslog, the temp values may be set both in the UEFI and on kernel level. -------------- next part -------------- An HTML attachment was scrubbed... URL: From tsnoam at gmail.com Fri Mar 12 13:46:28 2021 From: tsnoam at gmail.com (Noam Meltzer) Date: Fri, 12 Mar 2021 13:46:28 +0200 Subject: Riddle me this: unsolicited orderly shutdown In-Reply-To: <5d292e31-d095-38a8-2154-71b540d7e4c1@shemesh.biz> References: <5d292e31-d095-38a8-2154-71b540d7e4c1@shemesh.biz> Message-ID: This takes me back ~15 years. We had Sun x86_64 servers, which randomly decided to shutdown. After investigation it appeared that the problem was that the computer wrongly decided it's too hot and sent ACPI command to shutdown. Long story short - firmware update solved it. Bottom line, have you tried the latest firmware for your XPS15? On Fri, Mar 12, 2021 at 12:18 PM Shachar Shemesh wrote: > Allow me, if I may, to set up the stage for you. > > I don't know the precise scenario that causes this to happen, but one > thing that triggers it reliably is starting up X-Plane 11 and taking off. A > few second and up to a minute into the flight, my KDE "shutting down" > screen comes up. If I cancel the shutdown, the screen comes up one more > time on its own, and then the computer just shuts down. > > Now, I know what you're all thinking. So I ran X-Plane while monitoring > the CPU's and GPU's temperatures. Sure enough, they get hot. I opened up > the laptop (Dell XPS 15, a gamer's laptop), cleaned the fans, and ran the > game again. Temperatures were much more reasonable. But the shutdown screen > popped up again. > > I ran it with dmesg running. While there are some temperature throttling > messages, not a lot, and none that claim I *have* to shut down. > > I am looking for a way to debug this. Obviously, something in the hardware > gives the command to shut down the computer. I have, however, not been able > to find out what and why. > > Does anyone have any idea which system might be issuing this command, and > where it might be writing its logs? > > Shachar > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > -------------- next part -------------- An HTML attachment was scrubbed... URL: From shachar at shemesh.biz Fri Mar 12 13:56:55 2021 From: shachar at shemesh.biz (Shachar Shemesh) Date: Fri, 12 Mar 2021 13:56:55 +0200 Subject: Riddle me this: unsolicited orderly shutdown In-Reply-To: References: <5d292e31-d095-38a8-2154-71b540d7e4c1@shemesh.biz> Message-ID: <5535dc54-2fce-7465-9ccb-6d958199d4cb@shemesh.biz> An HTML attachment was scrubbed... URL: From shachar at shemesh.biz Fri Mar 12 14:08:20 2021 From: shachar at shemesh.biz (Shachar Shemesh) Date: Fri, 12 Mar 2021 14:08:20 +0200 Subject: Riddle me this: unsolicited orderly shutdown In-Reply-To: <4677426.jbxs0lztFJ@beast> References: <5d292e31-d095-38a8-2154-71b540d7e4c1@shemesh.biz> <4677426.jbxs0lztFJ@beast> Message-ID: An HTML attachment was scrubbed... URL: From shachar at shemesh.biz Fri Mar 12 14:46:11 2021 From: shachar at shemesh.biz (Shachar Shemesh) Date: Fri, 12 Mar 2021 14:46:11 +0200 Subject: Riddle me this: unsolicited orderly shutdown In-Reply-To: References: <5d292e31-d095-38a8-2154-71b540d7e4c1@shemesh.biz> <4677426.jbxs0lztFJ@beast> Message-ID: <45cd2789-bda1-a507-1d32-90acab38adaa@shemesh.biz> An HTML attachment was scrubbed... URL: From michaelshiloh1010 at gmail.com Fri Mar 12 16:37:43 2021 From: michaelshiloh1010 at gmail.com (Michael Shiloh) Date: Fri, 12 Mar 2021 18:37:43 +0400 Subject: Riddle me this: unsolicited orderly shutdown In-Reply-To: <45cd2789-bda1-a507-1d32-90acab38adaa@shemesh.biz> References: <5d292e31-d095-38a8-2154-71b540d7e4c1@shemesh.biz> <4677426.jbxs0lztFJ@beast> <45cd2789-bda1-a507-1d32-90acab38adaa@shemesh.biz> Message-ID: That's a great story Shachar, thanks for sharing. Hopefully I will remember this if it ever happens to me. On Fri, Mar 12, 2021 at 4:47 PM Shachar Shemesh wrote: > > On 12/03/2021 14:08, Shachar Shemesh wrote: > > > On 12/03/2021 12:34, borissh1983 at gmail.com wrote: > > > > > > Would it be possible to monitor both dbus messages (system and user) AND > Xsession errors while you do so ? > > Yes, that provided some progress. At least I can tell the name of the > component that triggers the shutdown. The session dbus monitor says: > > signal time=1615549109.464622 sender=:1.13 -> destination=(null > destination) serial=832 path=/component/org_kde_powerdevil; > interface=org.kde.kglobalaccel.Component; member=globalShortcutPressed > string "org_kde_powerdevil" > string "PowerOff" > int64 6630990 > > I'm not 100% sure what that means. It seems that powerdevil thinks that > someone pressed the power button. More research necessary, but at least > we're finally getting a log admitting _something_ happened. > > I've cracked it!!! > > The problem was that my USB-C docking station was incapable of providing > enough power to run the computer. It should not have been a problem, as I'm > guessing the problem was momentary and the computer's battery would have > also sufficed. It did, however, respond to this situation by sending a > power-off key (which is why the BIOS did not say anything - it wasn't it > that initiated the shutdown). > > I've connected the computer's provided power supply, and the problem is > now GONE. > > Thank you, everyone. > > Shachar > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > -------------- next part -------------- An HTML attachment was scrubbed... URL: From shlomo.solomon at gmail.com Sat Mar 13 20:03:14 2021 From: shlomo.solomon at gmail.com (Shlomo Solomon) Date: Sat, 13 Mar 2021 20:03:14 +0200 Subject: terrible audio on webcam Message-ID: <20210313200314.73ca91bd@shlomo1.solomon> Let me start by saying that for years I've tried to get a "cheap" webcam to work on Linux with very little success, but UVC seems to have changed that. I bought a cheap camera on Aliexpress and it works perfectly - REAL plug-and-play. BUT that's only true of the video. The audio is unbelievably bad - all I get is a weird squeaky noise. It seems to be picking up just a few random frames and skipping most of the sound. 2 comments: 1 - it's not the hardware because it works fine on a Windows laptop 2 - I do have a work-around - I use the camera for video and a "regular" microphone connected to the sound card. But it would be nice to figure out what's wrong and how to fix the camera's audio. I've tested - and seen (actually heard) the same problem using zoom, cheese, webcamoid, arecord + aplay, audacity. I do see a problem in dmesg, but have no idea what to do about it. Here's the output: [1371995.047030] usb 1-5: new high-speed USB device number 96 using xhci_hcd [1371995.196029] usb 1-5: New USB device found, idVendor=1224, idProduct=2a25, bcdDevice= 1.00 [1371995.196035] usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [1371995.196038] usb 1-5: Product: USB PHY 2.0 [1371995.196041] usb 1-5: Manufacturer: Jieli Technology [1371995.197540] uvcvideo: Found UVC 1.00 device USB PHY 2.0 (1224:2a25) [1371995.199845] input: USB PHY 2.0: USB CAMERA as /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/input/input95 [1371995.205917] usb 1-5: failed to read current rate; disabling the check [1371995.208350] usb 1-5: Warning! Unlikely big volume range (=4096), cval->res is probably wrong. [1371995.208351] usb 1-5: [3] FU [Mic Capture Volume] ch = 1, val = 0/4096/1 [1371995.394425] xhci_hcd 0000:00:14.0: WARN: buffer overrun event for slot 55 ep 4 on endpoint [1371995.394428] retire_capture_urb: 1714 callbacks suppressed [1371995.395424] xhci_hcd 0000:00:14.0: WARN: buffer overrun event for slot 55 ep 4 on endpoint [1371995.398423] xhci_hcd 0000:00:14.0: WARN: buffer overrun event for slot 55 ep 4 on endpoint and the "buffer overrun event" is then reported 1700 !!! times after that I've seen many references to retire_capture_urb: XXX callbacks suppressed - for example: https://www.spinics.net/lists/alsa-devel/msg119934.html But I have no idea how to fix this. -- Shlomo Solomon http://the-solomons.net Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04 From slitt at troubleshooters.com Sat Mar 13 20:59:50 2021 From: slitt at troubleshooters.com (Steve Litt) Date: Sat, 13 Mar 2021 13:59:50 -0500 Subject: Riddle me this: unsolicited orderly shutdown In-Reply-To: <45cd2789-bda1-a507-1d32-90acab38adaa@shemesh.biz> References: <5d292e31-d095-38a8-2154-71b540d7e4c1@shemesh.biz> <4677426.jbxs0lztFJ@beast> <45cd2789-bda1-a507-1d32-90acab38adaa@shemesh.biz> Message-ID: <20210313135950.3d1161e7@mydesk.domain.cxm> On 12/03/2021 14:08, Shachar Shemesh wrote: >I've cracked it!!! > >The problem was that my USB-C docking station was incapable of >providing enough power to run the computer. It should not have been a >problem, as I'm guessing the problem was momentary and the computer's >battery would have also sufficed. It did, however, respond to this >situation by sending a power-off key (which is why the BIOS did not >say anything - it wasn't it that initiated the shutdown). > >I've connected the computer's provided power supply, and the problem >is now GONE. > >Thank you, everyone. Nice troubleshooting Shachar! Something like that could be extremely elusive. SteveT Steve Litt Spring 2021 featured book: Troubleshooting Techniques of the Successful Technologist http://www.troubleshooters.com/techniques From shlomo.solomon at gmail.com Sat Mar 13 22:45:23 2021 From: shlomo.solomon at gmail.com (Shlomo Solomon) Date: Sat, 13 Mar 2021 22:45:23 +0200 Subject: USB TV capture card In-Reply-To: <20200709140624.71a0b57e@shlomo1.solomon> References: <20200709140624.71a0b57e@shlomo1.solomon> Message-ID: <20210313224523.68414b59@shlomo1.solomon> Answering my own question. UVC to the rescue. I bought a cheap UVC USB capture device and it works great. On Thu, 9 Jul 2020 14:06:24 +0300 Shlomo Solomon wrote: > I've asked this before, but I'm hoping that maybe I'll finally get an > answer :-) > > I have a **VERY** old PCI TV card (SAA7130 chip). Each time I consider > getting a new PC, I run up against the problem of today's motherboards > not having PCI slots. > > Can anyone suggest a USB device to replace what I have? Of course, THE > criteria is that it work with Linux :-) > > To be clear, I'm NOT looking for over-the-air TV or DVB-T or even a > tuner. All I want to do is to be able to connect to a YES "MEMIR" and > get video+audio in TVtime, Xawtv or whatever. > > > -- Shlomo Solomon http://the-solomons.net Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04