Hair doesn't render in viewport with eevee
The problem with the black lines was caused by an old graphics driver.
But the hair was still just displayed as colored lines after that.
This however was due to the render setting "Hair Shape Type" which was set to "Strand". Setting it to "Strip" as shown in the image below fixes that.