Use nouveau as the default renderer of OpenGL instead of i915
I'm learning OpenGL development and my laptop has two Graphics devices, Intel and GTX850M.
This is the information I got from inxi -Gxxx:
Device-1: Intel 4th Gen Core Processor Integrated Graphics vendor: ASUSTeK driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:0416
Device-2: NVIDIA GM107M [GeForce GTX 850M] vendor: ASUSTeK driver: nouveau v: kernel bus ID: 01:00.0 chip ID: 10de:1391
Display: x11 server: Fedora Project X.org 1.20.3 driver: modesetting unloaded: fbdev,vesa compositor: kwin_x11 resolution: 1920x1080~60Hz
OpenGL: renderer: Mesa DRI Intel Haswell Mobile v: 4.5 Mesa 18.3.4 compat-v: 3.0 direct render: Yes
If I understand correctly, my computer only uses Intel integrated graphics and my graphics card has been totally ignored. I'm pretty sure that's the reason I can only use OpenGL 3.0 in the development instead of OpenGL 4.5. Is there a way to "enable" nouveau as the renderer? Or have I got it wrong?