Linux general questions and answer

cayoenrique

Member
Messages
475
Congratulations. You have your Intel GPU managing screen monitor. But from this
Code:
root@live:~# xrandr --listproviders
Providers: number : 1
Provider 0: id: 0x44 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 3 outputs: 2 associated providers: 0 name:modesetting

It seems there is something wrong with Nividia?

Look at mine.
Code:
enrique@live:$ xrandr --listproviders
Providers: number : 2
Provider 0: id: 0x6b cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 2 outputs: 4 associated providers: 0 name:modesetting
Provider 1: id: 0x45 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 6 outputs: 0 associated providers: 0 name:TURKS @ pci:0000:01:00.0

See how I have 2 providers!! Provider 1 "Turks" is my AMD.
The good part is that lsmod | grep -i -e "nvidia\|nouveau\|i915" shows your nvidia drivers installed. Now you need to look into dmesg & cat /var/log/Xorg.0.log[/b] to look for errors.

Now the Theory. You have what people called a Hybrid GPU setup as you have Intel at the moment running your screen and Nvidia in the waiting. If clinfo works, then this is perfect setup for running Opencl in Nvidia.

This MESA commands will force the use of Nvidia firsta one will ask info, the secong will drive the wheels. Firts we do it with Intel so that you know what to expect with Nvidia.

Intel
DRI_PRIME=0 glxinfo -B
DRI_PRIME=0 glxgears

Nvidia
DRI_PRIME=1 glxinfo -B
DRI_PRIME=1 glxgears

But you can try to twink a little to see if you can also get the opposite. Running screen in NVIDIA and Opencl in Intel. But it requires experimentation. Just for info look at:
Code:
https://bbs.archlinux.org/viewtopic.php?id=259300

NOWWWW I suggest to leave it as it is and see if clinfo works, then try to compile the add_numbers Opencl sample.
 

Me2019H

Registered
Messages
101
root@live:~# clinfo
Number of platforms 1
Platform Name NVIDIA CUDA
Platform Vendor NVIDIA Corporation
Platform Version OpenCL 1.2 CUDA 9.1.84
Platform Profile FULL_PROFILE
Platform Extensions cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_fp64 cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll cl_nv_copy_opts cl_nv_create_buffer
Platform Extensions function suffix NV

Platform Name NVIDIA CUDA
Number of devices 1
Device Name GeForce 820M
Device Vendor NVIDIA Corporation
Device Vendor ID 0x10de
Device Version OpenCL 1.1 CUDA
Driver Version 390.157
Device OpenCL C Version OpenCL C 1.1
Device Type GPU
Device Topology (NV) PCI-E, 08:00.0
Device Profile FULL_PROFILE
Device Available Yes
Compiler Available Yes
Max compute units 2
Max clock frequency 1250MHz
Compute Capability (NV) 2.1
Max work item dimensions 3
Max work item sizes 1024x1024x64
Max work group size 1024
Preferred work group size multiple 32
Warp size (NV) 32
Preferred / native vector sizes
char 1 / 1
short 1 / 1
int 1 / 1
long 1 / 1
half 0 / 0 (n/a)
float 1 / 1
double 1 / 1 (cl_khr_fp64)
Half-precision Floating-point support (n/a)
Single-precision Floating-point support (core)
Denormals Yes
Infinity and NANs Yes
Round to nearest Yes
Round to zero Yes
Round to infinity Yes
IEEE754-2008 fused multiply-add Yes
Support is emulated in software No
Correctly-rounded divide and sqrt operations No
Double-precision Floating-point support (cl_khr_fp64)
Denormals Yes
Infinity and NANs Yes
Round to nearest Yes
Round to zero Yes
Round to infinity Yes
IEEE754-2008 fused multiply-add Yes
Support is emulated in software No
Address bits 64, Little-Endian
Global memory size 2081816576 (1.939GiB)
Error Correction support No
Max memory allocation 520454144 (496.3MiB)
Unified memory for Host and Device No
Integrated memory (NV) No
Minimum alignment for any data type 128 bytes
Alignment of base address 4096 bits (512 bytes)
Global Memory cache type Read/Write
Global Memory cache size 32768 (32KiB)
Global Memory cache line size 128 bytes
Image support Yes
Max number of samplers per kernel 16
Max 2D image size 16384x16384 pixels
Max 3D image size 2048x2048x2048 pixels
Max number of read image args 128
Max number of write image args 8
Local memory type Local
Local memory size 49152 (48KiB)
Registers per block (NV) 32768
Max number of constant args 9
Max constant buffer size 65536 (64KiB)
Max size of kernel argument 4352 (4.25KiB)
Queue properties
Out-of-order execution Yes
Profiling Yes
Profiling timer resolution 1000ns
Execution capabilities
Run OpenCL kernels Yes
Run native kernels No
Kernel execution timeout (NV) No
Concurrent copy and kernel execution (NV) Yes
Number of async copy engines 1
Device Extensions cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_fp64 cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll cl_nv_copy_opts cl_nv_create_buffer

NULL platform behavior
clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...) NVIDIA CUDA
clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...) Success [NV]
clCreateContext(NULL, ...) [default] Success [NV]
clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT) No platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU) No platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM) Invalid device type for platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL) No platform

ICD loader properties
ICD loader Name OpenCL ICD Loader
ICD loader Vendor OCL Icd free software
ICD loader Version 2.2.12
ICD loader Profile OpenCL 2.2
root@live:~#
 
Last edited:

cayoenrique

Member
Messages
475
I am no expet but here is what I see

This probes that at the beginig Xorg see to posible Adapters card0 & card1
[ 36.924] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[ 36.924] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 36.925] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 11 paused 0
[ 36.925] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 36.925] (II) systemd-logind: got fd for /dev/dri/card1 226:1 fd 12 paused 0
[ 36.928] (--) PCI:*(0@0:2:0) 8086:0a16:1028:0652 rev 11, Mem @ 0xf7400000/4194304, 0xd0000000/268435456, I/O @ 0x0000f000/64, BIOS @ 0x????????/131072
[ 36.928] (--) PCI: (8@0:0:0) 10de:1140:1028:0652 rev 161, Mem @ 0xf6000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000d000/128, BIOS @ 0x????????/524288

It even recognize on is
Code:
[    37.849] (II) Module glx: vendor="NVIDIA Corporation"
[    37.849]     compiled for 4.0.2, module version = 1.0.0
[    37.849]     Module class: X.Org Server Extension
[    37.860] (II) NVIDIA GLX Module  390.157  Wed Oct 12 09:19:15 UTC 2022

THis shows card0 is Intel
[ 37.896] (II) modeset(0): using drv /dev/dri/card0
[ 37.896] (WW) Falling back to old probe method for modesetting
[ 37.896] (II) modeset(0): Creating default Display subsection in Screen section
"intel" for depth/fbbpp 24/32


Here is 1rst Failure
[ 38.889] (EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found)
 

cayoenrique

Member
Messages
475
Test #1 go to your Boot menu I do not remeber what ot was but maybe geany /mnt/sdb1/grub.cfg

Then add nouveau.blacklist=1 nvidia-drm.modeset=1 to see if it work after reboot
menuentry "BusterDog19" {
linux /BusterDog19/live/vmlinuz1 nouveau.blacklist=1 nvidia-drm.modeset=1 from=/BusterDog19 changes=/BusterDog19/live/changes.dat
initrd /BusterDog19/live/initrd1.xz
}

menuentry "BusterDog19 save changes only on exit" {
linux /BusterDog19/live/vmlinuz1 nouveau.blacklist=1 nvidia-drm.modeset=1 from=/BusterDog19 changes=/BusterDog19/live/changes.dat
initrd /BusterDog19/live/initrd1.xz
}

reboot and see whats new here a few commands to see if error went away, get info and if clinfo is working
Code:
xrandr --listproviders
cat /var/log/Xorg.0.log | grep -i NVIDIA
clinfo
DRI_PRIME=1 glxinfo -B
DRI_PRIME=1 glxgears
 

cayoenrique

Member
Messages
475
Did not work Test#1 then we need to dig deeper. You never send all data I ask. In terminal do

Code:
mkdir /mnt/sda3/nvidiadriver/
dmesg > /mnt/sda3/nvidiadriver/mydmesg.txt
cp /var/log/nvidia-installer.log /mnt/sda3/nvidiadriver/nvidia-installer.log
cp /etc/apt/sources.list /mnt/sda3/nvidiadriver/sources.list
find /lib/modules/4.19.0-19-amd64 | grep -i -e "nvidia\|\drm" > /mnt/sda3/nvidiadriver/modules.txt
lsmod | grep -i -e "nvidia\|drm" >> /mnt/sda3/nvidiadriver/modules.txt
Now we are going to unload the module and reload to see what mesages produce

Open 1 terminal
Code:
sudo tail -f /var/log/{messages,kern.log,dmesg,syslog} 2>&1 | tee mnt/sda3/nvidiadriver/mosetinglogs.txt


In the another terminal do
Code:
modprobe -r nvidia_drm
modprobe --verbose  nvidia_drm modeset=1

See what we doing, in one terminal we look at responses in the other we unload and reload module. Stop both terminal windows, Then zip folder /mnt/sda3/nvidiadriver as send me the files.
 

Me2019H

Registered
Messages
101
root@live:~# xrandr --listproviders
Providers: number : 2
Provider 0: id: 0x64 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 3 outputs: 2 associated providers: 0 name:modesetting
Provider 1: id: 0x3f cap: 0x0 crtcs: 0 outputs: 0 associated providers: 0 name:modesetting
root@live:~# cat /var/log/Xorg.0.log | grep -i NVIDIA
[ 36.291] Kernel command line: BOOT_IMAGE=/BusterDog19/live/vmlinuz1 nouveau.blacklist=1 nvidia-drm.modeset=1 from=/BusterDog19 changes=/BusterDog19/live/changes.dat
[ 37.295] (II) Module glx: vendor="NVIDIA Corporation"
[ 37.305] (II) NVIDIA GLX Module 390.157 Wed Oct 12 09:19:15 UTC 2022
[ 38.362] (EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found)
root@live:~# clinfo
Number of platforms 1
Platform Name NVIDIA CUDA
Platform Vendor NVIDIA Corporation
Platform Version OpenCL 1.2 CUDA 9.1.84
Platform Profile FULL_PROFILE
Platform Extensions cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_fp64 cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll cl_nv_copy_opts cl_nv_create_buffer
Platform Extensions function suffix NV

Platform Name NVIDIA CUDA
Number of devices 1
Device Name GeForce 820M
Device Vendor NVIDIA Corporation
Device Vendor ID 0x10de
Device Version OpenCL 1.1 CUDA
Driver Version 390.157
Device OpenCL C Version OpenCL C 1.1
Device Type GPU
Device Topology (NV) PCI-E, 08:00.0
Device Profile FULL_PROFILE
Device Available Yes
Compiler Available Yes
Max compute units 2
Max clock frequency 1250MHz
Compute Capability (NV) 2.1
Max work item dimensions 3
Max work item sizes 1024x1024x64
Max work group size 1024
Preferred work group size multiple 32
Warp size (NV) 32
Preferred / native vector sizes
char 1 / 1
short 1 / 1
int 1 / 1
long 1 / 1
half 0 / 0 (n/a)
float 1 / 1
double 1 / 1 (cl_khr_fp64)
Half-precision Floating-point support (n/a)
Single-precision Floating-point support (core)
Denormals Yes
Infinity and NANs Yes
Round to nearest Yes
Round to zero Yes
Round to infinity Yes
IEEE754-2008 fused multiply-add Yes
Support is emulated in software No
Correctly-rounded divide and sqrt operations No
Double-precision Floating-point support (cl_khr_fp64)
Denormals Yes
Infinity and NANs Yes
Round to nearest Yes
Round to zero Yes
Round to infinity Yes
IEEE754-2008 fused multiply-add Yes
Support is emulated in software No
Address bits 64, Little-Endian
Global memory size 2081816576 (1.939GiB)
Error Correction support No
Max memory allocation 520454144 (496.3MiB)
Unified memory for Host and Device No
Integrated memory (NV) No
Minimum alignment for any data type 128 bytes
Alignment of base address 4096 bits (512 bytes)
Global Memory cache type Read/Write
Global Memory cache size 32768 (32KiB)
Global Memory cache line size 128 bytes
Image support Yes
Max number of samplers per kernel 16
Max 2D image size 16384x16384 pixels
Max 3D image size 2048x2048x2048 pixels
Max number of read image args 128
Max number of write image args 8
Local memory type Local
Local memory size 49152 (48KiB)
Registers per block (NV) 32768
Max number of constant args 9
Max constant buffer size 65536 (64KiB)
Max size of kernel argument 4352 (4.25KiB)
Queue properties
Out-of-order execution Yes
Profiling Yes
Profiling timer resolution 1000ns
Execution capabilities
Run OpenCL kernels Yes
Run native kernels No
Kernel execution timeout (NV) No
Concurrent copy and kernel execution (NV) Yes
Number of async copy engines 1
Device Extensions cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_fp64 cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll cl_nv_copy_opts cl_nv_create_buffer

NULL platform behavior
clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...) NVIDIA CUDA
clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...) Success [NV]
clCreateContext(NULL, ...) [default] Success [NV]
clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT) No platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU) No platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM) Invalid device type for platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL) No platform

ICD loader properties
ICD loader Name OpenCL ICD Loader
ICD loader Vendor OCL Icd free software
ICD loader Version 2.2.12
ICD loader Profile OpenCL 2.2
root@live:~# DRI_PRIME=1 glxinfo -B
bash: glxinfo: command not found
root@live:~# DRI_PRIME=1 glxgears
bash: glxgears: command not found
DRI_PRIME=1 glxinfo -B
DRI_PRIME=1 glxgears
command not found
oot@live:~# mkdir /mnt/sda3/nvidiadriver/
root@live:~# dmesg > /mnt/sda3/nvidiadriver/mydmesg.txt
root@live:~# cp /var/log/nvidia-installer.log /mnt/sda3/nvidiadriver/nvidia-installer.log
cp: cannot stat '/var/log/nvidia-installer.log': No such file or directory
we have no nvidia-installer.log
root@live:~# ls /var/log
alternatives.log dmesg dmesg.3.gz fontconfig.log sysstat
apt dmesg.0 dmesg.4.gz fsck wtmp
bootstrap.log dmesg.1.gz dpkg.log lastlog Xorg.0.log
btmp dmesg.2.gz faillog porteus-livedbg Xorg.0.log.old
root@live:~#
 
Last edited:

cayoenrique

Member
Messages
475
Just as a comment. I search net again. And someone suggest to install this way
Code:
apt install nvidia-detect
nvidia-detect, this told me nvidia-legacy-390xx-driver
apt install nvidia-legacy-390xx-driver
update-alternatives --config nvidia and select the legacy driver
apt install nvidia-legacy-390xx-opencl-icd
apt install clinfo

We did all but we may had miss to do
Code:
update-alternatives --config nvidia
And select the legacy driver. Then

Code:
apt install nvidia-legacy-390xx-opencl-icd

Then test with
Code:
ls /etc/OpenCL/vendors
clinfo
 

cayoenrique

Member
Messages
475
HOLD YOU HORSES!

I am so sorry you did post Yesterday at 16:48 while I was writing my last post.
Now lest see whats new.
1) xrandr --listproviders show now that you have 2 providers. Not perfect as you will love to see instead pf name:modesetting you like to see nvidia.
2) Xorg still reports [ 38.362] (EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found)

But for openCL it may be good 1rst steps.
3) clinfo show just waht you need. Perfect

4) Missing DRI_PRIME=1 glxinfo -B & DRI_PRIME=1 glxgears >> bash: glxinfo: command not found
Thai is fine you can installed it with "apt install mesa-utils" But before you do anything PLEASE make a BACKUP copy of your change.dat so if we break it in the future, you can restore quickly.

After you do make a backup then add whats missing.

Code:
apt install mesa-utils nvidia-legacy-390xx-opencl-icd

and do just in case do to see if NVIDIA show up.
Code:
update-alternatives --config nvidia


Listen DO NOT get frustrated. Linux Setting for Private/NONE FREE stuff is always hard. What can you do Debian is FREE so you can not expect it to be as easy as Windows. But once you learn how to do it, in the future will be easier.

Now you are ready for 1rst OpenCL test.
 

Me2019H

Registered
Messages
101
root@live:~# apt install mesa-utils nvidia-legacy-390xx-opencl-icd
Reading package lists... Done
Building dependency tree
Reading state information... Done
nvidia-legacy-390xx-opencl-icd is already the newest version (390.157-1~deb10u1).
The following additional packages will be installed:
libglew2.1 libglu1-mesa
Suggested packages:
glew-utils
The following NEW packages will be installed:
libglew2.1 libglu1-mesa mesa-utils
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 364 kB of archives.
After this operation, 1,480 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ftp.us.debian.org/debian buster/main amd64 libglew2.1 amd64 2.1.0-4 [161 kB]
Get:2 http://ftp.us.debian.org/debian buster/main amd64 libglu1-mesa amd64 9.0.0-2.1+b3 [169 kB]
Get:3 http://ftp.us.debian.org/debian buster/main amd64 mesa-utils amd64 8.4.0-1+b1 [34.9 kB]
Fetched 364 kB in 7s (55.9 kB/s)
Selecting previously unselected package libglew2.1:amd64.
(Reading database ... 72471 files and directories currently installed.)
Preparing to unpack .../libglew2.1_2.1.0-4_amd64.deb ...
Unpacking libglew2.1:amd64 (2.1.0-4) ...
Selecting previously unselected package libglu1-mesa:amd64.
Preparing to unpack .../libglu1-mesa_9.0.0-2.1+b3_amd64.deb ...
Unpacking libglu1-mesa:amd64 (9.0.0-2.1+b3) ...
Selecting previously unselected package mesa-utils.
Preparing to unpack .../mesa-utils_8.4.0-1+b1_amd64.deb ...
Unpacking mesa-utils (8.4.0-1+b1) ...
Setting up libglew2.1:amd64 (2.1.0-4) ...
Setting up libglu1-mesa:amd64 (9.0.0-2.1+b3) ...
Setting up mesa-utils (8.4.0-1+b1) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for libc-bin (2.28-10+deb10u2) ...
root@live:~# update-alternatives --config nvidia
There are 2 choices for the alternative nvidia (providing /usr/lib/nvidia/nvidia).

Selection Path Priority Status
------------------------------------------------------------
* 0 /usr/lib/nvidia/legacy-390xx 390 auto mode
1 /usr/lib/nvidia/legacy-340xx 340 manual mode
2 /usr/lib/nvidia/legacy-390xx 390 manual mode

Press <enter> to keep the current choice[*], or type selection number:
root@live:~#

root@live:~# xrandr
Screen 0: minimum 320 x 200, current 1366 x 768, maximum 8192 x 8192
eDP-1 connected primary 1366x768+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
1366x768 60.00*+ 48.00
1360x768 59.80 59.96
1280x720 60.00 59.99 59.86 59.74
1024x768 60.04 60.00
960x720 60.00
928x696 60.05
896x672 60.01
1024x576 59.95 59.96 59.90 59.82
960x600 59.93 60.00
960x540 59.96 59.99 59.63 59.82
800x600 60.00 60.32 56.25
840x525 60.01 59.88
864x486 59.92 59.57
800x512 60.17
700x525 59.98
800x450 59.95 59.82
640x512 60.02
720x450 59.89
700x450 59.96 59.88
640x480 60.00 59.94
720x405 59.51 58.99
684x384 59.88 59.85
680x384 59.80 59.96
640x400 59.88 59.98
576x432 60.06
640x360 59.86 59.83 59.84 59.32
512x384 60.00
512x288 60.00 59.92
480x270 59.63 59.82
400x300 60.32 56.34
432x243 59.92 59.57
320x240 60.05
360x202 59.51 59.13
320x180 59.84 59.32
HDMI-1 disconnected (normal left inverted right x axis y axis)
root@live:~# xrandr --listproviders
Providers: number : 2
Provider 0: id: 0x64 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 3 outputs: 2 associated providers: 0 name:modesetting
Provider 1: id: 0x3f cap: 0x0 crtcs: 0 outputs: 0 associated providers: 0 name:modesetting
root@live:~#

OCLBiss_012
Today is Tue Sep 19 22:52:00 2023
Connected to device:NVIDIA Corporation => GeForce 820M

Device Kernel properties:
number of cores: 2
recommended work group size (local threads): 32
max work group size: 512


Number Loops per thread: 1024
Number of keys per thread(x32): 1024
Local threads: 512
Global threads: 1024
Keys per kernel: 0x100000(1048576)

BruteForcing for:
SB01:

Range: 0000000000100000

Loop From To kernel Time Keys per seconds #Keys Found

00000001 00385F63970000 00385F63A6FFFF [...] 22:52:12 kps:2.426329038904e+06 00000000 Total 0:
00000002 00385F63A70000 00385F63B6FFFF [...] 22:52:13 kps:2.514484150915e+06 00000000 Total 0:
00000003 00385F63B70000 00385F63C6FFFF [...] 22:52:13 kps:2.708518632788e+06 00000000 Total 0:
00000004 00385F63C70000 00385F63D6FFFF [...] 22:52:13 kps:2.991778825058e+06 00000000 Total 0:
00000005 00385F63D70000 00385F63E6FFFF [...] 22:52:14 kps:3.124333749696e+06 00000000 Total 0:
00000006 00385F63E70000 00385F63F6FFFF [...] 22:52:14 kps:3.196252409049e+06 00000001 Key 001:38 5F 63 FA E9 6B 60 B4
00000012 00385F64A70000 00385F64B6FFFF [...] 22:52:18 kps:3.212748083989e+06 00000001 Key 001:38 5F 64 FB AF 01 B0 60
0000001B 00385F65370000 00385F6546FFFF [...] 22:52:21 kps:3.207656365106e+06 00000001 Key 001:38 5F 65 FC 40 06 0F 55
Finish
 

cayoenrique

Member
Messages
475
Ok so Nvidia os dpoing Opencl. Nice,

Now that you have mesa tools you should be able to do
Code:
DRI_PRIME=1 glxinfo -B
DRI_PRIME=1 glxgears

And you should be able to track GPU status ( Temp & usage ) using

Code:
nvidia-smi

or

Code:
nvidia-smi --query-gpu=temperature.gpu,utilization.gpu,utilization.memory,memory.total,memory.free,memory.used --format=csv -l 5

or all
Code:
nvidia-smi --query-gpu=timestamp,name,pci.bus_id,driver_version,pstate,pcie.link.gen.max, \
pcie.link.gen.current,temperature.gpu,utilization.gpu,utilization.memory, \
memory.total,memory.free,memory.used --format=csv -l 5

As you have a laptop you want to watch GPU temperature while running Opencl. rember this is just for learning. NEVER rely used bruteforce in a laptop contimusly. You can overheat laptop tpo a point that it breaks PC!!
 
Top