Default Custom rom without black screen problems?

With my screen driver i have black screen in custom roms not only in lockscreen but and in cwm. With 10.1 things are much better but it also happened.
So is any rom really bugfree?