AMD HIP Drivers are indeed broken. You're very close to having it correct, change it to a lower case d instead. -d 2,3 will choose "Devices" where as -D chooses between GPU &/OR CPUs.
Also note your mask is going to throw errors using the custom charset "-1=?1?d" as it is appending itself within itself which cannot be done, maybe you meant to have an "?l" instead? such as -1 ?l?d
Also note your mask is going to throw errors using the custom charset "-1=?1?d" as it is appending itself within itself which cannot be done, maybe you meant to have an "?l" instead? such as -1 ?l?d