OpenGL upside down?
-
- Posts: 5
- Joined: 1. May 2019, 12:21
- Primary OS: Ubuntu other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows 10; Windows 7; Linux Ubuntu; Linux Mint; Linux CentOs
OpenGL upside down?
Hello!
I have a problem with opengl on a Linux host (Version 6.0.6) with Windows 10 guest installed.
I have configured the windows 10 guest to use the VboxSVGA controller and Guest Additions are installed.
If i test opengl with "GPU Caps Viewer" the Logos in the 3D Demos are displayed upside down.
I have this problem in other applications too!
What i am doing wrong?
I have a problem with opengl on a Linux host (Version 6.0.6) with Windows 10 guest installed.
I have configured the windows 10 guest to use the VboxSVGA controller and Guest Additions are installed.
If i test opengl with "GPU Caps Viewer" the Logos in the 3D Demos are displayed upside down.
I have this problem in other applications too!
What i am doing wrong?
-
- Site Moderator
- Posts: 27329
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: OpenGL upside down?
Like???preslmayer wrote:I have this problem in other applications too!
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.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
-
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Mostly XP
Re: OpenGL upside down?
I'm going to guess that this has nothing to do with VirtualBox, and that the problem is that the software (or the model, depending on your POV) is using the wrong convention for X-Y-Z axes.
The US convention for computer graphics (especially from a gaming background) is to have X across the screen, Y up the screen, and Z as depth into the screen. This is a left handed coordinate system.
In many other places, particularly in software from a mathematical or engineering background, the convention is to have X and Y as the horizontal plane, Z as height above the plane. This is a right handed coordinate system. In a normally 3D viewing position that means X is across the screen, Y is depth into the screen, Z is up the screen.
I.e. If you load a model using the wrong convention then Y and Z are swapped, or more accurately, Y'=(-Z), Z'=Y.
Decent viewing software should have an option to adapt to the model's convention.
The US convention for computer graphics (especially from a gaming background) is to have X across the screen, Y up the screen, and Z as depth into the screen. This is a left handed coordinate system.
In many other places, particularly in software from a mathematical or engineering background, the convention is to have X and Y as the horizontal plane, Z as height above the plane. This is a right handed coordinate system. In a normally 3D viewing position that means X is across the screen, Y is depth into the screen, Z is up the screen.
I.e. If you load a model using the wrong convention then Y and Z are swapped, or more accurately, Y'=(-Z), Z'=Y.
Decent viewing software should have an option to adapt to the model's convention.
-
- Posts: 5
- Joined: 1. May 2019, 12:21
- Primary OS: Ubuntu other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows 10; Windows 7; Linux Ubuntu; Linux Mint; Linux CentOs
Re: OpenGL upside down?
Archicad 21; OpenGL Extension Viewersocratis wrote:Like???preslmayer wrote:I have this problem in other applications too!
You can find my log in the attachment
- Attachments
-
- VBoxVM-2019-05-02-19-24-42_log.zip
- (36.97 KiB) Downloaded 208 times
-
- Posts: 5
- Joined: 1. May 2019, 12:21
- Primary OS: Ubuntu other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows 10; Windows 7; Linux Ubuntu; Linux Mint; Linux CentOs
Re: OpenGL upside down?
I have tried the same setup on VMware Workstation 15 Pro (15.0.4) for Linux.
There is no problem with OpenGL.
This shows me that this is NO problem with the software i use!
There is no problem with OpenGL.
This shows me that this is NO problem with the software i use!
-
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Mostly XP
Re: OpenGL upside down?
Well, I'd be more convinced if others were reporting the same problem... this is a very specific symptom.
-
- Posts: 5
- Joined: 1. May 2019, 12:21
- Primary OS: Ubuntu other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows 10; Windows 7; Linux Ubuntu; Linux Mint; Linux CentOs
Re: OpenGL upside down?
I have forgotten ... that i had to add the option
in VMware
Code: Select all
mks.gl.allowBlacklistedDrivers = "TRUE"
-
- Posts: 10
- Joined: 4. Dec 2009, 14:32
- Primary OS: Ubuntu other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Vista, Win2000, W7
Re: OpenGL upside down?
Vbox.log is attached, please fix it!
- Attachments
-
- Win 10 Home-2019-12-30-12-45-24.zip
- (38.29 KiB) Downloaded 187 times
-
- Posts: 18
- Joined: 27. Aug 2015, 11:03
Re: OpenGL upside down?
Same problem here. See srceenshot.
Using Virtualbox 6.1 on Catalina (latest update) host and WIndows 1909 guest.
(Please tell me how to generate helpful logs!)
I have a sreenshot, but the size is app. 212KByte. I can't upload it.
Using Virtualbox 6.1 on Catalina (latest update) host and WIndows 1909 guest.
(Please tell me how to generate helpful logs!)
I have a sreenshot, but the size is app. 212KByte. I can't upload it.
-
- Posts: 18
- Joined: 27. Aug 2015, 11:03
Re: OpenGL upside down?
Reduced (in size and quality) picture is attached.
Area in the "circle" is upside down.
Area in the "circle" is upside down.
- Attachments
-
- Bildschirmfoto-OGL.jpeg (52.28 KiB) Viewed 23737 times
-
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows, Linux
Re: OpenGL upside down?
Though I have no idea how to fix this upside-down display trouble, I can help with posting a log:fourseasons wrote:(Please tell me how to generate helpful logs!)
Please zip and post a guest vbox.log, from the guest's Logs folder, using the forum's Upload Attachment tab.
-
- Posts: 18
- Joined: 27. Aug 2015, 11:03
Re: OpenGL upside down?
The log file again.
- Attachments
-
- Windows (19.09)-2020-01-08-17-06-15.log.zip
- (35.88 KiB) Downloaded 190 times
-
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Mostly XP
Re: OpenGL upside down?
There won't be anything in the log. A question I'd want answered is why the text outside the highlighted section is not also upside down, and perhaps look to the host drivers for answers, or the guest app whatever it is.
-
- Volunteer
- Posts: 2561
- Joined: 30. May 2007, 18:05
- Primary OS: Fedora other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: XP, Win7, Win10, Linux, OS/2
Re: OpenGL upside down?
Did you also test with 3d support disabled for the VM?
This would show if the problem is in the "translation" of OpenGL by the host video driver or inside the guest.
This would show if the problem is in the "translation" of OpenGL by the host video driver or inside the guest.