I don’t think java is using my gpu. How do I check or trouble shoot this?
tried 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.
Manjaro settings manager shows 450xx installed
pobrn
September 12, 2020, 8:37pm
2
It seems the nvidia driver is not installed/loaded or something. Please run inxi -Fza
and sudo mhwd -li
1 Like
Okay - not 100% sure what I’m looking for
inxi -Fza
System:
Kernel: 5.4.64-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0
parameters: BOOT_IMAGE=/boot/vmlinuz-5.4-x86_64
root=UUID=b00a514f-23bc-4f7f-97cb-3deb17088532 rw quiet
Desktop: Xfce 4.14.2 tk: Gtk 3.24.20 info: xfce4-panel, plank wm: xfwm4
dm: LightDM 1.30.0 Distro: Manjaro Linux
Machine:
Type: Desktop Mobo: ASUSTeK model: X79-DELUXE v: Rev 1.xx serial: <filter>
UEFI: American Megatrends v: 0401 date: 08/15/2013
CPU:
Topology: 6-Core model: Intel Core i7-4930K bits: 64 type: MT MCP arch: Ivy Bridge
family: 6 model-id: 3E (62) stepping: 4 microcode: 42E L2 cache: 12.0 MiB
flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 81680
Speed: 1358 MHz min/max: 1200/3900 MHz Core speeds (MHz): 1: 1244 2: 1228 3: 1298
4: 1398 5: 1461 6: 1246 7: 1312 8: 1304 9: 1532 10: 1295 11: 1279 12: 1500
Vulnerabilities: Type: itlb_multihit status: KVM: Split huge pages
Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
Type: mds mitigation: Clear CPU buffers; SMT vulnerable
Type: meltdown mitigation: PTI
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl and seccomp
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, IBRS_FW,
STIBP: conditional, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: NVIDIA GP102 [GeForce GTX 1080 Ti] vendor: eVga.com. driver: nouveau
v: kernel alternate: nvidia_drm,nvidia bus ID: 01:00.0 chip ID: 10de:1b06
Device-2: NVIDIA GK110 [GeForce GTX 780] vendor: eVga.com. GK110B driver: nouveau
v: kernel alternate: nvidia_drm,nvidia bus ID: 02:00.0 chip ID: 10de:1004
Device-3: NVIDIA GK110 [GeForce GTX 780] vendor: eVga.com. GK110B driver: nouveau
v: kernel alternate: nvidia_drm,nvidia bus ID: 03:00.0 chip ID: 10de:1004
Display: x11 server: X.Org 1.20.8 driver: modesetting
alternate: fbdev,nouveau,nv,vesa display ID: :0.0 screens: 1
Screen-1: 0 s-res: 7200x2160 s-dpi: 96 s-size: 1905x571mm (75.0x22.5")
s-diag: 1989mm (78.3")
Monitor-1: DVI-D-1 res: 1440x900 hz: 60 dpi: 90 size: 408x255mm (16.1x10.0")
diag: 481mm (18.9")
Monitor-2: DP-1 res: 3840x2160 hz: 60 dpi: 140 size: 697x392mm (27.4x15.4")
diag: 800mm (31.5")
Monitor-3: HDMI-1 res: 1920x1080 hz: 60 dpi: 85 size: 575x323mm (22.6x12.7")
diag: 660mm (26")
OpenGL: renderer: NV132 v: 4.3 Mesa 20.1.7 direct render: Yes
Audio:
Device-1: Intel C600/X79 series High Definition Audio vendor: ASUSTeK
driver: snd_hda_intel v: kernel bus ID: 00:1b.0 chip ID: 8086:1d20
Device-2: NVIDIA GP102 HDMI Audio vendor: eVga.com. driver: snd_hda_intel v: kernel
bus ID: 01:00.1 chip ID: 10de:10ef
Device-3: NVIDIA GK110 High Definition Audio vendor: eVga.com. driver: snd_hda_intel
v: kernel bus ID: 02:00.1 chip ID: 10de:0e1a
Device-4: NVIDIA GK110 High Definition Audio vendor: eVga.com. driver: snd_hda_intel
v: kernel bus ID: 03:00.1 chip ID: 10de:0e1a
Sound Server: ALSA v: k5.4.64-1-MANJARO
Network:
Device-1: Intel 82579V Gigabit Network vendor: ASUSTeK P8P67 Deluxe driver: e1000e
v: 3.2.6-k port: f040 bus ID: 00:19.0 chip ID: 8086:1503
IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
Device-2: Broadcom and subsidiaries BCM4352 802.11ac Wireless Network Adapter
vendor: ASUSTeK driver: wl v: kernel modules: bcma port: b000 bus ID: 0a:00.0
chip ID: 14e4:43b1
IF: wlp10s0 state: dormant mac: <filter>
Device-3: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: ASUSTeK
driver: r8168 v: 8.048.03-NAPI modules: r8169 port: 9000 bus ID: 0c:00.0
chip ID: 10ec:8168
IF: enp12s0 state: down mac: <filter>
Drives:
Local Storage: total: 10.68 TiB used: 2.44 TiB (22.8%)
SMART Message: Required tool smartctl not installed. Check --recommends
ID-1: /dev/sda vendor: Samsung model: SSD 860 EVO 500GB size: 465.76 GiB block size:
physical: 512 B logical: 512 B speed: 6.0 Gb/s serial: <filter> rev: 1B6Q
scheme: GPT
ID-2: /dev/sdb vendor: Seagate model: ST8000DM004-2CX188 size: 7.28 TiB block size:
physical: 4096 B logical: 512 B speed: 3.0 Gb/s rotation: 5425 rpm serial: <filter>
rev: 0001 scheme: GPT
ID-3: /dev/sdc vendor: A-Data model: SU655 size: 223.57 GiB block size:
physical: 512 B logical: 512 B speed: 3.0 Gb/s serial: <filter> rev: 1c62
scheme: GPT
ID-4: /dev/sdd vendor: Seagate model: ST3000DM001-1CH166 size: 2.73 TiB block size:
physical: 4096 B logical: 512 B speed: 3.0 Gb/s rotation: 7200 rpm serial: <filter>
rev: CC27 scheme: GPT
Partition:
ID-1: / raw size: 465.46 GiB size: 457.16 GiB (98.22%) used: 113.26 GiB (24.8%)
fs: ext4 dev: /dev/sda2
Swap:
Alert: No Swap data was found.
Sensors:
System Temperatures: cpu: 26.0 C mobo: N/A
Fan Speeds (RPM): N/A
GPU: device: nouveau temp: 31 C fan: 1230 device: nouveau temp: 45 C fan: 0
device: nouveau temp: 37 C fan: 1290
Info:
Processes: 317 Uptime: 33m Memory: 31.31 GiB used: 10.31 GiB (32.9%) Init: systemd
v: 246 Compilers: gcc: 10.2.0 alt: 8/9 clang: 10.0.1 Packages: pacman: 1550 lib: 437
flatpak: 0 Shell: Bash v: 5.0.18 running in: xfce4-terminal inxi: 3.1.05
mhwd -li
Installed PCI configs:
--------------------------------------------------------------------------------
NAME VERSION FREEDRIVER TYPE
--------------------------------------------------------------------------------
video-nvidia-450xx 2019.10.25 false PCI
network-r8168 2016.04.20 true PCI
network-broadcom-wl 2018.10.07 true PCI
Warning: No installed USB configs!
pobrn
September 12, 2020, 8:51pm
4
skeletron:
Device-1: NVIDIA GP102 [GeForce GTX 1080 Ti] vendor: eVga.com . driver: nouveau
v: kernel alternate: nvidia_drm,nvidia bus ID: 01:00.0 chip ID: 10de:1b06
Device-2: NVIDIA GK110 [GeForce GTX 780] vendor: eVga.com . GK110B driver: nouveau
v: kernel alternate: nvidia_drm,nvidia bus ID: 02:00.0 chip ID: 10de:1004
Device-3: NVIDIA GK110 [GeForce GTX 780] vendor: eVga.com . GK110B driver: nouve
It seems the nouvau
driver is loaded? If you want the proprietary, then you need to blacklist nouveau
.
1 Like
Okay -
updated /etc/modprobe.d/mhwd-gpu.conf
with this line
blacklist nouveau
Is that the right way to do it? Getting ready to reboot now.
If nvidia fails will nouveau load or will I be at a black screen? I’ve had to reinstall my whole system before because I was messing with video drivers?
pobrn
September 12, 2020, 9:12pm
6
nouveau
will not load. It’ll probably be a black screen, so you might want to install and start an ssh server to be on the safe side of things.
1 Like
Dude I don’t know how to install or administer an ssh server . I’ll research it. For now I’m doing an external backup, and I’ll reboot. Fingers crossed.
Thank you for the help.
pobrn
September 12, 2020, 9:25pm
8
Well, if you’re not directly connected to the internet, it’s just:
sudo pacman -Syu openssh
sudo systemctl enable ssh
sudo systemctl start ssh
and you should be good to go. Anyway, I hope it’s gonna work out. The worst that can happen is a black screen with no TTY access, but then you can use the installation medium to fix the issue very simply.
1 Like
Installation medium you mean an iso usb?
My backup finally finished. I rebooted. No blackscreen
nvidia-smi returns driver info, nvidia-settings launches and shows new driver info. Seems to be working well.
Thanks for the help! I needed someone to walk me through that.
I am new to Linux entirely, and discovered that TD updated their TOS java? What does one need to enter into the konsole to get the appropriate java update to get this install to work?
Some recent updates to Thinkorswim require version 11. I discovered that jre8 was made default on my system despite having the version 11 components installed so I removed the 8 components and now it’s working normally with the java11-openjfx
package. As for day-trading…can’t say I recommend it. Memes and short-squeeze plays can only last so long. But I will say that TOS’s interface is infinitely-better than TD Ameritrade’s dinosaur-looking main account page.