alarm up on Trimslice but Xorg/sddm not quite there

This forum is for discussion about general software issues.

alarm up on Trimslice but Xorg/sddm not quite there

Postby pjdaly » Fri Dec 02, 2016 3:22 am

Hi,
I'm new and this is my 2nd post.
I read about where to post and it seems it should be here in "General" not in armv7. Hope I got it right.

I have Arch ARM running except the display is blank after showing some of the boot up messages that
also appear on the serial port terminal. I'm trying to use nouveau rather than the nvidia drivers figuring
they might be maintained more often (hope that is true).

Googled "Arch nouveau" and followed that as best I could. I do not have a initramfs so I noted
any discussion of "mkinitcpio" and tried to see if there was any analogous change when not using a initramfs

The system is on the internal SSD which has one partition with a boot directory

$this->bbcode_second_pass_code('', '[root@pdaly-slice log]# ls /boot
boot.scr boot.scr.1 boot.txt dtbs trimslice-mmc.img trimslice-spi.img zImage

[root@pdaly-slice log]# cat -n /boot/boot.txt | tail -7
15
16 setenv bootargs "root=${root} rw rootwait console=tty1 console=ttyS0,115200n8 mem=384M@0M mem=512M@512M nvmem=128M@384M vmalloc=248M "
17
18 load ${devtype} ${devnum}:${bootpart} ${loadaddr} /boot/zImage
19 load ${devtype} ${devnum}:${bootpart} ${fdt_addr_r} /boot/dtbs/tegra20-trimslice.dtb
20
21 bootz ${loadaddr} - ${fdt_addr_r}')

I have a one liner to get nouveau loaded:
$this->bbcode_second_pass_code('', '
[root@pdaly-slice log]# cat /etc/modules-load.d/pjdaly.conf
nouveau
')

I am up to date as of today via "pacman -Syu"

I see that the sddm-greeter has trouble and I assume by its name it's supposed to keep running and provide
a login screen (?).
$this->bbcode_second_pass_code('', '[root@pdaly-slice log]# sddm-greeter --test-mode
Aborted (core dumped)')

This is what's running after a boot. sddm is up and Xorg running under it. But no sddm-greeter because it aborts.

$this->bbcode_second_pass_code('', 'PPID PID PGID SID TTY TPGID STAT UID TIME COMMAND
2 4750 0 0 ? -1 S 0 0:00 \_ [kworker/1:1]
2 4874 0 0 ? -1 S 0 0:00 \_ [kworker/1:0]
2 4965 0 0 ? -1 S 0 0:00 \_ [lockd]
0 1 1 1 ? -1 Ss 0 0:25 /sbin/init
1 143 143 143 ? -1 Ss 0 0:03 /usr/lib/systemd/systemd-journald
1 167 167 167 ? -1 Ss 0 0:00 /usr/lib/systemd/systemd-udevd
1 185 185 185 ? -1 Ss 0 0:01 /usr/bin/haveged -F -w 1024 -v 1
1 187 187 187 ? -1 Ss 81 0:17 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
1 188 188 188 ? -1 Ss 0 0:07 /usr/lib/systemd/systemd-logind
1 191 191 191 ? -1 Ss 0 0:00 /usr/bin/syslog-ng -F
1 198 198 198 ? -1 Ss 32 0:00 /usr/bin/rpcbind -w
1 296 296 296 ? -1 Ssl 87 0:00 /usr/bin/ntpd -g -u ntp:ntp
1 297 297 297 ? -1 Ss 0 0:00 /usr/bin/sshd -D
297 4225 4225 4225 ? -1 Ss 0 0:00 \_ sshd: root@pts/0
4225 4255 4255 4255 pts/0 4967 Ss 0 0:00 | \_ -bash
4255 4967 4967 4255 pts/0 4967 R+ 0 0:00 | \_ ps axjf
297 4888 4888 4888 ? -1 Ss 0 0:00 \_ sshd: root@pts/1
4888 4895 4895 4895 pts/1 4926 Ss 0 0:00 \_ -bash
4895 4926 4926 4895 pts/1 4926 S+ 0 0:00 \_ man ps
4926 4933 4926 4895 pts/1 4926 S+ 0 0:00 \_ less
1 299 298 298 ? -1 Sl 0 0:00 /usr/bin/ypbind
1 310 310 310 ? -1 Ssl 0 0:04 /usr/bin/automount --pid-file /run/autofs.pid
1 313 313 313 ttyS0 313 Ss+ 0 0:00 /sbin/agetty --keep-baud 115200,38400,9600 ttyS0 vt220
1 316 316 316 ? -1 Ssl 0 0:00 /usr/bin/sddm
316 335 335 335 tty1 335 Ssl+ 0 0:00 \_ /usr/lib/xorg-server/Xorg -nolisten tcp -auth /var/run/sddm/{ac13d391-d790-4eba-accf-ed11e6e5290e} -background none -noreset -displayfd 18 vt1
1 392 392 392 ? -1 Ss 0 0:00 /usr/sbin/rpc.statd --no-notify
1 4230 4230 4230 ? -1 Ss 0 0:03 /usr/lib/systemd/systemd --user
4230 4239 4230 4230 ? -1 S 0 0:00 \_ (sd-pam)
')

Xorg.0.log shows this problem which I've been searching a long time to find.
I find the text, but not a solution for my case.

[ 15.916] EGL_MESA_drm_image required.
[ 15.922] (EE) modeset(0): glamor initialization failed

Here is the whole Xorg.0.log:

$this->bbcode_second_pass_code('', '
[ 14.513] (--) Log file renamed from "/var/log/Xorg.pid-335.log" to "/var/log/Xorg.0.log"
[ 14.518]
X.Org X Server 1.18.4
Release Date: 2016-07-19
[ 14.518] X Protocol Version 11, Revision 0
[ 14.518] Build Operating System: Linux 3.10.96-3-ARCH armv7l
[ 14.518] Current Operating System: Linux pdaly-slice 4.8.11-1-ARCH #1 SMP Mon Nov 28 00:21:14 MST 2016 armv7l
[ 14.518] Kernel command line: root=/dev/sda1 rw rootwait console=tty1 console=ttyS0,115200n8 mem=384M@0M mem=512M@512M nvmem=128M@384M vmalloc=248M
[ 14.518] Build Date: 20 July 2016 10:43:25AM
[ 14.518]
[ 14.518] Current version of pixman: 0.34.0
[ 14.518] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 14.518] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 14.518] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Nov 30 08:56:38 2016
[ 14.522] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 14.524] (==) No Layout section. Using the first Screen section.
[ 14.524] (==) No screen section available. Using defaults.
[ 14.524] (**) |-->Screen "Default Screen Section" (0)
[ 14.524] (**) | |-->Monitor "<default monitor>"
[ 14.529] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 14.529] (==) Automatically adding devices
[ 14.529] (==) Automatically enabling devices
[ 14.529] (==) Automatically adding GPU devices
[ 14.529] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 14.547] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[ 14.547] Entry deleted from font path.
[ 14.548] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[ 14.548] Entry deleted from font path.
[ 14.548] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[ 14.549] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[ 14.549] Entry deleted from font path.
[ 14.549] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[ 14.549] (==) FontPath set to:
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/,
/usr/share/fonts/OTF/
[ 14.549] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 14.549] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 14.550] (II) Loader magic: 0x1e4ee0
[ 14.550] (II) Module ABI versions:
[ 14.550] X.Org ANSI C Emulation: 0.4
[ 14.551] X.Org Video Driver: 20.0
[ 14.551] X.Org XInput driver : 22.1
[ 14.551] X.Org Server Extension : 9.0
[ 14.553] (++) using VT number 1

[ 14.553] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 14.555] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 14.556] (II) no primary bus or device found
[ 14.556] falling back to /sys/devices/soc0/50000000.host1x/drm/drm/card0
[ 14.556] (II) LoadModule: "glx"
[ 14.560] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 14.640] (II) Module glx: vendor="X.Org Foundation"
[ 14.640] compiled for 1.18.4, module version = 1.0.0
[ 14.640] ABI class: X.Org Server Extension, version 9.0
[ 14.640] (==) AIGLX enabled
[ 14.640] (==) Matched modesetting as autoconfigured driver 0
[ 14.640] (==) Matched fbdev as autoconfigured driver 1
[ 14.640] (==) Assigned the driver to the xf86ConfigLayout
[ 14.640] (II) LoadModule: "modesetting"
[ 14.658] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 14.662] (II) Module modesetting: vendor="X.Org Foundation"
[ 14.662] compiled for 1.18.4, module version = 1.18.4
[ 14.662] Module class: X.Org Video Driver
[ 14.662] ABI class: X.Org Video Driver, version 20.0
[ 14.662] (II) LoadModule: "fbdev"
[ 14.663] (WW) Warning, couldn't open module fbdev
[ 14.663] (II) UnloadModule: "fbdev"
[ 14.663] (II) Unloading fbdev
[ 14.663] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 14.663] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 14.664] (II) modeset(0): using drv /dev/dri/card0
[ 14.671] (II) modeset(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 14.671] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[ 14.671] (==) modeset(0): RGB weight 888
[ 14.671] (==) modeset(0): Default visual is TrueColor
[ 14.671] (II) Loading sub module "glamoregl"
[ 14.671] (II) LoadModule: "glamoregl"
[ 14.671] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[ 14.732] (II) Module glamoregl: vendor="X.Org Foundation"
[ 14.732] compiled for 1.18.4, module version = 1.0.0
[ 14.732] ABI class: X.Org ANSI C Emulation, version 0.4
[ 14.732] (II) glamor: OpenGL accelerated X.org driver based.
[ 15.916] (II) glamor: EGL version 1.4 (DRI2):
[ 15.916] EGL_MESA_drm_image required.
[ 15.922] (EE) modeset(0): glamor initialization failed
[ 15.922] (II) modeset(0): ShadowFB: preferred NO, enabled NO
[ 15.936] (II) modeset(0): Output HDMI-1 has no monitor section
[ 15.949] (II) modeset(0): EDID for output HDMI-1
[ 15.949] (II) modeset(0): Manufacturer: AOC Model: 2201 Serial#: 785
[ 15.949] (II) modeset(0): Year: 2007 Week: 14
[ 15.949] (II) modeset(0): EDID Version: 1.3
[ 15.949] (II) modeset(0): Digital Display Input
[ 15.949] (II) modeset(0): DFP 1.x compatible TMDS
[ 15.949] (II) modeset(0): Max Image Size [cm]: horiz.: 47 vert.: 30
[ 15.949] (II) modeset(0): Gamma: 2.20
[ 15.949] (II) modeset(0): DPMS capabilities: Off
[ 15.949] (II) modeset(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4
[ 15.949] (II) modeset(0): First detailed timing is preferred mode
[ 15.949] (II) modeset(0): redX: 0.646 redY: 0.339 greenX: 0.290 greenY: 0.603
[ 15.949] (II) modeset(0): blueX: 0.145 blueY: 0.065 whiteX: 0.313 whiteY: 0.329
[ 15.949] (II) modeset(0): Supported established timings:
[ 15.949] (II) modeset(0): 720x400@70Hz
[ 15.949] (II) modeset(0): 640x480@60Hz
[ 15.949] (II) modeset(0): 640x480@67Hz
[ 15.949] (II) modeset(0): 640x480@72Hz
[ 15.949] (II) modeset(0): 640x480@75Hz
[ 15.949] (II) modeset(0): 800x600@56Hz
[ 15.949] (II) modeset(0): 800x600@60Hz
[ 15.949] (II) modeset(0): 800x600@72Hz
[ 15.950] (II) modeset(0): 800x600@75Hz
[ 15.950] (II) modeset(0): 832x624@75Hz
[ 15.950] (II) modeset(0): 1024x768@60Hz
[ 15.950] (II) modeset(0): 1024x768@70Hz
[ 15.950] (II) modeset(0): 1024x768@75Hz
[ 15.950] (II) modeset(0): 1280x1024@75Hz
[ 15.950] (II) modeset(0): 1152x864@75Hz
[ 15.950] (II) modeset(0): Manufacturer's mask: 0
[ 15.950] (II) modeset(0): Supported standard timings:
[ 15.950] (II) modeset(0): #0: hsize: 1280 vsize 1024 refresh: 60 vid: 32897
[ 15.950] (II) modeset(0): #1: hsize: 1152 vsize 864 refresh: 75 vid: 20337
[ 15.950] (II) modeset(0): #2: hsize: 1280 vsize 960 refresh: 60 vid: 16513
[ 15.950] (II) modeset(0): #3: hsize: 1440 vsize 900 refresh: 75 vid: 3989
[ 15.950] (II) modeset(0): #5: hsize: 1440 vsize 900 refresh: 60 vid: 149
[ 15.950] (II) modeset(0): Supported detailed timing:
[ 15.950] (II) modeset(0): clock: 146.2 MHz Image Size: 474 x 297 mm
[ 15.950] (II) modeset(0): h_active: 1680 h_sync: 1784 h_sync_end 1960 h_blank_end 2240 h_border: 0
[ 15.950] (II) modeset(0): v_active: 1050 v_sync: 1053 v_sync_end 1059 v_blanking: 1089 v_border: 0
[ 15.950] (II) modeset(0): Serial No: 98574CA000785
[ 15.950] (II) modeset(0): Ranges: V min: 50 V max: 76 Hz, H min: 30 H max: 83 kHz, PixClock max 155 MHz
[ 15.950] (II) modeset(0): Monitor name: 212Va-1
[ 15.950] (II) modeset(0): EDID (in hex):
[ 15.950] (II) modeset(0): 00ffffffffffff0005e3012211030000
[ 15.950] (II) modeset(0): 0e110103812f1e782a7535a5564a9a25
[ 15.951] (II) modeset(0): 105054bfef808180714f8140950f0101
[ 15.951] (II) modeset(0): 95000101010121399030621a274068b0
[ 15.951] (II) modeset(0): 3600da291100001c000000ff00393835
[ 15.951] (II) modeset(0): 37344341303030373835000000fd0032
[ 15.951] (II) modeset(0): 4c1e530f000a202020202020000000fc
[ 15.951] (II) modeset(0): 0032313256612d310a202020202000ab
[ 15.951] (II) modeset(0): Printing probed modes for output HDMI-1
[ 15.951] (II) modeset(0): Modeline "1680x1050"x60.0 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync (65.3 kHz eP)
[ 15.951] (II) modeset(0): Modeline "1280x1024"x75.0 135.00 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync (80.0 kHz e)
[ 15.951] (II) modeset(0): Modeline "1280x1024"x60.0 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[ 15.951] (II) modeset(0): Modeline "1440x900"x75.0 136.75 1440 1536 1688 1936 900 903 909 942 -hsync +vsync (70.6 kHz e)
[ 15.951] (II) modeset(0): Modeline "1440x900"x59.9 88.75 1440 1488 1520 1600 900 903 909 926 +hsync -vsync (55.5 kHz e)
[ 15.951] (II) modeset(0): Modeline "1280x960"x60.0 108.00 1280 1376 1488 1800 960 961 964 1000 +hsync +vsync (60.0 kHz e)
[ 15.951] (II) modeset(0): Modeline "1152x864"x75.0 108.00 1152 1216 1344 1600 864 865 868 900 +hsync +vsync (67.5 kHz e)
[ 15.951] (II) modeset(0): Modeline "1024x768"x75.0 78.75 1024 1040 1136 1312 768 769 772 800 +hsync +vsync (60.0 kHz e)
[ 15.951] (II) modeset(0): Modeline "1024x768"x70.1 75.00 1024 1048 1184 1328 768 771 777 806 -hsync -vsync (56.5 kHz e)
[ 15.951] (II) modeset(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz e)
[ 15.951] (II) modeset(0): Modeline "832x624"x74.6 57.28 832 864 928 1152 624 625 628 667 -hsync -vsync (49.7 kHz e)
[ 15.952] (II) modeset(0): Modeline "800x600"x72.2 50.00 800 856 976 1040 600 637 643 666 +hsync +vsync (48.1 kHz e)
[ 15.952] (II) modeset(0): Modeline "800x600"x75.0 49.50 800 816 896 1056 600 601 604 625 +hsync +vsync (46.9 kHz e)
[ 15.952] (II) modeset(0): Modeline "800x600"x60.3 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz e)
[ 15.952] (II) modeset(0): Modeline "800x600"x56.2 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz e)
[ 15.952] (II) modeset(0): Modeline "640x480"x75.0 31.50 640 656 720 840 480 481 484 500 -hsync -vsync (37.5 kHz e)
[ 15.952] (II) modeset(0): Modeline "640x480"x72.8 31.50 640 664 704 832 480 489 492 520 -hsync -vsync (37.9 kHz e)
[ 15.952] (II) modeset(0): Modeline "640x480"x66.7 30.24 640 704 768 864 480 483 486 525 -hsync -vsync (35.0 kHz e)
[ 15.952] (II) modeset(0): Modeline "640x480"x59.9 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz e)
[ 15.952] (II) modeset(0): Modeline "720x400"x70.1 28.32 720 738 846 900 400 412 414 449 -hsync +vsync (31.5 kHz e)
[ 15.952] (II) modeset(0): Output HDMI-1 connected
[ 15.952] (II) modeset(0): Using exact sizes for initial modes
[ 15.952] (II) modeset(0): Output HDMI-1 using initial mode 1680x1050 +0+0
[ 15.952] (II) modeset(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
[ 15.952] (==) modeset(0): DPI set to (96, 96)
[ 15.952] (II) Loading sub module "fb"
[ 15.952] (II) LoadModule: "fb"
[ 15.953] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 15.959] (II) Module fb: vendor="X.Org Foundation"
[ 15.959] compiled for 1.18.4, module version = 1.0.0
[ 15.959] ABI class: X.Org ANSI C Emulation, version 0.4
[ 15.959] (==) Depth 24 pixmap format is 32 bpp
[ 15.998] (==) modeset(0): Backing store enabled
[ 15.998] (==) modeset(0): Silken mouse enabled
[ 16.001] (II) modeset(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[ 16.005] (==) modeset(0): DPMS enabled
[ 16.010] (--) RandR disabled
[ 16.043] (II) AIGLX: Screen 0 is not DRI2 capable
[ 16.043] (EE) AIGLX: reverting to software rendering
[ 16.051] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[ 16.054] (II) AIGLX: Loaded and initialized swrast
[ 16.054] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[ 16.056] (II) modeset(0): Setting screen physical size to 444 x 277
[ 16.338] (II) config/udev: Adding input device USB Optical Mouse (/dev/input/event1)
[ 16.339] (**) USB Optical Mouse: Applying InputClass "evdev pointer catchall"
[ 16.339] (II) LoadModule: "evdev"
[ 16.339] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[ 16.350] (II) Module evdev: vendor="X.Org Foundation"
[ 16.350] compiled for 1.18.4, module version = 2.10.4
[ 16.350] Module class: X.Org XInput Driver
[ 16.350] ABI class: X.Org XInput driver, version 22.1
[ 16.350] (II) Using input driver 'evdev' for 'USB Optical Mouse'
[ 16.350] (**) USB Optical Mouse: always reports core events
[ 16.350] (**) evdev: USB Optical Mouse: Device: "/dev/input/event1"
[ 16.410] (--) evdev: USB Optical Mouse: Vendor 0x192f Product 0x416
[ 16.410] (--) evdev: USB Optical Mouse: Found 3 mouse buttons
[ 16.410] (--) evdev: USB Optical Mouse: Found scroll wheel(s)
[ 16.410] (--) evdev: USB Optical Mouse: Found relative axes
[ 16.410] (--) evdev: USB Optical Mouse: Found x and y relative axes
[ 16.410] (II) evdev: USB Optical Mouse: Configuring as mouse
[ 16.410] (II) evdev: USB Optical Mouse: Adding scrollwheel support
[ 16.410] (**) evdev: USB Optical Mouse: YAxisMapping: buttons 4 and 5
[ 16.410] (**) evdev: USB Optical Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[ 16.410] (**) Option "config_info" "udev:/sys/devices/soc0/c5008000.usb/usb2/2-1/2-1.1/2-1.1:1.0/0003:192F:0416.0001/input/input1/event1"
[ 16.410] (II) XINPUT: Adding extended input device "USB Optical Mouse" (type: MOUSE, id 6)
[ 16.411] (II) evdev: USB Optical Mouse: initialized for relative axes.
[ 16.411] (**) USB Optical Mouse: (accel) keeping acceleration scheme 1
[ 16.411] (**) USB Optical Mouse: (accel) acceleration profile 0
[ 16.411] (**) USB Optical Mouse: (accel) acceleration factor: 2.000
[ 16.411] (**) USB Optical Mouse: (accel) acceleration threshold: 4
[ 16.414] (II) config/udev: Adding input device USB Optical Mouse (/dev/input/mouse0)
[ 16.414] (II) No input driver specified, ignoring this device.
[ 16.414] (II) This device may have been added with another device file.
[ 16.417] (II) config/udev: Adding input device HID Keyboard Device (/dev/input/event2)
[ 16.417] (**) HID Keyboard Device: Applying InputClass "evdev keyboard catchall"
[ 16.417] (II) Using input driver 'evdev' for 'HID Keyboard Device'
[ 16.417] (**) HID Keyboard Device: always reports core events
[ 16.417] (**) evdev: HID Keyboard Device: Device: "/dev/input/event2"
[ 16.417] (--) evdev: HID Keyboard Device: Vendor 0xe6a Product 0x6001
[ 16.418] (--) evdev: HID Keyboard Device: Found keys
[ 16.418] (II) evdev: HID Keyboard Device: Configuring as keyboard
[ 16.418] (**) Option "config_info" "udev:/sys/devices/soc0/c5008000.usb/usb2/2-1/2-1.4/2-1.4:1.0/0003:0E6A:6001.0002/input/input2/event2"
[ 16.418] (II) XINPUT: Adding extended input device "HID Keyboard Device" (type: KEYBOARD, id 7)
[ 16.418] (**) Option "xkb_rules" "evdev"
[ 16.422] (II) config/udev: Adding input device HID Keyboard Device (/dev/input/event3)
[ 16.422] (**) HID Keyboard Device: Applying InputClass "evdev keyboard catchall"
[ 16.422] (II) Using input driver 'evdev' for 'HID Keyboard Device'
[ 16.422] (**) HID Keyboard Device: always reports core events
[ 16.422] (**) evdev: HID Keyboard Device: Device: "/dev/input/event3"
[ 16.422] (--) evdev: HID Keyboard Device: Vendor 0xe6a Product 0x6001
[ 16.422] (--) evdev: HID Keyboard Device: Found 1 mouse buttons
[ 16.422] (--) evdev: HID Keyboard Device: Found scroll wheel(s)
[ 16.422] (--) evdev: HID Keyboard Device: Found relative axes
[ 16.422] (II) evdev: HID Keyboard Device: Forcing relative x/y axes to exist.
[ 16.422] (--) evdev: HID Keyboard Device: Found absolute axes
[ 16.422] (II) evdev: HID Keyboard Device: Forcing absolute x/y axes to exist.
[ 16.423] (--) evdev: HID Keyboard Device: Found keys
[ 16.423] (II) evdev: HID Keyboard Device: Configuring as mouse
[ 16.423] (II) evdev: HID Keyboard Device: Configuring as keyboard
[ 16.423] (II) evdev: HID Keyboard Device: Adding scrollwheel support
[ 16.423] (**) evdev: HID Keyboard Device: YAxisMapping: buttons 4 and 5
[ 16.423] (**) evdev: HID Keyboard Device: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[ 16.423] (**) Option "config_info" "udev:/sys/devices/soc0/c5008000.usb/usb2/2-1/2-1.4/2-1.4:1.1/0003:0E6A:6001.0003/input/input3/event3"
[ 16.423] (II) XINPUT: Adding extended input device "HID Keyboard Device" (type: KEYBOARD, id 8)
[ 16.423] (**) Option "xkb_rules" "evdev"
[ 16.424] (II) evdev: HID Keyboard Device: initialized for relative axes.
[ 16.424] (WW) evdev: HID Keyboard Device: ignoring absolute axes.
[ 16.424] (**) HID Keyboard Device: (accel) keeping acceleration scheme 1
[ 16.424] (**) HID Keyboard Device: (accel) acceleration profile 0
[ 16.424] (**) HID Keyboard Device: (accel) acceleration factor: 2.000
[ 16.424] (**) HID Keyboard Device: (accel) acceleration threshold: 4
[ 16.426] (II) config/udev: Adding input device gpio-keys (/dev/input/event0)
[ 16.426] (**) gpio-keys: Applying InputClass "evdev keyboard catchall"
[ 16.426] (II) Using input driver 'evdev' for 'gpio-keys'
[ 16.426] (**) gpio-keys: always reports core events
[ 16.426] (**) evdev: gpio-keys: Device: "/dev/input/event0"
[ 16.426] (--) evdev: gpio-keys: Vendor 0x1 Product 0x1
[ 16.427] (--) evdev: gpio-keys: Found keys
[ 16.427] (II) evdev: gpio-keys: Configuring as keyboard
[ 16.427] (**) Option "config_info" "udev:/sys/devices/soc0/gpio-keys/input/input0/event0"
[ 16.427] (II) XINPUT: Adding extended input device "gpio-keys" (type: KEYBOARD, id 9)
[ 16.427] (**) Option "xkb_rules" "evdev"
')


if I stop and disable sddm like so:
$this->bbcode_second_pass_code('', '[root@pdaly-slice log]# systemctl stop sddm
[root@pdaly-slice log]# systemctl disable sddm
Removed /etc/systemd/system/display-manager.service.')

Then the display is not black but instead shows and allows a text terminal login.
if I login and run "startx' I get a primitive X11 session with 3 windows (/dev/pts/0, 1, and 2)
and the mouse works.

Any hints appreciated....
pjdaly
 
Posts: 5
Joined: Fri Dec 02, 2016 12:38 am

Re: alarm up on Trimslice but Xorg/sddm not quite there

Postby summers » Fri Dec 02, 2016 10:18 am

Looks like X is trying to use fbdev - thats the old frame buffer. Don't know your hardware, but suspect you want a specific driver for your hardware.

My guess is that probably the kernel doesn't have the right module included, so first find the right module - install by hand (modprobe or insmod), then try starting X.

Hmm wonder if noveaux is the right driver for the tegra hardware? Thats for the desktop graphics IIRC, whereas tegra is one of these mobile phone graphics ....

This seems useful: https://www.phoronix.com/scan.php?page= ... px=MTA4NjA

Ah- looks like the kernel module you need to load is: tegra-drm

Then use the X driver: xf86-video-modesetting
summers
 
Posts: 984
Joined: Sat Sep 06, 2014 12:56 pm

Re: alarm up on Trimslice but Xorg/sddm not quite there

Postby pjdaly » Fri Dec 02, 2016 1:54 pm

I just typed up a long reply in the course of an hour or so and got logged out. :shock:
I guess I should compose in an editor and cut and paste it here.
I'll reply when I get to work.
pjdaly
 
Posts: 5
Joined: Fri Dec 02, 2016 12:38 am

Re: alarm up on Trimslice but Xorg/sddm not quite there

Postby pjdaly » Fri Dec 02, 2016 5:02 pm

$this->bbcode_second_pass_quote('', 'L')ooks like X is trying to use fbdev - thats the old frame buffer. Don't know your hardware, but suspect you want a specific driver for your hardware.

My guess is that probably the kernel doesn't have the right module included, so first find the right module - install by hand (modprobe or insmod), then try starting X.

Hmm wonder if noveaux is the right driver for the tegra hardware? Thats for the desktop graphics IIRC, whereas tegra is one of these mobile phone graphics ....

It's supposed to be switch-able between Nvidia (from the manufacturer) and Nouveau (open source).
There's an Arch Wiki for both.

The Nvidia Wiki includes as script than uses pacman to switch between the 2 but there's a notice that it's being considered for removal:
$this->bbcode_second_pass_quote('', '
')This section is being considered for removal.
Reason: This script literally just installs NVIDIA and uninstalls nouveau or vice versa. Also it doesn't mention the blacklisting of the nouveau module. (Discuss in Talk:NVIDIA#)


Unfortunately I didn't save the logs to see if the Nvidia code did likewise.
When I had trouble with the blank screen I decided to try Nouveau and still was blank..
So I started thinking it's not a Nvidia vs. Nouveau code issue.

$this->bbcode_second_pass_quote('', 'T')his seems useful: https://www.phoronix.com/scan.php?page= ... px=MTA4NjA

Ah- looks like the kernel module you need to load is: tegra-drm


I've seen that page during myweb searching. It appears to be out of date....
$this->bbcode_second_pass_code('', '[root@pdaly-slice ~]# pacman -Ss tegra-drm
[root@pdaly-slice ~]# pacman -Ss xf86-video-modesetting
[root@pdaly-slice ~]#
[root@pdaly-slice ~]# pacman -Ss nouveau
extra/mesa 13.0.2-1 [installed]
an open-source implementation of the OpenGL specification
extra/xf86-video-nouveau 1.0.13-1 (xorg-drivers xorg) [installed]
Open Source 2D acceleration driver for nVidia cards')

Anyways, as I said I stopped & disabled sddm and found that Xwindows via startx works to bring up a set of 3 windows.
At that point I decided to put aside the fbdev question and look into why the sddm-greeter aborts.
I see that it gets this error (ignore the date, sometimes not set right, another problem)

$this->bbcode_second_pass_quote('', 'O')ct 9 17:26:41 pdaly-slice systemd[1]: Started User Manager for UID 0.
Oct 9 17:26:46 pdaly-slice systemd[1]: Started Session c3 of user root.
Oct 9 17:27:07 pdaly-slice sddm-greeter[376]: Loading qrc:/theme/Main.qml...
Oct 9 17:27:08 pdaly-slice sddm-greeter[376]: file:///usr/lib/qt/qml/SddmComponents/ComboBox.qml:55: TypeError: Cannot read property 'name' of undefined
Oct 9 17:27:08 pdaly-slice systemd[371]: Started D-Bus User Message Bus.
Oct 9 17:27:10 pdaly-slice systemd[1]: Created slice system-systemd\x2dcoredump.slice.
Oct 9 17:27:10 pdaly-slice systemd[1]: Started Process Core Dump (PID 4239/UID 0).
Oct 9 17:27:11 pdaly-slice sddm[331]: Auth: sddm-helper exited with 4
Oct 9 17:27:11 pdaly-slice systemd[1]: Stopping User Manager for UID 502...


I'm thinking that is the reason for the sddm-greeter abort but I can't find a fix for it.
pjdaly
 
Posts: 5
Joined: Fri Dec 02, 2016 12:38 am
Top

Re: alarm up on Trimslice but Xorg/sddm not quite there

Postby summers » Fri Dec 02, 2016 5:07 pm

My reading was that Nouveau only supported Tegra K1 from the Tegra line. TrimSlice is tegra 2, and that is an older version of tegra. From what i could see of the documentation tegra-drm did support tegra 2. But anyway I'm not an expert on this hardware so could easily be wrong.
summers
 
Posts: 984
Joined: Sat Sep 06, 2014 12:56 pm

Re: alarm up on Trimslice but Xorg/sddm not quite there

Postby summers » Fri Dec 02, 2016 7:31 pm

And reading some more - sounds like its the login manager that is dying.

I've only used Slim and GDM in recenet times, so don't know sddm-greeter. So if startx works and gets you a useful seassion, then I'd start looking at other login managers
summers
 
Posts: 984
Joined: Sat Sep 06, 2014 12:56 pm

Re: alarm up on Trimslice but Xorg/sddm not quite there

Postby pjdaly » Fri Dec 02, 2016 8:31 pm

sddm-greeter is a part of sddm, the display manager. Yes, I might take your suggestion and look for another.

There's a lot of chips listed as supported by Nouveau here: https://nouveau.freedesktop.org/wiki/CodeNames/

I've been trying many searchs to find out what I actually have in terms of these "NV codes"
It's called "GeForce ULP" (low power) but it seems to be on Tegra 2, 3, and 4 (at least).
There are commands in the wiki pages below to have the driver spit out the NVxx number
but I see nothing returned.

On the Arch wiki for Nvidia page: https://wiki.archlinux.org/index.php/NVIDIA
I see:
$this->bbcode_second_pass_quote('', '
')If you have a GeForce 5 FX series card or older, Nvidia no longer supports drivers for your card. This means that these drivers do not support the current Xorg version. It thus might be easier if you use the nouveau driver, which supports the old cards with the current Xorg.

However, Nvidia's legacy drivers are still available and might provide better 3D performance/stability if you are willing to downgrade Xorg:

For GeForce 5 FX series cards [NV30-NV36], install the nvidia-173xx-dkmsAUR package. Last supported Xorg version is 1.15.
For GeForce 2/3/4 MX/Ti series cards [NV11, NV17-NV28], install the nvidia-96xx-dkmsAUR package. Last supported Xorg version is 1.12.


On the Arch wiki Nouveau page https://wiki.archlinux.org/index.php/Nouveau
I see:
$this->bbcode_second_pass_quote('', 'I')nstall the xf86-video-nouveau package. It provides the DDX driver for 2D acceleration in Xorg, and pulls in mesa as a dependency which provides the DRI driver for 3D acceleration.

For OpenGL support, also install mesa-libgl, and lib32-mesa-libgl when using multilib.


And I found this which Nvidia code specific to the Trimslice (there's only one model) but I imagine it means Xorg has to be downgraded as it says above.

$this->bbcode_second_pass_code('', '
[root@pdaly-slice ~]# pacman -Qil nvidia-trimslice
Name : nvidia-trimslice
Version : 16.3.0-2
Description : Nvidia drivers for the TrimSlice
Architecture : armv7h
URL : http://archlinuxarm.org
Licenses : GPL
Groups : None
Provides : None
Depends On : None
Optional Deps : None
Required By : None
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 16.16 MiB
Packager : Kevin Mihelich <kevin@archlinuxarm.org>
Build Date : Tue 04 Jun 2013 05:05:59 PM EDT
Install Date : Fri 02 Dec 2016 02:37:29 PM EST
Install Reason : Explicitly installed
Install Script : No
Validated By : SHA-256 Sum

nvidia-trimslice /etc/
nvidia-trimslice /etc/X11/
nvidia-trimslice /etc/X11/xorg.conf
nvidia-trimslice /etc/ld.so.conf.d/
nvidia-trimslice /etc/ld.so.conf.d/nvidia-trimslice.conf
nvidia-trimslice /opt/
nvidia-trimslice /opt/nvidia/
nvidia-trimslice /opt/nvidia/libEGL.so.1
nvidia-trimslice /opt/nvidia/libGLESv1_CM.so.1
nvidia-trimslice /opt/nvidia/libGLESv2.so.2
nvidia-trimslice /opt/nvidia/libKD.so
nvidia-trimslice /opt/nvidia/libardrv_dynamic.so
nvidia-trimslice /opt/nvidia/libcgdrv.so
nvidia-trimslice /opt/nvidia/libjpeg.so
nvidia-trimslice /opt/nvidia/libnvapputil.so
nvidia-trimslice /opt/nvidia/libnvavp.so
nvidia-trimslice /opt/nvidia/libnvcwm.so
nvidia-trimslice /opt/nvidia/libnvdc.so
nvidia-trimslice /opt/nvidia/libnvddk_2d.so
nvidia-trimslice /opt/nvidia/libnvddk_2d_v2.so
nvidia-trimslice /opt/nvidia/libnvddk_disp.so
nvidia-trimslice /opt/nvidia/libnvddk_kbc.so
nvidia-trimslice /opt/nvidia/libnvddk_mipihsi.so
nvidia-trimslice /opt/nvidia/libnvddk_nand.so
nvidia-trimslice /opt/nvidia/libnvddk_se.so
nvidia-trimslice /opt/nvidia/libnvddk_snor.so
nvidia-trimslice /opt/nvidia/libnvddk_spif.so
nvidia-trimslice /opt/nvidia/libnvddk_usbphy.so
nvidia-trimslice /opt/nvidia/libnvdispatch_helper.so
nvidia-trimslice /opt/nvidia/libnvglsi.so
nvidia-trimslice /opt/nvidia/libnvmedia_audio.so
nvidia-trimslice /opt/nvidia/libnvmm.so
nvidia-trimslice /opt/nvidia/libnvmm_audio.so
nvidia-trimslice /opt/nvidia/libnvmm_camera.so
nvidia-trimslice /opt/nvidia/libnvmm_contentpipe.so
nvidia-trimslice /opt/nvidia/libnvmm_image.so
nvidia-trimslice /opt/nvidia/libnvmm_manager.so
nvidia-trimslice /opt/nvidia/libnvmm_parser.so
nvidia-trimslice /opt/nvidia/libnvmm_service.so
nvidia-trimslice /opt/nvidia/libnvmm_utils.so
nvidia-trimslice /opt/nvidia/libnvmm_video.so
nvidia-trimslice /opt/nvidia/libnvmm_writer.so
nvidia-trimslice /opt/nvidia/libnvmmlite.so
nvidia-trimslice /opt/nvidia/libnvmmlite_audio.so
nvidia-trimslice /opt/nvidia/libnvmmlite_image.so
nvidia-trimslice /opt/nvidia/libnvmmlite_utils.so
nvidia-trimslice /opt/nvidia/libnvmmlite_video.so
nvidia-trimslice /opt/nvidia/libnvodm_disp.so
nvidia-trimslice /opt/nvidia/libnvodm_dtvtuner.so
nvidia-trimslice /opt/nvidia/libnvodm_imager.so
nvidia-trimslice /opt/nvidia/libnvodm_misc.so
nvidia-trimslice /opt/nvidia/libnvodm_query.so
nvidia-trimslice /opt/nvidia/libnvomx.so
nvidia-trimslice /opt/nvidia/libnvomxilclient.so
nvidia-trimslice /opt/nvidia/libnvos.so
nvidia-trimslice /opt/nvidia/libnvparser.so
nvidia-trimslice /opt/nvidia/libnvrm.so
nvidia-trimslice /opt/nvidia/libnvrm_graphics.so
nvidia-trimslice /opt/nvidia/libnvsm.so
nvidia-trimslice /opt/nvidia/libnvtestio.so
nvidia-trimslice /opt/nvidia/libnvtestresults.so
nvidia-trimslice /opt/nvidia/libnvtvmr.so
nvidia-trimslice /opt/nvidia/libnvwinsys.so
nvidia-trimslice /opt/nvidia/libnvwsi.so
nvidia-trimslice /usr/
nvidia-trimslice /usr/bin/
nvidia-trimslice /usr/bin/brcm_patchram_plus
nvidia-trimslice /usr/firmware/
nvidia-trimslice /usr/firmware/nvavp_os_0ff00000.bin
nvidia-trimslice /usr/firmware/nvavp_os_eff00000.bin
nvidia-trimslice /usr/firmware/nvavp_vid_ucode_alt.bin
nvidia-trimslice /usr/firmware/nvmm_aacdec.axf
nvidia-trimslice /usr/firmware/nvmm_adtsdec.axf
nvidia-trimslice /usr/firmware/nvmm_h264dec.axf
nvidia-trimslice /usr/firmware/nvmm_h264dec2x.axf
nvidia-trimslice /usr/firmware/nvmm_jpegdec.axf
nvidia-trimslice /usr/firmware/nvmm_jpegenc.axf
nvidia-trimslice /usr/firmware/nvmm_manager.axf
nvidia-trimslice /usr/firmware/nvmm_mp3dec.axf
nvidia-trimslice /usr/firmware/nvmm_mpeg4dec.axf
nvidia-trimslice /usr/firmware/nvmm_service.axf
nvidia-trimslice /usr/firmware/nvrm_avp.bin
nvidia-trimslice /usr/lib/
nvidia-trimslice /usr/lib/xorg/
nvidia-trimslice /usr/lib/xorg/modules/
nvidia-trimslice /usr/lib/xorg/modules/drivers/
nvidia-trimslice /usr/lib/xorg/modules/drivers/tegra_drv.abi10.so
nvidia-trimslice /usr/lib/xorg/modules/drivers/tegra_drv.abi11.so
nvidia-trimslice /usr/lib/xorg/modules/drivers/tegra_drv.abi12.so
nvidia-trimslice /usr/lib/xorg/modules/drivers/tegra_drv.abi13.so
nvidia-trimslice /usr/lib/xorg/modules/drivers/tegra_drv.abi14.so
nvidia-trimslice /usr/lib/xorg/modules/drivers/tegra_drv.abi5.so
nvidia-trimslice /usr/lib/xorg/modules/drivers/tegra_drv.abi6.so
nvidia-trimslice /usr/lib/xorg/modules/drivers/tegra_drv.abi7.so
nvidia-trimslice /usr/lib/xorg/modules/drivers/tegra_drv.abi8.so
nvidia-trimslice /usr/lib/xorg/modules/drivers/tegra_drv.so
')

The comment in the Nvidia wiki seems to be correct about downgrading Xorg because when I use the above Xorg
gives this error:
$this->bbcode_second_pass_code('', 'Error: Can't open /dev/nvhost-ctrl
(EE) module ABI major version (14) doesn't match the server's version (20)
(EE)
Fatal server error:
(EE) no screens found(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.')
pjdaly
 
Posts: 5
Joined: Fri Dec 02, 2016 12:38 am
Top


Return to General

Who is online

Users browsing this forum: No registered users and 8 guests