[01:17] <brk> hello, I have high fps on videos, where do I start to resolve this issue?
[01:18] <Crucifyy> sounds like a good problem?
[01:18] <brk> sounds like a lame problem, but don't have anything fancy to ask :D
[01:19] <InPhase> brk: Do you mean playback speed is like a black and white era comedy skit?
[01:19] <brk> InPhase, kind of, yeH
[01:19] <InPhase> brk: Check the playback speed settings in whatever player you're using.
[01:19] <InPhase> Look for Normal or 1X
[01:19] <brk> I am watching youtube
[01:19] <InPhase> Same there.
[01:20] <brk> I dont care where do you watch your videos, I need help :)
[01:21] <InPhase> I mean do the same thing there.
[01:22] <brk> and how that fix the problem
[01:22] <InPhase> It corrects the playback speed when you change the setting in the player.
[01:22] <brk> that doesn't have anything to do with the fps I am having
[01:22] <brk> I am talking about wathing videos on youtube
[01:23] <brk> its a video card and drivers problem
[01:25] <brk> and the picture isnt great
[01:25] <brk> there is some shadows and circles
[01:25] <InPhase> brk: I'm not sure what the confusion is, but the youtube player has a gear at the bottom, and when you click it one of the options is "Playback Speed", followed by an option to adjust it to the right of that.
[01:25] <brk> could it be my video cards is really bad?
[01:26] <InPhase> If that is not the issue then you might need to try again to explain the problem.
[01:26] <brk> InPhase, yes, it doesnt have 1x speed. Even if it had what difference does it make other than making the playback speed faster or slower
[01:27] <brk> I just said the issue
[01:27] <murmel> brk: what gpu do you even have?
[01:27] <brk> its like .... imagine watching sports on a crappy tv
[01:28] <brk> NVIDIA® GeForce® MX250 / Intel® UHD Graphics
[01:29] <murmel> brk: did you make sure that the drivers are correctly installed?
[01:29] <brk> no
[01:29] <brk> im sorry
[01:30] <brk> Intel® Iris® Xe Graphics
[01:30] <brk> thats the one I have
[01:30] <brk> murmel, I didn't
[01:30] <brk> just installed and upgraded ubuntu
[01:31] <Bashing-om> !prime
[01:31] <murmel> brk: that's probably your issue
[01:32] <brk> murmel, where do I start
[01:33] <murmel> brk: sudo ubuntu-drivers autoinstall
[01:34] <brk> all available drivers are installed
[01:38] <murmel> brk: you are on 22.04?
[01:38] <brk> yes
[01:39] <murmel> brk: do you have nvidia-prime installed?
[01:40] <brk> i was about to ask how do i check prime sync if its enabled
[01:40] <brk> but maybe I don't even have it installed
[01:41] <brk> installed it
[01:41] <brk> anything else I could check before I reboot?
[01:41] <murmel> brk: why would you need to reboot?
[01:41] <brk> then just update?
[01:42] <brk> that was the problem
[01:42] <brk> now its all good
[01:43] <brk> thank you
[01:45] <brk> although the picture isn't very good
[01:45] <brk> its not crisp, feels like slightly blurry
[01:46] <murmel> brk: hm make sure that the resolution is a native to the screen one
[01:47] <brk> isn't it full screen from youtube automatically resizing the native resolution of the screen?
[01:49] <brk> I just tried 4k and its actually good enough
[01:50] <brk> I was watching HD only 1080
[01:50] <murmel> brk: oh you were talking about a yt video. sometimes yt bugs and it doesn't load the 4k content
[01:52] <brk> now another 4k video, again high fps
[01:53] <brk> so its ytube then, after I installed the nvidia prime
[01:53] <brk> it is better, but apperantly ytube is having problems on some videos
[01:55] <murmel> brk: and what kind of issues
[01:56] <brk> fps issues
[01:56] <murmel> brk: hm that sounds like a codec issue, hw accel
[01:58] <brk> and also on solid color scenes, I can see blurs and circles
[01:58] <murmel> brk: I almost assume that's on the igpu, but can't say for sure. as the xe graphics are not that well supported as of right now
[01:59] <brk> but not always
[01:59] <brk> mhm, thats bad
[01:59] <brk> anything else I can try to ... install or modify?
[02:00] <brk> or pull more info?  any useful commands?
[02:00] <murmel> brk: I would first still make sure that nvidia drivers are correctly installed and used by the gpu. maybe you could try a newer mesa version, but that can be a little bit tricker
[02:00] <murmel> trickier
[02:01] <brk> how do i check if the drivers are installed correctly
[02:04] <brk> https://pastebin.com/7i7c5r2i
[02:04] <murmel> brk: there is no nvidia gpu?
[02:05] <murmel> brk: try lspci -vnn | grep VGA or ubuntu-drivers devices
[02:05] <brk> nothing
[02:06] <murmel> brk: are you sure, that you should have a nvidia gpu?
[02:06] <brk> I think so
[02:06] <murmel> brk: I mean your laptop says no
[02:07] <brk> iRIS XE Graphics for sure, yes
[02:07] <murmel> brk: yes, but that's an intel gpu
[02:07] <murmel> which is on the cpu
[02:07] <murmel> still completely different
[02:09] <Bashing-om> brk: murmel: High end Nvidia card - maybe like: lspci -k | grep -EA2 'VGA|3D' ? to show ??
[02:10] <brk> 0:02.0 VGA compatible controller: Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] (rev 01)
[02:10] <brk> 	Subsystem: QUANTA Computer Inc TigerLake-LP GT2 [Iris Xe Graphics]
[02:10] <brk> 	Kernel driver in use: i915
[02:11] <InPhase> brk: You keep saying that your problem is "high fps", which isn't really a problem.  That means it's working well.  What is the actual issue going on that you have been calling that?  Can you explain that part in other words?
[02:13] <brk> InPhase, every 1 second I have a video frame freezing for about 0.01 seconds. And the picture isn't crisp enough on some videos. And also if on some wallpapers or some solid colour videos, sometimes I can see shades on the picture/video
[02:14] <murmel> brk: what laptop do you own?
[02:14] <brk> InPhase, choppy and blurry - can't explain better than that
[02:15] <InPhase> brk: How old is the laptop?
[02:15] <brk> https://www.currys.co.uk/products/huawei-matebook-d-15.6-laptop-intel-core-i7-512-gb-ssd-grey-10236036.html
[02:15] <InPhase> brk: Also, does it become warm to the touch and are the fans on when this happens?
[02:16] <brk> temperature is low and rarely can hear fans
[02:16] <murmel> yeah so it's only the intel gpu, which well, afaik has underwhelming support as of right now
[02:17] <murmel> brk: btw, as you don't have a nvidia gpu, you can uninstall nvidia-prime if you want
[02:18] <brk> murmel, thanks for reminding me. Purge or autoclean or remove, which one to use first?
[02:18] <InPhase> murmel: An intel gpu at that level will handle youtube videos just fine under normal conditions.  This is a very light load for it.
[02:18] <murmel> brk: first? purge if you want to remove also the configs
[02:19] <brk> InPhase, any command or a tool to watch the temperature?
[02:19] <InPhase> brk: sensors in package lm-sensors
[02:19] <murmel> InPhase: I was talking about the screen issues, not the yt video
[02:20] <Bashing-om> brk: ^ no indication of an Nvidia card - yet - please use a pastebin site for requested info as in: lspci -k | grep -EA2 'VGA|3D' | nc termbin.com 9999 . The result is a URL, give us that URL and we see what is.
[02:21] <murmel> Bashing-om: the laptop doesn't have a nvidia gpu
[02:21] <Bashing-om> murmel: ack .
[02:22] <brk> https://termbin.com/32xo
[02:23] <brk> InPhase, how can I monitor live the temperature sensors
[02:23] <InPhase> brk: watch -n 1 sensors
[02:24] <brk> thank you
[02:24] <brk> im playing 8k video and temperatures are 35-42
[02:25] <murmel> hm okay interestingly that specific gpu should be pretty well supported :/
[02:25] <InPhase> brk: Give it a minute to level out in temp, but that sounds pretty good.
[02:25] <InPhase> brk: It's possible you have some sort of failure to get DRI going.
[02:25] <InPhase> This doesn't happen too often these days, but there might be a log entry indicating such an issue.
[02:27] <InPhase> brk: Perhaps as a quick diagnostic, pause the video and try:  glxgears -fullscreen
[02:27] <InPhase> Tell us if this is stable or jittery with those pauses.
[02:27] <brk> ok
[02:28] <InPhase> Also it should probably report on console being synchronized to the vertical refresh rate, and report a result of, most likely, 60 FPS.
[02:29] <brk> its not good InPhase
[02:29] <brk> Running synchronized to the vertical refresh.  The framerate should be
[02:29] <brk> approximately the same as the monitor refresh rate.
[02:29] <brk> 305 frames in 5.0 seconds = 60.975 FPS
[02:29] <brk> 300 frames in 5.0 seconds = 59.937 FPS
[02:29] <brk> 300 frames in 5.0 seconds = 59.957 FPS
[02:29] <brk> 299 frames in 5.0 seconds = 59.640 FPS
[02:29] <InPhase> Pastebins always.
[02:30] <brk> sorry, thank you
[02:31] <InPhase> brk: You're in the problem domain at the moment of something like a DRI setup failure or a problem with the opengl drivers.
[02:32] <InPhase> brk: glxinfo | grep rendering
[02:33] <brk> im downloading a 4k video to test it with vcl
[02:33] <brk> Direct Rendering - yes
[02:35] <InPhase> Well okay, it says it.  But it sure doesn't sound like it.
[02:35] <brk> its interesting, if the video is choppy - the picture is clear and crisp. If the video is smooth, then the picture is a bit blurry and not crisp
[02:35] <brk> different videos on youtube, but as murmel mentioned, its from the youtube
[02:36] <InPhase> Well glxgears being choppy is a troublesome issue by itself on a laptop of that era.
[02:36] <brk> however, none of the videos I am trying are both with good fps and crisp and clear picture
[02:36] <brk> so its a well known issue?
[02:37] <InPhase> Yes, 20 years ago.  ;)
[02:38] <brk> but my video cards is not so bad
[02:38] <InPhase> Yeah, it's not that bad.
[02:38] <InPhase> Something is misconfigured or not loading right I think.
[02:38] <InPhase> brk: glxinfo | grep Accelerated
[02:38] <brk> maybe I can dry different kernal?
[02:39] <brk> no output
[02:39] <InPhase> Did you spell it right?
[02:39] <brk> accelerated -yes
[02:40] <brk> temperatures still 32-42
[02:41] <brk> cpu runs on 14-20% and used ram is 3.8
[02:42] <brk> is it worth saying that I dont have sound from the speakers?
[02:43] <InPhase> Well that sounds troubling but is a different subsystem.
[02:45] <brk> I tried 4k video on vlc and fps is very good, but again its just not clear and crisp and colours aren't that great
[02:45] <InPhase> brk:  grep -E "WW|EE" /var/log/Xorg.0.log | nc termbin.com 9999
[02:46] <brk> nothing
[02:46] <arraybolt3[m]> brk: Do you have an external monitor you can try videos on? Maybe your screen is bad, not your iGPU.
[02:46] <brk> I don't have such file im not using xorg
[02:48] <brk> arraybolt3[m], I dont have any cables, and I guess if I screen it somehow wirelessly on another laptop, wont be any good
[02:48] <InPhase> Oh.  Well someone in the Wayland camp will need to advise on the new equivalent for finding logged errors for that.
[02:48] <brk> should I log in with xorg then InPhase ?
[02:50] <brk> InPhase, I can paste you journalctl logs, if good enough?
[03:00] <brk> why my download speed with youtube-dl is so bad 80KiB/s
[03:01] <Unit193> I believe youtube throttled that, try yt-dlp from -backports.
[03:01] <brk> no sound, crappy picture low dw speed - just great experience
[03:01] <brk> Unit193, ok, thanks
[03:03] <brk> are the commands the same?
[03:04] <Unit193> yt-dlp is a maintained fork, there might be some differences but yeah it's close to drop-in.
[03:05] <brk> Unit193, thank you, now its much faster
[03:05] <Unit193> \o/
[03:09] <brk> its pain watching action movies, will it be any difference between xorg and wayland?
[03:27] <brk> hey, you still here? I found one solution from ask.ubuntu that is about installing linux-oem-22.04
[03:27] <brk> what would change if I install this kernal?
[03:28] <brk> although its recommended for ubuntu 20.04, and I am on 22.04
[03:32] <manzabud> gnome shell top bar and dash should set light when light theme is set
[03:56] <yash> hello
[07:51] <Guest5647> I find the instructions at
[07:51] <Guest5647> https://help.ubuntu.com/community/Full_Disk_Encryption_Howto_2019
[07:51] <Guest5647> very useful. I see room for some more simplifications, however.
[07:51] <Guest5647> First of all, you do
[07:51] <Guest5647> not need a keyfile immediately, you just need to type in the
[07:51] <Guest5647> passphrase multiple times at the first reboot. Once you have the
[09:20] <tomreyn> !paste | Guest5647
[09:22] <tomreyn> Guest5647: maybe you can contact the author of this guide, or comment on community.ubuntu.com (or elsewhere, and then ask someone in #ubuntu-docs to add a link there)
[09:23] <Guest5647> the author gave no other contact than this chat
[09:33] <tomreyn> so it'll be the other option then
[11:48] <Guest17> Hello, why ubuntu is consuming more RAM than windows in terms of browser usage like chrome?
[11:48] <ravage> ask google
[11:50] <oerheks> Linux uses more ram if available, and trottles back when other tasks need more ram. be happy with that
[11:51] <Guest17> oerheks, this is not accurate since it uses my swap memory when the ram memory is full
[11:52] <Guest17> few years before linux was better for old computers but now i don't think so
[11:52] <Guest17> for tasks like browsing
[11:52] <Guest17> maybe the best option to be more efficient is to use Windows + WSL
[11:52] <Guest17> if you are a developer
[11:52] <Guest17> isn't it?
[11:52] <ravage> it isnt
[11:53] <oerheks> and ofcourse you run the *exact* same pages on the *exact* same day
[11:53] <ravage> if you have an ubuntu support question ask. for general chat see #ubuntu-discuss or #ubuntu-offtopic
[11:54] <Guest17> Can we make ubuntu more efficient?
[11:55] <oerheks> We do it all the time..
[11:55] <Guest17> or there is a distro that is more efficient than ubuntu for browsing?
[11:55] <oerheks> in short; no
[11:56] <Guest17> a youtube video takes 1GB of ram in ubuntu and 300 MB of ram on windows 10
[11:56] <Guest17> it's a huge difference
[11:56] <oerheks> nice!
[11:59] <BluesKaj> Hi all
[12:01] <mrkubax10> I feel like using all RAM that is available is better approach than using swap for no reason
[12:04] <Guest17> mrkubax10, ubuntu is using all my RAM and all my swap
[12:04] <Guest17> when I use browsing
[12:04] <Guest17> 16GB of RAM
[12:05] <Guest17> 8GB of swap
[12:05] <Guest17> and VSCode open to and other programs
[12:05] <murmel> Guest17: oO how many tabs are oopen?
[12:05] <Guest17> when I used windows the RAM consumption was not so high
[12:05] <murmel> Guest17: I assume the browser gets more attention on windows *shrug*
[12:06] <Guest17> murmel, what is the meaning of *shrug*?
[12:07] <murmel> Guest17: your shoulders shrug
[12:07] <Guest17> don't you think that nowadays is windows + wsl more efficient than ubuntu?
[12:07] <Guest17> for a developer?
[12:08] <ravage> !ot
[12:09] <oerheks> totally different usercase.. vscode?
[12:10] <murmel> yeah I also wonder how many browsers Guest17 has open xD
[12:10] <oerheks> nobody is interested in WSL, Guest17 , we don' t even support that here
[12:42] <mrcoffee> Hi there..
[12:42] <mrcoffee> Trying to build libusb 1.0.13 to no avail.. The whole process seems to pass and compile fine..
[12:42] <mrcoffee> But then why is the other program im building not finding it and still errorgin out?
[12:44] <murmel> mrcoffee: any reason why that specific version?
[12:44] <murmel> mrcoffee: did you install it?
[12:44] <mrcoffee> Yes qemu with libusb support asks for it..
[12:45] <Maik> mrcoffee: please don't cross post
[12:45] <mrcoffee> murmel yes i downloaded the source and build it, it seems to pass.. What you mean cross post Maik?
[12:46] <Maik> mrcoffee: you're posting in #linux too where they are trying to help you already
[12:46] <mrcoffee> So.. Is that illegal or something?
[12:46] <oerheks> asking in multiple channels to get as many volunteers working for you , not nice
[12:47] <oerheks> i guess you are not even running ubuntu, as our qemu does not ask for it.
[12:47] <Maik> mrcoffee: "Don't cross post your question. Each Ubuntu channel has distinct topic ranging from general Ubuntu chat, to specific Ubuntu technologies. Ask your question in the channel that is most relevant to your query. Don't post in multiple Ubuntu channels or in channels with unrelated topics. To check a channels topic, type "/topic" into your IRC client."  https://wiki.ubuntu.com/IRC/Guidelines
[12:47] <mrcoffee> Well thats what I usually do, cuz sometimes what you dont know here Linux does.. And yes I am running Ubuntu..
[12:47] <mrcoffee> Well Linux is not an Ubuntu channel.
[12:48] <murmel> mrcoffee: still not nice to ask in multiple channels, as you waste others people time.
[12:49] <Maik> mrcoffee: read again: " Don't post in multiple Ubuntu channels or in channels with unrelated topics"
[12:49] <BluesKaj> mrcoffee, I'll repeat a question you were asked in #linux, why are you compiling from source, when there's really no need to do so?
[12:49] <mrcoffee> I disagree, if you want to help fine, if you dont, dont.. Honestly ill end just going to the Linux channel beacuse everytime i come to Ubuntu i get nothing just ramblings.
[12:49] <mrcoffee> BluesKaj is ther no need to do so?
[12:49] <murmel> mrcoffee: no, it's an ****** attitude, as I don't know what is already answered in #linux
[12:50] <BluesKaj> !install | mrcoffee
[12:52] <brkcore> Hello, I have some odt and pdf file that I moved from ubuntu 18.04 to encrypted usb and then moved them to ubuntu 22.04. Now these are showing with 0 bytes and empty
[12:53] <brkcore> is it something to do with the 18.04 and 22.04 not compatible or something?
[12:53] <ravage> brkcore, maybe you unplugged the usb storage without ejecting it properly?
[12:54] <brkcore> ravage, oh ok, yeah, I always unplug them without ejecting
[12:54] <ravage> then your files never got written at all i suppose
[12:54] <brkcore> now I have a message - could not open file "admin:///media/username/....
[12:55] <brkcore> ravage, I was able to access them all the time
[12:55] <oerheks> copy it again from that encrypted usb?
[12:55] <brkcore> I just did
[12:56] <brkcore> actually most of my files and folders last few times I was moving them, rather copying
[13:00] <brkcore> so its not a problem between 18.04 and 22.04, just me
[13:01] <oerheks> as opf 21.04 your home folder is no longer world readable, can you open that file with sudo, for a test?
[13:01] <oerheks> c/opf/of
[13:01] <brkcore> but I can see now the same file on 18.04 is all good, and then the copy on 22.04 is showing as 0 bytes
[13:01] <brkcore> oerheks, i will try
[13:03] <brkcore> oh yes, I mean the files are on the encrypted usb. They are all good on the 18.04 but not on the 22.04 (and thats two different alp tops)
[13:13] <mrcoffee> I am sorry to say, but this channel has becoma ridiculous place where only missdirection is to be found, bye.
[13:39] <thyriaen> i am looking to install gcstar, hoewever since 22.04 the ppa, nor repack debs work anymore due to dependency issues - is there a good repalcement sofware or way to install it ?
[13:43] <leftyfb> thyriaen: https://alternativeto.net/software/gcstar/
[13:43] <leftyfb> thyriaen: you can also try #ubuntu-offtopic for software opinions
[13:44] <ravage> thyriaen, the gtk3 version installs and runs just fine on my 22.04
[13:44] <ravage> you may have to install some perl modules manually. but they all exist in the ubuntu repo
[13:44] <thyriaen> ravage, how did you install it ?
[13:45] <ravage> sudo ./install --text
[13:46] <ravage> that shows some missing perl modules. so i did "sudo apt install libxml-simple-perl ibgtk3-simplelist-perl"
[13:46] <ravage> and then it installed. you may check the other optional modules if you need them
[13:47] <thyriaen> ibgtk3-simplelist-perl isnt found
[13:47] <thyriaen> ok
[13:47] <thyriaen> done
[13:47] <ravage> libgtk3-simplelist-perl"
[13:47] <thyriaen> yea
[13:49] <thyriaen> ravage, did you install it to /usr/local ? cause my interface looks really screwed up with blue buttons and they don't look right
[13:49] <ravage> yes
[13:49] <ravage> i already removed it. tried it in a container
[13:50] <ravage> i dont know how it should look like really
[13:50] <ravage> never heard of the tool before
[13:53] <thyriaen> ravage, thanks :p
[14:15] <jhutchins> !info gcstar
[14:21] <jhutchins> Most of those alternatives look pretty much like databases with minimal front-ends.  You could just learn to use something like postresql
[14:21] <leftyfb> jhutchins: they left
[14:30] <manwhowouldbekin> Greetings all! When running sudo apt install sagemath on Ubuntu 22.04, I get this: https://termbin.com/jkud What can I do to fix it?
[14:36] <tomreyn> manwhowouldbekin: you have ligd3-dev installed from a PPA (sury.org's PHP PPA), but this package depends on the very libgd3-dev version of ubuntu
[14:36] <tomreyn> actually libgd3, not libgd3-dev
[14:37] <manwhowouldbekin> tomreyn, Thanks! Is this fixable?
[14:40] <tomreyn> manwhowouldbekin: you can ppa-purge the PPA, or downgrade the very package to the version in ubuntu AND set up apt-pinning for it.
[14:40] <Linux^_> Hi how can I access a user folder (example : root or example1) that I can not directly "su" but logging in other user I can su to them?
[14:40] <Linux^_> Hi how can I access a user folde via ftp client like filezilla
[14:41] <tomreyn> Linux^_: should we ignore the first question then?
[14:41] <Linux^_> No I forgot to mention "via ftp client" in first question tomreyn
[14:42] <Linux^_> I can ftp to the user can I can ssh normally (example username: ubuntu)
[14:43] <tomreyn> i'm not really able to understand what you're asking. :-/
[14:43] <Linux^_> what I normally do is in ssh , I ssh into ubuntu then I type sudo su to  root
[14:43] <Linux^_> I can not directly  ssh into root
[14:43] <Linux^_> SO I can ftp into ubuntu now how can I ftp into root?
[14:43] <Linux^_> Did I clarify now?
[14:44] <tomreyn> to access something with an ftp client like filezilla, you will need to run an ftp server. to access something by ssh you will need to run an ssh server. to access something locally, on the same computer, when owned by a different user, you need to sudo or su -
[14:44] <tomreyn> use sftp, not ftp, for this purpose
[14:45] <Linux^_> Ok let me try it again so you understand it
[14:45] <tomreyn> and if you need to transfer files into a location where only root can write (why?!) then you may need to install an ssh key for the root user
[14:46] <Linux^_> I can FTP into user Ubuntu using filezilla. But I can not ftp into user root
[14:46] <tomreyn> don't use ftp, it's an old, insecure, clumsy, protocol. use sftp.
[14:46] <Linux^_> In SSH I can ssh into ubuntu and then I can type sudo su to become root is there any way to  ftp into ubuntu then elivate the position?
[14:47] <Linux^_> don't use ftp I know its for simplicity
[14:47] <Linux^_> I am asking question  using term ftp for simplicity
[14:47] <tomreyn> if you already have an ssh server, sftp is already supported, no need for a separate ftp server
[14:48] <Linux^_> yes but that as not the question actually... I dont know If  am able to clarify my question
[14:48] <tomreyn> you won't be able to transfer files to /root either way, though, unless you authenticate as root via ssh
[14:49] <tomreyn> (which is what you'll be doing when using sftp)
[14:49] <Linux^_> when I try to directly ssh into root I get this message "Authenticating with public key "imported-openssh-key" from agent
[14:49] <Linux^_> Please login as the user "ubuntu" rather than the user "root"."
[14:50] <tomreyn> Linux^_: let's try it this way: what's the goal of what you'Re doing there? why do you need to transfer files to the ubuntu system in a directory only root can access?
[14:50] <Linux^_> I want to get the log file of an application
[14:51] <tomreyn> and this log file is owned by whom?
[14:51] <Linux^_> also if I ftp using root login I will be able to brose all users
[14:51] <Linux^_> I will be able to enter into all users
[14:51] <tomreyn> yes, that would be bad, if you actually just need to access part of the system
[14:52] <Linux^_> so do you have solution for this? "Please login as the user "ubuntu" rather than the user "root""
[14:52] <tomreyn> is this actually an ubuntu system?
[14:52] <Linux^_> yes. how can I ssh directly ?
[14:52] <Linux^_> how can I ssh directly into root?
[14:53] <tomreyn> is this an AWS EC2 instance?
[14:53] <tomreyn> because you wouodn't normally see this message
[14:53] <tomreyn> it does seem to be a cloud image for sure
[14:54] <Linux^_> yes cloud ubuntu
[14:54] <Linux^_> ubuntu 20.04
[14:54] <tomreyn> Linux^_: do you know how ssh key based authentication works?
[14:55] <Linux^_> yes You save the key in your PC and enable it using putty then you  ssh into the user
[14:55] <tomreyn> ah, seems like you're already doing so, cool.
[14:55] <Linux^_> but I cant into root
[14:56] <tomreyn> you can edit /root/.ssh/authorized_keys and remove this: ,command="echo 'Please login as the user \"ubuntu\" rather than the user \"root\".';echo;sleep 10"
[14:57] <tomreyn> Linux^_: but this should not actually be needed if you just use sftp, not ssh
[14:57] <tomreyn> i.e. you'd reduce a relevant security feature by removing this
[14:57] <Linux^_> I cant sftp into root . wait I am posting hat error I get
[14:59] <tomreyn> you'll also need to install your ssh key (the one that's already in /home/ubuntu/.ssh/authorized_keys ) in /root/.ssh/authorized_keys
[15:00] <Linux^_> tomreyn https://paste.ubuntu.com/p/Hm9D6Y2mFr/
[15:01] <Linux^_> I can sftp into ubuntu user just fine ok so may be I have to what you have said  "need to install ssh key into root
[15:04] <tomreyn> i assume this error message rather suggests that the remote server is not configured to run the sftp subsystem for root.
[15:04] <Linux^_> tomreyn I will have to just copy paste the authorized_keys  from ubuntu/.ssh to  root/.ssh?
[15:04] <leftyfb> Linux^_: you do not need to ssh in as root
[15:04] <Linux^_> I will turn off ssh for root tomorrow
[15:04] <manwhowouldbekin> tomreyn, How would I purge the PPA? I do not think it is one of the PPAs that is added to my system.
[15:04] <tomreyn> ^ most likley not, i tried to explain this previously, and ask about it
[15:04] <leftyfb> Linux^_: enabling root to login via ssh is a terrible idea and is the reason it's disabled by defailt
[15:04] <leftyfb> default*
[15:05] <tomreyn> manwhowouldbekin: well, you have a package version installed from that ppa
[15:05] <Linux^_> I will turn it off tomorrow
[15:05] <leftyfb> Linux^_: you do not need to ssh in as root
[15:05] <tomreyn> !ppapurge | manwhowouldbekin
[15:05] <Linux^_> I will turn it off after some time
[15:05] <leftyfb> Linux^_: you do not need to ssh in as root
[15:06] <Linux^_> But I need to access root from sftp
[15:06] <leftyfb> Linux^_: I can guarantee you there are multiple ways to accomplish your end goal, none of which involve ssh'ing in as root
[15:06] <Linux^_> ok I dont want to ssh into root I want sftp into root
[15:06] <leftyfb> same thing
[15:07] <leftyfb> Linux^_: what are you trying to accomplish exactly?
[15:07] <leftyfb> "without mentioning ssh and root"
[15:07] <Linux^_> so how can I get the log of a package without sftp into root?
[15:07] <leftyfb> the log of a package?
[15:07] <Linux^_> log.txt
[15:07] <leftyfb> you mean you want to download log files stored somewhere on the filesystem?
[15:07] <Linux^_> yes
[15:07] <leftyfb> Linux^_: did you try?
[15:08] <Linux^_> If I can not access how can I do it? I have just sftp into ubuntu username
[15:08] <leftyfb> Linux^_: when you sftp in, did you try navigating to the location of the log file(s)?
[15:08] <Linux^_> ok let me try again
[15:18] <manwhowouldbekin> tomreyn, I am getting this: https://pastebin.com/8C1RJxHQ ; I am trying per these instructions: https://github.com/oerdnj/deb.sury.org/wiki/How-to-downgrade-to-stock-packages
[15:28] <tomreyn> manwhowouldbekin: apparently you don't have this PPA configured anymore, but leftover packages / package versions installed from it
[15:28] <tomreyn> also, you have a couple other APT misconfigurations
[15:29] <tomreyn> manwhowouldbekin: you can downgrade package "mypackage" to version "myversion" by running     sudo apt install mypackage=myversion
[15:30] <tomreyn> manwhowouldbekin: this shows which package versions are known for package "mypackage" (run "sudo apt update" beforehand): apt policy mypackage
[15:31] <hemm> hi
[15:31] <hemm> clear
[15:32] <tomreyn> hemm: hi, do you have an ubuntu support question?
[15:40] <manwhowouldbekin> tomreyn, Thanks! It seems to have worked! :-)
[15:41] <tomreyn> manwhowouldbekin: do you also want to take on the other apt issues?
[15:41] <manwhowouldbekin> tomreyn, What do you mean?
[15:42] <tomreyn> the lines starting with W here https://pastebin.com/raw/8C1RJxHQ
[15:42] <manwhowouldbekin> tomreyn, That would be good! What can I do about those?
[15:43] <tomreyn> well, for the first two, it tells you
[15:44] <tomreyn> for the third, i'm trying to find this out now. and the 4th should be a result of the 3rd.
[15:48] <tomreyn> manwhowouldbekin: to check for installed packages which wil not receive updates / security patches: apt list --installed | grep ',local]$' 2>&1 | nc termbin.com 9999
[15:48] <tomreyn> to share your configured apt repositories:    sudo grep -hEv '^([ ]*#.*)?$' /etc/apt/sources.list{,.d/*.list} 2>&1 | nc termbin.com 9999
[15:48] <tomreyn> hi José
[15:55] <tomreyn> Linux^: did you make any progress there?
[15:55] <tomreyn> manwhowouldbekin: or you?
[15:55] <Linux^> No actually
[15:55] <Linux^> I think I need to change something
[15:56] <Linux^> I can sftp to another user1 too
[15:56] <Linux^> not*
[15:56] <tomreyn> Linux^: did you try to access the file you want to access as user 'ubuntu' though?
[15:57] <Linux^> I cant!! that file is in user1 folder
[15:57] <leftyfb> tomreyn: I need to step away, but if they ever get in and still can't navigate to where they need to go, my next suggestion would be a bind mount
[15:57] <Linux^> I just did cp log -R /home/ubuntu
[15:57] <Linux^> then got the log from there
[15:57] <Linux^> I  will reinstall OS
[15:58] <tomreyn> leftyfb:  yes, might work. or writing it with proper permissions / at the right place.
[15:58] <leftyfb> yep
[15:58] <tomreyn> Linux^: reinstalling Ubuntu isn't going to solve this
[16:00] <tomreyn> whats the error message when you run, as user "ubuntu"     wc -l /home/user1/log     (or wherever the log file is written normally)?
[16:00] <manwhowouldbekin> tomreyn, Making progress, I think.
[16:03] <tomreyn> progress is good, unless you're standing in front of a cliff
[16:07] <manwhowouldbekin> tomreyn, :D Got the first two. Not sure about the third.
[16:09] <tomreyn> manwhowouldbekin: are you using proxy server to access the internet?
[16:13] <manwhowouldbekin> tomreyn, I don't think so. Just a regular connection with a home router.
[16:15] <tomreyn> manwhowouldbekin: can i see the output from the commands i posted above (posting to termbin.com)
[16:16] <tomreyn> also, run a fresh    sudo apt update    and see whether these W: lines are gone, yet
[16:17] <manwhowouldbekin> tomreyn, https://termbin.com/n8b5
[16:18] <tomreyn> hmm, that's plenty of remainders from not only the sury PPA
[16:19] <tomreyn> those packages from this list that you don't know or don't need you should apt purge
[16:20] <tomreyn> but watch out not to purge things you still need as a side effect of it (apt will ask)
[16:21] <tomreyn> manwhowouldbekin: and those packages on this list that you want to keep, you should try to find an apt repository for, because you currently have none configured for them. to get updates (and security patches) from
[16:23] <tomreyn> for the "+deb.sury-prg" packages, you probably want to purge all of them based on our previous conversation.
[16:38] <ilovemycock> hey one question
[16:38] <ilovemycock> ubuntu 22.04 is out but when 22.04.1 it is ?
[16:39] <manwhowouldbekin> tomreyn, So, it appears that a good plan would be to purge the sury.org packages first and clean up the list. Then, I shall go through the rest. How would I look for the packages' repos? Just google around?
[16:39] <tomreyn> ilovemycock: please find a family friendly nickname first (yes, it can have other meaning but i don't care)
[16:40] <enigma9o7[m]> he has an award winning rooster....
[16:40] <derpatemarkusabh> ubuntu 22.04 is out but when 22.04.1 it is ?
[16:40] <enigma9o7[m]> August
[16:41] <tomreyn> !22.04 | derpatemarkusabh: see the last link here
[16:41] <derpatemarkusabh> yes but i MEANT !!!!!!!!!!!!!!!!!!! 22.04.1 NOT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 22.04! OMG!
[16:41] <derpatemarkusabh> !!!!!!!!!!!!!
[16:42] <derpatemarkusabh> !!!!!!!!!!!!!!!
[16:42] <tomreyn> derpatemarkusabh: stop it please
[16:42] <enigma9o7[m]> Wow august 4th to be precise
[16:42] <enigma9o7[m]> Its on the link he sent
[16:44] <MisterMom> i for one appreciated the link thanks
[16:44] <tomreyn> manwhowouldbekin: sorry, kindergarden called. the approach you suggest sounds good to me. and you're essentially asking: how do i find software (repositories) for ubuntu - i guess your answer is correct for software that's not covered by ubuntu repositories, nor snaps.
[16:45] <tomreyn> !ppa | manwhowouldbekin
[16:46] <manwhowouldbekin> tomreyn, Thanks! It may take me a bit of time to do. I maybe back to ask questions, when they arise.
[16:47] <tomreyn> manwhowouldbekin: good luck. i may or may not be around, and others may or may not be around to answer those. ;-)
[16:47] <tomreyn> (but keep them coming)
[16:50] <Linux^> I have a question how can I also enable id/password for a user which already has key
[16:51] <jhutchins> Linux^: Do you want to disable the key and require name/password?
[16:51] <Linux^> I want both
[16:52] <jhutchins> Linux^: The default is to fall back to name/password if key fails, otherwise use the key.  There is no functional difference once they're logged in.
[16:52] <Linux^> Yes so how do I set password?
[16:52] <Linux^> and enable password for failsafe
[16:52] <Linux^> sorry I mean fallback
[16:53] <jhutchins> Linux^: Generally sudo passwd <user>
[16:53] <jhutchins> Linux^: fallback is automatic; text by disabling /home/<usr>/.ssh/authorized_keys
[16:54] <jhutchins> s/text/test
[16:54] <Linux^> ok
[16:55] <jhutchins> Linux^: Just in case: If you're running an exposed ssh server, make sure you change the default port from 22 to something else.
[16:56] <tomreyn> jhutchins: Linux^ is using an AWS EC2 cloud system, apparently based on Ubuntu cloud images, which has some configuration differences to a default desktop/server installation.
[16:56] <jhutchins> tomreyn: Do we know how those differences might affect ssh authorization?
[16:57] <tomreyn> i'm not exactly sure, but i think password authentication is disabled by default
[16:57] <rfm> pretty sure the AWS images turn off password authentication.  I'll check mine...
[16:58] <jhutchins> Should be able to re-enable it in /etc/ssh/sshd_config
[16:58] <tomreyn> also the user to login with is 'ubuntu', logging in as 'root' (which was a topic before here) is prevented by yet more configurations than just what ubuntu server sets by default
[16:59] <jhutchins> That's where you set the port as well.
[17:00] <rfm> yes, my AWS instance has "PasswordAuthentication no" in /etc/ssh/sshd_config.
[17:00] <jhutchins> tomreyn: Which is a good idea to leave alone.
[17:00] <tomreyn> on AWS, there is also SSM and the AWS CLI to login to systems remotely, and securely, which does not depend on SSH.
[17:00] <tomreyn> jhutchins: i agree
[17:01] <rfm> and one can always generte a new key pair and set it via the AWS CLI (or management console)
[17:01] <tomreyn> jhutchins: if the SSH port was modified, the 'security group' (network firewall essentially) would also need to be modified
[17:02] <jhutchins> Ah, I tend to work with border firewalls rather than on-host.
[17:03] <tomreyn> that's what it is effectively, not on-host
[17:03] <jhutchins> Still, it's worth the effort.
[17:04] <jhutchins> (In my case, I'd have to request port 22 access anyway, so no extra work there.)
[17:05] <osse> When I double click on volumes in the file manager they are mounted read-only. They weren't before (not sure when this change happened, perhaps after upgrading to 21.10). How can I fix this?
[17:06] <osse> This is what `mount` prints for one drive I want to fix: /dev/sdb1 on /media/osse/e3b6d5c3-7e2b-46ec-ac52-86573b8a550e type ext4 (ro,nosuid,nodev,relatime,errors=remount-ro,uhelper=udisks2)
[17:09] <jhutchins> osse: That's a well known "feature" of most modern file managers.
[17:10] <jhutchins> osse: I'm afraid I don't know the official Ubuntu fix.
[17:10] <jhutchins> tomreyn:?
[17:11] <jhutchins> <This ought to be an ubottu factoid...>
[17:11] <osse> The errors=remount-ro thing was new to me. I ran dmesg while mounting and unmountingm and indeed there seems to be some errors
[17:12] <tomreyn> this one was "ro" mouted, so I guess it's not just the ext4 / unix-like file system permissions egtting int he way but also that either udisks2 generally mounts ro only, or is configured to mount this specific block device ro
[17:12] <tomreyn> in other words: i do not know the answer
[17:13] <tomreyn> http://storaged.org/doc/udisks2-api/latest/udisks-polkit-actions.html explains how to whitelist rw mounting known block devices
[17:13] <jhutchins> This has been true as long as GUI file managers have been mounting removable drves afik.
[17:13] <tomreyn> not for ntfs or fat formatted ones
[17:14] <rfm> osse, if it's remounting ro due to errors, you need to unmount it and fsck it..
[17:14] <jhutchins> My solution is an fstab entry for the UUID; that resolves keeping the mount point consistent as well.
[17:15] <osse> rfm: I'm not fluent in dmesgese, but that seems to be what's happening: http://sprunge.us/uytJCU
[17:15] <osse> running fsck now
[17:15] <tomreyn> jhutchins: i just mounted an ext4 file system from a separate storage (internal, but should not matter, i think) on 18.04 using gdisks2 and it was mounted 'rw'
[17:16] <tomreyn> 100 points for rfm
[17:16] <osse> jhutchins: In fact, mounting these on boot would be fine. Previously I just wanted "do whatever happens when I open in in file manager but on boot"
[17:17] <osse> But I guess fstab is the way to go
[17:17] <jhutchins> osse: Just make them noauto and they can be mounted on demand.
[17:17] <jhutchins> osse: See the entry for CD/DVD as an example.
[17:18] <tomreyn> osse: i think it would mount writable as soon as you fixed the file system
[17:18] <jhutchins> (Although I'm not sure that's rw.)
[17:18] <tomreyn> (i.e. no need for an fdisk rentry, i would say)
[17:18] <jhutchins> I don't have a test case available.
[17:19] <webchat46> Hello
[17:20] <webchat46> I'm trying to connect external webcam on Ubuntu 20.04, but it's not working.
[17:20] <webchat46> It worked for once and after restart it stopped working again.
[17:21] <webchat46> UVC is having issues connecting to the webcam
[17:21] <shevchuk> Hello. Does anyone know if `apt purge '~g'` is any different than `apt autoremove --purge`?
[17:22] <osse> tomreyn: separately from this issue, I do in fact what it mounted on boot (or when I log in; doesn't matter). I just mentioned it in passing.
[17:22] <tomreyn> osse: note that systmed will try to handle this error in case a device that is set to be mounted automatically according to fstab is missing during boot)
[17:22] <osse> Maybe there is a fancy fstab-less way of doing it
[17:23] <webchat46> Could anyone help me to resolve the webcam issue?
[17:23] <tomreyn> shevchuk: where did you read about     apt purge '~g'    ?
[17:24] <shevchuk> tomreyn: https://manpages.ubuntu.com/manpages/jammy/man7/apt-patterns.7.html
[17:25] <tomreyn> osse: use auto,nofail options in fstab then, or look into whether udisks2 can be configured to achieve the same (i do not know)
[17:25] <tomreyn> !patience | webchat46
[17:27] <jhutchins> webchat46: Check dmesg and journal (journalctl), see what the system thinks is happening when you connect it.
[17:27] <webchat46> Hi ubottu I have looked for the solutions but I couldn't find any. I have emailed to the webcam manufacturer for support, since they have claimed Linux is supported.
[17:28] <jhutchins> webchat46: Verify which release you're on, and what hardware the system sees (lsusb).  Google search linux+<chipset> or linux+<make/model>
[17:28] <shevchuk> tomreyn: I use `apt purge '~g'` it for 2+ years, so I actually just forgot what was the traditional way to remove garbage '^__^ apart from autoremove, and if autoremove was enough. Quick look at my .histfile didn't help, so I thought maybe here someone knows for sure )
[17:30] <webchat46> Hi jhutchins I checked dmesg. It's throwing an error while connecting to webcam. The webcam worked for once. It worked once when I connected to USB 2.0 port. It's not working when connected to USB 3 port. Shall I share the error message displayed in dmesg here?
[17:30] <tomreyn> shevchuk: which ubuntu version are yuo on? i just ran this command on 18.04 and apt responded with "E: Unable to locate package ~g"
[17:31] <tomreyn> !paste | webchat46
[17:31] <jhutchins> webchat46: Is it failing on boot, on hot connect, or both?
[17:32] <tomreyn> webchat46: but generally, sharing error messages regarding an issue you're trying to solve (like here) is useful, so: yes, it's good to do so.
[17:32] <shevchuk> tomreyn: it is available from 20.04 at least. I'm on 22.04 )
[17:33] <tomreyn> shevchuk: i just tried on 22.04, and indeed it's supported there. i assume the relevant documentation can be that of aptitude then.
[17:33] <eelstrebor> why do i get this question mark over my ethernet connection icon and yet still be able to websurf?
[17:33] <jhutchins> Sometimes you can get answers from a one-line error message in a web search.
[17:34] <jhutchins> eelstrebor: If it's not broken don't worry about it?
[17:34] <enigma9o7[m]> maybe the question mark is from your wifi?
[17:34] <eelstrebor> there's no wifi device on this PC
[17:34] <eelstrebor> the question mark comes and goes
[17:35] <jhutchins> eelstrebor: I'm on XFCE, right- or left-click on the network icon gives me more info.
[17:35] <tomreyn> shevchuk: unless you know of another place?
[17:35] <eelstrebor> the question mark just cleared but the connection information is the same with or without the question mark
[17:35] <enigma9o7[m]> weird eel.  i have no idea.  this is built in gnome?  or nm-tray?  or conman?
[17:36] <tomreyn> eelstrebor: maybe the ubuntu connectivity check is failing
[17:36] <jhutchins> webchat46: Definitely do a web search for your model + linux.
[17:36] <shevchuk> tomreyn: man page I linked earlier says 'Selects packages that can be removed automatically.' I was just wondering if that's exactly the same packages that would be selected by `apt autoremove` or if there are some differences in behavior
[17:37] <shevchuk> tomreyn: thanks anyway, I'll continue to google )
[17:37] <tomreyn> shevchuk: sorry, i completely missed your link
[17:39] <tomreyn> shevchuk: and yes, just having learnt about this, i do not know the answer. good luck finding out more - or reading the source code.
[17:44] <webchat47> Hello, jhutchins here is the screenshot of that webcam error. I just connected via my laptop so that's why new username. https://imgur.com/a/9PHEMvY
[17:46] <webchat47> It is failing on both, it will not throw those errors when I connect it to USB 2.0 port.
[17:47] <shevchuk> tomreyn: I just ran a quick test: installed kitty (which automatically also installed kitty-doc and kitty-terminfo), then purged kitty. Then `apt purge '~g'`... aaand it didn't remove kitty-doc and kitty-terminfo, but explicitly recommended me to use apt autoremove: "The following packages were automatically installed and are no longer required: [..] Use 'sudo apt autoremove' to remove them". So '~g' doesn't select the same packages
[17:47] <shevchuk> as autoremove, which is confusing, given the info in man )
[17:48] <ioria> webchat47, try to remove the module . sudo rmmod  uvcvideo   and insert again  : sudo modprobe uvcvideo quirks=0x100 trace=1
[17:48] <webchat47> I'll try that now.
[17:50] <ioria> ~g usually (at least with aptitude) purges the config files of already removed packages  afaik shevchuk
[17:51] <tomreyn> shevchuk: while the explanation seems similar to that of autoremove, i guess the term "garbage" isn't seen elsewhere in apt-land, but may, as the apt-patterns man page suggests, originate from aptitude, where a closer definition may be provided.
[17:51] <tomreyn> looks like ioria beat me to it ;)
[17:52] <shevchuk> tomreyn: ioria: thanks : )
[17:52] <ioria> shevchuk, ok
[17:53] <webchat47> Hello ioria Before running that command my laptop's internal webcam was showing in ```v4l2-ctl --list-devices``` but now it's showing as "Failed to open /dev/video0: Permission denied"
[17:53] <webchat47> Still external webcam is not in that list
[17:54] <ioria> webchat47, sudo rmmod  uvcvideo   ;  sudo modprobe uvcvideo
[17:56] <webchat47> I checked dmesg after that: still no luck[10856.929763] usb 3-4: New USB device found, idVendor=2bdf, idProduct=0280, bcdDevice=50.00
[17:56] <webchat47> [10856.929772] usb 3-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[17:56] <webchat47> [10856.929776] usb 3-4: Product: 1080P Web Camera
[17:56] <webchat47> [10856.929779] usb 3-4: Manufacturer: SN0002
[17:56] <webchat47> [10856.929781] usb 3-4: SerialNumber: SN0002
[17:56] <webchat47> [10856.930669] usb 3-4: Found UVC 1.00 device 1080P Web Camera (2bdf:0280)
[17:56] <Maik> !paste | webchat47
[17:58] <shevchuk> ioria: tomreyn: funny enough, `aptitude purge '~g'` _does_ purge these leftover packages, while `apt purge '~g'` does not  : |
[17:59] <webchat47> I have the screenshot of the error https://imgur.com/30Rz5NC
[18:00] <shevchuk> might be a bug, I'll probably report it at launchpad
[18:00] <webchat47> I'm not sure how to submit bug report.
[18:02] <ravage> https://lore.kernel.org/all/33efe80e-9667-ffd0-49cc-541ebd9ff586@freezy.cz/#t
[18:03] <webchat47> Yes I'm facing same issue ravage
[18:03] <webchat47> There was not solution in that page, I couldn't able to navigate that website.
[18:05] <webchat47> It worked for once, I don't know how but it was working fine till I suspended my laptop. After that it stopped working again.
[18:06] <webchat47> I was able to access that webcam in OBS and Chrome as well.
[18:07] <ravage> its a know bug for that webcam model. so i guess you have to wait for a fix in the kernel code and then you can ask for a fix in the current ubuntu kernel
[18:08] <webchat47> How can I them for fix?
[18:08] <webchat47> email them?
[18:08] <ravage> https://wiki.ubuntu.com/Kernel/Bugs
[18:09] <webchat47> Thanks ravage
[18:22] <tomreyn> webchat47: while https://groups.google.com/g/linux.kernel/c/BEBBVgEkb4c is about a completely different device, it bears the same error message and suggests that the default streaming initialization timeout may be too short for some devices. This timeout is configurable with the "timeout" uvcvideo module parameter, defaults (or did default then) to 2000 milliseconds, whereas 3000 or even 5000 may be needed fro some devices.
[18:24] <ravage> 2009. so did that patch make it upstream? :D
[18:25] <tomreyn> webchat47: so maybe try:   sudo rmmod -vuvcvideo && sudo modprobe -v uvcvideo timeout=5000 && sleep 2 && v4l2-ctl --list-devices
[18:25] <tomreyn> ravage: no idea
[18:25] <webchat47> Thanks I was searching for that command
[18:30] <tomreyn> ravage: looks like https://github.com/torvalds/linux/blob/master/drivers/media/usb/uvc/uvcvideo.h#L196
[18:31] <tomreyn> or this rather - changed 13 years ago. https://github.com/torvalds/linux/blame/master/drivers/media/usb/uvc/uvcvideo.h#L196
[18:31] <tomreyn> but UVC_CTRL_CONTROL_TIMEOUT was only changed recently, but that's not controllable by module parameter, i think
[18:32] <webchat47> It didn't work https://imgur.com/undefined
[18:33] <tomreyn> you screenshot looks pretty undefined
[18:33] <tomreyn> but please share text as text generally
[18:33] <webchat47> okay
[18:33] <tomreyn> i.e. on a pastebin, or termbin.com
[18:34] <jhutchins> Unfortunately, even bugs that have been triaged and defined with a known solution can take a long time for the fix to show up in production.
[18:35] <jhutchins> Sometimes you can patch your own kernel to fix things.
[18:37] <ravage> at least for my 22.05 kernel both values are already 5000
[18:37] <ravage> 22.04
[18:39] <webchat47> Hi tomreyn here is the dmesg log after running that given command. https://paste.ubuntu.com/p/qfh3bN4Fkd/
[18:40] <tomreyn> webchat47: oh, you have two cameras even, and now both seem to be failing
[18:40] <jhutchins> ravage: Which kernel is that?
[18:40] <ravage> 5.15.0-37-generic
[18:41] <webchat47> Yes, One is the laptop's internal camera and another is the external camera.
[18:42] <tomreyn> webchat47: and your system is a fully updated Ubuntu 20.04 amd64?
[18:42] <webchat47> Laptop internal camera is stopped when I ran this command "sudo rmmod  uvcvideo ; sudo modprobe uvcvideo quirks=0x100 trace=1"
[18:43] <webchat47> Yes its fully updated
[18:43] <webchat47> Failed to open /dev/video0: Permission denied
[18:43] <webchat47> That is the error for internal camera
[18:43] <jhutchins> webchat47: If that stops it, that implies that it was running.
[18:44] <jhutchins> webchat47: Is /dev/video0 a symlink to another device?
[18:44] <webchat47> That was linked to internal webcam before I did rmmod
[18:45] <tomreyn> i assume the internal cam may work, but the goal is to get the external going
[18:45] <webchat47> Yeah
[18:46] <webchat47> Its okay if the internal cam is not working, I use external cam on my monitor
[18:46] <webchat47> This webcam works perfectly on windows
[18:47] <webchat47> Are there any other drivers like UVC that I can try?
[18:47] <enigma9o7[m]> wow that sounds like amazing os
[18:48] <webchat47> Nope, I just checked if it was webcam's issue.
[18:48] <webchat47> it was not
[18:49] <webchat47> It worked on ubuntu today afternoon, then it again stopped connecting
[18:50] <tomreyn> webchat47: does "w" say that you have fully rebooted since, or did you just suspend + resume?
[18:51] <webchat47> I did restart for 4 times today to check webcam.
[18:53] <tomreyn> hmm then i guess i'm out of ideas and agree on the suggestion to file a bug report
[18:53] <webchat47> wait, I have a strange issue on my laptop, usb devices take more time to detect. Like when I plug in my Logitech dongle for mouse to another port then it takes some time to get it working. Like 3-4 mins sometimes
[18:54] <webchat47> Is that causing that issue for webcam?
[18:54] <tomreyn> do you mean seconds or minutes?
[18:54] <webchat47> I did wait for 10 mins but it didn't connect, maybe because there was a time out
[18:54] <webchat47> minutes
[18:54] <tomreyn> sounds like a hardware issue then
[18:54] <webchat47> It has been happening from last 4-5 months
[18:55] <osse> tomreyn, jhutchins, rfm: fsck did the trick, as expected :) Will look into udisks and stuff, but perhaps good ol fstab is the simplest
[18:55] <webchat47> I thought it was because slimbook power manager disabling USB ports .
[18:57] <tomreyn> osse: just make sure you add the "nofail" (if you'll add "auto") then in case there is a chance it would not exist during boot. having to wait for missing devices is very annoying.
[18:57] <webchat47> They show up in lsusb instantly but they won't be available to access right away. They will be available after 3-4 mins.
[18:59] <tomreyn> webchat47: please make sure to tell the full story about relevant customizations you have applied to your system before asking for support in the future.
[18:59] <webchat47> I haven't done any customizations, everything is stock
[19:00] <webchat47> my laptop is almost 10 yr old, Lenovo G580 with i3 2nd gen processor
[19:00] <enigma9o7[m]> well that sounds boring
[19:04] <enigma9o7[m]> So I win.
[19:04] <enigma9o7[m]> Mine is over 10 years old, with i7 first gen processor.
[19:04] <enigma9o7[m]> In fact the CPU itself says 2008 on it.  I now that cuz I spent over an hour with cotton swab and alochol shining it to mirror finish.
[19:04] <enigma9o7[m]> s/now/know
[19:06] <webchat47> I have filed bug report, I hope it gets resolved soon
[19:07] <ravage> https://bugs.launchpad.net/ubuntu/+source/linux-signed-hwe-5.13/+bug/1978416
[19:09] <webchat47> yes, please tell me if I have to add any other information in that bug report'=D
[19:10] <ravage> you could try a 22.04 live usb session and see if that problem still exists
[19:10] <webchat47> Okay I'll try it
[19:11] <webchat47> I was just concerned that my laptop would not be able to handle 22.04
[19:11] <webchat47> I'll give it a try tomorrow
[19:11] <ravage> i dont think there is a difference in system requirements really
[19:13] <webchat47> I'm planning for a laptop Upgrade soon, which laptop would you recommend?
[19:13] <webchat47> I'm planning for ThinkPad T14 AMD
[19:13] <ravage> ThinkPads are usually a good choice
[19:14] <webchat47> I'll be using it for next 5-7 years
[19:14] <ravage> just make sure the hardware is fully supported
[19:14] <InPhase> webchat47: The Tuxedo Pulse 15 has so far been the best Linux laptop purchase choice I ever made.
[19:15] <webchat47> It is not available in India, Thinkpads are the only choice. Dell XPS laptops are very expensive here.
[19:15] <InPhase> webchat47: I'd recommend checking it.  Their lines differ a bit, but the magnesium chasis lines seem pretty nice, and that one is a beast.  I picked it up last year, so maybe there are newer options, but it's still quite competitive.
[19:16] <InPhase> webchat47: Really?  I think they ship internationally to most places.
[19:16] <lsd|2> @here BOGUŚ NADAJE https://www.youtube.com/watch?v=Ob1cLcxlcxU
[19:18] <webchat47> Import duties are very high here. Dell XPS models are all starting at $2k+
[19:18] <tomreyn> !ot | lsd|2
[19:19] <webchat47> okay thanks
[19:19] <saui_libera> (y)
[19:20] <loose> webchat47: thinkpad t14 amd is a good choice - I've been using it with ubuntu 22.04 for a couple of months now
[19:21] <webchat47> How is the battery life? are you using AMD Ryzen 7 ?
[19:22] <ravage> maybe take that conversation to the discuss or offtopic channel
[19:22] <webchat47> yes
[19:23] <webchat47> loose join #ubuntu-offtopic
[19:39] <ioria> webchat47, https://lore.kernel.org/all/33efe80e-9667-ffd0-49cc-541ebd9ff586@freezy.cz/T/
[20:04] <hemm> hi
[21:25] <transhumanist> wishing I could figure out why varnish proxy does nothing.. save a lot of time if it would work... sigh
[21:27] <ravage> #varnish on irc.redpill-linpro.com
[21:29] <jhutchins> transhumanist: What do you expect it to do for you?
[21:34] <transhumanist> trying to proxy locally the downloads of kernels
[21:34] <transhumanist> so I can keep the scripts consistent
[21:35] <transhumanist> I know I could download them all once onto a local webserver but thats a lot more work than just using varnish is supposed to be
[21:38] <jhutchins> transhumanist: That's not what varnish does.
[21:38] <jhutchins> Unless it's changed drastically, varnish caches outbound pages so they don't have to be read or rebuild for every request.
[21:39] <transhumanist> yes I know that
[21:39] <jhutchins> transhumanist: Maybe you want apt-cache?
[21:40] <transhumanist> that's an idea, thanks
[21:41] <jhutchins> That's not the first time recently that I've seen someone trying to use varnish for inbound caching.
[21:41] <jhutchins> I guess if you had a proxy that re-transmitted the data internally, it might help with that, but that's a pretty elaborate way to achieve inbound caching.
[21:43] <transhumanist> I thought it would just be a set and forget type of thing.. but turns out NOT
[21:45] <BadAtom> transhumanist: I'm not sure I'm understanding completely what you want to do, but it sounds to me like a job for git
[21:45] <jhutchins> transhumanist: There are inbound caching systems that are meant to do that and are pretty easy to set up - no worse than defining a proxy and telling it where to store the cache.
[21:46] <transhumanist> ok I will look for inbound caching  and see what I find
[21:47] <jhutchins> Squid!
[21:48] <transhumanist> thanks, never set that up, is it difficult?
[21:49] <transhumanist> lol... trying not to turn it into a side project...
[21:49] <jhutchins> No idea.  It was really popular a while back.
[21:50] <transhumanist> ok good enough
[21:50] <transhumanist> if I had dd-wrt and my own router I would set it up on that
[21:51] <transhumanist> but I am stuck with comcast piece of junk , can't afford a better one right now
[21:53] <jhutchins> Apache Traffic Server might be the newer equivalent.
[21:53] <transhumanist> oh, ok never heard of it but thanks, I will look at that, new is usually better
[21:54] <jhutchins> transhumanist: No, a good proxy cache server requires storage, preferably hot on line (RAM) storage, but disk will do.
[21:54] <jhutchins> It really makes sense if for isntance a bunch of people in an office use the same web business data, or a bunch of tweakers on one circuit are constantly updating packages.
[21:56] <transhumanist> ya I am trying to build install scripts, so I think it makes sense
[21:58] <jhutchins> It was pretty nice to have a good local package cache when we were all on dial-up, and everybody in the house tended to use and update the same set of packages.
[21:59] <jhutchins> If downloading the same files is a significant part of your workload, it's well worth the effort.
[22:00] <transhumanist> ok thanks I will look at it, recently I have come into some large drives, and all I need is an ODROID or something to do it
[22:01] <transhumanist> I don't actually understand how it works at all without the remote server making hashes of files available, I mean how the hell does it know when a newer one is available?
[22:02] <transhumanist> unless it does background updates
[22:02] <ravage> the http command is HEAD
[22:03] <ravage> and the cache would check upstream for a newer file after the locally minimal cache lifetime is reached
[22:03] <transhumanist> ah ok
[22:06] <ravage> nginx is also capable to do some caching
[22:16] <uuser> hi!  I'd like some help with netplan.  I have a situation where I want the primary address to come from the DHCP and then add a static address but mark it as secondary.  So currently I have https://paste.debian.net/1243905/ but that gets me https://paste.debian.net/1243906/ - whereas I need the .5 to be primary and .100 to be secondary.
[22:18] <uuser> I'd love any pointer!  Thank you in advance :)
[22:22] <jhutchins> How is the secondary address determined/assigned?
[22:23] <uuser> jhutchins: dhcp
[22:26] <jhutchins> uuser: So the question is how to build the routing table?
[22:27] <jhutchins> That's backwards.device names like eth0, eth0.1
[22:28] <barnito> HA! I got this little Atom PC with a BIOS password, I got into that bitch lol
[22:28] <uuser> jhutchins: well, the routing table has "10.0.0.0/24 dev eth0 proto kernel scope link src 10.0.0.100" - so yes it's that, but I hoped to be able to tweak this via the primary/secondary in netplan, rather than touching the routing table directly?
[22:28] <uuser> not sure what you are referring to with "backwards device names"
[22:32] <jhutchins> Use device names for the routing table.
[22:32] <uuser> (fwiw, currently I workarounded my issue by specifying both addresses in the netplan conf (so that the first is marked primary), and since it's not like the dhcp address doesn't really change I can live with this, but it's… ugly)
[22:33] <jhutchins> (Backwards was a separate discussion of caching)
[22:34] <jhutchins> uuser: Ugly problems often require ugly solutions.
[22:34] <uuser> how true…
[23:03] <ecru> film
[23:36] <morganu> 20.04 "something" has grabbed my audio and I yt is silent
[23:39] <morganu> volume settings look good
[23:39] <morganu> I am going to quit chrome
[23:40] <enigma9o7[m]> good luck, i gave up tobacco a year ago, and i hear it's similar
[23:40] <enigma9o7[m]> you can do it tho
[23:40] <arraybolt3[m]> morganu: Maybe a silly suggestion, but make sure you haven't muted Chrome or YT - audio "grabbing" shouldn't be a problem with newer Ubuntu systems AFAIK.
[23:41] <arraybolt3[m]> (I know on Ubuntu Studio you can accidentally mute an application if you click just the wrong spot on the application's button, the spot where the application's mute button is.)
[23:42] <arraybolt3[m]> enigma9o7: Congratulations on quitting tobacco! Not sure why Chrome is evil, though. I'm actually inclined to stop using Firefox and switch to Chromium since Firefox keeps showing me content I find offensive.
[23:44] <enigma9o7[m]> Isnt the whole web evil?  If you're quitting crhome and using firefox, its just as bad.
[23:44] <enigma9o7[m]> thats like quitting smoking but switching to cigars or something
[23:45] <morganu> firefox is silent too
[23:45] <enigma9o7[m]> giving up marlboros... but taking up camels
[23:45] <enigma9o7[m]> same thiing
[23:45] <murmel> arraybolt3[m]: how can ff show you offensive stuff? I mean it shows you only stuff companies grabbed from your profile
[23:45] <arraybolt3[m]> enigma9o7: Depends on how you use the Web. I don't intentionally do things online that are harmful. But Firefox insists on shoving stuff in my face that I don't like, and Chromium doesn't do that. At any rate, this is becoming an off-topic conversation.
[23:46] <morganu> arraybolt3[m], I was last on a Messenger call, in Chrome.
[23:46] <arraybolt3[m]> murmel: It's the Pocket opening page. There's no telling what junk they'll put in there. Brand-new fresh install of Ubuntu, and Firefox is already throwing crud in my face.
[23:46] <arraybolt3[m]> It's easy enough to turn off, but Chrome doesn't do that nearly so bad.
[23:46] <murmel> arraybolt3[m]: oO never had that, so no idea what you are talking about
[23:47] <morganu> I know about poscket. What you want to do is change the newtab page to soem other site
[23:47] <arraybolt3[m]> morganu: Well crud, you might be able to find what application has locked down an audio device using something like lsof.
[23:47] <morganu> murmel,
[23:47] <murmel> i mean the only thing I have when I launch a new profile is the pocket icon in the corner and the "ads" icons from different websites
[23:48] <enigma9o7[m]> arraybolt3: yeah but in general its all a waste of time, same argument any addict makes.  better just to give it up completely.  you'll have more time on your hands for productive things.
[23:48] <arraybolt3[m]> murmel: The new Firefox shows you all sorts of articles that Mozilla has decided are cool. Some of them are cool, but some are really awful. You can turn it off though.
[23:48] <arraybolt3[m]> enigma9o7: So what exactly are you doing here? LOL jk
[23:49] <enigma9o7[m]> This doesn't require a web browser...
[23:49] <murmel> arraybolt3[m]: never have seen those? do you live in the us?
[23:49] <morganu> arraybolt3[m], ok now looking at a file with the lsof results in it. What do I want. uh oh should have used sudo.. permission denied.. Will repeat.
[23:50] <arraybolt3[m]> enigma9o7: I use the Web for work, research, and for watching videos with my mom. I can't exactly stop using the Web, but I can decide what sites I use. I don't use any social media other than Reddit, and I control my Reddit usage (though I do need to cut back on it). Facebook, Twitter, etc., hardly ever used them, and don't have my own accounts on either.
[23:50] <morganu> arraybolt3[m], lsof: WARNING: can't stat() fuse file system /run/user/1000/doc      Output information may be incomplete.
[23:50] <arraybolt3[m]> enigma9o7: I guess I forget that you can use Element and IRC without a Web browser. I'm using Element on Chrome OS, so it is a web app.
[23:51] <morganu> I use hexchat for irc. Stable and nice.
[23:51] <murmel> arraybolt3[m]: eh, element is a browser, other clients arent
[23:51] <arraybolt3[m]> morganu: OK, that's weird. Look at the output and see if anything's snatched a sound device file in /dev, if you can't see anything, I'd just reboot and see if that fixes it.
[23:52] <arraybolt3[m]> murmel: Yeah, other clients have warnings about no end-to-end encryption or that the encryption hasn't been tested. Element was easy to get up and running, and I've not seen any scary warnings.
[23:52] <morganu> I use hexchat for irc. Stable and nice.q
[23:52] <arraybolt3[m]> murmel: Yeah, I am in the US.
[23:53] <murmel> arraybolt3[m]: ahh that's why you see those and I don't
[23:53] <arraybolt3[m]> morganu: Used to be a Quassel IRC guy myself, had a Lubuntu dev talk me into Matrix, loving it, not going back.
[23:53] <murmel> arraybolt3[m]: yeah. hope they can figure out their server situation first, and then take on a do a better client
[23:53] <murmel> irssi :3
[23:54] <morganu> I will try Matrix then. Just to learn something. I pretty much dont use irc on android and it isnt possible on iOS, really.
[23:54] <morganu> reboot
[23:54] <arraybolt3[m]> morganu: If you want to know what Matrix is, think of what would happen if IRC and iMessage has a baby. That's Matrix.
[23:55] <arraybolt3[m]> Yeah, I'd reboot. That should fix it pretty much no matter what it is.
[23:55] <murmel> morganu: for mobile i use thelounge.chat, quite nice
[23:56] <descent1> maybe nothings stable
[23:57] <arraybolt3[m]> murmel: Element also has iOS and Android versions (though I don't use either since I don't have an Android or iOS device). One really nice thing about Element (at least on Chrome OS with the web app) it is that you don't end up missing all of the chat that's happened while you had the app off - it just picks up where you left off and gives you all your backlog to read through. Really handy.
[23:58] <murmel> arraybolt3[m]: it's literally the same "app" that's why it's an electron app. still don't like the electron part. and I was talking about irc when talking about thelounge.chat
[23:58] <murmel> which is a selfhostable client
[23:59] <arraybolt3[m]> murmel: OK, that looks really cool. I'm still going to use Matrix since I do a lot of stuff in #lubuntu-devel, but for IRC, that looks very handy.