Other OS

NEED HELP: can't get XSGX running

3 1144
mickpf  
Hello,

I'd like to get XSGX running under archlinux!
I followed installation instructions, checked all settings and get error starting X and/or Xorg.

Starting as not root user:
------------------------------------------------------------------------------------
[1593727.480]
X.Org X Server 1.13.0
Release Date: 2012-09-05
[1593727.498] X Protocol Version 11, Revision 0
[1593727.504] Build Operating System: Linux 3.2.0-29-generic x86_64
[1593727.511] Current Operating System: Linux guitar 3.10.94-Guitar #9 SMP PREEMPT Thu Jul 28 18:22:33 CEST 2016 armv7l
[1593727.511] Kernel command line: console=ttyS3 clk_ignore_unused selinux=0 scandelay root=/dev/mmcblk0p2 rw console=ttyS3 rootfstype=ext4 console=tty0 loglevel=4 rootwait video=fb0:dev=hdmi,1920x1080M@60,if=RGB24 boot_dev=sd0 hdmi_vid=4
[1593727.524] Build Date: 29 September 2015  06:26:32PM
[1593727.531]
[1593727.537] Current version of pixman: 0.30.2
[1593727.551]     Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[1593727.551] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[1593727.578] (==) Log file: "/usr/local/XSGX/var/log/Xorg.0.log", Time: Sat Aug  6 10:35:42 2016
[1593727.593] (==) Using config file: "/etc/X11/xorg.conf"
[1593727.599] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[1593727.605] (==) ServerLayout "Default Layout"
[1593727.606] (**) |-->Screen "Screen" (0)
[1593727.606] (**) |   |-->Monitor "Monitor"
[1593727.612] (**) |   |-->Device "SGX540"
[1593727.612] (**) Option "DontZap" "true"
[1593727.612] (**) Option "BlankTime" "0"
[1593727.612] (**) Option "StandbyTime" "0"
[1593727.612] (**) Option "SuspendTime" "0"
[1593727.612] (**) Option "OffTime" "0"
[1593727.612] (**) Option "Xinerama" "true"
[1593727.612] (**) Option "AIGLX" "true"
[1593727.612] (**) Option "GlxVisuals" "typical"
[1593727.612] (**) Option "DRI2" "true"
[1593727.612] (==) Automatically adding devices
[1593727.612] (==) Automatically enabling devices
[1593727.612] (==) Automatically adding GPU devices
[1593727.619] (**) Xinerama: enabled
[1593727.671] (WW) The directory "/usr/local/XSGX/share/fonts/X11/TTF/" does not exist.
[1593727.671]     Entry deleted from font path.
[1593727.671] (WW) The directory "/usr/local/XSGX/share/fonts/X11/OTF/" does not exist.
[1593727.672]     Entry deleted from font path.
[1593727.673] (**) FontPath set to:
    /usr/share/fonts/misc,
    /usr/share/fonts/100dpi/:unscaled,
    /usr/share/fonts/75dpi,
    /usr/share/fonts/Type1,
    /usr/share/fonts/TTF,
    built-ins,
    /usr/local/XSGX/share/fonts/X11/misc/,
    /usr/local/XSGX/share/fonts/X11/Type1/,
    /usr/local/XSGX/share/fonts/X11/100dpi/,
    /usr/local/XSGX/share/fonts/X11/75dpi/
[1593727.673] (**) ModulePath set to "/usr/local/XSGX/lib/xorg/modules"
[1593727.673] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
[1593727.674] (II) Loader magic: 0x1d2358
[1593727.674] (II) Module ABI versions:
[1593727.674]     X.Org ANSI C Emulation: 0.4
[1593727.674]     X.Org Video Driver: 13.0
[1593727.674]     X.Org XInput driver : 18.0
[1593727.674]     X.Org Server Extension : 7.0
[1593727.681] Initializing built-in extension Generic Event Extension
[1593727.686] Initializing built-in extension SHAPE
[1593727.692] Initializing built-in extension MIT-SHM
[1593727.697] Initializing built-in extension XInputExtension
[1593727.703] Initializing built-in extension XTEST
[1593727.708] Initializing built-in extension BIG-REQUESTS
[1593727.713] Initializing built-in extension SYNC
[1593727.718] Initializing built-in extension XKEYBOARD
[1593727.724] Initializing built-in extension XC-MISC
[1593727.729] Initializing built-in extension XINERAMA
[1593727.734] Initializing built-in extension XFIXES
[1593727.739] Initializing built-in extension RENDER
[1593727.744] Initializing built-in extension RANDR
[1593727.749] Initializing built-in extension COMPOSITE
[1593727.754] Initializing built-in extension DAMAGE
[1593727.759] Initializing built-in extension MIT-SCREEN-SAVER
[1593727.764] Initializing built-in extension DOUBLE-BUFFER
[1593727.768] Initializing built-in extension RECORD
[1593727.773] Initializing built-in extension DPMS
[1593727.778] Initializing built-in extension X-Resource
[1593727.782] Initializing built-in extension XVideo
[1593727.787] Initializing built-in extension XVideo-MotionCompensation
[1593727.791] Initializing built-in extension XFree86-VidModeExtension
[1593727.796] Initializing built-in extension XFree86-DGA
[1593727.800] Initializing built-in extension XFree86-DRI
[1593727.805] Initializing built-in extension DRI2
[1593727.805] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[1593727.805] (II) LoadModule: "vbe"
[1593727.810] (II) Loading /usr/local/XSGX/lib/xorg/modules/libvbe.so
[1593727.813] (II) Module vbe: vendor="X.Org Foundation"
[1593727.813]     compiled for 1.13.0, module version = 1.1.0
[1593727.813]     ABI class: X.Org Video Driver, version 13.0
[1593727.813] (II) LoadModule: "glx"
[1593727.813] (II) Loading /usr/local/XSGX/lib/xorg/modules/extensions/libglx.so
[1593727.834] (II) Module glx: vendor="X.Org Foundation"
[1593727.834]     compiled for 1.13.0, module version = 1.0.0
[1593727.834]     ABI class: X.Org Server Extension, version 7.0
[1593727.834] (**) AIGLX enabled
[1593727.839] Loading extension GLX
[1593727.839] (II) LoadModule: "extmod"
[1593727.839] (II) Module "extmod" already built-in
[1593727.839] (II) LoadModule: "pvr"
[1593727.839] (II) Loading /usr/local/XSGX/lib/xorg/modules/drivers/pvr_drv.so
[1593727.850] (II) Module PVR: vendor="X.Org Foundation"
[1593727.850]     compiled for 1.13.0, module version = 114.106.5561
[1593727.850]     Module class: X.Org Video Driver
[1593727.850]     ABI class: X.Org Video Driver, version 13.0
[1593727.850] (II) pvr: Driver for PowerVR chipsets: PowerVR SGX
[1593727.850] (--) using VT number 3

[1593727.859]
Fatal server error:
[1593727.863] xf86OpenConsole: Cannot open virtual console 3 (Permission denied)
[1593727.867]
[1593727.867] (EE)
Please consult the The X.Org Foundation support
     at http://wiki.x.org
for help.
[1593727.884] (EE) Please also check the log file at "/usr/local/XSGX/var/log/Xorg.0.log" for additional information.
[1593727.888] (EE)
[1593727.898] (WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor
[1593727.898] (WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor
[1593727.902] Server terminated with error (1). Closing log file.
------------------------------------------------------------------------------------
Starting as root:
------------------------------------------------------------------------------------
[1593786.843]
X.Org X Server 1.13.0
Release Date: 2012-09-05
[1593786.843] X Protocol Version 11, Revision 0
[1593786.843] Build Operating System: Linux 3.2.0-29-generic x86_64
[1593786.844] Current Operating System: Linux guitar 3.10.94-Guitar #9 SMP PREEMPT Thu Jul 28 18:22:33 CEST 2016 armv7l
[1593786.844] Kernel command line: console=ttyS3 clk_ignore_unused selinux=0 scandelay root=/dev/mmcblk0p2 rw console=ttyS3 rootfstype=ext4 console=tty0 loglevel=4 rootwait video=fb0:dev=hdmi,1920x1080M@60,if=RGB24 boot_dev=sd0 hdmi_vid=4
[1593786.844] Build Date: 29 September 2015  06:26:32PM
[1593786.844]
[1593786.845] Current version of pixman: 0.30.2
[1593786.845]     Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[1593786.845] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[1593786.846] (==) Log file: "/usr/local/XSGX/var/log/Xorg.0.log", Time: Sat Aug  6 10:36:42 2016
[1593786.846] (==) Using config file: "/etc/X11/xorg.conf"
[1593786.847] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[1593786.849] (==) ServerLayout "Default Layout"
[1593786.849] (**) |-->Screen "Screen" (0)
[1593786.849] (**) |   |-->Monitor "Monitor"
[1593786.849] (**) |   |-->Device "SGX540"
[1593786.849] (**) Option "DontZap" "true"
[1593786.849] (**) Option "BlankTime" "0"
[1593786.850] (**) Option "StandbyTime" "0"
[1593786.850] (**) Option "SuspendTime" "0"
[1593786.850] (**) Option "OffTime" "0"
[1593786.850] (**) Option "Xinerama" "true"
[1593786.850] (**) Option "AIGLX" "true"
[1593786.850] (**) Option "GlxVisuals" "typical"
[1593786.850] (**) Option "DRI2" "true"
[1593786.850] (==) Automatically adding devices
[1593786.850] (==) Automatically enabling devices
[1593786.850] (==) Automatically adding GPU devices
[1593786.850] (**) Xinerama: enabled
[1593786.850] (WW) The directory "/usr/local/XSGX/share/fonts/X11/TTF/" does not exist.
[1593786.850]     Entry deleted from font path.
[1593786.850] (WW) The directory "/usr/local/XSGX/share/fonts/X11/OTF/" does not exist.
[1593786.850]     Entry deleted from font path.
[1593786.850] (**) FontPath set to:
    /usr/share/fonts/misc,
    /usr/share/fonts/100dpi/:unscaled,
    /usr/share/fonts/75dpi,
    /usr/share/fonts/Type1,
    /usr/share/fonts/TTF,
    built-ins,
    /usr/local/XSGX/share/fonts/X11/misc/,
    /usr/local/XSGX/share/fonts/X11/Type1/,
    /usr/local/XSGX/share/fonts/X11/100dpi/,
    /usr/local/XSGX/share/fonts/X11/75dpi/
[1593786.851] (**) ModulePath set to "/usr/local/XSGX/lib/xorg/modules"
[1593786.851] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
[1593786.851] (II) Loader magic: 0x1d2358
[1593786.851] (II) Module ABI versions:
[1593786.851]     X.Org ANSI C Emulation: 0.4
[1593786.851]     X.Org Video Driver: 13.0
[1593786.851]     X.Org XInput driver : 18.0
[1593786.851]     X.Org Server Extension : 7.0
[1593786.852] Initializing built-in extension Generic Event Extension
[1593786.852] Initializing built-in extension SHAPE
[1593786.852] Initializing built-in extension MIT-SHM
[1593786.852] Initializing built-in extension XInputExtension
[1593786.852] Initializing built-in extension XTEST
[1593786.852] Initializing built-in extension BIG-REQUESTS
[1593786.852] Initializing built-in extension SYNC
[1593786.853] Initializing built-in extension XKEYBOARD
[1593786.853] Initializing built-in extension XC-MISC
[1593786.853] Initializing built-in extension XINERAMA
[1593786.853] Initializing built-in extension XFIXES
[1593786.853] Initializing built-in extension RENDER
[1593786.853] Initializing built-in extension RANDR
[1593786.853] Initializing built-in extension COMPOSITE
[1593786.858] Initializing built-in extension DAMAGE
[1593786.863] Initializing built-in extension MIT-SCREEN-SAVER
[1593786.867] Initializing built-in extension DOUBLE-BUFFER
[1593786.872] Initializing built-in extension RECORD
[1593786.877] Initializing built-in extension DPMS
[1593786.881] Initializing built-in extension X-Resource
[1593786.886] Initializing built-in extension XVideo
[1593786.890] Initializing built-in extension XVideo-MotionCompensation
[1593786.895] Initializing built-in extension XFree86-VidModeExtension
[1593786.900] Initializing built-in extension XFree86-DGA
[1593786.904] Initializing built-in extension XFree86-DRI
[1593786.908] Initializing built-in extension DRI2
[1593786.908] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[1593786.908] (II) LoadModule: "vbe"
[1593786.909] (II) Loading /usr/local/XSGX/lib/xorg/modules/libvbe.so
[1593786.910] (II) Module vbe: vendor="X.Org Foundation"
[1593786.910]     compiled for 1.13.0, module version = 1.1.0
[1593786.910]     ABI class: X.Org Video Driver, version 13.0
[1593786.910] (II) LoadModule: "glx"
[1593786.910] (II) Loading /usr/local/XSGX/lib/xorg/modules/extensions/libglx.so
[1593786.911] (II) Module glx: vendor="X.Org Foundation"
[1593786.911]     compiled for 1.13.0, module version = 1.0.0
[1593786.911]     ABI class: X.Org Server Extension, version 7.0
[1593786.911] (**) AIGLX enabled
[1593786.915] Loading extension GLX
[1593786.916] (II) LoadModule: "extmod"
[1593786.916] (II) Module "extmod" already built-in
[1593786.916] (II) LoadModule: "pvr"
[1593786.916] (II) Loading /usr/local/XSGX/lib/xorg/modules/drivers/pvr_drv.so
[1593786.917] (II) Module PVR: vendor="X.Org Foundation"
[1593786.917]     compiled for 1.13.0, module version = 114.106.5561
[1593786.917]     Module class: X.Org Video Driver
[1593786.917]     ABI class: X.Org Video Driver, version 13.0
[1593786.917] (II) pvr: Driver for PowerVR chipsets: PowerVR SGX
[1593786.917] (--) using VT number 3

[1593786.943] (WW) Falling back to old probe method for pvr
[1593787.443] (EE) Couldn't get PVR Services status
[1593787.443] (EE) No devices detected.
[1593787.443]
Fatal server error:
[1593787.443] no screens found
[1593787.444] (EE)
Please consult the The X.Org Foundation support
     at http://wiki.x.org
for help.
[1593787.444] (EE) Please also check the log file at "/usr/local/XSGX/var/log/Xorg.0.log" for additional information.
[1593787.444] (EE)
[1593787.492] Server terminated with error (1). Closing log file.
------------------------------------------------------------------------------------
My "/etc/X11/Xorg.conf"
------------------------------------------------------------------------------------
Section "ServerLayout"
    Identifier    "Default Layout"
    Screen        "Screen"
#    InputDevice    "Keyboard"
#    InputDevice    "Mouse"
EndSection

Section "ServerFlags"
    Option        "DontZap"        "true"
    Option        "AIGLX"            "true"
    Option        "GlxVisuals"        "typical"    # "minimal" / "typical" / "all"
    Option        "Xinerama"        "true"
    Option        "DRI2"            "true"
#    Option        "IgnoreABI"        "true"
    Option        "BlankTime"        "0"
    Option        "StandbyTime"        "0"
    Option        "SuspendTime"        "0"
    Option        "OffTime"        "0"
EndSection

Section "Files"
    ModulePath    "/usr/local/XSGX/lib/xorg/modules"
    FontPath    "/usr/share/fonts/misc"
    FontPath    "/usr/share/fonts/100dpi/:unscaled"
    FontPath    "/usr/share/fonts/75dpi"
    FontPath    "/usr/share/fonts/Type1"
    FontPath    "/usr/share/fonts/TTF"
    FontPath    "built-ins"
EndSection

Section "Module"
#    Load        "i2c"
    Load        "bitmap"
#    Load        "ddc"
#    Load        "extmod"
    Load        "freetype"
    Load        "type1"
    Load        "vbe"
    Load        "glx"
#    Load        "dri"
#
    SubSection "extmod"
        Option    "omit XFree86-DGA"
    EndSubSection
EndSection

Section "DRI"
    Mode        0666
EndSection

#Section "Extensions"
#    Option        "MIT-SHM"        "Disable"
#EndSection

Section "InputDevice"
    Identifier    "Keyboard"
    Driver        "kbd"
    Option        "CoreKeyboard"
    Option        "XkbRules"        "xorg"
    Option        "XkbModel"        "pc105"
    Option        "XkbLayout"        "de"
    Option        "XkbVariant"        "nodeadkeys"
#    Option        "XkbOptions"        "ctrl:nocaps"
EndSection

Section "InputDevice"
    Identifier    "Mouse"
    Driver        "mouse"
    Option        "CorePointer"
    Option        "Device"        "/dev/input/mice"
#    Option        "Protocol"        "ImPS/2"
#    Option        "Emulate3Buttons"    "true"
EndSection

Section "Monitor"
    Identifier    "Monitor"
    Option        "DPMS"
    VendorName    "Benq"
    ModelName    "GL2250HM"
#    DisplaySize    376 301
#    HorizSync    15.0 - 70.0    # KHz
#    VertRefresh    58.0 - 62.0    # Hz
    Option        "DPMS"

    # 1920    1080    50 Hz    56.25 kHz
    ModeLine "1920x1080_1"    148.50 1920 2448 2492 2640 1080 1084 1089 1125 +HSync +VSync
    # 1920    1080    60 Hz    67.4318 kHz
    ModeLine "1920x1080_2"    148.35 1920 2008 2052 2200 1080 1084 1089 1125 +HSync +VSync
    # 1920    1080    60 Hz    67.5 kHz
    ModeLine "1920x1080_3"    148.50 1920 2008 2052 2200 1080 1084 1088 1125 -HSync -VSync
EndSection

Section "Device"
    Identifier    "SGX540"
    Driver        "pvr"
    Option        "FlipChain"        "true"
EndSection

Section "Screen"
    Identifier    "Screen"
    Device        "SGX540"
    Monitor        "Monitor"
    DefaultDepth    24
    SubSection "Display"
        Depth    24
        Modes    "1920x1080_1" "1920x1080_2" "1920x1080_3"
    EndSubSection
    SubSection "Display"
        Depth    32
        Modes    "1920x1080_1" "1920x1080_2" "1920x1080_3"
    EndSubSection
EndSection
------------------------------------------------------------------------------------

The "ldconfig" cache is OK (the output is too long).

Can somebody help to get it running?

Kind Regards,
Michael
Edited by john.wen at Aug 10, 2016 21:20

Hello, Member


LeMaker Guitar adopts Actions S500 SoC, It can supports PowerVR SGX544。We can refer to http://wiki.lemaker.org/LeMaker_Guitar:GPU_hardware_acceleration to install hardware acceleration library in Linux OS.And we also provide LeMuntu and Ubuntu Mate OS image that GPU can work on GUI.

LeMaker team have imported  ArchLinux to LeMaker Guitar, you can download from there, and we have inatalled GPU hardware acceleration in ArchLinux. But we do not install GUI on ArchLinux.

About ArchLinux: http://wiki.lemaker.org/ArchLinux_for_LeMaker_Guitar

mickpf  
Hello John,

I'm asking for solutions and not for instructions, how to cause the error!

Kind Regards,
Michael

mickpf  
Hello John,

I get the same error on Ubuntu for Guitar!!!

Kind Regards,
Michael

You have to log in before you can reply Login | Sign Up

Points Rules