Acer Chromebook CB5-311 mainline

This forum is for supported devices using an ARMv7 nVidia SoC.

Re: Acer Chromebook CB5-311 mainline

Postby fedup » Thu Jun 13, 2019 7:43 pm

@reey
Thanks for link to your defconfig file, really useful. Managed to use your defconfig to work out what's wrong with mine. Still have issues but udev and the backlight is now working. It's better using a defconfig than copying the .config from a previous release.

Still issues to resolve but 5.1 working well.
fedup
 
Posts: 32
Joined: Mon Jan 07, 2019 2:02 pm

Re: Acer Chromebook CB5-311 mainline / video playback

Postby vman » Fri Jun 14, 2019 8:11 pm

Fedup:
$this->bbcode_second_pass_quote('', ' ')Accelerated video whilst it works is not perfect either


Can you be more precise? What resolutions can you play? Is zoom affecting cpu usage (much)? What is not perfect?

I'm using Arch, "Linux version 5.1.7-1", my old configuration. Video playback in Firefox, e.g. on youtube, is ok, although cpu usage is high, and it is not completely fluent. But when I try playing a video with mplayer or vlc it can't be zoomed, and it sure can't play full-resolution (1080p) - it then looks like slow-motion, and audio runs ahead. Also, when I type "xvinfo" it only get
$this->bbcode_second_pass_code('', 'screen #0
no adaptors present')

Do you guys have better experiences? It's cool to read you're trying out Ubuntu and Fedora as well! :)
vman
 
Posts: 63
Joined: Sat Oct 15, 2016 6:00 pm

Re: Acer Chromebook CB5-311 mainline

Postby fedup » Sat Jun 15, 2019 11:52 am

@vman

xvinfo $this->bbcode_second_pass_code('', 'X-Video Extension version 2.2
screen #0
Adaptor #0: "GLAMOR Textured Video"
number of ports: 16
port base: 118
operations supported: PutImage
supported visuals:
depth 24, visualID 0x51
number of attributes: 5
"XV_BRIGHTNESS" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_CONTRAST" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_SATURATION" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_HUE" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_COLORSPACE" (range 0 to 1)
client settable attribute
client gettable attribute (current value is 0)
maximum XvImage size: 8192 x 8192
Number of image formats: 2
id: 0x32315659 (YV12)
guid: 59563132-0000-0010-8000-00aa00389b71
bits per pixel: 12
number of planes: 3
type: YUV (planar)
id: 0x30323449 (I420)
guid: 49343230-0000-0010-8000-00aa00389b71
bits per pixel: 12
number of planes: 3
type: YUV (planar)
')

1080p playback with ffplay/ffmpeg is ok for me as it plays back with good timing with audio in sync. I'm just not sure its as smooth as should be. Watching stuff in firefox is not 100% smooth like on google chrome. changing the pstate does not improve accelerated graphics. The nouveau stuff is working but can not match the performance of nvidia drivers used in chromeos. I really recommend creating a config from reey's defconfig mentioned to on the previous page. I couldn't use it on fedora as it lacks the stuff for audit, selinux and firewalld but was able use it to improve my config. I'm sure it works really well on arch, have not tried it yet though.

Although I generally like the acer we have, I will try and avoid anything nvidia based in the future. It looked promising when the nyan based chromebooks were launched but Nvidia seem only really focused on the other tegra boards. As of September when Google drop the support for the cb5-311 we're on our own. I'm planning on flashing the spi before this date but still use chromeos to watch films etc.
fedup
 
Posts: 32
Joined: Mon Jan 07, 2019 2:02 pm

Re: Acer Chromebook CB5-311 mainline

Postby vman » Sat Jun 15, 2019 9:38 pm

Thanks for your quick reply, @fedup! This motivated me to try and fix my video issue - but without success so far. Switching to reey's kernel config did not help. That came at not much of a surprise, since my kernel config was based on his anyway, without a lot of modifications.

But I found out my Xorg is not actually using the nouveau driver! I wonder what is going on there?

$this->bbcode_second_pass_code('', '[ 12.601] (--) Log file renamed from "/var/log/Xorg.pid-376.log" to "/var/log/Xorg.0.log"
[ 12.616]
X.Org X Server 1.20.5
X Protocol Version 11, Revision 0
[ 12.616] Build Operating System: Linux Arch Linux
[ 12.616] Current Operating System: Linux seagull 5.1.0-1 #1 SMP PREEMPT Sat Jun 15 20:05:42 CEST 2019 armv7l
[ 12.616] Kernel command line: cros_secure root=/dev/mmcblk0p7 rootfstype=ext4 rootwait rw noinitrd
[ 12.616] Build Date: 01 June 2019 04:38:10PM
[ 12.616]
[ 12.616] Current version of pixman: 0.38.4
[ 12.616] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 12.616] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 12.617] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Jun 15 22:32:12 2019
[ 12.647] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 12.665] (==) No Layout section. Using the first Screen section.
[ 12.665] (==) No screen section available. Using defaults.
[ 12.665] (**) |-->Screen "Default Screen Section" (0)
[ 12.665] (**) | |-->Monitor "<default monitor>"
[ 12.665] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 12.665] (==) Automatically adding devices
[ 12.665] (==) Automatically enabling devices
[ 12.665] (==) Automatically adding GPU devices
[ 12.665] (==) Automatically binding GPU devices
[ 12.665] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 12.707] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 12.707] Entry deleted from font path.
[ 12.711] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi".
[ 12.711] Entry deleted from font path.
[ 12.711] (Run 'mkfontdir' on "/usr/share/fonts/100dpi").
[ 12.715] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi".
[ 12.716] Entry deleted from font path.
[ 12.716] (Run 'mkfontdir' on "/usr/share/fonts/75dpi").
[ 12.716] (==) FontPath set to:
/usr/share/fonts/misc,
/usr/share/fonts/TTF,
/usr/share/fonts/OTF
[ 12.716] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 12.716] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 12.719] (II) Module ABI versions:
[ 12.719] X.Org ANSI C Emulation: 0.4
[ 12.719] X.Org Video Driver: 24.0
[ 12.719] X.Org XInput driver : 24.1
[ 12.719] X.Org Server Extension : 10.0
[ 12.722] (++) using VT number 1

[ 12.722] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 12.724] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 12.741] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 12.742] (II) no primary bus or device found
[ 12.742] falling back to /sys/devices/soc0/50000000.host1x/drm/drm/card0
[ 12.742] (II) LoadModule: "glx"
[ 12.748] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 12.899] (II) Module glx: vendor="X.Org Foundation"
[ 12.899] compiled for 1.20.5, module version = 1.0.0
[ 12.899] ABI class: X.Org Server Extension, version 10.0
[ 12.899] (==) Matched modesetting as autoconfigured driver 0
[ 12.899] (==) Matched fbdev as autoconfigured driver 1
[ 12.899] (==) Assigned the driver to the xf86ConfigLayout
[ 12.899] (II) LoadModule: "modesetting"
[ 12.899] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 12.927] (II) Module modesetting: vendor="X.Org Foundation"
[ 12.927] compiled for 1.20.5, module version = 1.20.5
[ 12.927] Module class: X.Org Video Driver
[ 12.927] ABI class: X.Org Video Driver, version 24.0
[ 12.927] (II) LoadModule: "fbdev"
[ 12.929] (WW) Warning, couldn't open module fbdev
[ 12.929] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 12.929] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 12.941] (II) modeset(0): using drv /dev/dri/card0
[ 12.941] (II) modeset(G0): using drv /dev/dri/card1
[ 12.942] (II) modeset(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 12.942] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[ 12.942] (==) modeset(0): RGB weight 888
[ 12.942] (==) modeset(0): Default visual is TrueColor
[ 12.942] (II) Loading sub module "glamoregl"
[ 12.942] (II) LoadModule: "glamoregl"
[ 12.943] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[ 12.994] (II) Module glamoregl: vendor="X.Org Foundation"
[ 12.994] compiled for 1.20.5, module version = 1.0.1
[ 12.994] ABI class: X.Org ANSI C Emulation, version 0.4
[ 14.160] (EE) modeset(0): eglGetDisplay() failed
[ 14.285] (EE) modeset(0): glamor initialization failed
[ 14.285] (II) modeset(0): ShadowFB: preferred NO, enabled NO
[ 14.286] (II) modeset(0): Output HDMI-1 has no monitor section
[ 14.290] (II) modeset(0): Output eDP-1 has no monitor section
[ 14.292] (II) modeset(0): EDID for output HDMI-1
[ 14.295] (II) modeset(0): EDID for output eDP-1
[ 14.295] (II) modeset(0): Manufacturer: AUO Model: 112d Serial#: 0
[ 14.295] (II) modeset(0): Year: 2013 Week: 0
[ 14.296] (II) modeset(0): EDID Version: 1.4
[ 14.296] (II) modeset(0): Digital Display Input
[ 14.296] (II) modeset(0): 6 bits per channel
[ 14.296] (II) modeset(0): Digital interface is DisplayPort
[ 14.296] (II) modeset(0): Max Image Size [cm]: horiz.: 29 vert.: 17
[ 14.296] (II) modeset(0): Gamma: 2.20
[ 14.296] (II) modeset(0): No DPMS capabilities specified
[ 14.296] (II) modeset(0): Supported color encodings: RGB 4:4:4
[ 14.296] (II) modeset(0): First detailed timing is preferred mode
[ 14.296] (II) modeset(0): Preferred mode is native pixel format and refresh rate
[ 14.296] (II) modeset(0): redX: 0.580 redY: 0.335 greenX: 0.330 greenY: 0.656
[ 14.296] (II) modeset(0): blueX: 0.155 blueY: 0.140 whiteX: 0.313 whiteY: 0.329
[ 14.296] (II) modeset(0): Manufacturer's mask: 0
[ 14.296] (II) modeset(0): Supported detailed timing:
[ 14.296] (II) modeset(0): clock: 142.0 MHz Image Size: 293 x 165 mm
[ 14.296] (II) modeset(0): h_active: 1920 h_sync: 2028 h_sync_end 2076 h_blank_end 2100 h_border: 0
[ 14.296] (II) modeset(0): v_active: 1080 v_sync: 1090 v_sync_end 1100 v_blanking: 1126 v_border: 0
[ 14.296] (II) modeset(0): Unknown vendor-specific block f
[ 14.296] (II) modeset(0): AUO
[ 14.296] (II) modeset(0): B133HTN01.1
[ 14.297] (II) modeset(0): EDID (in hex):
[ 14.297] (II) modeset(0): 00ffffffffffff0006af2d1100000000
[ 14.297] (II) modeset(0): 00170104951d117802b8f5945554a827
[ 14.297] (II) modeset(0): 23505400000001010101010101010101
[ 14.297] (II) modeset(0): 010101010101783780b470382e406c30
[ 14.297] (II) modeset(0): aa0025a5100000180000000f00000000
[ 14.297] (II) modeset(0): 00000000000000000020000000fe0041
[ 14.297] (II) modeset(0): 554f0a202020202020202020000000fe
[ 14.297] (II) modeset(0): 004231333348544e30312e31200a0012
[ 14.297] (II) modeset(0): Printing probed modes for output eDP-1
[ 14.297] (II) modeset(0): Modeline "1920x1080"x60.1 142.00 1920 2028 2076 2100 1080 1090 1100 1126 -hsync -vsync (67.6 kHz eP)
[ 14.297] (II) modeset(0): Modeline "1366x768"x60.0 69.50 1366 1414 1446 1466 768 771 777 790 (47.4 kHz eP)
[ 14.297] (II) modeset(0): Output HDMI-1 disconnected
[ 14.297] (II) modeset(0): Output eDP-1 connected
[ 14.298] (II) modeset(0): Using exact sizes for initial modes
[ 14.298] (II) modeset(0): Output eDP-1 using initial mode 1920x1080 +0+0
[ 14.298] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
[ 14.298] (==) modeset(0): DPI set to (96, 96)
[ 14.298] (II) Loading sub module "fb"
[ 14.298] (II) LoadModule: "fb"
[ 14.298] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 14.302] (II) Module fb: vendor="X.Org Foundation"
[ 14.302] compiled for 1.20.5, module version = 1.0.0
[ 14.302] ABI class: X.Org ANSI C Emulation, version 0.4
[ 14.303] (==) modeset(G0): Depth 24, (==) framebuffer bpp 32
[ 14.303] (==) modeset(G0): RGB weight 888
[ 14.303] (==) modeset(G0): Default visual is TrueColor
[ 14.303] (II) Loading sub module "glamoregl"
[ 14.303] (II) LoadModule: "glamoregl"
[ 14.303] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[ 14.304] (II) Module glamoregl: vendor="X.Org Foundation"
[ 14.304] compiled for 1.20.5, module version = 1.0.1
[ 14.304] ABI class: X.Org ANSI C Emulation, version 0.4
[ 14.340] (EE) modeset(G0): eglGetDisplay() failed
[ 14.401] (EE) modeset(G0): glamor initialization failed
[ 14.401] (II) modeset(G0): ShadowFB: preferred YES, enabled YES
[ 14.401] (II) modeset(G0): Double-buffered shadow updates: off
[ 14.401] (==) modeset(G0): Using gamma correction (1.0, 1.0, 1.0)
[ 14.401] (==) modeset(G0): DPI set to (96, 96)
[ 14.401] (II) Loading sub module "fb"
[ 14.401] (II) LoadModule: "fb"
[ 14.401] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 14.402] (II) Module fb: vendor="X.Org Foundation"
[ 14.402] compiled for 1.20.5, module version = 1.0.0
[ 14.402] ABI class: X.Org ANSI C Emulation, version 0.4
[ 14.402] (II) Loading sub module "shadow"
[ 14.402] (II) LoadModule: "shadow"
[ 14.402] (II) Loading /usr/lib/xorg/modules/libshadow.so
[ 14.404] (II) Module shadow: vendor="X.Org Foundation"
[ 14.404] compiled for 1.20.5, module version = 1.1.0
[ 14.404] ABI class: X.Org ANSI C Emulation, version 0.4
[ 14.416] (==) modeset(G0): Backing store enabled
[ 14.416] (==) modeset(G0): Silken mouse disabled
[ 14.419] (II) modeset(G0): Initializing kms color map for depth 24, 8 bpc.
[ 14.420] (==) modeset(G0): DPMS enabled
[ 14.438] (==) modeset(0): Backing store enabled
[ 14.438] (==) modeset(0): Silken mouse disabled
[ 14.456] (II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
[ 14.456] (==) modeset(0): DPMS enabled
[ 14.456] (II) Initializing extension Generic Event Extension
[ 14.457] (II) Initializing extension SHAPE
[ 14.457] (II) Initializing extension MIT-SHM
[ 14.458] (II) Initializing extension XInputExtension
[ 14.462] (II) Initializing extension XTEST
[ 14.463] (II) Initializing extension BIG-REQUESTS
[ 14.464] (II) Initializing extension SYNC
[ 14.464] (II) Initializing extension XKEYBOARD
[ 14.465] (II) Initializing extension XC-MISC
[ 14.466] (II) Initializing extension SECURITY
[ 14.466] (II) Initializing extension XFIXES
[ 14.467] (II) Initializing extension RENDER
[ 14.468] (II) Initializing extension RANDR
[ 14.470] (II) Initializing extension COMPOSITE
[ 14.471] (II) Initializing extension DAMAGE
[ 14.472] (II) Initializing extension MIT-SCREEN-SAVER
[ 14.473] (II) Initializing extension DOUBLE-BUFFER
[ 14.474] (II) Initializing extension RECORD
[ 14.475] (II) Initializing extension DPMS
[ 14.476] (II) Initializing extension Present
[ 14.477] (II) Initializing extension DRI3
[ 14.477] (II) Initializing extension X-Resource
[ 14.478] (II) Initializing extension XVideo
[ 14.479] (II) Initializing extension XVideo-MotionCompensation
[ 14.479] (II) Initializing extension GLX
[ 14.480] (II) AIGLX: Screen 0 is not DRI2 capable
[ 14.572] (II) IGLX: Loaded and initialized swrast
[ 14.572] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[ 14.572] (II) Initializing extension XFree86-VidModeExtension
[ 14.573] (II) Initializing extension XFree86-DGA
[ 14.574] (II) Initializing extension XFree86-DRI
[ 14.574] (II) Initializing extension DRI2
[ 14.576] (II) modeset(G0): Damage tracking initialized
[ 14.577] (II) modeset(0): Damage tracking initialized
[ 14.577] (II) modeset(0): Setting screen physical size to 508 x 285
[ 14.956] (II) config/udev: Adding input device Elan Touchpad (/dev/input/event0)
[ 14.956] (**) Elan Touchpad: Applying InputClass "evdev touchpad catchall"
[ 14.956] (**) Elan Touchpad: Applying InputClass "libinput touchpad catchall"
[ 14.956] (**) Elan Touchpad: Applying InputClass "touchpad catchall"
[ 14.956] (**) Elan Touchpad: Applying InputClass "Default clickpad buttons"
[ 14.956] (II) LoadModule: "synaptics"
[ 14.956] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[ 14.959] (II) Module synaptics: vendor="X.Org Foundation"
[ 14.959] compiled for 1.20.0, module version = 1.9.1
[ 14.959] Module class: X.Org XInput Driver
[ 14.959] ABI class: X.Org XInput driver, version 24.1
[ 14.959] (II) Using input driver 'synaptics' for 'Elan Touchpad'
[ 14.959] (**) Elan Touchpad: always reports core events
[ 14.959] (**) Option "Device" "/dev/input/event0"
[ 15.120] (II) synaptics: Elan Touchpad: found clickpad property
[ 15.120] (--) synaptics: Elan Touchpad: x-axis range 0 - 3207 (res 31)
[ 15.120] (--) synaptics: Elan Touchpad: y-axis range 0 - 1791 (res 31)
[ 15.120] (--) synaptics: Elan Touchpad: pressure range 0 - 255
[ 15.120] (--) synaptics: Elan Touchpad: finger width range 0 - 15
[ 15.120] (--) synaptics: Elan Touchpad: buttons: left double triple
[ 15.120] (--) synaptics: Elan Touchpad: Vendor 0x4f3 Product 0x2a
[ 15.120] (**) Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
[ 15.120] (--) synaptics: Elan Touchpad: touchpad found
[ 15.120] (**) Elan Touchpad: always reports core events
[ 15.220] (**) Option "config_info" "udev:/sys/devices/soc0/7000c400.i2c/i2c-1/1-0015/input/input0/event0"
[ 15.220] (II) XINPUT: Adding extended input device "Elan Touchpad" (type: TOUCHPAD, id 6)
[ 15.220] (**) synaptics: Elan Touchpad: (accel) MinSpeed is now constant deceleration 2.5
[ 15.220] (**) synaptics: Elan Touchpad: (accel) MaxSpeed is now 1.75
[ 15.220] (**) synaptics: Elan Touchpad: (accel) AccelFactor is now 0.054
[ 15.220] (**) Elan Touchpad: (accel) keeping acceleration scheme 1
[ 15.220] (**) Elan Touchpad: (accel) acceleration profile 1
[ 15.220] (**) Elan Touchpad: (accel) acceleration factor: 2.000
[ 15.220] (**) Elan Touchpad: (accel) acceleration threshold: 4
[ 15.220] (--) synaptics: Elan Touchpad: touchpad found
[ 15.223] (II) config/udev: Adding input device cros_ec (/dev/input/event5)
[ 15.223] (**) cros_ec: Applying InputClass "evdev keyboard catchall"
[ 15.224] (**) cros_ec: Applying InputClass "libinput keyboard catchall"
[ 15.224] (II) LoadModule: "libinput"
[ 15.224] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[ 15.268] (II) Module libinput: vendor="X.Org Foundation"
[ 15.268] compiled for 1.20.3, module version = 0.28.2
[ 15.268] Module class: X.Org XInput Driver
[ 15.268] ABI class: X.Org XInput driver, version 24.1
[ 15.268] (II) Using input driver 'libinput' for 'cros_ec'
[ 15.268] (**) cros_ec: always reports core events
[ 15.268] (**) Option "Device" "/dev/input/event5"
[ 15.268] (**) Option "_source" "server/udev"
[ 15.346] (II) event5 - cros_ec: is tagged by udev as: Keyboard
[ 15.346] (II) event5 - cros_ec: device is a keyboard
[ 15.347] (II) event5 - cros_ec: device removed
[ 15.510] (**) Option "config_info" "udev:/sys/devices/soc0/7000d400.spi/spi_master/spi0/spi0.0/7000d400.spi:cros-ec@0:keyboard-controller/input/input5/event5"
[ 15.510] (II) XINPUT: Adding extended input device "cros_ec" (type: KEYBOARD, id 7)
[ 15.521] (II) event5 - cros_ec: is tagged by udev as: Keyboard
[ 15.521] (II) event5 - cros_ec: device is a keyboard
[ 15.526] (II) config/udev: Adding input device tegra-hda HDMI/DP,pcm=3 (/dev/input/event4)
[ 15.526] (II) No input driver specified, ignoring this device.
[ 15.526] (II) This device may have been added with another device file.
[ 15.530] (II) config/udev: Adding input device HD WebCam: HD WebCam (/dev/input/event6)
[ 15.530] (**) HD WebCam: HD WebCam: Applying InputClass "evdev keyboard catchall"
[ 15.530] (**) HD WebCam: HD WebCam: Applying InputClass "libinput keyboard catchall"
[ 15.530] (II) Using input driver 'libinput' for 'HD WebCam: HD WebCam'
[ 15.530] (**) HD WebCam: HD WebCam: always reports core events
[ 15.530] (**) Option "Device" "/dev/input/event6"
[ 15.530] (**) Option "_source" "server/udev"
[ 15.534] (II) event6 - HD WebCam: HD WebCam: is tagged by udev as: Keyboard
[ 15.534] (II) event6 - HD WebCam: HD WebCam: device is a keyboard
[ 15.534] (II) event6 - HD WebCam: HD WebCam: device removed
[ 15.700] (**) Option "config_info" "udev:/sys/devices/soc0/70090000.usb/usb1/1-2/1-2:1.0/input/input6/event6"
[ 15.700] (II) XINPUT: Adding extended input device "HD WebCam: HD WebCam" (type: KEYBOARD, id 8)
[ 15.722] (II) event6 - HD WebCam: HD WebCam: is tagged by udev as: Keyboard
[ 15.722] (II) event6 - HD WebCam: HD WebCam: device is a keyboard
[ 15.724] (II) config/udev: Adding input device gpio-keys (/dev/input/event3)
[ 15.724] (**) gpio-keys: Applying InputClass "evdev keyboard catchall"
[ 15.724] (**) gpio-keys: Applying InputClass "libinput keyboard catchall"
[ 15.724] (II) Using input driver 'libinput' for 'gpio-keys'
[ 15.724] (**) gpio-keys: always reports core events
[ 15.724] (**) Option "Device" "/dev/input/event3"
[ 15.724] (**) Option "_source" "server/udev"
[ 15.726] (II) event3 - gpio-keys: is tagged by udev as: Keyboard Switch
[ 15.726] (II) event3 - gpio-keys: device is a keyboard
[ 15.726] (II) event3 - gpio-keys: device is a switch device
[ 15.727] (II) event3 - gpio-keys: device removed
[ 15.800] (**) Option "config_info" "udev:/sys/devices/soc0/gpio-keys/input/input3/event3"
[ 15.800] (II) XINPUT: Adding extended input device "gpio-keys" (type: KEYBOARD, id 9)
[ 15.803] (II) event3 - gpio-keys: is tagged by udev as: Keyboard Switch
[ 15.803] (II) event3 - gpio-keys: device is a keyboard
[ 15.803] (II) event3 - gpio-keys: device is a switch device
[ 15.805] (II) config/udev: Adding input device GoogleNyanBig Headphones (/dev/input/event1)
[ 15.805] (II) No input driver specified, ignoring this device.
[ 15.805] (II) This device may have been added with another device file.
[ 15.806] (II) config/udev: Adding input device GoogleNyanBig Mic Jack (/dev/input/event2)
[ 15.806] (II) No input driver specified, ignoring this device.
[ 15.806] (II) This device may have been added with another device file.
[ 15.942] (EE) Failed to open authorization file "/var/run/sddm/{92761cd1-59cf-401a-b9cd-762fc6e98a91}": No such file or directory
[ 15.958] (II) modeset(0): Disabling kernel dirty updates, not required.
[ 128.509] (II) modeset(0): EDID vendor "AUO", prod id 4397
[ 128.509] (II) modeset(0): Printing DDC gathered Modelines:
[ 128.509] (II) modeset(0): Modeline "1920x1080"x0.0 142.00 1920 2028 2076 2100 1080 1090 1100 1126 -hsync -vsync (67.6 kHz eP)
')

Initially I did not even have extra/xf86-video-nouveau, but that is fixed now. I also uninstalled extra/xf86-video-fbdev, which lead to different log messages, but still no nouveau driver being loaded. I even tried to make my system load nouveau manually, but that did not work either:
$this->bbcode_second_pass_code('', '
Section "Device"
Identifier "NvidiaGraphics"
Driver "Nouveau"
EndSection
')

This make nouveau load, but it quits immediately with some not very helpful error message in the log file.

I'm afraid I might have to install a fresh system? But I don't know how to best do that now, I don't have the time, and that's not the Linux way...
vman
 
Posts: 63
Joined: Sat Oct 15, 2016 6:00 pm

Re: Acer Chromebook CB5-311 mainline

Postby haagch » Tue Jul 02, 2019 1:16 am

Hi all, finally updated arch again.

@reey thanks for the kernel builds on your github releases, very helpful.

Observations:

systemctl suspend still freezes the system before it can suspend, so one of the most important functions of an ultra mobile laptop still doesn't work...

Xorg has super high CPU usage when doing anything but idle - dragging windows, doing anything in firefox.... desktop compositing still has to be used to make dragging windows in xorg not super slow.

Still no dynamic reclocking, still the lowest clock as default. Use something like pstate 6 for a sligthly less crappy experience:
sudo bash -c "echo 06 > /sys/kernel/debug/dri/128/pstate"
sudo bash -c "echo 06 > /sys/kernel/debug/dri/129/pstate"
128 or 129 depends on which gpu chip gets initialized first.

gnome-session --session gnome-wayland crashes immediately, weston freezes very shortly after launch. Seems we are stuck with Xorg?

Even in an empty Xorg session, kwin crashes very easily in libdrm nouveau when dragging a single xterm window around. Sad to see that nouveau is still so unstable. I'm using XFCE for now...

The glxgears window is empty, but other OpenGL stuff seems to work.

@vman
xf86-video-nouveau can not be used because the nvidia GPU is not actually connected to the display output. There is a "dumb GPU" connected to the display that can not really do acceleration, and all rendering has to be offloaded to the nvidia GPU in the background. The mesa "tegra" driver does offloading to the mesa nouveau driver fully automatically, if you see something like OpenGL renderer string: tegra in the output of glxinfo | grep OpenGL, because the "tegra" mesa driver is just a fake driver that unifies the dumb display chip and the nvidia GPU and pretends to be a single GPU.

fbdev from xf86-video-fbdev and the X server's inbuilt modesetting ddx which is used when uninstalling fbdev seem to run equally crappy on the tegra display chip. I don't know if there is a way to get 2D a little bit faster and to have it use less CPU, but it would *really* help.
haagch
 
Posts: 60
Joined: Thu Apr 02, 2015 5:36 pm

Re: Acer Chromebook CB5-311 mainline

Postby vman » Thu Aug 01, 2019 7:31 pm

Hi everyone,

with the end of official support for our device I thought it would be the right moment to post a _simple_ and up-to-date way of installing proper Linux on it... and I'm really somewhat annoyed by the bad performance I'm getting out of it right now. I even started looking at the new PineBookPro... but although that's never it might even be inferior in some aspects (3D graphics, sound?).

My last posting was reflecting my frustration, especially with not being able to take as much time as I apparently need to figure out a working solution. Maybe I made a little progress, though, and one of you guys can help me getting this "GLAMOR Textured Video" setup running, so I can see for myself if it is good enough for my purposes?

I compiled U-Boot from reey's Arch package, and dd copied it to the first partition of a GPT partitioned SD card, pretty much as described in the NetBSD tutorial I mentioned before. Then I created a second partition with cfdisk, formatting it with ext4. I tried installing three different distributions on it, with varying, limited success:

  • Debian 10 only gave me the familiar blank screen when trying to boot. I may have made a mistake when copying the kernel and dtbs, because then I was still using a separate /boot partition. I'm tempted to just try this again. The blank screen seems to be the consequence of not finding all required files on the partition indicated in the "root=" kernel parameter. I tried a 5.0 kernel with LPAE.
  • Arch would boot ok, but I did not get a graphical setup configured. sddm never started. A direct call of weston-launch is showing a nice looking desktop, but input freezes after no more than a second.
  • Ubuntu 19.04 (with a 5.0 kernel) only shows bad screen corruption when loading the Kernel from U-Boot.

So I'm wondering, if you have "something" in xvinfo: which distribution did you install? Which kernel? How do you launch your graphical environment? Do you have any magic in your extlinux.conf?
vman
 
Posts: 63
Joined: Sat Oct 15, 2016 6:00 pm

Re: Acer Chromebook CB5-311 mainline

Postby PopS » Sat Aug 31, 2019 10:10 pm

Hi everyone,
I don't know if this topic is the right one for my question but I've searched for long time and I don't know how to fix my black/blank screen issue. I have new installation of Arch and when I log in for the first time everything is fine, bu when I reboot/log off/turn off from Arch and try again to log in I see only black screen. I've tried to install Arch again but there is the same thing. Do you have any ideas how to fix or check this issue? Of course I have CB5-311 and Arch ARM ver.
PopS
 
Posts: 2
Joined: Sat Aug 31, 2019 9:55 pm

Re: Acer Chromebook CB5-311 mainline

Postby vman » Sun Sep 01, 2019 10:00 am

Hi @PopS,

to be able to help you I think I need a little more detail. Most importantly: how much do you see after you turn on the device? The initial white "debug" screen appears, I assume? Then you're trying to boot from the internal mmcblk0 (ctrl+d), or from an sd card (ctrl+u)? Did this work once at all (immediately after the installation)? Is the screen going blank there, or do you see kernel messages, and even get a login screen?
If you think your system might be booting, you could try to attach a usb-ethernet adapter, and log in with ssh, from a different machine, to better be able to investigate what's going wrong.
Today I actually had one instance of my cb5-311 not booting up properly, and just showing a blank screen. Resetting it by pushing a twisted paper-clip into the little hole a the bottom, I could boot properly on the second attempt. I'm still booting Arch with the Kernel being written to a "Chrome OS kernel" partition on an SD card (/dev/mmcblk2). My attempts with U-Boot where not that successful, as described in my last post, just before yours.
vman
 
Posts: 63
Joined: Sat Oct 15, 2016 6:00 pm

Re: Acer Chromebook CB5-311 mainline

Postby PopS » Sun Sep 01, 2019 8:08 pm

Hi @vman
to be more specific: After fresh install of Arch I am able to boot properly - I see login menu, I can log in, install apps and the all the stuff. The problem starts when I log off or restart device - I'm not able to log in on the same account but I can log in to "fresh" (not used even once) account if I have made new accounts on the first time being logged in. I've made investigation for this and it's problem with graphic drivers - I have removed them from Arch and now I'm able to log in multiple times but the sys behaviour is really bad (much laggy) - so I'm trying to figure out which option is better to deal with.

The idea with SSH is really good I will try it in next few days and we will see if I'm able to fix this issues.

I'm working with SD card version too and basically I don't have problem with getting into log in screen in Arch (the problem is later as I mentioned above).
PopS
 
Posts: 2
Joined: Sat Aug 31, 2019 9:55 pm

Re: Acer Chromebook CB5-311 mainline

Postby vman » Mon Sep 02, 2019 5:35 pm

Hi PopS,

it's a good thing your system is booting properly at least. I lost count of how many times I sat there just staring at a blank screen (before the login screen would come up). If you get to the login screen all right you have another option, easier than ssh: just try ctrl+alt+F1 to change to a different terminal, and try to login there, completely without a desktop environment. You could also try a different desktop environment. I'm mostly using KDE, which is quite laggy with my graphics setup, but in the past I had a better experience with XFCE.

You can also try switching login managers. I'm on sddm now, but e.g. lightdm should also work.

So when you have a graphical login, what's the output of xvinfo? If it is "GLAMOR Textured Video" instead of "no adaptors present" I'd be very interested in how you got there!

Edit: And you can increase you video chip clock for a better desktop experience. See this post:
viewtopic.php?f=49&t=12185&start=180#p61446
vman
 
Posts: 63
Joined: Sat Oct 15, 2016 6:00 pm

PreviousNext

Return to nVidia

Who is online

Users browsing this forum: No registered users and 6 guests