Displaying 4 results from an estimated 4 matches for "screennum".
2007 Apr 11
3
The direct/indirect rendering stuff and compiz
...on:
https://bugs.freedesktop.org/show_bug.cgi?id=8160
The issue is:
compiz has now some fallback code to indirect rendering if direct doesn't
work. But that's completely useless, because it'll fail some lines later,
exactly here:
glxExtensions = glXQueryExtensionsString (dpy, screenNum);
if (!strstr (glxExtensions, "GLX_EXT_texture_from_pixmap"))
The issue is, glXQueryExtensionsString won't return texture_from_pixmap on
AIGLX if LIBGL_ALWAYS_INDIRECT isn't set.
Now, the hacky solution would be to do something like the patch I attached to
the bug 8160...
2007 Aug 13
0
[PATCH] Add _display when it's not a screen specific setting.
...kend/kconfig_backend.cpp b/settings-backend/kconfig_backend.cpp
index 196ed03..073da47 100644
--- a/settings-backend/kconfig_backend.cpp
+++ b/settings-backend/kconfig_backend.cpp
@@ -484,6 +484,8 @@ readSetting (CCSContext *c,
group += "_screen";
group += QString::number (setting->screenNum);
}
+ else
+ group += "_display";
cfg->setGroup (group);
@@ -994,6 +996,8 @@ writeSetting (CCSContext *c,
group += "_screen";
group += QString::number (setting->screenNum);
}
+ else
+ group += "_display";
cfg->setGroup (grou...
2007 Oct 12
1
[PATCH] Make runCommand() work with multiple screens.
...n.c
+++ b/src/screen.c
@@ -3282,8 +3282,13 @@ runCommand (CompScreen *s,
if (fork () == 0)
{
+ size_t len = strlen (s->display->displayString);
+ char displayString[len + 16];
+ strcpy (displayString, s->display->displayString);
+ displayString[len - 1] = '0' + s->screenNum;
+
setsid ();
- putenv (s->display->displayString);
+ putenv (displayString);
execl ("/bin/sh", "/bin/sh", "-c", command, NULL);
exit (0);
}
--
1.5.3.4
--------------050603020208020104000903--
2007 Jun 06
1
Compiz segmentation fault
Hey,
Whenever I run compiz --replace, I get a segmentation fault. This is what a
backtrace in gdb says:
#0 0xbb871310 in strstr () from /usr/lib/libc.so.12
#1 0x080590b6 in addScreen (display=0x8071980, screenNum=0,
wmSnSelectionWindow=39845889, wmSnAtom=365, wmSnTimestamp=27602486)
at screen.c:1756
#2 0x08055292 in addDisplay (name=0x0) at display.c:2484
#3 0x08050926 in main (argc=2, argv=0xbfbfe9a0) at main.c:471
I'm running NetBSD, with modular-xorg-server 1.3, with an Intel 950GMA card,
Mesa 6.5.3...