19.04 on Surface Studio Nvidia drivers not running

I’ve installed the recommended driver version 418 nvidia-driver-418 using the Ubuntu Software & Updates GUI.

My secure boot is disabled.

$ prime-select query returns only nvidia

$   nvidia-smi NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running. 
$   sudo prime-select nvidia Info: the nvidia profile is already set

I have rebooted several times, just in-case.

Any help with where to look next would be appreciated.

Switch nvidia drivers on and off at boot time

I am booting the same Linux partition both directly (“bare metal”) and as a guest under VirtualBox in Windows.

When I boot this partition directly, it boots up and displays the desktop fine. However, when I boot within a VM, I can boot into a TTY fine by using systemd.unit=multi-user.target in the grub boot options.

My pc has an nVidia gpu, so for booting bare metal, it has the nvidia drivers installed. However, when I boot the VM, there is no nVidia gpu present in the VM – VMWare provides its own virtual VGA hardware. As I understand, Linux has mainlined drivers for that, and they get recognized properly:

$   lspci -k ... 00:02.0 VGA compatible controller: VMware SVGA II Adapter         Subsystem: VMware SVGA II Adapter         Kernel driver in use: vmwgfx         Kernel modules: vmwgfx ... 

If I run the VM with the above kernel option so it boots into a TTY, and then log onto the VM via ssh, and run sudo systemctl start graphical.target, the VM’s graphical output again shows it crashing just before the login prompt. It looks like this: crash. The systemd journal contains the following log: journalctl output.

I would like to be able to boot without the nvidia drivers when in a VM, but with the nvidia drivers when booting bare metal. How can I do this? I am really anxious to get this working. Unfortunately all online discussion about turning off nvidia drivers without uninstalling them is on the topic of optimus / prime / gpu switching, for when you have two gpus concurrently in a laptop, and that is not the case here. Essentially what I’m doing is like I’m pulling out the hard drive from a pc that has an nvidia gpu, and putting it in one that has a generic gpu (branded as “VMware”), and then taking it out of there and putting it back in the nvidia pc. I could see the configuration change being indicated by e.g. having two separate selections in grub, one for “linux with nvidia gpu” and one for “linux with vmware gpu” and I’d have to select the right one.

I am under Ubuntu 18.04 x64 and I’m using nvidia-390, but I could change the version of that to something else.

I would appreciate any and all hints.

Credit card requires scans of drivers license to clear fraud

Someone stole my phone number from Comcast, then my Capital One credit card. I’m fearing identity fraud. I finally fixed the phone but Capital One is requiring me to send them a copy of my drivers license to confirm my identity before they clear my credit card fraud. Here’s what happened: someone pretending to be me ordered a new card, over the phone, to be shipped to a different address. I was never contacted about this even though they gave me a big speech how they verify everything. When confronted they would not tell me how they attempted to contact me to verify this. This is a card I have not used in over a year (kept for emergencies), and is kept locked in a box in my house. Capital One did call me about possible fraud, but says I need to verify my identity and the only way I can do this is to send them a copy of my drivers license. They will not accept me going to the local federal agency, sheriff or their branch office and show any collection of IDs.
I’ve been advised by professionals not to do this, especially since it looks like I may also be a victim of identity theft – the only way these thieves could’ve gotten a physical credit card and my phone number is to have very personal information. Therefore, giving more personal information to the people who were possibly involved seems very dubious at best but after going back and forth with them for hours on several phone calls they’re not budging. Is there any way around it? Is it legal for them to demmand this?

Ubuntu 18.04 on vmware ESXi 6.7 and Nvidia – device available, unable to install drivers

I have esxi 6.7 installed and have my Nvidia Quadro p3200 selected as a pass through on the host. On the guest, I have ubuntu desktop 18.04 lspci shows me nvidia device I installed the latest ver 430, and it installed without issues. I also installed cuda toolkit 10.0 without errors. however, nvidia-smi shows me no devices were found nvcc –version tells me to install cuda toolkit

when I do sudo prime-select nvidia, it tells me nvidia is already prime

I’m unable to start nvidia-x-server settings either.

I’ve installed nvidia and cuda on ubuntu without the vm many times, but not sure why this is such a problem. I have tried to do this over a dozen times looking at various help articles. I must be missing some step.

I have installed and reinstalled ubuntu several times on the vm in order to try to get this to work

any help would be appreciated

Images/screenshots https://imgur.com/a/oaGdTkH https://imgur.com/a/lrK8Egi https://imgur.com/a/XFWKwjj

Nvidia Proprietary drivers and Display Managers

I’m running Ubuntu 19.04 and installed Nvidia proprietary drivers. However, after installation, once I reboot, the boot process gets stuck just before the display manager kicks in (probably when it is being initialized). After Googling, I discovered there’s a known issue with Nvidia drivers and Wayland and that a fix was to disable Wayland by editing the gdm3 config file. I tried this, hoping it would solve my problems but it didn’t. I continued facing the same problem.

Thinking the issue lied with the Nvidia driver itself (I initially tried nvidia-driver-418, I rollbacked to 390). However, the issue persisted. Seeing as the problem ultiamtely lied with gdm3 I even tried installing lightdm. Even this didn’t fix the problem.

The interesting thing, however, is that if I skip the login screen by logging in through a tty shell and then starting xorg using startx, I’m taken to the desktop without any issues.

Is there any way I can fix this issue? Would switching to a different DE and DM work?


Help Installing propietary AMD Drivers on Ubuntu 18.04

I know that this question has been posted already (kind of) but those seems not to apply to my case, as with the tutorials I found online, seems to be different.

So I have a samsung laptop (AMD APU A6-1450 with integrated grapichs) i was trying to play some games, then i realised that CSGO for example runs at 15/20 FPS, which make me wonder, so i check and seems I’m using the ubuntu open source drivers.

I went to AMD website and download my drivers from their website, which for my current APU and GPU its “Crimson Edition 15.12 Proprietary Ubuntu 14.04 x86_64” so I downloaded and here is the first problem, I realize its a .deb package, not a tar.gz with a .sh file inside to run (which shows up in all the tutorials online to install propietary drivers), i check just in case the .pdf in AMD website which said would help to install the drivers, but that pdf is beyond complicated and misleading, (and also refers to a .tar.gz file with a run file inside, not a deb package). Anyway i thought it would be easier since its a deb, so i tried to install it by dpkg -i amdblablabla.deb fail becasue fglrx-core dependence not installed and other “libtq4” (something like this i forgot the name) also “missing dependecies or not installed”.

So i tried, sudo apt-get update and sudo apt-get check and sudo apt-get -f install

but it didnt help (dependecies didnt installed) it just suggets me to delete the fglrx deb I installed previously

I tried the following (according to AMD pdf file if missing dependencies) sudo apt-get build-dep fglrx-core and apt-get build-dep “libtq4” which are the dependencies missing, but fail because it didn’t recognice the packages or doesn’t found those packages.

So here is where I stop because I fail to find a tutorial for a .deb package to install AMD propietary drivers, I’m missing something here? or what I’m doing wrong, i ask becasue i’m not that knwoledged of ubuntu, i read somewhere that first you have to uninstall the open source drivers or purge it, but not Im not 100% sure if i have to do that for my case, since my ubuntu is very clean install…

Anyway thank you in advance. 🙂

Cannot boot with nvidia drivers, stuck after “started bpfilter”

I am having trouble booting. I am running Ubuntu 19.04 with kernel 5.0.0-16-generic. I have a Nvidia 1070 graphics card. After an recent update, I was unable to startup. The process freezes with a blinking cursor after the message “bpfilter started”.

The only solution I could find was to remove all nvidia drivers (after trying to install 430, 418, 410, 396, and 390). Now I am only using only X. HDMI output and any type of graphic intensive work is impossible, which is frustrating as I am a game developer.

I have already disabled secure boot. I have attempted to disable Wayland in gmd3, as outlined in this answer, with no success. Here is my /etc/gdm3/custom.conf:

# GDM configuration storage # # See /usr/share/gdm/gdm.schemas for a list of available options.  [daemon] # Uncomment the line below to force the login screen to use Xorg WaylandEnable=false  # Enabling automatic login #  AutomaticLoginEnable = true #  AutomaticLogin = user1  # Enabling timed login #  TimedLoginEnable = true #  TimedLogin = user1 #  TimedLoginDelay = 10  [security]  [xdmcp]  [chooser]  [debug] # Uncomment the line below to turn on debugging # More verbose logs # Additionally lets the X server dump core if it crashes #Enable=true 

How can I boot with my graphics card functioning? How can I safely install the nvidia drivers?