Subdivision Surface modifier is not worked in render view when render is set to 6 and view is set to 0. What is meant by the 'view' and 'render' options here?
You should put more than 0 in the View parameter of your modifier, typically 2. View is for the Object or Rendered mode of the 3D view, Render is for a definitive render when you click the Render button in the Render menu of the Properties (6 is a lot though).
Rendered viewing mode, while it technically is rendering out your scene, still qualifies as a viewport shading mode. Therefore, your settings for what will appear in the viewport will affect this shading mode.