glx

X11/GLX - Fullscreen mode?

白昼怎懂夜的黑 提交于 2019-12-03 02:07:36
I am trying to create a Linux application - a screensaver, in this case - and it is proving remarkably difficult to find information on the simple task of making a window full-screen. Even the code of existing screensavers makes no mention of how they manage it, and I've yet to see any obvious function like XRemoveDecoration() . After much fumbling around, I did manage to create a window that's the same size as the desktop, with this: Window win = DefaultRootWindow(disp); XWindowAttributes getWinAttr; XGetWindowAttributes(disp, win, &getWinAttr); win = XCreateWindow(disp, win, 0, 0, getWinAttr

Fedora 19 using rpmfussion's NVIDIA driver: libGL error: failed to load driver: swrast

核能气质少年 提交于 2019-11-30 15:47:27
When running an app that uses Qt 4.7 on my Fedora 19 box I am getting the following errors from the application: libGL: screen 0 does not appear to be DRI2 capable libGL: OpenDriver: trying /usr/lib64/dri/tls/swrast_dri.so libGL: OpenDriver: trying /usr/lib64/dri/swrast_dri.so libGL: Can't open configuration file /home/Matthew.Hoggan/.drirc: No such file or directory. libGL error: failed to load driver: swrast ERROR: Error failed to create progam. I do not see these errors in a stock X11 application where the context is configured using glx. I am assuming this is because Qt uses egl underneath

Fedora 19 using rpmfussion's NVIDIA driver: libGL error: failed to load driver: swrast

不想你离开。 提交于 2019-11-29 23:31:27
问题 When running an app that uses Qt 4.7 on my Fedora 19 box I am getting the following errors from the application: libGL: screen 0 does not appear to be DRI2 capable libGL: OpenDriver: trying /usr/lib64/dri/tls/swrast_dri.so libGL: OpenDriver: trying /usr/lib64/dri/swrast_dri.so libGL: Can't open configuration file /home/Matthew.Hoggan/.drirc: No such file or directory. libGL error: failed to load driver: swrast ERROR: Error failed to create progam. I do not see these errors in a stock X11