Page 1 of 2

3D Acceleration not working in 6.0? (#18819)

Posted: 26. Jul 2019, 03:06
by JustinH

ModEdit; related ticket: #18819: 3D Acceleration not working in 6.0
I was using VB 5.2.22 on Win7 host with Win10 guests for a long time. I set the guests to use 3D and 2D acceleration and never noticed an issue.

I rebuilt my host to Win10 v1709, same hardware including the NVIDIA Quadro GPU. I installed VB 6.0.10, created new VMs, and then quickly ran into the shared folder crash, so backed down to 6.0.8.

When I set the Win10 guest to use 2D and 3D (256MB), I have graphics issues. The most notable is that videos won't play in WMP or VLC (audio only, no image shown). There is also a lot of flickering and choppiness in the OS UI. If I toggle off 3D, then videos will play and other OS UI animations are smooth again.

Is this a known bug with a report? (I didn't see one in the bug tracker...)

EDIT: clarified what I mean by "videos won't play", uploaded log files

Re: 3D Acceleration not working in 6.0?

Posted: 26. Jul 2019, 07:36
by socratis
We need to see a complete VBox.log, from a complete VM run, where the problem occurs:
  • Start the VM from cold-boot (not from a paused or saved state) / Observe problem / Shutdown the VM (force close it if you have to).
  • With the VM completely shut down (not paused or saved), right-click on the VM in the VirtualBox Manager and select "Show Log".
  • Save only the first "VBox.log", ZIP it and attach it to your response. See the "Upload attachment" tab below the reply form.
Image

Re: 3D Acceleration not working in 6.0?

Posted: 30. Jul 2019, 16:30
by navarobot
same problem:
opengl is glitching, directx not working (maybe it is initializing but not rendering).

Re: 3D Acceleration not working in 6.0?

Posted: 2. Aug 2019, 02:47
by JustinH
Sacratis, have you had a chance to look at this one? Any update on it?

Re: 3D Acceleration not working in 6.0?

Posted: 10. Aug 2019, 20:01
by devel0
I had same problem using 6.0 for a win guest on linux host with nvidia GeForce GTX 1050 Ti
attached:
- vbox log
- nvidia smi info log
- video explaining

Re: 3D Acceleration not working in 6.0?

Posted: 13. Aug 2019, 02:02
by JustinH
Thank you, develo and navarobot, for posting your logs.

I submitted bug report #18819, https://www.virtualbox.org/ticket/18819.

Re: 3D Acceleration not working in 6.0?

Posted: 13. Aug 2019, 06:55
by cremor
Did you try if switching between VBoxSVGA and VBoxVGA makes a difference? If your problem only happens with VBoxSVGA it might be the same one as I have. My logs are here: viewtopic.php?f=2&t=93969&p=453874#p453874

Re: 3D Acceleration not working in 6.0?

Posted: 13. Aug 2019, 13:05
by devel0
I did another test, using Linux host and linux guest ( of course 3d accel seems to be recognized only with VMSVGA that is default for that guest ); 3D accel recognized correclt but the problem happens in this case too ( attached screenshoot, from linux just hit meta key to open activities window )

I don't know if the problem is related to vbox machine or vbox guest additions, btw its can be tracked expecially when transparency tiles are on the screen.
sshotx.jpg
sshotx.jpg (124.13 KiB) Viewed 15939 times

Re: 3D Acceleration not working in 6.0? (#18819)

Posted: 27. Oct 2019, 23:40
by devel0
UPDATE: tried 6.0.14 but no difference ( mouse cursor small, background clipping ) and another thing I noted is that html5 3d tests results Y flipped as attached screenshoots

to test HTML5 3d check follow url ( http://www.kevs3d.co.uk/dev/shaders/waves2.html )
html5-3d-test-correct.resized.png
html5-3d-test-correct.resized.png (96.93 KiB) Viewed 15549 times
html5-3d-test-y-inverted.resized.resized.png
html5-3d-test-y-inverted.resized.resized.png (53.93 KiB) Viewed 15549 times
background-clip.png
background-clip.png (65.14 KiB) Viewed 15549 times

Re: 3D Acceleration not working in 6.0? (#18819)

Posted: 29. Oct 2019, 14:56
by rackley
This looks like the same clipping being reported in the other thread here:

viewtopic.php?f=2&t=94585

Re: 3D Acceleration not working in 6.0? (#18819)

Posted: 6. Nov 2019, 22:13
by sunlover
JustinH wrote:When I set the Win10 guest to use 2D and 3D (256MB), I have graphics issues. The most notable is that videos won't play in WMP or VLC (audio only, no image shown).
Video playback should work on Windows hosts with the latest 6.0.x revision 134477 Could you please try the latest build from https://www.virtualbox.org/wiki/Testbuilds
Both the guest additions and the host package must be updated.

Re: 3D Acceleration not working in 6.0? (#18819)

Posted: 19. Nov 2019, 19:37
by sunlover
The upside down texture in the HTML5 3d test has been fixed in 6.0.x revision 134780
See https://www.virtualbox.org/wiki/Testbuilds

Re: 3D Acceleration not working in 6.0? (#18819)

Posted: 19. Nov 2019, 21:01
by devel0
thanks,
I confirm that 6.0.x revision 134780 fixed upside texture problem,
while random rectangle regions overwritten with invalid content and small mouse icon still occurs.

Re: 3D Acceleration not working in 6.0? (#18819)

Posted: 19. Nov 2019, 22:29
by sunlover
devel0, please attach VBox.log and, if possible, a step be step instructions on how to reproduce the "random rectangle regions overwritten with invalid content and small mouse icon" issues.

Re: 3D Acceleration not working in 6.0? (#18819)

Posted: 20. Nov 2019, 01:57
by devel0
sure, vboxlog.zip attached

steps to reproduce:
  • start a win10 guest on a linux host
  • when win loaded mouse cursor will go small ( can be viewed from random-rect1.png )
  • start chrome
  • move mouse cursor over some bookmark toolbar icons and a black background rectangle appears containing icon where mouse is over at that moment ( aspect ratio arranged in this case to height of toolbar itself ) see random-rect1.png
note: icon bitmap shown in black rectangle ( random-rect1.png ) appears when mouse move over calendar icon that can be seen from random-rect2.png when mouse move out from the toolbar
random-rect1.png
random-rect1.png (17.79 KiB) Viewed 15242 times
random-rect2.png
random-rect2.png (20.44 KiB) Viewed 15242 times