Nvidia graphics card not detected on Ubuntu 17

ask

Chieftain
Joined
Mar 20, 2018
Messages
17
Location
San Francisco, California
I am running Civilization 6 game via Steam launcher.

this is on Ubuntu 17.10:
image.png

when I boot Windows 7 on the same computer and start Civ6 (via Steam launcher in both cases), it shows proper video card in "GPU selection" field.

Ubuntu settings:

$ lshw -c video
WARNING: you should run this program as super-user.
*-display
description: VGA compatible controller
product: GP107 [GeForce GTX 1050]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: vga_controller bus_master cap_list rom
configuration: driver=nvidia latency=0
resources: irq:132 memory:de000000-deffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:e000(size=128) memory:c0000-dffff
WARNING: output may be incomplete or inaccurate, you should run this program as super-user.

$ nvidia-smi
Sat Mar 17 11:28:15 2018
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 384.111 Driver Version: 384.111 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 1050 Off | 00000000:01:00.0 On | N/A |
| 45% 29C P0 ERR! / 75W | 1920MiB / 1993MiB | 12% Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 1674 G /usr/lib/xorg/Xorg 39MiB |
| 0 1736 G /usr/bin/gnome-shell 49MiB |
| 0 1953 G /usr/lib/xorg/Xorg 277MiB |
| 0 2109 G /usr/bin/gnome-shell 146MiB |
| 0 2794 G /home/alexey/.steam/ubuntu12_32/steam 39MiB |
| 0 3050 G ...mmon/Sid Meier's Civilization VI/./Civ6 1258MiB |
| 0 3223 G ...-token=A7F6743DC05FC28EEAD7CC30A336F756 103MiB |
| 0 3513 G gnome-control-center 1MiB |
+-----------------------------------------------------------------------------+

~$ cat /proc/driver/nvidia/version
NVRM version: NVIDIA UNIX x86_64 Kernel Module 384.111 Tue Dec 19 23:51:45 PST 2017
GCC version: gcc version 7.2.0 (Ubuntu 7.2.0-8ubuntu3.2)
 
here is XOrg startup log:
Code:
alexey@alexey-desktop:/var/log$ cat Xorg.1.log | grep -i nvidia
[ 38575.228] (II) Module glx: vendor="NVIDIA Corporation"
[ 38575.228] (II) NVIDIA GLX Module  384.111  Tue Dec 19 22:51:13 PST 2017
[ 38575.228] (==) Matched nvidia as autoconfigured driver 0
[ 38575.228] (==) Matched nvidia as autoconfigured driver 2
[ 38575.228] (II) LoadModule: "nvidia"
[ 38575.228] (II) Loading /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so
[ 38575.228] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 38575.229] (II) NVIDIA dlloader X Driver  384.111  Tue Dec 19 22:25:34 PST 2017
[ 38575.229] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 38575.229] (II) NOUVEAU driver for NVIDIA chipset families :
[ 38575.230] (II) NVIDIA(0): Creating default Display subsection in Screen section
[ 38575.230] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[ 38575.230] (==) NVIDIA(0): RGB weight 888
[ 38575.230] (==) NVIDIA(0): Default visual is TrueColor
[ 38575.230] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 38575.230] (**) NVIDIA(0): Enabling 2D acceleration
[ 38575.232] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:1:0:0
[ 38575.232] (--) NVIDIA(0):     DFP-0 (boot)
[ 38575.232] (--) NVIDIA(0):     DFP-1
[ 38575.232] (--) NVIDIA(0):     DFP-2
[ 38575.232] (--) NVIDIA(0):     DFP-3
[ 38575.233] (II) NVIDIA(0): NVIDIA GPU GeForce GTX 1050 (GP107-A) at PCI:1:0:0 (GPU-0)
[ 38575.233] (--) NVIDIA(0): Memory: 2097152 kBytes
[ 38575.233] (--) NVIDIA(0): VideoBIOS: 86.07.2f.00.5e
[ 38575.233] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[ 38575.262] (--) NVIDIA(GPU-0): DELL U2715H (DFP-0): connected
[ 38575.262] (--) NVIDIA(GPU-0): DELL U2715H (DFP-0): Internal TMDS
[ 38575.262] (--) NVIDIA(GPU-0): DELL U2715H (DFP-0): 600.0 MHz maximum pixel clock
[ 38575.262] (--) NVIDIA(GPU-0):
[ 38575.263] (--) NVIDIA(GPU-0): DFP-1: disconnected
[ 38575.263] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
[ 38575.263] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[ 38575.263] (--) NVIDIA(GPU-0):
 
Back
Top Bottom