/srv/irclogs.ubuntu.com/2020/04/19/#ubuntu+1.txt

=== lestac is now known as lestac_afk
=== lestac_afk is now known as lestac
lotuspsychjegood morning02:19
blockivHello, I'm really really hoping to get some help figuring out why I'm unable to get my computer to recognize my nvidia gpu. I'm on 20.04, so figured I should be asking here rather than #ubuntu02:46
blockivThough, I haven't been able to get it to work on the current release either.02:46
lotuspsychjewhats your chipset blockiv 02:47
blockivI'm using an xps 15 9570. With hybrid i7 and a 1050ti02:48
blockivlotuspsychje: The nvidia module seems to be in use, but `nvidia-smi` returns "no devices were found"02:48
lotuspsychjeblockiv: can you pastebin: sudo lshw -C video plz02:49
blockivlotuspsychje: yep one sec.02:49
blockivlotuspsychje: https://paste.ubuntu.com/p/NHqJNQKv6f/02:50
lotuspsychjehm thats pretty weird, driver shows loaded blockiv 02:51
lotuspsychjeblockiv: can you try from software&sources tab additional drivers to see wich driver is active?02:51
blockivlotuspsychje: nvidia-driver-44002:52
lotuspsychjesounds good02:52
Thanosmaybe theres just an error in reporting and not in utilization02:52
lotuspsychjeblockiv: you boot uefi or legacy?02:52
blockivand yeah, I really have no clue what's causing it. And uefi lotuspsychje 02:52
lotuspsychjeblockiv: pastebin your dmesg plz?02:53
blockivlotuspsychje: https://paste.ubuntu.com/p/tzpDN4gkFF/02:53
blockivI'm debating installing windows quick to see if it's a hardware problem. I 02:53
blockivI'm on a pretty new ubuntu install so wouldn't really lose anything data wise02:54
lotuspsychjeblockiv: i see a few weird NVRM and cpu temps issues in your dmesg02:57
blockivWhat is nvrm? lotuspsychje 02:58
lotuspsychjeits related to your graphics02:58
lotuspsychjeblockiv: did you change things in bios recently?02:58
blockivlotuspsychje: I reset the bios to factory defaults before installing ubuntu. Then changed RAID to AHCI, disabled secure boot, and disabled TPM02:59
blockivAnd set fastboot to "Thourough rather than minimal"03:00
lotuspsychjeblockiv: lets try to switch an nvidia driver as a test03:00
lotuspsychjeblockiv: try a version lower03:01
lotuspsychjeand lets see what your system does03:01
blockivAlright. 435 or 390?03:01
lotuspsychjeif you are not able to enter back your system due a black screen, use this method:03:01
lotuspsychje!nomodeset03:01
ubottuSystems with certain graphics chipsets may not boot properly out of the box. "Temporarily Add a Kernel Boot Parameter for Testing" as discussed at https://wiki.ubuntu.com/Kernel/KernelBootParameters to add the "nomodeset" parameter there.03:01
lotuspsychjeblockiv: lets try 43503:01
blockivOkay will do. Were the errors you were talking about the RM_init related lines in dmesg?03:02
lotuspsychje[ 9408.670356] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 003:03
lotuspsychje[ 9444.369429] mce: CPU9: Core temperature above threshold, cpu clock throttled (total events = 30626)03:03
lotuspsychjestuff like this03:03
lotuspsychjewe need to find out if its the driver failing, or something bios or kernel related03:04
blockivOkay, if it nothing seems to change. I'll probably install windows 10 quick to make sure the gpu still even works. I haven't been able to get it working in linux since I had an arch install on some Linux 4.X kernel03:05
lotuspsychjeblockiv: no need, we can try this from ubuntu aswell03:05
Bashing-omblockiv: lotuspsychje : /var/log/gpu-manager.log might provide some hints.03:06
blockivgreat. that's always preferred lol03:06
lotuspsychjeblockiv: if you like before driver switch you can provide this log for Bashing-om 03:06
blockivBashing-om: https://paste.ubuntu.com/p/7wv3xpvW4K/03:07
Bashing-omblockiv: reading.03:08
Bashing-omblockiv: lotuspsychje : Yukkie: "Is nvidia kernel module available? no". lemme finish reading.03:09
lotuspsychjeblockiv: did you also update system to latest?03:10
blockivyeah, no updates are available after an apt update03:10
lotuspsychjeok great03:10
lotuspsychjeif Bashing-om has no other ideas, i would advice driver switch as a test03:11
Bashing-omlotuspsychje: blockiv - looking for what modules are missing. lets start with '03:11
Bashing-omdpkg -l | grep -i nvidia ' .03:12
blockivBashing-om: https://paste.ubuntu.com/p/RKvttcmZzJ/03:13
Bashing-omblockiv: Whike the 440 version driver is correct: https://www.nvidia.com/Download/driverResults.aspx/159360/en-us, as it is partially installed lets try and purge/reinstall - ok ?03:17
blockivBashing-om: alright. Mind letting me know what to run? Been a while since I was using an apt system03:18
Bashing-omblockiv: we also want to make sure that "secure boot" in bios is disabled when we re-install !03:18
nonix4... when running test installation with / on usb, is there much you can do once usb timeouts? As in to recover you'd neet to remount some tmpfs/squashfs as / for a while?03:18
Bashing-omblockiv: sure - run ' sudo apt --purge nvidia*' make sure that the nvidia file(s) in /usr/share/X11/xorg.conf.d have been removed.03:19
Bashing-omblockiv: Also make sure here that 'dkms' is functional ' dkms status '. as we do need that package for Nvidia.03:21
blockivBashing-om: hm `sudo apt remove --purge nvidia*` returns "Unable to loacate package nvidia*"03:22
blockivMaybe cause I just switched from 440 to 435 in the software&updates app?03:22
blockivAnd as of right now, `dkms status` returns "nvidia, 435.21: added"03:23
lotuspsychjelets try a reboot first, as 435 has been switched?03:24
Bashing-omblockiv: well we can look. what shows ' lsmod | grep nvidia ; dpkg -l | grep -i nvidia ' .03:25
blockivSure. I'll also double check to make sure secure boot is off. I'm on my machine rn so I'll have to disconnect, but I'll send the output of those first Bashing-om lotuspsychje 03:25
lotuspsychjesure thing03:26
blockivlsmod | grep nvidia : https://paste.ubuntu.com/p/zmYWBhMXzz/03:26
blockivdpkg -l | grep nvidia : https://paste.ubuntu.com/p/Mcg9Nc4yX7/03:27
blockivOkay, I'll reconnect in a few mins03:28
lotuspsychjecross your fingers Bashing-om 03:28
lotuspsychjeinteresting one03:28
Bashing-omlotuspsychje: Looks to me now should workie.03:29
blockivBashing-om: lotuspsychje: Okay, secure boot is indeed disabled03:32
lotuspsychjeblockiv: check nvidia-smi again now?03:32
blockivlotuspsychje: just did. new output, but still failing. It says it couldn't communicate with the NVIDIA driver. Maker sure the latest NVIDIA driver is installed and running03:33
lotuspsychjehmm03:33
Bashing-omblockiv: /var/log/gpu-manager.log shows clean now ?03:34
blockivAlso, lspci -k now doesn't show the line " Kernel driver in use: nvidia"03:34
lotuspsychjeso 2 drivers failing, sounds like a bios or kernel thing to me03:35
blockivHere is gpu-manager.log : https://paste.ubuntu.com/p/9T8QFHJJYR/03:36
Bashing-omreading03:36
Bashing-omblockiv: "Is nvidia loaded? no" - !!03:37
Bashing-omblockiv: Let's try again ' sudo apt remove --purge nvidia-* ; sudo apt update ; sudo apt upgrade ; sudo ubuntu-drivers autoinstall ' with secure boot still disbaled.03:38
blockivalright03:38
blockivfor some reason the wildcard doesn't seem to be working. 03:39
blockivworked with apt-get03:40
Bashing-omblockiv: Humm --- maybe try as sudo apt remove --purge "nvidia-*" . have the shell expand the quotes. (1st time for everything)03:41
Bashing-omNM03:41
blockivJust uninstalled. Should I remove 10-nvidia.conf and 11-nvidia-prime.conf before moving forward?03:42
Bashing-om^^ makes me wonder what has changed in apt in the 20.04 release ??03:42
Bashing-omblockiv: Yeah remove them - the new install will re-create, the old may be corrupt.03:43
blockivBashing-om: Okay, deleted them and ran apt autoremove and ubuntu-drivers autoinstall03:46
Bashing-omblockiv: reboot and let's see the effect :D03:46
blockivThe ubuntu-drivers autoinstall said "dkms: WARNING: Linux headers are missing"03:46
blockivAny importance you think?03:47
Bashing-omblockiv: Ouch Yes ! .. show ' dpkg -l | grep linux- '.03:47
blockivhttps://paste.ubuntu.com/p/2TybRPgTZF/03:48
blockivThis is the exact line "/etc/kernel/postinst.d/dkms:03:48
blockivdkms: WARNING: Linux headers are missing, which may explain the above failures.03:48
blockiv      please install the linux-headers-5.4.0-24-lowlatency package to fix this.03:48
Bashing-omblockiv: Yup ^^ make it so :D03:52
blockivBashing-om: Okay, installed that, re-ran the steps to remove nvidia and reinstall. This time do dkms warnings. I'll give it a reboot.03:55
blockiv*no dkms03:55
Bashing-omblockiv: A check ' sudp apt -f install ; sudo dpkg -C ' .03:57
Bashing-omsudo*03:57
blockivNo output on either Bashing-om 03:57
blockivWell, apt -f install said nothing to be done03:57
Bashing-omgreat! .. reboot time :D03:57
blockivCool, thanks.03:58
blockivLol Bashing-om can't seem to boot now. Not even to grub :/ 04:05
Bashing-omblockiv: Now that makes no sense - low-latency kernel is this a studio install ?04:06
blockivNo, I just had the default 20.04 lts ISO.04:06
blockivI have a spare 19.04 iso I can use to either just install that or chroot in to maybe regenerate grub04:07
blockivI'll check the boot entry first I guess04:08
blockivBashing-om: is /EFI/Ubuntu/shimx64.efi the correct path for my boot entry?04:09
Bashing-omblockiv: The only thing I know that uses the low-latency kernel is ubuntu-studio. Might check what you think you installed.04:10
Bashing-omblockiv: /EFI/Ubuntu/shimx64.efi could be correct - different manufactures do things different - there is no EFI standard.04:11
blockivOkay. Maybe I'll just reinstall and make sure I use the right iso, even tho I'm 95% sure it was a standard Ubuntu 20.04 iso. Seems like my only option now04:13
blockivI'll do an offline install, then try installing Nvidia drivers from ubuntu-drivers04:16
Bashing-omblockiv: At this point - and time wise - a re-install will be much faster and surer.04:17
blockivYeah, I didn't have any personal data anyways. Either way, I really appreciate the help you've given me so far, Bashing-om lotuspsychje 04:18
lotuspsychje20.04 should have all the nvidia drivers on the install media now04:19
lotuspsychjei suspect a deeper issue here04:19
Bashing-omvlBoot directory I see /boot/efi/ubuntu/grubx64.efi as most common.04:19
blockivTwo weird things to at least note. Not sure about their impacts. When I first installed Ubuntu 20.04, everything went fine, and it was an offline install. I installed it again later, I forget the reason why, but towards the end of the install, it stopped with an error while upgrading new packages, since it was an online install. It then took me to a bug report where it was already documented, talking about there being 04:43
blockivan issue with online installs on Nvidia systems. I'd be glad to test it again, but it seems it's already a documented issue04:43
blockivThe install didn't complete, but it did at least get far enough where there was something to boot into04:44
Bashing-omblockiv: Boots a functional system ?05:41
blockivYeah05:44
Bashing-omblockiv: Good deal :) .. Our work here is done ?05:51
blockivNvidia-smi still isn't working, but im gonna stay were I'm at for now, gotta get some sleep soon05:56
blockivWhere*05:56
Bashing-omblockiv: same - sleep calleth :D ,, we can pick this up later :D06:00
wingedrhinoDoes the 20.04 Ubuntu come with NetworkManager support for WireGuard? I only see OpenVPN and Point-to-Point Tunneling Protocol when I go to Network > Settings.06:21
wingedrhinoAlso, if I install one of the nightlies on a laptop, can I assume that it'll be somewhat stable in a few days?06:23
housecatdunno about the first question. the answer to the second question is yes:06:23
housecatubottu: final06:23
ubottuIf you install a development version of Ubuntu Focal and keep up with package updates, then you will be upgraded to the official release of 20.04 when it comes out. To make sure, type « sudo apt update && sudo apt full-upgrade » in a terminal.06:23
housecataccording to google, wireguard is supported in networkmanager >= 1.16, which is available in disco onwards06:25
housecatso if it's not showing up, either that info's wrong or there's a missing UI bit06:25
wingedrhinoI'm going to google for images on how people have configured wireguard in the UI then. If it's been around since Disco, there's little chance the UI doesn't already have this!06:27
wingedrhinoAah from the looks of it the support for WireGuard is only present in NetworkManager itself. But not in any of the UIs - including nm-cli.06:40
housecatoh. well that's not very helpful :(06:40
housecatkinda hoping this sort of thing improves now that wireguard is in-kernel and 1.006:41
wingedrhinoFrom the looks of it, KDE has GUIs for WireGuard already.07:23
TheSilentLinkHi anyone running Ubuntu 20.04 on the raspberry pi 4? For me none of the USB ports work making you unable to login in10:56
Jordan_UTheSilentLink: See this thread: https://www.raspberrypi.org/forums/viewtopic.php?t=270854&p=1644427 the work around seems to be limit yourself to only being able to use 3 of your 4 GiB of RAM, in exchange for working USB.10:57
Jordan_UTheSilentLink: It's hard for me to tell, but the fixed package may already have been released. So if you use the work around, then "sudo apt update && sudo apt upgrade" you might be able to remove the work around and reboot to a system with 4 usable GiB of RAM *and* working USB :)11:00
TheSilentLinkJordan_U: thanks. Also is rpi-eeprom-update available so we can update the eeprom without having to use raspbian?11:05
Jordan_UTheSilentLink: https://packages.ubuntu.com/ doesn't show a package by that name.11:08
TheSilentLinkOh ok also is cloud init required?11:09
tomreynprobably not13:27
=== TheSilentLink_ is now known as TheSilentLink
amitprakashWhy is ubuntu recognizing only 8 out of 16G ram? lshw outcome https://paste.ubuntu.com/p/sntz8hhfYh/ | free -m -> Mem:           7886        2024        4874         158         987        5420 | dmesg https://paste.ubuntu.com/p/vDShNDB4qZ/16:15
amitprakashThis is specific to Ubuntu (gentoo/windows work fine)16:16
mfilipe[m]i'm using terminal with 20.04 and i wanna change the tab title but gnome-terminal doesn't show this option up. when i use fedora 32, it shows (same gnome-terminal version 3.36). do you guys know what is wrong?17:09
ChmEarlwhew, cat /etc/issue.net  -> Ubuntu 20.04 LTS17:10
oerheks gnome-terminal --tab -e top -t "this is my funky tab title"17:11
mfilipe[m]oerheks: thanks is odd because this option exists in gnome-terminal but somehow ubuntu removes it17:12
mfilipe[m]that's*17:12
oerheksyes, it was removed in 3.12 something IIRC17:12
mfilipe[m]this reason makes the situation more strange... once fedora offers a vanilla version of gnome, so ubuntu hasn't this option because the ubuntu devs removed it?  17:15
mfilipe[m]i use tmux-cssh a lot, if i maintain the dynamic title it is going to show strange titles17:16
MikeRLAnyone here have a recent enough Yubikey? I've just started tinkering with the 5 I just bought. Documentation is vague about pam config file locations, and I don't want to insert the text into the wrong one.17:44
MikeRLFollowing this: https://developers.yubico.com/yubico-pam/17:44
MikeRLAnd also this: https://support.yubico.com/support/solutions/articles/15000011356-ubuntu-linux-login-guide-u2f17:45
oerheksadd the ppa ppa:yubico/stable and install  libpam-yubico yubikey-manager ? https://launchpad.net/~yubico/+archive/ubuntu/stable17:47
oerheksit has Focal packages already17:48
MikeRLWhere I'm stuck at on the first URL is finding the right file in /etc/pam.d/ (for the first box under configuration) and I also don't know where PAM modules are stored on 20.04.17:49
MikeRLAlready have PPA, thanks though.17:49
MikeRLFor the second URL, I'm stuck where it says to add " authfile=/etc/Yubico/u2f_keys " to the PAM file's config. I don't know where the pam file is, since there appears to be a folder with pam files in /etc/pam.d/17:50
MikeRLIt does have focal packages. But I only saw one.17:51
MikeRLMost tools work with eoan or focal, but some do not, such as the configuration GUI.17:52
MikeRLIt uses Qt4 which is gone from 20.04 default repos.17:53
MikeRLAnd it must be built from source for Linux.17:53
MikeRLBut I'm not concerned about the GUI config tool as much as those two URLs and relevant questions. I can survive without the GUI.17:54
amitprakashresovled the ram issue, had to reseat18:29
amitprakashJournal is spammed w/ Apr 19 23:44:38 harran gnome-shell[1341]: failed to bind to /tmp/.X11-unix/X3684: No such file or directory18:29
amitprakashWhat gives?18:29
GumaHello. I been running 20.04 with latest updates in vbox (6.1.6 r137129) with 3D acceleration enabled. Everything works pretty smooth except when I click on "Show Applications) in lower left correct of my screen then is draws very slow18:31
GumaSee slow partial redraws. But everything finishes correct.18:33
MikeRLThink I figured it out by taking an educated guess. I have a backup if everything goes south.18:35
MikeRLUgh. Still not working.18:40
MikeRLLuckily I saved the terminal window and edited it with sudo active. I simply removed the line. But problems persist.18:41
tomreynGuma: that's most likely not an ubuntu issue, but one with (imperfect by design) shared graphics acceleration of Desktop virtualization.19:10
theshaggShould I expect weird issues with AMD cpu/gpus in 20.04 beta?19:32
theshaggor am I just unlucky? :P  19:33
tomreyntheshagg: can you explain "weird issues"? were you running other linux versions previously? if so, did they occur there, too, or not? which hardware exactly?19:35
theshaggOn shutdown I get soft lockups19:35
tomreynare those logged?19:35
theshaggI think not19:36
tomreynalso, 2 more questions to answer ;)19:36
theshaggIt actually might all be related to the amdgpu driver19:36
theshaggI filed a bug - there is a known issue in the kernel that is fixed in a newer kernel19:37
tomreyndo you think sharing the bug id might improve your support experience here?19:37
theshagghttps://bugs.launchpad.net/bugs/187354719:37
ubottuLaunchpad bug 1873547 in linux (Ubuntu) "amdgpu: [powerplay] Failed to send message errors" [Undecided,Confirmed]19:37
theshaggThat one links to a thread 19:38
tomreynso you have those powerplay errors on your logs?19:38
theshaggwhen I connect more than 1 monitor, yes19:39
theshagg Supposedly this is fixed in  5.6-rc219:39
tomreyndoes the system shutdown fine with just one mointor connected then?19:39
theshaggAnd I get corresponding graphics lockup for many seconds after login, and horrid graphics lockups after the monitor goes to sleep and wakes back up19:39
theshaggRight now I am trying to figure out my system shutdown issues. I am having some kind of shutdown lockup but it was being hidden by the "quiet splash"19:40
theshaggI'm currently trying to reproduce that error with "quite splash" disabled19:40
theshaggquiet19:40
theshaggI'm not seeing any shutdown lockups with "systemctl set-default multi-user.target"19:42
theshaggtrying graphical.target with quiet splash disabled19:43
tomreynis this board really new? i can't seem to convince the (very slow) MSI website to display any downloads for thie board, including manuals19:46
theshaggOK so I got it to hang with a softlockup on one of the CPUs19:46
tomreynso it's a multi-cpu system?19:47
theshaggtop of the stack trace is amdgpu_cgs_read_register+0x14/0x20 [amdgpu]19:47
theshaggYes this is an AMD 2700x19:47
theshaggwell, multi-core, single socket19:47
theshaggbasically it's the same is this other bug I reported:19:48
theshagghttps://bugs.launchpad.net/bugs/187354819:48
ubottuLaunchpad bug 1873548 in linux (Ubuntu) "[amdgpu] hangs at shutdown" [Undecided,Confirmed]19:48
woenxHi19:49
woenxOne question. If i download and install the ubuntu 20.04 beta today, and I keep it updated, will it be the same thing as having the final version once it releases?19:49
theshaggI have been told yes, you will want to do an apt-get upgrade19:50
theshaggI'm not sure if you will get it during the point release, (months later), or immediately19:50
woenxOk, but if I do that, it will be the same, right?19:50
woenxOk19:50
theshaggI am a novice, but I'm in the same shoes as you19:50
theshaggI think you will have all of the same packages, etc.19:51
CarlFKwoenx:   there is no simple answer.   if you are worried about it, you should wait.  If you are up for helping, then do it.  which might mean you are still helping after it is released.  19:51
tomreyntheshagg: MSI.com just keeps returning "504 Gateway Time-out" messages to me, so i can't check whether you bios is current. if it isn't, i recommend upgrading it first of all.19:54
theshaggtomreyn - its up to date20:06
theshaggreasonably20:06
theshaggi had to update it to get virtualization / gpu passthrough working 20:07
theshaggmaybe ill try ubuntu 19 as a baseline20:11
tomreynyou mean ubuntu 19.10 ? that's what i'd try, yes.20:12
tomreynyour bios version is from november last year, but it seems there is nothing newer20:13
tomreynwhich surprises me for an x47020:13
tomreynit's hard to check, though https://www.reddit.com/r/MSI_Gaming/comments/g49wmo/support_site_broken/20:14
theshaggYeah I updated it within the last month20:14
theshaggFWIW I had similar issues on fedora20:14
theshaggBut I think the powerplay bug needs to get fixed 20:15
theshaggbefore the official release20:15
tomreynif the bug is upstream then that's not too likely to happen20:16
tomreynthere have been powerplay bugs with some of the newer GPUs for some months, though20:17
theshaggI don't know how ubuntu can have an LTS that isn't compatible with multiple monitors on AMD gpus20:20
tomreyni'm not yet sure this is correct as a general statement. also, there'll be point releases, HWE kernels etc.20:22
=== halvors1 is now known as halvors
theshaggtomreyn the bug is supposedly fixed in 5.6-rc221:09
theshaggSo I assume the fix would just need to be backported?21:09
lestaco/ when 20.04 is released, we need to format or can update from current version? (18.04 in that case)21:12
oerhekslestac, prepare a fresh usb with the iso, then upgrade, but the upgrade path will be available when 20.04.1 is out21:14
lestacwell! u rock21:15
Synx_hmAnybody experiencing issues installing vagrant on 20.04. Ive got virtualbox installed and vagrant installed via apt and I cannot vagrant-up21:15
oerheksi just upgraded a laptop to 20.04 with the -d option21:15
oerheksno problemo21:15
Synx_hmits erroring with /var/run/libvirt/libvirt-sock no such file or directory21:16
theshaggoerheks does it have AMD graphics?21:23
oerheksno, nvidia21:24
howarthHas anyone noticed that single user or rescue mode doesn't seem to work under the nvidia drivers?21:51
howarthOn my machine, for both nvidia 340 and 440, I see the loading ramdisk line but it never goes past that21:52
mfilipe[m]how do i use screenshot on the fly with gnome 3.36?21:54
tomreyntheshagg: maybe bring it up in #ubuntu-kernel if you are convinced it affects a wide range of hardware and configurations. but i bet it's way too late for 20.04.022:18
tomreynkernel patching can take place any time after release, though.22:19
tomreyntheshagg: i don't know how narvi and your two monitors will work without it, but you could try booting with kernel command line parameter amdgpu.powerplay=022:44

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