did you move that xorg.conf and reboot yet?
yup, seems to work fine. Glitchy snapping is also fixed, could it be related?
because that conf file was causing issues, im surprised you even got to a desktop with that xorg.conf in there.
now that everything seems to be good, can you post these outputs. the last ones were no good do to that issue, i just want to confirm that optimus-switch is working properly, your the first person to use it on a ryzen/nvidia laptop.
inxi -Gxxxz
glxinfo | grep -i vendor
xrandr --prop
xrandr --listproviders
Of course!
[michael@michael-laptop ~]$ inxi -Gxxxz
Graphics: Device-1: NVIDIA TU116M [GeForce GTX 1660 Ti Mobile] vendor: Hewlett-Packard driver: nvidia v: 418.113
bus ID: 01:00.0 chip ID: 10de:2191
Device-2: Advanced Micro Devices [AMD/ATI] Picasso vendor: Hewlett-Packard driver: amdgpu v: kernel bus ID: 05:00.0
chip ID: 1002:15d8
Display: x11 server: X.Org 1.20.5 driver: amdgpu,nvidia resolution: 1920x1080~60Hz
OpenGL: renderer: GeForce GTX 1660 Ti with Max-Q Design/PCIe/SSE2 v: 4.6.0 NVIDIA 418.113 direct render: Yes
[michael@michael-laptop ~]$ glxinfo | grep -i vendor
server glx vendor string: NVIDIA Corporation
client glx vendor string: NVIDIA Corporation
OpenGL vendor string: NVIDIA Corporation
[michael@michael-laptop ~]$ xrandr --prop
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
HDMI-0 disconnected primary (normal left inverted right x axis y axis)
CscMatrix: 65536 0 0 0 0 65536 0 0 0 0 65536 0
BorderDimensions: 4
supported: 4
Border: 0 0 0 0
range: (0, 65535)
SignalFormat: TMDS
supported: TMDS
ConnectorType: HDMI
ConnectorNumber: 2
_ConnectorLocation: 2
non-desktop: 0
supported: 0, 1
eDP-1-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
EDID:
00ffffffffffff0006afed2100000000
001c010495221378036e859358589228
1e505400000001010101010101010101
010101010101143780b4703826406c30
aa0058c210000018b82480b470382640
6c30aa0058c210000018000000000000
00000000000000000000000000000002
001040ff0f3c7d0f13287d2020200020
PRIME Synchronization: 0
supported: 0, 1
GAMMA_LUT_SIZE: 4096
range: (0, -1)
DEGAMMA_LUT_SIZE: 4096
range: (0, -1)
GAMMA_LUT: 0
range: (0, 65535)
CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0
0 1
DEGAMMA_LUT: 0
range: (0, 65535)
TearFree: auto
supported: off, on, auto
vrr_capable: 0
range: (0, 1)
abm level: 0
range: (0, 4)
max bpc: 8
range: (8, 16)
underscan vborder: 0
range: (0, 128)
underscan hborder: 0
range: (0, 128)
underscan: off
supported: off, on, auto
scaling mode: None
supported: None, Full, Center, Full aspect
link-status: Good
supported: Good, Bad
CONNECTOR_ID: 64
supported: 64
non-desktop: 0
range: (0, 1)
1920x1080 60.06*+ 40.04
1680x1050 60.06
1280x1024 60.06
1440x900 60.06
1280x800 60.06
1280x720 60.06
1024x768 60.06
800x600 60.06
640x480 60.06
HDMI-A-1-1 disconnected (normal left inverted right x axis y axis)
PRIME Synchronization: 1
supported: 0, 1
GAMMA_LUT_SIZE: 4096
range: (0, -1)
DEGAMMA_LUT_SIZE: 4096
range: (0, -1)
GAMMA_LUT: 0
range: (0, 65535)
CTM: 0
DEGAMMA_LUT: 0
range: (0, 65535)
TearFree: auto
supported: off, on, auto
vrr_capable: 0
range: (0, 1)
max bpc: 8
range: (8, 16)
underscan vborder: 0
range: (0, 128)
underscan hborder: 0
range: (0, 128)
underscan: off
supported: off, on, auto
scaling mode: None
supported: None, Full, Center, Full aspect
link-status: Good
supported: Good, Bad
CONNECTOR_ID: 69
supported: 69
non-desktop: 0
range: (0, 1)
[michael@michael-laptop ~]$ xrandr --listproviders
Providers: number : 2
Provider 0: id: 0x1e9 cap: 0x1, Source Output crtcs: 4 outputs: 1 associated providers: 1 name:NVIDIA-0
Provider 1: id: 0x45 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 4 outputs: 2 associated providers: 1 name:Unknown AMD Radeon GPU @ pci:0000:05:00.0
If your USB drive is only temporary, for testing Manjaro, then fine.
If you want to actually use it as a portable installation for several random hardware, it is not a good idea to have nvidia non-free drivers installed. Only free (video-linux).
das party pooper ist verbotten
looks good, thanks for the feedback. let me know how it performs after using it. since it's on a usb i wouldnt expect too much but now you know since it works you can install it on a real drive. any tearing?
when you get a chance to test amd-only mode sudo set-amd.sh
it would be greatly appreciated if you could post those same outputs.
I'd like to install it on the ssd, but I'm having difficulties. The installation flash drive doesn't do anything graphical, so I tried to manually install manjaro with the tty (Since optimus-switch is only effective after reboot it doesn’t help for the installation media.) but I messed up the grub...
When booting the laptop, it brings me to some grub console, which tells me to load the kernel but doesn't tell me how... When I type exit
it simply boots windows.
So even if it did boot manjaro I would still have not installed the graphical environment and to be quite honest I don't want to do that manually.
Lol! Got it to work.
- Insert installation media
- Boot
- press
ctrl
alt
f2
to enter the tty - Login manjaro/manjaro
Commands:
su
pacman -Syyu
{install optimus-switch-amd with commands from dglt}
still in su: htop
find “/usr/bin/lightdm” and SIGKILL it
it will automatically restart and viola, a desktop environment.
Now install as usual.
OpenCL does not detect any hardware except for the CPU (Tested on blender), but I expected 2 gpus and one cpu.
Cuda also does not work.
[michael@michael-laptop Desktop]$ inxi -Gxxxz
Graphics:
Device-1: NVIDIA TU116M [GeForce GTX 1660 Ti Mobile]
vendor: Hewlett-Packard driver: N/A bus ID: 01:00.0 chip ID: 10de:2191
Device-2: AMD Picasso vendor: Hewlett-Packard driver: amdgpu v: kernel
bus ID: 05:00.0 chip ID: 1002:15d8
Display: x11 server: X.Org 1.20.5 driver: amdgpu
resolution: 1920x1080~60Hz
OpenGL: renderer: AMD RAVEN (DRM 3.33.0 5.3.12-1-MANJARO LLVM 9.0.0)
v: 4.5 Mesa 19.2.6 direct render: Yes
[michael@michael-laptop Desktop]$ glxinfo | grep -i vendor
server glx vendor string: SGI
client glx vendor string: Mesa Project and SGI
Vendor: X.Org (0x1002)
OpenGL vendor string: X.Org
[michael@michael-laptop Desktop]$ xrandr --prop
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
eDP connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
EDID:
00ffffffffffff0006afed2100000000
001c010495221378036e859358589228
1e505400000001010101010101010101
010101010101143780b4703826406c30
aa0058c210000018b82480b470382640
6c30aa0058c210000018000000000000
00000000000000000000000000000002
001040ff0f3c7d0f13287d2020200020
GAMMA_LUT_SIZE: 4096
range: (0, -1)
DEGAMMA_LUT_SIZE: 4096
range: (0, -1)
GAMMA_LUT: 0
range: (0, 65535)
CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0
0 1
DEGAMMA_LUT: 0
range: (0, 65535)
TearFree: on
supported: off, on, auto
vrr_capable: 0
range: (0, 1)
abm level: 0
range: (0, 4)
max bpc: 8
range: (8, 16)
underscan vborder: 0
range: (0, 128)
underscan hborder: 0
range: (0, 128)
underscan: off
supported: off, on, auto
scaling mode: None
supported: None, Full, Center, Full aspect
link-status: Good
supported: Good, Bad
CONNECTOR_ID: 64
supported: 64
non-desktop: 0
range: (0, 1)
1920x1080 60.06*+ 40.04
1680x1050 60.06
1280x1024 60.06
1440x900 60.06
1280x800 60.06
1280x720 60.06
1024x768 60.06
800x600 60.06
640x480 60.06
HDMI-A-0 disconnected (normal left inverted right x axis y axis)
GAMMA_LUT_SIZE: 4096
range: (0, -1)
DEGAMMA_LUT_SIZE: 4096
range: (0, -1)
GAMMA_LUT: 0
range: (0, 65535)
CTM: 0
DEGAMMA_LUT: 0
range: (0, 65535)
TearFree: on
supported: off, on, auto
vrr_capable: 0
range: (0, 1)
max bpc: 8
range: (8, 16)
underscan vborder: 0
range: (0, 128)
underscan hborder: 0
range: (0, 128)
underscan: off
supported: off, on, auto
scaling mode: None
supported: None, Full, Center, Full aspect
link-status: Good
supported: Good, Bad
CONNECTOR_ID: 69
supported: 69
non-desktop: 0
range: (0, 1)
[michael@michael-laptop Desktop]$ xrandr --listproviders
Providers: number : 1
Provider 0: id: 0x55 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 4 outputs: 2 associated providers: 0 name:Unknown AMD Radeon GPU @ pci:0000:05:00.0
thats one way to do it i guess . there are easier ways but all that matters is that you got it installed.
i think you might need an opencl package for mesa for that to work on amdgpu, check the arch wiki. as for CUDA not working thats to be expected since your in amd-only mode, no nvidia means no cuda
otherwise, both modes work good?
edit: opencl-mesa
i think is what you need for opencl to work on amd mode.
sudo pacman -S opencl-headers libclc ocl-icd opencl-mesa opencl-catalyst opencl-nvidia-418xx clinfo
On nvidia mode, blender CUDA detects the vega cpu and the 1660 as devices.
On amd mode, no devices are detected.
Also, I jsut noticed this but it seems the laptop is running rather hot when on amd mode without doing anything (just browsing atm, not rendering anything). The fan is almost constantly on whereas windows operates a lot quieter. Didn't see any abnormal values in htop though so I'm not sure what it could be.
There's some more weirdness: on nvidia mode, when rebooting the laptop gets stuck at
[ OK ] Closed LVM2 metadata daemon socket.
while still powering down.
Here's some more opencl/cuda stuff:
On nvidia, clinfo
yields
Number of platforms: 3
Platform Profile: FULL_PROFILE
Platform Version: OpenCL 1.2 CUDA 10.1.310
Platform Name: NVIDIA CUDA
Platform Vendor: NVIDIA Corporation
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 Profile: FULL_PROFILE
Platform Version: OpenCL 1.1 Mesa 19.2.6
Platform Name: Clover
Platform Vendor: Mesa
Platform Extensions: cl_khr_icd
Platform Profile: FULL_PROFILE
Platform Version: OpenCL 2.0 AMD-APP (1800.11)
Platform Name: AMD Accelerated Parallel Processing
Platform Vendor: Advanced Micro Devices, Inc.
Platform Extensions: cl_khr_icd cl_amd_event_callback cl_amd_offline_devices
Platform Name: NVIDIA CUDA
Number of devices: 1
Device Type: CL_DEVICE_TYPE_GPU
Vendor ID: 10deh
Max compute units: 24
Max work items dimensions: 3
Max work items[0]: 1024
Max work items[1]: 1024
Max work items[2]: 64
Max work group size: 1024
Preferred vector width char: 1
Preferred vector width short: 1
Preferred vector width int: 1
Preferred vector width long: 1
Preferred vector width float: 1
Preferred vector width double: 1
Native vector width char: 1
Native vector width short: 1
Native vector width int: 1
Native vector width long: 1
Native vector width float: 1
Native vector width double: 1
Max clock frequency: 1335Mhz
Address bits: 64
Max memory allocation: 1550483456
Image support: Yes
Max number of images read arguments: 256
Max number of images write arguments: 32
Max image 2D width: 32768
Max image 2D height: 32768
Max image 3D width: 16384
Max image 3D height: 16384
Max image 3D depth: 16384
Max samplers within kernel: 32
Max size of kernel argument: 4352
Alignment (bits) of base address: 4096
Minimum alignment (bytes) for any datatype: 128
Single precision floating point capability
Denorms: Yes
Quiet NaNs: Yes
Round to nearest even: Yes
Round to zero: Yes
Round to +ve and infinity: Yes
IEEE754-2008 fused multiply-add: Yes
Cache type: Read/Write
Cache line size: 128
Cache size: 393216
Global memory size: 6201933824
Constant buffer size: 65536
Max number of constant args: 9
Local memory type: Scratchpad
Local memory size: 49152
Kernel Preferred work group size multiple: 32
Error correction support: 0
Unified memory for Host and Device: 0
Profiling timer resolution: 1000
Device endianess: Little
Available: Yes
Compiler available: Yes
Execution capabilities:
Execute OpenCL kernels: Yes
Execute native function: No
Queue on Host properties:
Out-of-Order: Yes
Profiling : Yes
Platform ID: 0x22501b0
Name: GeForce GTX 1660 Ti with Max-Q Design
Vendor: NVIDIA Corporation
Device OpenCL C version: OpenCL C 1.2
Driver version: 418.113
Profile: FULL_PROFILE
Version: OpenCL 1.2 CUDA
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 Name: Clover
Number of devices: 1
Device Type: CL_DEVICE_TYPE_GPU
Vendor ID: 1002h
Max compute units: 8
Max work items dimensions: 3
Max work items[0]: 256
Max work items[1]: 256
Max work items[2]: 256
Max work group size: 256
Preferred vector width char: 16
Preferred vector width short: 8
Preferred vector width int: 4
Preferred vector width long: 2
Preferred vector width float: 4
Preferred vector width double: 2
Native vector width char: 16
Native vector width short: 8
Native vector width int: 4
Native vector width long: 2
Native vector width float: 4
Native vector width double: 2
Max clock frequency: 1200Mhz
Address bits: 64
Max memory allocation: 2254857830
Image support: No
Max size of kernel argument: 1024
Alignment (bits) of base address: 32768
Minimum alignment (bytes) for any datatype: 128
Single precision floating point capability
Denorms: No
Quiet NaNs: Yes
Round to nearest even: Yes
Round to zero: No
Round to +ve and infinity: No
IEEE754-2008 fused multiply-add: No
Cache type: None
Cache line size: 0
Cache size: 0
Global memory size: 3221225472
Constant buffer size: 2147483647
Max number of constant args: 16
Local memory type: Scratchpad
Local memory size: 32768
Kernel Preferred work group size multiple: 64
Error correction support: 0
Unified memory for Host and Device: 0
Profiling timer resolution: 0
Device endianess: Little
Available: Yes
Compiler available: Yes
Execution capabilities:
Execute OpenCL kernels: Yes
Execute native function: No
Queue on Host properties:
Out-of-Order: No
Profiling : Yes
Platform ID: 0x7f7e94040180
Name: AMD RAVEN (DRM 3.33.0, 5.3.12-1-MANJARO, LLVM 9.0.0)
Vendor: AMD
Device OpenCL C version: OpenCL C 1.1
Driver version: 19.2.6
Profile: FULL_PROFILE
Version: OpenCL 1.1 Mesa 19.2.6
Extensions: cl_khr_byte_addressable_store 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_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_fp64 cl_khr_fp16
Platform Name: AMD Accelerated Parallel Processing
Number of devices: 1
Device Type: CL_DEVICE_TYPE_CPU
Vendor ID: 1002h
Board name:
Max compute units: 8
Max work items dimensions: 3
Max work items[0]: 1024
Max work items[1]: 1024
Max work items[2]: 1024
Max work group size: 1024
Preferred vector width char: 16
Preferred vector width short: 8
Preferred vector width int: 4
Preferred vector width long: 2
Preferred vector width float: 8
Preferred vector width double: 4
Native vector width char: 16
Native vector width short: 8
Native vector width int: 4
Native vector width long: 2
Native vector width float: 8
Native vector width double: 4
Max clock frequency: 1341Mhz
Address bits: 64
Max memory allocation: 2147483648
Image support: Yes
Max number of images read arguments: 128
Max number of images write arguments: 64
Max image 2D width: 8192
Max image 2D height: 8192
Max image 3D width: 2048
Max image 3D height: 2048
Max image 3D depth: 2048
Max samplers within kernel: 16
Max size of kernel argument: 4096
Alignment (bits) of base address: 1024
Minimum alignment (bytes) for any datatype: 128
Single precision floating point capability
Denorms: Yes
Quiet NaNs: Yes
Round to nearest even: Yes
Round to zero: Yes
Round to +ve and infinity: Yes
IEEE754-2008 fused multiply-add: Yes
Cache type: Read/Write
Cache line size: 64
Cache size: 32768
Global memory size: 6211420160
Constant buffer size: 65536
Max number of constant args: 8
Local memory type: Global
Local memory size: 32768
Max pipe arguments: 16
Max pipe active reservations: 16
Max pipe packet size: 2147483648
Max global variable size: 1879048192
Max global variable preferred total size: 1879048192
Max read/write image args: 64
Max on device events: 0
Queue on device max size: 0
Max on device queues: 0
Queue on device preferred size: 0
SVM capabilities:
Coarse grain buffer: No
Fine grain buffer: No
Fine grain system: No
Atomics: No
Preferred platform atomic alignment: 0
Preferred global atomic alignment: 0
Preferred local atomic alignment: 0
Kernel Preferred work group size multiple: 1
Error correction support: 0
Unified memory for Host and Device: 1
Profiling timer resolution: 1
Device endianess: Little
Available: Yes
Compiler available: Yes
Execution capabilities:
Execute OpenCL kernels: Yes
Execute native function: Yes
Queue on Host properties:
Out-of-Order: No
Profiling : Yes
Queue on Device properties:
Out-of-Order: No
Profiling : No
Platform ID: 0x7f7e99c4d430
Name: AMD Ryzen 5 3550H with Radeon Vega Mobile Gfx
Vendor: AuthenticAMD
Device OpenCL C version: OpenCL C 1.2
Driver version: 1800.11 (sse2,avx)
Profile: FULL_PROFILE
Version: OpenCL 1.2 AMD-APP (1800.11)
Extensions: cl_khr_fp64 cl_amd_fp64 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_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_gl_sharing cl_ext_device_fission cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_media_ops2 cl_amd_popcnt cl_khr_spir cl_khr_gl_event
while on amd, the same command yields
Number of platforms: 2
Platform Profile: FULL_PROFILE
Platform Version: OpenCL 1.1 Mesa 19.2.6
Platform Name: Clover
Platform Vendor: Mesa
Platform Extensions: cl_khr_icd
Platform Profile: FULL_PROFILE
Platform Version: OpenCL 2.0 AMD-APP (1800.11)
Platform Name: AMD Accelerated Parallel Processing
Platform Vendor: Advanced Micro Devices, Inc.
Platform Extensions: cl_khr_icd cl_amd_event_callback cl_amd_offline_devices
Platform Name: Clover
Number of devices: 1
Device Type: CL_DEVICE_TYPE_GPU
Vendor ID: 1002h
Max compute units: 8
Max work items dimensions: 3
Max work items[0]: 256
Max work items[1]: 256
Max work items[2]: 256
Max work group size: 256
Preferred vector width char: 16
Preferred vector width short: 8
Preferred vector width int: 4
Preferred vector width long: 2
Preferred vector width float: 4
Preferred vector width double: 2
Native vector width char: 16
Native vector width short: 8
Native vector width int: 4
Native vector width long: 2
Native vector width float: 4
Native vector width double: 2
Max clock frequency: 1200Mhz
Address bits: 64
Max memory allocation: 2254857830
Image support: No
Max size of kernel argument: 1024
Alignment (bits) of base address: 32768
Minimum alignment (bytes) for any datatype: 128
Single precision floating point capability
Denorms: No
Quiet NaNs: Yes
Round to nearest even: Yes
Round to zero: No
Round to +ve and infinity: No
IEEE754-2008 fused multiply-add: No
Cache type: None
Cache line size: 0
Cache size: 0
Global memory size: 3221225472
Constant buffer size: 2147483647
Max number of constant args: 16
Local memory type: Scratchpad
Local memory size: 32768
Kernel Preferred work group size multiple: 64
Error correction support: 0
Unified memory for Host and Device: 0
Profiling timer resolution: 0
Device endianess: Little
Available: Yes
Compiler available: Yes
Execution capabilities:
Execute OpenCL kernels: Yes
Execute native function: No
Queue on Host properties:
Out-of-Order: No
Profiling : Yes
Platform ID: 0x7f5de9856180
Name: AMD RAVEN (DRM 3.33.0, 5.3.12-1-MANJARO, LLVM 9.0.0)
Vendor: AMD
Device OpenCL C version: OpenCL C 1.1
Driver version: 19.2.6
Profile: FULL_PROFILE
Version: OpenCL 1.1 Mesa 19.2.6
Extensions: cl_khr_byte_addressable_store 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_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_fp64 cl_khr_fp16
Platform Name: AMD Accelerated Parallel Processing
Number of devices: 1
Device Type: CL_DEVICE_TYPE_CPU
Vendor ID: 1002h
Board name:
Max compute units: 8
Max work items dimensions: 3
Max work items[0]: 1024
Max work items[1]: 1024
Max work items[2]: 1024
Max work group size: 1024
Preferred vector width char: 16
Preferred vector width short: 8
Preferred vector width int: 4
Preferred vector width long: 2
Preferred vector width float: 8
Preferred vector width double: 4
Native vector width char: 16
Native vector width short: 8
Native vector width int: 4
Native vector width long: 2
Native vector width float: 8
Native vector width double: 4
Max clock frequency: 1512Mhz
Address bits: 64
Max memory allocation: 2147483648
Image support: Yes
Max number of images read arguments: 128
Max number of images write arguments: 64
Max image 2D width: 8192
Max image 2D height: 8192
Max image 3D width: 2048
Max image 3D height: 2048
Max image 3D depth: 2048
Max samplers within kernel: 16
Max size of kernel argument: 4096
Alignment (bits) of base address: 1024
Minimum alignment (bytes) for any datatype: 128
Single precision floating point capability
Denorms: Yes
Quiet NaNs: Yes
Round to nearest even: Yes
Round to zero: Yes
Round to +ve and infinity: Yes
IEEE754-2008 fused multiply-add: Yes
Cache type: Read/Write
Cache line size: 64
Cache size: 32768
Global memory size: 6211407872
Constant buffer size: 65536
Max number of constant args: 8
Local memory type: Global
Local memory size: 32768
Max pipe arguments: 16
Max pipe active reservations: 16
Max pipe packet size: 2147483648
Max global variable size: 1879048192
Max global variable preferred total size: 1879048192
Max read/write image args: 64
Max on device events: 0
Queue on device max size: 0
Max on device queues: 0
Queue on device preferred size: 0
SVM capabilities:
Coarse grain buffer: No
Fine grain buffer: No
Fine grain system: No
Atomics: No
Preferred platform atomic alignment: 0
Preferred global atomic alignment: 0
Preferred local atomic alignment: 0
Kernel Preferred work group size multiple: 1
Error correction support: 0
Unified memory for Host and Device: 1
Profiling timer resolution: 1
Device endianess: Little
Available: Yes
Compiler available: Yes
Execution capabilities:
Execute OpenCL kernels: Yes
Execute native function: Yes
Queue on Host properties:
Out-of-Order: No
Profiling : Yes
Queue on Device properties:
Out-of-Order: No
Profiling : No
Platform ID: 0x7f5def463430
Name: AMD Ryzen 5 3550H with Radeon Vega Mobile Gfx
Vendor: AuthenticAMD
Device OpenCL C version: OpenCL C 1.2
Driver version: 1800.11 (sse2,avx)
Profile: FULL_PROFILE
Version: OpenCL 1.2 AMD-APP (1800.11)
Extensions: cl_khr_fp64 cl_amd_fp64 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_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_gl_sharing cl_ext_device_fission cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_media_ops2 cl_amd_popcnt cl_khr_spir cl_khr_gl_event
Also, under nvidia mode the ryzen is now recognized as "ryzen with vega graphics" cuda device so that should be good. Note that the gtx 1660 as well as the ryzen+vega are only recognized as CUDA devices.
Under amd mode there are no detected opencl devices though, and no cuda devices.
But, there's also good news: both modes are stable so far and I haven't noticed any screen tearing or anything like that.
noooooooooo! not catalyst. make sure it didnt replace other packages when you installed it. if catalyst is a dependency for opencl-catalyst you got yourself some problems.
im on arch right now so opencl-catalyst, or anything catalyst is not available.
~ >>> pacman -Ss catalyst
~ >>>
if you dont use lvm you can disable it. i just checked and i have lvm2-monitor.service masked and the other related services disabled.
~ >>> sudo systemctl status lvm2-
lvm2-lvmetad.service lvm2-lvmpolld.service lvm2-monitor.service
lvm2-lvmetad.socket lvm2-lvmpolld.socket
though maybe next time it happens during shutdown, once you get booted back up post this output, its the journal log from the previous boot.
journalctl -b -1 -p4
amd mode wont have cuda available, im not sure why it doesnt list as an opencl device but i think you should start a new thread for that so others that are more familiar with amd hardware can assist you.
im not sure why this would be happening, install powertop
, then from amd mode run sudo powertop
and see whats using a lot of power, if you tab over to "Device stats" check to see if the nvdia gpu usage is at 100% or 0% .
What's the problem with catalyst?
I checked with pacman -Qi and it has no dependent packages, should I just remove it then?
Edit: I Rns'ed it, I read that it was outdated, and it served no real purpose anyway.
Provides : opencl-driver
Depends On : gcc-libs
Optional Deps : opencl-headers: headers necessary for OpenCL development [installed]
opencl-icd-loader: OpenCL ICD Bindings [installed]
Required By : None
Optional For : ocl-icd
Conflicts With : opencl-amd opencl-catalyst-legacy opencl-catalyst-13.4
Replaces : None
Not sure if powertop is not working correctly or if I'm running a nuclear fission core...
The battery reports a discharge rate of 32.8 mW
The power consumed was 658 mJ
The estimated remaining time is 552 hours, 44 minutes
Summary: 621,8 wakeups/second, 0,0 GPU ops/seconds, 0,0 VFS ops/sec and 7,3% CPU use
Power est. Usage Events/s Category Description
616 mW 27,5 ms/s 150,8 Process [PID 818] /usr/lib/Xorg :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
419 mW 8,0 ms/s 105,5 Process [PID 1198] xfwm4
285 mW 4,1 ms/s 72,0 Interrupt [69] amdgpu
254 mW 0,9 ms/s 64,9 Timer tick_sched_timer
188 mW 9,6 ms/s 45,9 Process [PID 3860] /usr/bin/xfce4-terminal
129 mW 0,9 ms/s 32,9 Process [PID 758] [gfx]
Power est. Usage Device name
4.53 W 15,5% CPU use
0 mW 13368% Display backlight
100,0% PCI Device: Intel Corporation SSD 660P Series
100,0% PCI Device: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 3
100,0% PCI Device: Realtek Semiconductor Co., Ltd. Device c822
100,0% I2C Device (i2c-ELAN0718:01): ELAN0718:01
Are these numbers even real?? No, the 13368% was not a copy/paste error...
look at those battery savings, now you get 552+ hours of battery life. your welcome.
jk, powertop just takes a bit to calculate that correctly. unless your battery is about the size of a fridge
you need to maximize the terminal powertop is running in or scroll down until you see the nvidia and it's power usage. if it's powered down it should say 0%, if it's 100% then it's powered on but optimus-switch has a script included to fix that if it's needed.
the dinosaurs stopped making new versions of it when the meteor hit.
Hey, just noticed this: screen doesn’t come back on when closing then opening the laptop in nvidia mode. Don’t know about amd mode yet.
I see a white _ at the top left of the screen when reopening the laptop, but it doesn’t blink. Like it froze.
reproduce the problem, when you get to that black screen use ctrl+alt+f2 to get to a TTY. login with your regular user and run these
journalctl -b0 -p3 > wake-journal.log
cat /var/log/Xorg.0.log | grep -E "(EE)|(WW)|error|failed|Time" > wake-xorg.log
systemctl restart lightdm
does lightdm launch? desktop?
once your at the desktop, post these outputs.
cat wake-journal.log
cat wake-xorg.log
systemctl status lightdm
That’s the weird thing, when I enter the tty it just goes completely black. I’m gonna try to ssh into it now that I’m home and see what’s up
Edit: the issue does not occur when connected to the laptop via ssh
Edit2: issue seems to have fixed itself
oh yeah, that must of been the AI i added to optimus-switch. soon enough it might cook dinner and pour drinks too.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.