I've been using my NVIDIA GTX950M in Fedora 28, but I recently updated the kernel and it seems that NVIDIA screwed up its drivers again, so I had to uninstall the official drivers and flag out the nouveau drivers in GRUB.
I booted successfully using the integrated graphic card in my i7 6700HQ only, but when I fired up virtualbox and I tried to play a video using hardware acceleration, it didn't work: the display was black, which basically means that the host GPU was actually rendering the content, but it somehow failed to display it back to the guest OS.
I tried to use both OpenGL and D3D9 in the guest OS but they both gave the same result: video was processed, but it wasn't displayed back to the guest OS.
I know that both OpenGL calls and D3D9 calls of the guest are handled by the host as OpenGL calls due to the way virtualbox internally works, so I kinda expected the same result, but it was worth trying.
I then tried to display a video disabling hardware acceleration and it worked (although there was a lot of tiering, but whatever).
Host OS: Fedora 28 kernel 4.17.7, RAM: 16 GB (8x2) DDR4, CPU: Intel i7 6700HQ.
Guest OS: Windows XP Professional Service Pack 3 x86 + Microsoft Extended Support + PAE (with HAL unlocked).
When I used the NVIDIA dedicated graphic card, hardware-acceleration in the guest OS was working flawlessly.
Please note that Windows XP is physically installed in a real Seagate HDD, Linux is installed in another separate hard drive and virtualbox is used with the "Raw disk" mode.
I understand that hardware acceleration is still experimental and shouldn't be trusted, but I think it was worth opening a topic just to report the issue.
(In case you were wondering, I installed guest additions in safe mode as required by the manual, of course).
Screen showing the playback issue with hardware acceleration: https://i.imgur.com/ndnxAG7.png
From what I see from the log-file, it says:
which means that the integrated GPU is correctly recognised, but the it says:00:00:02.165128 OpenGL Info: Render SPU: Opening display :0 00:00:02.171908 OpenGL Info: Render SPU: Opening display :0 00:00:02.184616 OpenGL Info: Render SPU: GL_VENDOR: Intel Open Source Technology Center 00:00:02.184629 OpenGL Info: Render SPU: GL_RENDERER: Mesa DRI Intel(R) HD Graphics 530 (Skylake GT2) 00:00:02.184631 OpenGL Info: Render SPU: GL_VERSION: 3.0 Mesa 18.0.5
Does it mean that even thought it recognises the integrated graphic card, such a graphic card doesn't support what virtualbox needs to make hardware-acceleration work in the guest OS?00:00:02.184674 OpenGL Info: Host does not support OpenGL extension(s): 00:00:02.184676 OpenGL Info: GL_ARB_shadow_ambient 00:00:02.184710 OpenGL Info: GL_ATI_texture_mirror_once 00:00:02.184739 OpenGL Info: GL_EXT_clip_volume_hint 00:00:02.184746 OpenGL Info: GL_EXT_blend_logic_op 00:00:02.184801 OpenGL Info: GL_NV_fog_distance 00:00:02.184807 OpenGL Info: GL_NV_fragment_program 00:00:02.184813 OpenGL Info: GL_NV_fragment_program_option 00:00:02.184820 OpenGL Info: GL_NV_fragment_program2 00:00:02.184826 OpenGL Info: GL_NV_register_combiners 00:00:02.184832 OpenGL Info: GL_NV_register_combiners2 00:00:02.184854 OpenGL Info: GL_NV_vertex_program 00:00:02.184860 OpenGL Info: GL_NV_vertex_program1_1 00:00:02.184866 OpenGL Info: GL_NV_vertex_program2 00:00:02.184872 OpenGL Info: GL_NV_vertex_program2_option 00:00:02.184878 OpenGL Info: GL_NV_vertex_program3 00:00:02.184918 OpenGL Info: GL_GREMEDY_string_marker 00:00:02.186491 OpenGL Info: Render SPU: GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB=16384 00:00:02.186499 OpenGL Info: Host supports version 3.0 [3.0 Mesa 18.0.5] 00:00:02.186501 OpenGL Info: Cfg: u32Caps(0x1f), fVisualBitsDefault(0x23)
Complete log-file in attachment.
Thank you in advance.