If you only see compatibility mode, your GPU (or the driver) does not support OpenGL 4.1.  Cura uses OpenGL 4.1 to show advanced features in Layer view. If the GPU does not support this version of OpenGL, it will fall back to OpenGL 2, at the cost of features such as visualising layer heights (and layer widths).
    • Thanks