Failed to create OpenCL context on recent Fedora 36 kernels
Posted: Thu May 19, 2022 3:52 pm
Fedora 36 has been testing kernel 5.17.8 and is about to be released. When I tested with this kernel, folding fails with these messages:
Then even when rebooting back to 5.17.7, the error is still there. I had to remove the 5.17.7 kmod package and let it rebuild the nvidia kernel module and any associated libraries on boot. Kernel 5.17.9 is now in testing (https://bodhi.fedoraproject.org/updates ... ges=kernel) and it gave the same error. For now, I've disabled kernel updates by adding exclude=kernel* to /etc/dnf/dnf.conf.
Not sure how to troubleshoot this. There is nothing obvious in the akmod log in /var/cache/akmods/nvidia/.
Code: Select all
15:24:58:WU01:FS00:0x22: Configuring platform OpenCL
15:24:58:WU01:FS00:0x22:Failed to create OpenCL context:
15:24:58:WU01:FS00:0x22:Error initializing context: clCreateContext (-5)
15:24:58:WU01:FS00:0x22:ERROR:125: Failed to create a GPU-enabled OpenMM Context.
15:24:58:WU01:FS00:0x22:Saving result file ../logfile_01.txt
15:24:58:WU01:FS00:0x22:Saving result file science.log
15:24:58:WU01:FS00:0x22:Folding@home Core Shutdown: BAD_WORK_UNIT
15:24:58:WARNING:WU01:FS00:FahCore returned: BAD_WORK_UNIT (114 = 0x72)
Not sure how to troubleshoot this. There is nothing obvious in the akmod log in /var/cache/akmods/nvidia/.