Manjaro + XPS 9360 + Razer Core X + Nvidia RTX 2070 super : Detected but not wor...
 
Notifications
Clear all

Manjaro + XPS 9360 + Razer Core X + Nvidia RTX 2070 super : Detected but not working  

  RSS

mrsinham
(@mrsinham)
New Member
Joined: 1 month ago
 

Hello everyone,

I am currently stuck when I want to use my eGPU with manjaro linux, it is always the intel gpu that is running for now without the external display connected to egpu. The goal for me is to run all my computer on the external gpu when connected on an external display but at least I tried prime to run selectively some apps withou success.

Here are all the infos I gathered from my current installation and my attempts :

$ inxi -Fxxz 
System: Host: lyon Kernel: 5.6.12-1-MANJARO x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: Gnome 3.36.2 wm: gnome-shell 
dm: GDM Distro: Manjaro Linux 
Machine: Type: Laptop System: Dell product: XPS 13 9360 v: N/A serial: <filter> Chassis: type: 9 serial: <filter> 
Mobo: Dell model: 0PF86Y v: A00 serial: <filter> UEFI: Dell v: 2.13.0 date: 11/14/2019 
Battery: ID-1: BAT0 charge: 39.3 Wh condition: 39.3/60.0 Wh (66%) volts: 8.4/7.6 model: SMP DELL TP1GT61 serial: <filter> 
status: Full 
Device-1: hidpp_battery_0 model: Logitech Wireless Mobile Mouse MX Anywhere 2S serial: <filter> 
charge: 100% (should be ignored) status: Discharging 
CPU: Topology: Dual Core model: Intel Core i7-7560U bits: 64 type: MT MCP arch: Amber Lake rev: 9 L2 cache: 4096 KiB 
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 19204 
Speed: 700 MHz min/max: 400/3800 MHz Core speeds (MHz): 1: 700 2: 700 3: 700 4: 700 
Graphics: Device-1: Intel Iris Plus Graphics 640 vendor: Dell driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:5926 
Device-2: NVIDIA TU104 [GeForce RTX 2070 SUPER] vendor: Micro-Star MSI driver: nvidia v: 440.82 bus ID: 06:00.0 
chip ID: 10de:1e84 
Display: x11 server: X.org 1.20.8 driver: intel,nvidia unloaded: modesetting compositor: gnome-shell 
resolution: <xdpyinfo missing> 
OpenGL: renderer: Mesa Intel Iris Plus Graphics 640 (Kaby Lake GT3e) (KBL GT3) v: 4.6 Mesa 20.0.6 
direct render: Yes 
Audio: Device-1: Intel Sunrise Point-LP HD Audio vendor: Dell driver: snd_hda_intel v: kernel bus ID: 00:1f.3 
chip ID: 8086:9d71 
Device-2: Logitech HD Pro Webcam C920 type: USB driver: snd-usb-audio,uvcvideo bus ID: 1-2.1.4:9 chip ID: 046d:082d 
Device-3: Logitech type: USB driver: hid-generic,snd-usb-audio,usbhid bus ID: 1-2.1.1:7 chip ID: 046d:0aaf 
Sound Server: ALSA v: k5.6.12-1-MANJARO 
Network: Device-1: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter vendor: Bigfoot Networks driver: ath10k_pci 
v: kernel port: 2000 bus ID: 3a:00.0 chip ID: 168c:003e 
IF: wlp58s0 state: up mac: <filter> 
Device-2: Qualcomm Atheros type: USB driver: btusb bus ID: 1-3:3 chip ID: 0cf3:e300 
IF-ID-1: docker0 state: down mac: <filter> 
Drives: Local Storage: total: 476.94 GiB used: 118.40 GiB (24.8%) 
ID-1: /dev/nvme0n1 model: CX2-8B512-Q11 NVMe LITEON 512GB size: 476.94 GiB speed: 31.6 Gb/s lanes: 4 
serial: <filter> 
Partition: ID-1: / size: 468.16 GiB used: 118.38 GiB (25.3%) fs: ext4 dev: /dev/nvme0n1p2 
Sensors: System Temperatures: cpu: 40.0 C mobo: N/A 
Fan Speeds (RPM): N/A 
Info: Processes: 245 Uptime: 29m Memory: 15.37 GiB used: 3.25 GiB (21.1%) Init: systemd v: 245 Compilers: gcc: 9.3.0 
Shell: zsh v: 5.8 running in: tilix inxi: 3.0.37 

nvidia-smi:

~ ⌚ 12:05:15
$ nvidia-smi
Sat May 30 12:09:10 2020 
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 440.82 Driver Version: 440.82 CUDA Version: 10.2 |
|-------------------------------+----------------------+----------------------+
| 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 RTX 207... Off | 00000000:06:00.0 Off | N/A |
| 0% 32C P8 20W / 215W | 16MiB / 7982MiB | 0% Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 1446 G /usr/lib/Xorg 14MiB |
+-----------------------------------------------------------------------------+

~ ⌚ 12:09:10
$

$ mhwd -li
> Installed PCI configs:
--------------------------------------------------------------------------------
NAME VERSION FREEDRIVER TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-440xx-prime 2019.10.25 false PCI
video-linux 2018.05.04 true PCI


Warning: No installed USB configs!

~ ⌚ 12:09:38
$ 



$ sudo dmesg | grep nvidia
[ 1.611925] nvidia: loading out-of-tree module taints kernel.
[ 1.611934] nvidia: module license 'NVIDIA' taints kernel.
[ 1.617604] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[ 1.626039] nvidia-nvlink: Nvlink Core is being initialized, major device number 242
[ 1.630205] nvidia-nvlink: Unregistered the Nvlink Core, major device number 242
[ 1.811003] audit: type=1400 audit(1590831314.628:3): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe" pid=314 comm="apparmor_parser"
[ 1.812284] audit: type=1400 audit(1590831314.628:4): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe//kmod" pid=314 comm="apparmor_parser"
[ 1.941491] nvidia-nvlink: Nvlink Core is being initialized, major device number 239
[ 1.943557] nvidia-nvlink: Unregistered the Nvlink Core, major device number 239
[ 5.092943] nvidia-nvlink: Nvlink Core is being initialized, major device number 235
[ 5.093935] nvidia 0000:06:00.0: enabling device (0006 -> 0007)
[ 5.094059] nvidia 0000:06:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=none
[ 5.145078] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 440.82 Wed Apr 1 19:41:29 UTC 2020
[ 5.148853] [drm] [nvidia-drm] [GPU ID 0x00000600] Loading driver
[ 5.148855] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:06:00.0 on minor 1


$ cat /etc/default/grub 
GRUB_DEFAULT=saved
GRUB_TIMEOUT=10
GRUB_TIMEOUT_STYLE=hidden
GRUB_DISTRIBUTOR='Manjaro'
GRUB_CMDLINE_LINUX_DEFAULT="quiet apparmor=1 security=apparmor udev.log_priority=3 nouveau.modeset=0"
GRUB_CMDLINE_LINUX=""

# If you want to enable the save default function, uncomment the following
# line, and set GRUB_DEFAULT to saved.
GRUB_SAVEDEFAULT=true

# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"

# Uncomment to enable booting from LUKS encrypted devices
#GRUB_ENABLE_CRYPTODISK=y

# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console

# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command 'videoinfo'
GRUB_GFXMODE=auto

# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep

# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true

# Uncomment and set to the desired menu colors. Used by normal and wallpaper
# modes only. Entries specified as foreground/background.
GRUB_COLOR_NORMAL="light-gray/black"
GRUB_COLOR_HIGHLIGHT="green/black"

# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/usr/share/grub/background.png"
GRUB_THEME="/usr/share/grub/themes/manjaro/theme.txt"

# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"


#egpu attempt
pcie_ports=native pci=assign-busses,nocrs,realloc iommu=on

When I run :

$ DRI_PRIME=1 glxgears 
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
48125 frames in 5.0 seconds = 9624.886 FPS
45982 frames in 5.0 seconds = 9196.240 FPS

But nvidia-smi sees GPU-Util at 0% while doing that. But...

$ glxgears 
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
304 frames in 5.0 seconds = 60.693 FPS

While doing :

$ DRI_PRIME=1 glxinfo | grep render 
direct rendering: Yes
GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer, 
GLX_MESA_query_renderer, GLX_MESA_swap_control, GLX_OML_swap_method, 
Extended renderer info (GLX_MESA_query_renderer):
OpenGL renderer string: Mesa Intel(R) Iris(R) Plus Graphics 640 (Kaby Lake GT3e) (KBL GT3)
GL_ARB_conditional_render_inverted, GL_ARB_conservative_depth, 
GL_NV_conditional_render, GL_NV_depth_clamp, 
GL_ARB_conditional_render_inverted, GL_ARB_conservative_depth, 
GL_NV_compute_shader_derivatives, GL_NV_conditional_render, 
GL_EXT_render_snorm, GL_EXT_robustness, GL_EXT_sRGB_write_control, 
GL_NV_conditional_render, GL_NV_draw_buffers, GL_NV_fbo_color_attachments, 
GL_OES_element_index_uint, GL_OES_fbo_render_mipmap,

~ ⌚ 12:14:37
$ 

and

$ glxinfo | grep render 
direct rendering: Yes
GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer, 
GLX_MESA_query_renderer, GLX_MESA_swap_control, GLX_OML_swap_method, 
Extended renderer info (GLX_MESA_query_renderer):
OpenGL renderer string: Mesa Intel(R) Iris(R) Plus Graphics 640 (Kaby Lake GT3e) (KBL GT3)
GL_ARB_conditional_render_inverted, GL_ARB_conservative_depth, 
GL_NV_conditional_render, GL_NV_depth_clamp, 
GL_ARB_conditional_render_inverted, GL_ARB_conservative_depth, 
GL_NV_compute_shader_derivatives, GL_NV_conditional_render, 
GL_EXT_render_snorm, GL_EXT_robustness, GL_EXT_sRGB_write_control, 
GL_NV_conditional_render, GL_NV_draw_buffers, GL_NV_fbo_color_attachments, 
GL_OES_element_index_uint, GL_OES_fbo_render_mipmap,

~ ⌚ 12:14:52
$ 

The classics files :

$ lspci | grep VGA 
00:02.0 VGA compatible controller: Intel Corporation Iris Plus Graphics 640 (rev 06)
06:00.0 VGA compatible controller: NVIDIA Corporation TU104 [GeForce RTX 2070 SUPER] (rev a1)

I tried egpu-switcher, mhwd. I can't make it run for the moment, anyone please has some hints? I am a bit stuck Smile

 

To do: Create my signature with system and expected eGPU configuration information to give context to my posts. I have no builds.

.

ReplyQuote