Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: nano on May 20, 2014, 08:52:55 AM

Title: opengl version and xrandr probelm?
Post by: nano on May 20, 2014, 08:52:55 AM
I gonna to run an opengl app on TC, with 90 deg rotated screen

when I set onboot.lst to
Xlibs.tcz
aterm.tcz
Xorg-7.7-3d.tcz
my opengl version is 2.1 and app run correctly, But I'm unable to rotate screen with xrandr
xrandr -q return -> Failed to get size of gamma for output default

and when I add
xf86-video-intel.tcz
to onboot,lst,
my opengl version is 1.4, I'm able to rotate screen with xrandr, But my app has problem because need to opengl 2, and also by pressing Alt+Ctrl+F2 (with multivt) I have black screen and my keyboard became disabled.

How can I rotate screen without loading xf86-video-intel.tcz
Or whats the problem of xf86-video-intel.tcz

graphic: intel GMA3150
Title: Re: opengl version and xrandr probelm?
Post by: curaga on May 20, 2014, 10:15:03 AM
The TTY switch crashing is most likely a bug in the intel driver which we can't do anything about.

For your GL issue, your card doesn't support 2.0, it only supports 1.4: http://en.wikipedia.org/wiki/Intel_GMA#GMA_3150
2.1 is emulated on Linux, but only under Mesa 9.2 (we currently ship 9.1.4).

If software GL is enough, you can run your app with "LIBGL_ALWAYS_SOFTWARE=1 ./myapp".
Title: Re: opengl version and xrandr probelm?
Post by: nano on May 20, 2014, 12:05:22 PM
Thanks curaga
run your app with "LIBGL_ALWAYS_SOFTWARE=1 ./myapp".
my opengl problem solved.

and tty switch still exist.