WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: opengl version and xrandr probelm?  (Read 3488 times)

Offline nano

  • Newbie
  • *
  • Posts: 28
opengl version and xrandr probelm?
« on: May 20, 2014, 11: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

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11050
Re: opengl version and xrandr probelm?
« Reply #1 on: May 20, 2014, 01:15:03 PM »
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".
The only barriers that can stop you are the ones you create yourself.

Offline nano

  • Newbie
  • *
  • Posts: 28
Re: opengl version and xrandr probelm?
« Reply #2 on: May 20, 2014, 03:05:22 PM »
Thanks curaga
run your app with "LIBGL_ALWAYS_SOFTWARE=1 ./myapp".
my opengl problem solved.

and tty switch still exist.