Shadows

Everything about development and the OpenMW source code.
User avatar
scrawl
Posts: 2152
Joined: 18 Feb 2012, 11:51

Re: Shadows

Post by scrawl »

I do still have an issue with the custom build, though, in that the camera is locked pointing downwards independent of mouse movement.
Have you tried adding 'no-grab=1' to your openmw.cfg?

I kinda doubt that building on Linux alone will reproduce those things, because I'm on Linux and I couldn't reproduce them either. Can we ask the reporter(s) what version of OSG they are using?
User avatar
AnyOldName3
Posts: 2666
Joined: 26 Nov 2015, 03:25

Re: Shadows

Post by AnyOldName3 »

Setting no-grab fixed the 'camera always points straight downwards issue, but now it jumps all over the place and sticks in weird positions. It feels a bit like it's running at single-digit or below-one framerates, but the framerate is reported to range between 30 and a few hundred by F3 and I think it looked like animation was running at that framerate. The cursor moves around the UI properly, too, so it can't even be that the VM is screwing with the mouse.
User avatar
raevol
Posts: 3093
Joined: 07 Aug 2011, 01:12
Location: Caldera

Re: Shadows

Post by raevol »

This is probably not the issue, but what VM are you using? If it's Virtualbox, have you enabled 3d acceleration passthrough? I can't find any documentation on it but should be in the display settings for the VM.
User avatar
AnyOldName3
Posts: 2666
Joined: 26 Nov 2015, 03:25

Re: Shadows

Post by AnyOldName3 »

It's VMWare (as that tends to give me a more reliable experience when resizing the VM window), but it does have the equivalent setting on.
User avatar
scrawl
Posts: 2152
Joined: 18 Feb 2012, 11:51

Re: Shadows

Post by scrawl »

While I don't know the solution to that issue, I would think that a VM is probably a poor testing environment either way. Have you considered running from a Live USB stick with persistance enabled?
User avatar
AnyOldName3
Posts: 2666
Joined: 26 Nov 2015, 03:25

Re: Shadows

Post by AnyOldName3 »

It's a bit of a massive nuisance to do that as I'm using the computer with my normal OS on it, and I can't do that at the same time as having another OS running natively. If I were to run it on a laptop I'd have further issues as NVidia Optimus tends to make things break.
User avatar
psi29a
Posts: 5355
Joined: 29 Sep 2011, 10:13
Location: Belgium
Gitlab profile: https://gitlab.com/psi29a/
Contact:

Re: Shadows

Post by psi29a »

Weird, I've not had any issues with OpenMW and Optimus on Linux (via primusrun).
User avatar
drummyfish
Posts: 154
Joined: 22 Oct 2017, 10:13
Contact:

Re: Shadows

Post by drummyfish »

I struggle with Optimus every single time I install Linux, I already have a phobia of it.
User avatar
AnyOldName3
Posts: 2666
Joined: 26 Nov 2015, 03:25

Re: Shadows

Post by AnyOldName3 »

I'm not meaning OpenMW specifically, but I've got friends who've had issues with things as basic as the desktop.
User avatar
psi29a
Posts: 5355
Joined: 29 Sep 2011, 10:13
Location: Belgium
Gitlab profile: https://gitlab.com/psi29a/
Contact:

Re: Shadows

Post by psi29a »

So long as it is Nvidia, you should be good to go. Normal setup is that everything runs on the Intel integrated GPU. You then install the bumblebee package and it will pull in deps such as the Nvidia binary blob. You then use optirun or primusrun and the program name: `primusrun openmw` and then openmw will use the nvidia binary blob driver. It has worked liked that for about 6 years now. Super simple to install: `sudo apt install bumblebee` and then run from Ubuntu since 14.04 (Trusty).

I have a Lenovo 430s laptop with Optimus, no problems.

AMD on the other hand, I heard is a no go however. I also do not bother with Nvidia's optimus support in their binary blob. I only use bumblebee and it just works.

https://bumblebee-project.org
Post Reply