cancel
Showing results for 
Search instead for 
Did you mean: 

PC Graphics

kratan
Journeyman III

Xorg starting accelerated opengl in container

Hi,

is it possible to start an accelerated xorg inside a container system linke singularity/docker without root rights?

For my tests im using an fedora 29 and ubuntu/fedora container. Here is my xorg.conf + log file:

......

Section "Device"

        Identifier  "videocard"

        Driver "modesetting"

        Option "AccelMethod" "glamor"

        Option "TearFree" "on"

        Option "DRI" "3"

        BusID   "PCI:1:0:0"

EndSection

......

log:

260470.729] (II) modeset(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)

[260470.729] (II) modeset(0): Modeline "640x480"x59.9   23.98  640 664 720 800  480 483 487 500 -hsync +vsync (30.0 kHz)

[260470.729] (II) modeset(0): Output Virtual-1 connected

[260470.729] (II) modeset(0): Using user preference for initial modes

[260470.729] (II) modeset(0): Output Virtual-1 using initial mode 5120x3200 +0+0

[260470.729] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)

[260470.729] (==) modeset(0): DPI set to (96, 96)

[260470.729] (II) Loading sub module "fb"

[260470.729] (II) LoadModule: "fb"

[260470.729] (II) Loading /usr/lib64/xorg/modules/libfb.so

[260470.729] (II) Module fb: vendor="X.Org Foundation"

[260470.729]    compiled for 1.19.5, module version = 1.0.0

[260470.729]    ABI class: X.Org ANSI C Emulation, version 0.4

[260470.729] (II) Loading sub module "shadow"

[260470.729] (II) LoadModule: "shadow"

[260470.729] (II) Loading /usr/lib64/xorg/modules/libshadow.so

[260470.730] (II) Module shadow: vendor="X.Org Foundation"

[260470.730]    compiled for 1.19.5, module version = 1.1.0

[260470.730]    ABI class: X.Org ANSI C Emulation, version 0.4

[260470.730] (==) Depth 24 pixmap format is 32 bpp

[260470.730] (EE) modeset(0): drmSetMaster failed: Permission denied

[260470.730] (EE)

Fatal server error:

[260470.730] (EE) AddScreen/ScreenInit failed for driver 0

[260470.730] (EE)

[260470.730] (EE)

Please consult the The X.Org Foundation support

         at http://wiki.x.org

Same problem with amdgpu as driver.

On my PC there are no monitors connected i just need it for remote rendering.

Any hints from the pros?

0 Likes
0 Replies