The preferences are in ~/.config/calibre
But I doubt this has anything to do with that. It sounds like a problem with your graphics card drivers.
If I were you, I'd either:
1)revert to last known Ubuntu version that worked on your machine.
2) try using the vesa driver for my graphics card.