<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - systemd-loginctl should deal better with PCI/PCI-e graphics cards"
href="https://bugs.freedesktop.org/show_bug.cgi?id=56579#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - systemd-loginctl should deal better with PCI/PCI-e graphics cards"
href="https://bugs.freedesktop.org/show_bug.cgi?id=56579">bug 56579</a>
from <span class="vcard"><a class="email" href="mailto:lbsousajr@gmail.com" title="Laércio de Sousa <lbsousajr@gmail.com>"> <span class="fn">Laércio de Sousa</span></a>
</span></b>
<pre>Well, in fact, I can make my SM501 card attachable for loginctl when I load the
kernel module "sm501fb", but Xorg won't load on this card with the generic
"fbdev" video driver and the automatic xorg.conf generated by systemd. This is
the relevant part of my Xorg.1.log
[ 6037.726] (**) FBDEV(0): claimed PCI slot 0@0:2:0
[ 6037.726] (II) FBDEV(0): using /dev/fb1
[ 6037.726] (II) FBDEV(0): Creating default Display subsection in Screen
section
"Default Screen Section" for depth/fbbpp 8/8
[ 6037.726] (==) FBDEV(0): Depth 8, (==) framebuffer bpp 8
[ 6037.726] (==) FBDEV(0): Default visual is PseudoColor
[ 6037.726] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
[ 6037.726] (II) FBDEV(0): hardware: sm501fb-crt (video memory: 0kB)
[ 6037.726] (**) FBDEV(0): Option "fbdev" "/dev/fb1"
[ 6037.726] (II) FBDEV(0): checking modes against framebuffer device...
[ 6037.726] (II) FBDEV(0): checking modes against monitor...
[ 6037.726] (--) FBDEV(0): Virtual size is 640x400 (pitch 640)
[ 6037.726] (**) FBDEV(0): Built-in mode "current": 25.2 MHz, 31.5 kHz, 69.9
Hz
[ 6037.726] (II) FBDEV(0): Modeline "current"x0.0 25.18 640 664 760 800
400 409 411 450 -hsync -vsync -csync (31.5 kHz)
[ 6037.726] (==) FBDEV(0): DPI set to (96, 96)
[ 6037.726] (II) Loading sub module "fb"
[ 6037.726] (II) LoadModule: "fb"
[ 6037.726] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 6037.726] (II) Module fb: vendor="X.Org Foundation"
[ 6037.726] compiled for 1.11.3, module version = 1.0.0
[ 6037.726] ABI class: X.Org ANSI C Emulation, version 0.4
[ 6037.726] (**) FBDEV(0): using shadow framebuffer
[ 6037.726] (II) Loading sub module "shadow"
[ 6037.726] (II) LoadModule: "shadow"
[ 6037.727] (II) Loading /usr/lib/xorg/modules/libshadow.so
[ 6037.727] (II) Module shadow: vendor="X.Org Foundation"
[ 6037.727] compiled for 1.11.3, module version = 1.1.0
[ 6037.727] ABI class: X.Org ANSI C Emulation, version 0.4
[ 6037.727] (EE) FBDEV(0): mmap fbmem: Invalid argument
[ 6037.727] (EE) FBDEV(0): mapping of video memory failed
[ 6037.727]
Fatal server error:
[ 6037.727] AddScreen/ScreenInit failed for driver 0
Anyway, all I need is an option to customize the Xorg command line executed for
non-fully-hot-pluggable graphics devices, so I can e.g. pass a custom config
file with a "Device" section properly set for my card, using the native Xorg
video driver "siliconmotion", instead of "fbdev". However, it's not clear to me
if this should be made in loginctl itself or in a display manager. Just for
comparison:
- in Huo & Cameron multiseat-optimized ConsoleKit approach, the Xorg command
line can be customized just by adding a new display template file in directory
/etc/ConsoleKit/displays.d, and using it when loading a new session (I really
like this approach);
- in LightDM, the Xorg command line can be customized in its own config file,
lightdm.conf.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>