I have a problem with switchable graphics laptop

also tried (as root) the following commands:

modprobe amdgpu
echo OFF > /sys/kernel/debug/vgaswitcheroo/switch

but I get the following:
bash: /sys/kernel/debug/vgaswitcheroo/switch: No such file or directory

The amdgpu driver was suggested by yast through the hardware module

Thanks for any suggestion