LightDM aborts

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
mongoose7
Posts: 1227
Joined: Wed Apr 06, 2011 12:13 pm

LightDM aborts

Post by mongoose7 »

Hi. Does anyone know why lightdm aborts when running 'Demo' in fullscreen? The screen freezes after a few seconds and before Sydney appears. I'm using nvidia-304 on ubuntu.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Re: LightDM aborts

Post by hybrid »

MAybe try to switch ton randr instead of the vidmode86 approach
mongoose7
Posts: 1227
Joined: Wed Apr 06, 2011 12:13 pm

Re: LightDM aborts

Post by mongoose7 »

Are you saying *ahem* that I should modify some lightdm configuration file? I'm guessing that you aren't suggesting a change to xorg.conf.
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: LightDM aborts

Post by CuteAlien »

No - it's a define in IrrCompileConfig so far. It uses different methods. So you have to recompile Irrlicht for that. Would be interesting to know if that is the problem, but the crash could also have other reasons. For example nvidia-304 sounds rather old (they are around 331 now I think).
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
mongoose7
Posts: 1227
Joined: Wed Apr 06, 2011 12:13 pm

Re: LightDM aborts

Post by mongoose7 »

I'm running 12.04 LTS and the *stable* PPA is ubuntu-x-swat, which has 304. Anyway, the change to XRandR works. Thanks for your help.

By the way ...

Everything seems to work on Nouveau, if the desktop is 2D, otherwise the screen appears to freeze. I guess something has gone away. Also, it is a proper fullscreen, filling the entire screen.

I also tried 331 (downloaded from nvidia). I got a partial *fullscreen* with the desktop behind it and that Ubuntu update icon still wiggling (so the desktop may have been 3D). The desktop was now 4x3 and when I exitted Demo it stayed that way, maybe because Demo SIGSEGV'd (CDemo.cpp(254) in CDemo::switchToNextScene(). 'this' was 0 but I don't know why it stopped at Line 254.) I could now scroll the desktop!!

304 was similar - the fullscreen did not occupy the full screen (even with XRandR) and I got the SIGSEGV, though not with XRandR.

Makes me think the Ubuntu desktop is held together with string. Anyway, Nouveau has no trouble handling Irrlicht so I guess I will stick with that.
Post Reply