Displaying 4 results from an estimated 4 matches for "drmsetmaster".
2019 Feb 09
1
Latest kernel crashes X and gnome
...? 14.247] (II) Module fb: vendor="X.Org Foundation"
[??? 14.247] ??? compiled for 1.20.1, module version = 1.0.0
[??? 14.247] ??? ABI class: X.Org ANSI C Emulation, version 0.4
[??? 14.247] (II) UnloadModule: "vesa"
[??? 14.247] (II) Unloading vesa
[??? 14.247] (EE) modeset(G0): drmSetMaster failed: Invalid argument
[??? 14.247] (EE)
Fatal server error:
[??? 14.247] (EE) AddScreen/ScreenInit failed for gpu driver 0 -1
[??? 14.247] (EE)
[??? 14.247] (EE)
Please consult the The X.Org Foundation support
??? ?at http://wiki.x.org
?for help.
[??? 14.247] (EE) Please also check the log fil...
2013 Jul 22
0
[RFC PATCH] Support running nested in a Mir compositor
...dev->pdev)
return FALSE;
+ if (xorgMir && !NVHasMirSupport(dev->pdev))
+ return FALSE;
+
if (!NVHasKMS(dev->pdev))
return FALSE;
@@ -424,9 +449,11 @@ NVEnterVT(VT_FUNC_ARGS_DECL)
xf86DrvMsg(pScrn->scrnIndex, X_INFO, "NVEnterVT is called.\n");
- ret = drmSetMaster(pNv->dev->fd);
- if (ret)
- ErrorF("Unable to get master: %s\n", strerror(errno));
+ if (!xorgMir) {
+ ret = drmSetMaster(pNv->dev->fd);
+ if (ret)
+ ErrorF("Unable to get master: %s\n", strerror(errno));
+ }
if (XF86_CRTC_CONFIG_PTR(pScrn)->num_crtc &...
2012 Mar 04
1
[LXC] Attempt to start X in guest makes host X die
...booting).
This is with the nouveau open source driver.
I ran X using
/usr/bin/startx -- :7 vt7
Immediately the host X server dies, even though it's on a different virtual
terminal (VT1).
It seems to be something to do with DRM. The /var/log/Xorg.0.log in the host
says something about drmSetMaster failing.
What's strange is that according to the guest Xorg.7.log, DRM opening fails
there too: "drmOpenDevice: open result is -1, (No such device)". If there is
no such device (even though I created it), how can the guest be affecting the
host?
I think it might possibly be relat...
2012 Jul 04
0
[PATCH] Add xwayland support (v2)
...FreeScreen = NVFreeScreen;
+ pScrn->driverPrivate = xwl_screen;
+
xf86SetEntitySharable(entity_num);
pEnt = xf86GetEntityInfo(entity_num);
@@ -333,7 +379,11 @@ NVEnterVT(VT_FUNC_ARGS_DECL)
xf86DrvMsg(pScrn->scrnIndex, X_INFO, "NVEnterVT is called.\n");
- ret = drmSetMaster(pNv->dev->fd);
+ if (pNv->xwl_screen) {
+ ret = 0;
+ } else {
+ ret = drmSetMaster(pNv->dev->fd);
+ }
if (ret)
ErrorF("Unable to get master: %s\n", strerror(errno));
@@ -361,7 +411,11 @@ NVLeaveVT(VT_FUNC_ARGS_DECL)
xf86DrvMsg(pScrn->scrnIndex, X_INFO, "...