/srv/irclogs.ubuntu.com/2019/07/21/#xubuntu.txt

=== marcc is now known as kub
=== brainwash_ is now known as brainwash
oakyThis is my ouput when running "systemd-analyze time", "Startup finished in 3.446s (kernel) + 2.761s (userspace) = 6.207s". I'm wondering how to interpret this correctly, is it correct to say that given that it says 6.2 seconds, that after my Thinkpad BIOS screen has passed and the OS has begun loading, it should take 6.2 seconds to get to the login screen? Or am I missing something?09:49
brainwashkinda09:50
brainwash"Note that these measurements simply measure the time passed up to the point where all system services have been spawned, but not necessarily until they fully finished initialization or the disk is idle."09:51
oakyOk, because there is quite a wide gap between my boot time and 6.2 seconds.09:52
brainwashby how much?09:53
brainwashkernel takes over until you can login09:54
oakyIs it normal for it to deviate almost 20 seconds? I'd guess my boot time is around 25-30 seconds. Though I realize now I've measured from when I hit the start button but maybe I should measure from when the BIOS screen goes away instead.09:54
oakyI'm running on an SSD.09:54
brainwashyes, you have to measure after the bios/uefi is done09:54
oaky(25-30) seconds is my estimate if I cut out the BIOS screen09:54
oakyit's 40-44 seconds when measured from start-click09:55
brainwashyou could check the output of "systemd-analyze blame", "systemd-analyze critical-chain" and even create a boot graph with "systemd-analyze plot >bootup.svg"09:56
oakyYe I've done that09:56
brainwashno useful info?09:56
oakyWell I had the something "Wait for network service" at about 7.7 seconds and I disabled that because what I read I don't really need it09:57
oakyAnd with that disabled the most consuming thing when running blame is "1.061s keyboard-setup.service"09:58
brainwashdid you try to boot into command line instead of the graphical login screen (lightdm)?09:59
oakyNope I haven't tried that10:00
brainwashin case there is something strange going on with the graphical initialization10:01
oakyYe10:01
oakySo I guess I'll have to change something now, and then reboot10:01
oakyas long as I know how to get back into the GUI :p10:01
brainwashsudo systemctl set-default multi-user.target10:02
brainwashsudo systemctl set-default graphical.target10:02
brainwashsecond command to revert it10:02
oakyso if I run first command, then restart, I boot into cli?10:02
brainwashyes10:03
oakyAlright, I'll give it a try and measure time aswell. back in a bit10:03
oakySo, it took 24 seconds to get to the cli login prompt (exl. bios time). And systemd-analyze time shows 7.047s10:08
oakyso 17 seconds is "unaccounted" for10:08
brainwashmmh yeah10:09
oaky"Startup finished in 3.447s (kernel) + 3.599s (userspace) = 7.047s" when booting with the multi-user.target enabled. and I just entered "lightdm" afterwards to get into the GUI10:09
brainwashcan you share the critical-chain output via https://paste.ubuntu.com ?10:10
brainwashother than that, you'll have to check if there is some hint in the "dmesg" output (or journalctl)10:11
oakyhttps://paste.ubuntu.com/p/sG7B2KXh4j/10:12
brainwashoh well10:13
brainwashwhich xubuntu release is that?10:15
oaky18.0410:15
oakyAny keywords I can grep frolook form "dmesg", since I don't really know what to10:16
oakyto look for*10:16
oakyThat sentence got messed up, any keywords I can grep from the dmesg output?10:17
brainwashyou scroll to the end while keeping an eye on the timestamp10:17
brainwashmaybe a timeout is mentioned there10:19
brainwashor error10:19
oakyHmm ye. I'll look through it and paste the parts that might be of interest10:19
brainwashgoing afk for a bit10:20
oakyparts of interest, I assume is parts where there are large time gaps10:20
oakyok10:20
tomreynoaky: dmesg -T if you prefer wall clock time over milliseconds since boot.  or use journalctl -b10:21
tomreyn*  journalctl -kb10:21
oakyOk10:25
oakyThe output from journalctl seems to include less info though10:25
oakyOn this paste, you can see some major time gaps10:26
oakyhttps://paste.ubuntu.com/p/rVwRZjPtdf/10:26
oakyBiggest gap seems to be here: "[   10.145855] IPv6: ADDRCONF(NETDEV_CHANGE): wlp3s0: link becomes ready10:27
oaky[   72.413203] random: crng init done"10:27
oaky10.....7210:27
tomreynis this a VM then?10:27
tomreynhmm no you have wireless devices, can't be a VM then10:28
oakyNope, running xubuntu on real hardware. Though I did just install virtualbox and win10 on a VM10:28
oakyshould mention aswell that this is a fresh install of xubuntu, installed yesterday10:29
tomreynanyways, there's a lack of entropy, causing the cryptographics random number generator initialization to be delayed. which itself causes the delayed boot to desktop.10:29
tomreynis this system fully updated, yet?10:30
tomreynsudo apt update && sudo apt full-upgrade10:30
oakyYep, everything is up-to-date10:31
tomreynwhich hardware is this?  journalctl -b | grep 'DMI:'10:31
oaky"DMI: LENOVO 4174W2X/4174W2X, BIOS 8CET63WW (1.43 ) 10/12/2016"10:32
tomreynis there an option to enable the IOMMU in the BIOS (UEFI) setup?10:33
oakyI read something online about similar things as what you mentioned with randomness, someone said when moving their mouse/pressing keys during boot it decreased boot-time, but I tried it and it didn't seem to improve.10:33
tomreynlook for the iommu option, if there is none you can install a software which will increase available entropy by adding new entropy sources.10:34
tomreynbut it'd be a little better to enable the kernel to do it the 'nmormal' way, so let's look for that first10:35
tomreynthat software is called haveged10:35
oakyOk10:36
oakyI'll reboot into bios and look for IOMMU and set it to enabled if I find it10:36
oakyback in a bit10:36
PoolShark_Morning... does the video driver in 18.04 support 4k at 60Hz? All of my hardware should be good but I can't get more than 30Hz out of it10:41
Spass[m]PoolShark_: hello, what monitor do you have exactly? did you check on other cables? sometimes they are the culprit10:44
Spass[m]also, what graphics card do you have?10:45
PoolShark_Spass[m]: it's a Toshiba 4K 60Hz TV... just bought new cables that support HDMI 2.2 just in case it was that.. it's a GTX1060 card that is 2.0b, which should also do 4K at 60Hz. I can get 60Hz out of the TV up to 2880x1620 but if I go the next step to 3840x2160, 60Hz is not available as an options10:45
oakyCould not find anything related to IOMMU unfortunately10:46
Spass[m]PoolShark_: 18.04 should have the 430 branch of NVIDIA drivers already (maybe they're still in the "bionic-proposed" repo), which version do you have installed currently?10:48
PoolShark_Spass[m]: good question, let me take a look10:48
PoolShark_It appears to be using nouveau10:48
Spass[m]you can check that in the NVIDIA config GUI app dor example10:48
Spass[m]well, you should try do change it to proprietary and check, 418 or 43010:49
tomreynoaky: ok, so do the haveged then. also see this newer bios update available for your system (you're on 1.43 currenty): https://pcsupport.lenovo.com/gb/en/products/LAPTOPS-AND-NETBOOKS/THINKPAD-T-SERIES-LAPTOPS/THINKPAD-T420S/4174/4174W2X/downloads/DS01496310:49
Spass[m]unless you don't want anything proprietary on you system10:49
PoolShark_It lists 390 as my nvidia option10:49
PoolShark_so I guess I need to add the bionic-proposed repo to sources.list and install something newer huh?10:50
Spass[m]you could try with that 390 first10:50
Spass[m]if that wouldn't work you can then 1) add PPA or 2) enable proposed10:51
PoolShark_alright let me give it a go.. I tried to do this before I reinstalled the system but the nvidia driver would only drive one of my screens and at 1024x768 heh.. that is kinda what prompted me to nuke from orbit and start over hehe10:51
oakytomreyn: Ok, I'll have a look. But what do you make of "for Windows 8,Win 7Vista,Xp"10:51
tomreynoaky: i notice that it's an .iso and a .txt file and realize that those are universal.10:52
Spass[m]oh, and if you won't be able to boot to your system just go to Ctrl+Alt+F2, log in and "sudo apt purge nvidia-driver-390"10:52
PoolShark_Spass[m]: roger10:53
PoolShark_will take a while to download the new driver... DSL10:53
PoolShark_lol10:53
Spass[m]but I guess your card really needs the newer driver than 390...10:53
oakytomreyn: Ok. I'll first try updating the bios to 1.46 and then if nothing changed I'll look into haveged. Thanks for the help so far10:53
PoolShark_Spass[m]: that sounds reasonable... I think all the hardware is okay10:53
Spass[m]PoolShark_: so maybe go with the PPA route?10:54
PoolShark_well it's downloading 390 now... we'll try that10:54
tomreynoaky: you're welcome, good luck.10:54
Spass[m]and one more thing, someone mentioned that there could be problem with gtx1650 and proprietary drivers when you have secure boot anabled10:54
Spass[m]*enabled10:55
Spass[m]something with the signatures...10:55
Spass[m]oh, you have 106010:55
Spass[m]so maybe 390 drivers will be sufficient after all10:55
PoolShark_no secure boot for me10:56
PoolShark_ok it's done... gonna restart and cross my fingers that I still have all 3 monitors10:56
PoolShark_brb10:56
tomreynnvidia drivers are proprietary, source code is not available to canonical. so they can't sign them with their secure boot accredited signing key.10:57
Spass[m]<insert_Linus_T_showing_one_of_his_fingers_here>10:58
PoolShark_back10:58
Spass[m]how bad is it? ;)10:59
PoolShark_Spass[m]: It almost worked10:59
PoolShark_I did get all three monitors back, which was good.. but I can only get 59.9Hz out of the TV10:59
PoolShark_(hahahahahaha)10:59
PoolShark_so yeah I think it's fine now10:59
Spass[m]59.9 is good enough I would say :P great11:00
PoolShark_I think some of my desktop icons went off screen though11:00
PoolShark_some of them have gone missing11:00
Spass[m]can you somehow sort them?11:01
PoolShark_yeah I did a right click / arrange11:01
PoolShark_but nada11:01
Spass[m]or, go to your ~/Desktop folder in Thunar, cut them, paste somewhere else temporarly, and then move again on the desktop11:01
PoolShark_ohhh I see what's happening11:02
PoolShark_so you know that screen panel where you can position multiple monitors?11:03
Spass[m]you mean "xfce4-display-settings"?11:03
PoolShark_left to right I have my 24inch, 24inch, and 43inch screen, 1080, 1080, and 2160 respectively.. I'm centering up the 4K monitor on a horizontal axis through the center of each monitor, so when I slide the 4K monitor up, it is aligning the icons on my first monitor but putting them at the resolution that would have them at the top of the 4K monitor, which is higher than the top of the 24" monitor.. if that makes any sense11:04
Spass[m](btw, my monitor has 59,9 Hz too, just checked)11:04
Spass[m]yeah... Xfce, desktop icons and the multi-monitor setup, that is a recipe for some strange things ;)11:06
Spass[m]at least that's what I see on Xfce forums many times11:06
PoolShark_yeah it seems so11:06
PoolShark_one last question... my mouse pointer is huge.. where's the thing to make it normal size?11:07
Spass[m]you should be able to change its size here - https://docs.xfce.org/xfce/xfce4-settings/mouse#cursor11:08
PoolShark_ahh yes that did the trick11:09
PoolShark_thanks!11:09
PoolShark_okay time to go for a bike ride. thanks for your help!11:09
Spass[m]glad I could help, have a fun ride11:09
=== xerox123_ is now known as xerox123
=== sorinello1 is now known as sorinello
=== Israphel is now known as Guest34818
=== Israphel_ is now known as Israphel
=== GridCube_ is now known as GridCube
sorinelloHello. I am trying to install pulseaudio-equalizer on Xubuntu 19.04 64bit, but I get the following error18:44
sorinelloThe following packages have unmet dependencies:18:45
sorinello pulseaudio-equalizer : Depends: libpulse0 (= 1:12.2-2ubuntu3) but 1:12.2-9~disco1 is to be installed18:45
sorinello                        Depends: pulseaudio (= 1:12.2-2ubuntu3)18:45
sorinelloE: Unable to correct problems, you have held broken packages.18:45
sorinelloand idea what am I doing wrong ?18:45
brainwash!ppa18:58
ubottuA Personal Package Archive (PPA) can provide alternate software not normally available in the offical Ubuntu repositories - Looking for a PPA? See https://launchpad.net/ubuntu/+ppas - WARNING: PPAs are unsupported third-party packages, and you use them at your own risk. See also !addppa and !ppa-purge18:58
brainwashsorinello: what gives "apt policy libpulse0"?18:58
sorinellobrainwash, https://pastebin.com/aT5ZxJ7Y18:59
brainwashsorinello: try to downgrade the package via "sudo apt install libpulse0=1:12.2-2ubuntu3"19:03
tomreynsorinello: you seem to have had a PPA installed which you since removed, keeping packages from there installed. or you just installed single foreign .deb packages in versions not available in your ubuntu release.19:25
tomreynthis script can help identify such leftover foreign packages which are 'getting in the way' of the apt dependency resolver: https://github.com/tomreyn/scripts#foreign_packages19:26
sorinellotomreyn, I have downgraded as brainwash suggested. I will reboot and be back in 3 minutes19:27
usney<usney> usney> I have an issue with screen lock. When I lock my screen it doesn't respond to commands to wake it up and unlock it.19:28
usney<usney> <usney> So I have to restart the system19:28
usney<usney> sorry i forgot not to lock the screen so had to restart again19:28
sorinellook, seems that I have lost sound completely now19:29
brainwashusney: try another screen locker19:34
usneyhow?19:34
brainwashis that xubuntu 19.04?19:34
usneyno19:34
usneylts19:34
brainwashso the new xfce4-screensaver is not in the repo yet19:35
Spass[m]usney: gnome-screensaver or xscreensaver19:35
usneyI'll try the lighter one19:36
Spass[m]I had some issues with light-locker on LTS on my machines19:36
usneyhow do I change it to the default?19:36
brainwashremove light-locker and install gnome-screensaver/xscreensaver19:37
brainwashthat should set the default19:37
usneycool19:37
brainwashafter a relog that is19:37
usneythank you so much19:37
brainwashor rebbot19:37
Spass[m]xscreensaver is probably lighter, but... definitely not prettier ;) but it works19:39
usneyyes I guessed so19:43
usneyso I installed that instead19:43

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!