help with Xorg
Perez Rodriguez, Humberto I
humberto.i.perez.rodriguez at linux.intel.com
Fri Jul 28 02:59:48 UTC 2017
Hi :
i am trying to build xorg-xserver in a isolate environment on Ubuntu
16.10 64bit, to be exact i am building the drivers into /opt/X11R7
output from /opt/X11R7
drwxr-xr-x 2 gfx gfx 4096 Jul 27 15:42 bin
drwxr-xr-x 2 gfx gfx 4096 Jul 27 15:42 etc
drwxr-xr-x 15 gfx gfx 4096 Jul 27 15:42 include
drwxr-xr-x 11 gfx gfx 4096 Jul 27 15:42 lib
drwxr-xr-x 3 gfx gfx 4096 Jul 27 15:42 libexec
drwxr-xr-x 11 gfx gfx 4096 Jul 27 15:42 share
drwxr-xr-x 3 gfx gfx 4096 Jul 27 15:42 var
and in order to xserver-xorg takes all drivers and dependencies from
there, i've create the following file :
$ : cat /etc/X11/xorg.conf
Section "Files"
ModulePath "/opt/X11R7/lib/xorg/modules"
EndSection
and i've modified the following file as well :
$ : cat /usr/bin/X
#!/bin/sh
#
# Execute Xorg.wrap if it exists otherwise execute Xorg directly.
# This allows distros to put the suid wrapper in a separate package.
basedir=/opt/X11R7/bin
#basedir=/usr/lib/xorg
if [ -x "$basedir"/Xorg.wrap ]; then
exec "$basedir"/Xorg.wrap "$@"
else
exec "$basedir"/Xorg "$@"
fi
after do that, when reboot the system, tty7 appears as disabled and only
i have access to tty1-6, so in tty1 i type the following command in
order to run "Xorg" command
# chown gfx.gfx /dev/tty[0-7]
#chown gfx.gfx /dev/dri/card0
#chown gfx.gfx /dev/fb0
#chown gfx.gfx /dev/input
# usermod -a -G input gfx
then when i run the command "Xorg" i got always a black screen, please
see relevant messages in the Xorg.0.log
(04:54 PM) [gfx at gfx-desktop] [xorg]$ : cat Xorg.0.log | grep "(EE)"
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(04:54 PM) [gfx at gfx-desktop] [xorg]$ : cat Xorg.0.log | grep "(WW)"
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 62.765] (WW) The directory "/usr/share/fonts/misc/" does not exist.
[ 62.765] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[ 62.765] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[ 62.766] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[ 62.766] (WW) The directory "/usr/share/fonts/100dpi/" does not exist.
[ 62.766] (WW) The directory "/usr/share/fonts/75dpi/" does not exist.
[ 62.944] (WW) Falling back to old probe method for modesetting
[ 62.944] (WW) Falling back to old probe method for fbdev
[ 62.946] (WW) Falling back to old probe method for vesa
[ 62.946] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card
support
[ 292.184] (WW) Option "xkb_variant" requires a string value
[ 292.184] (WW) Option "xkb_options" requires a string value
i think that the issue is in the line "VGA arbiter: cannot open kernel
arbiter, no multi-card support" but i am not sure about that
the drivers builded into /opt/X11R7 were the following
╒═════╤══════════════════════╤════════════════════╕
│ # │ Driver │ Compilation time │
╞═════╪══════════════════════╪════════════════════╡
│ 1 │ drm │ (0h:0m:32s) │
├─────┼──────────────────────┼────────────────────┤
│ 2 │ mesa │ (0h:3m:11s) │
├─────┼──────────────────────┼────────────────────┤
│ 3 │ macros │ (0h:0m:4s) │
├─────┼──────────────────────┼────────────────────┤
│ 4 │ xproto │ (0h:0m:7s) │
├─────┼──────────────────────┼────────────────────┤
│ 5 │ glproto │ (0h:0m:6s) │
├─────┼──────────────────────┼────────────────────┤
│ 6 │ dri2proto │ (0h:0m:6s) │
├─────┼──────────────────────┼────────────────────┤
│ 7 │ xserver │ (0h:2m:2s) │
├─────┼──────────────────────┼────────────────────┤
│ 8 │ libXfont │ (0h:0m:21s) │
├─────┼──────────────────────┼────────────────────┤
│ 9 │ xf86-input-evdev │ (0h:0m:13s) │
├─────┼──────────────────────┼────────────────────┤
│ 10 │ xf86-input-libinput │ (0h:0m:13s) │
├─────┼──────────────────────┼────────────────────┤
│ 11 │ xf86-video-fbdev │ (0h:0m:12s) │
├─────┼──────────────────────┼────────────────────┤
│ 12 │ xf86-video-vesa │ (0h:0m:12s) │
├─────┼──────────────────────┼────────────────────┤
│ 13 │ xf86-video-vmware │ (0h:0m:13s) │
├─────┼──────────────────────┼────────────────────┤
│ 14 │ xf86-video-qxl │ (0h:0m:14s) │
├─────┼──────────────────────┼────────────────────┤
│ 15 │ xf86-video-amdgpu │ (0h:0m:27s) │
├─────┼──────────────────────┼────────────────────┤
│ 16 │ xf86-video-ati │ (0h:0m:17s) │
├─────┼──────────────────────┼────────────────────┤
│ 17 │ xf86-video-chips │ (0h:0m:18s) │
├─────┼──────────────────────┼────────────────────┤
│ 18 │ x11proto │ (0h:0m:7s) │
├─────┼──────────────────────┼────────────────────┤
│ 19 │ libxtrans │ (0h:0m:6s) │
├─────┼──────────────────────┼────────────────────┤
│ 20 │ libX11 │ (0h:0m:54s) │
├─────┼──────────────────────┼────────────────────┤
│ 21 │ libXext │ (0h:0m:18s) │
├─────┼──────────────────────┼────────────────────┤
│ 22 │ xf86-video-intel │ (0h:0m:43s) │
├─────┼──────────────────────┼────────────────────┤
│ 23 │ xkbcomp │ (0h:0m:8s) │
├─────┼──────────────────────┼────────────────────┤
│ 24 │ xf86-input-wacom │ (0h:0m:26s) │
├─────┼──────────────────────┼────────────────────┤
│ 25 │ pixman │ (0h:1m:32s) │
├─────┼──────────────────────┼────────────────────┤
│ 26 │ libpciaccess │ (0h:0m:14s) │
├─────┼──────────────────────┼────────────────────┤
│ 27 │ libinput │ (0h:0m:26s) │
├─────┼──────────────────────┼────────────────────┤
│ 28 │ xkeyboard-config │ (0h:0m:9s) │
├─────┼──────────────────────┼────────────────────┤
│ 29 │ xf86-input-mouse │ (0h:0m:12s) │
├─────┼──────────────────────┼────────────────────┤
│ 30 │ xf86-input-keyboard │ (0h:0m:12s) │
├─────┼──────────────────────┼────────────────────┤
│ 31 │ xf86-input-synaptics │ (0h:0m:13s) │
├─────┼──────────────────────┼────────────────────┤
│ 32 │ libva │ (0h:0m:20s) │
├─────┼──────────────────────┼────────────────────┤
│ 33 │ libva-utils │ (0h:0m:19s) │
├─────┼──────────────────────┼────────────────────┤
│ 34 │ intel-vaapi-driver │ (0h:0m:19s) │
├─────┼──────────────────────┼────────────────────┤
│ 35 │ cairo │ (0h:1m:14s) │
╘═════╧══════════════════════╧════════════════════╛
i will appreciate you help here because i am stuck with this
Cheers
More information about the xorg
mailing list