Acer Chromebook CB5-311 mainline

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

Re: Acer Chromebook CB5-311 mainline

Postby haagch » Sun Mar 11, 2018 1:33 pm

If you check with glxinfo | grep OpenGL it should say OpenGL core profile version string: 4.3 etc. No software driver in mesa provides that version so I think it works. (I believe it actually supports 4.5 but Khronos doesn't want drivers to advertise > 4.3 unless the driver has been officially conformance tested).

And to mention it again in this thread, there's no automatic reclocking yet, the GPU will run on the lowest power level by default. You can set it manually as root with "echo 0f > /sys/kernel/debug/dri/129/pstate" (and cat /sys/kernel/debug/dri/129/pstate to see available power states).
haagch
 
Posts: 60
Joined: Thu Apr 02, 2015 5:36 pm

Re: Acer Chromebook CB5-311 mainline

Postby reey » Sun Mar 11, 2018 1:48 pm

Thanks for the hint with the powerlevels.. But changing those does not effect the results of glxgears for me..
72MHz do the same 60 FPS as 852MHz do..
reey
 
Posts: 75
Joined: Mon Oct 23, 2017 4:01 pm

Re: Acer Chromebook CB5-311 mainline

Postby haagch » Sun Mar 11, 2018 1:51 pm

60 fps is because by default it syncs to the display refresh rate. vblank_mode=0 glxgears will let it run as fast as the GPU renders. Though it's not a real benchmark for the GPU, it mostly measures how fast it can push pixels out and I imagine that getting the frames from the GPU to the display device is having some impact with very high frame rates.
haagch
 
Posts: 60
Joined: Thu Apr 02, 2015 5:36 pm

Re: Acer Chromebook CB5-311 mainline

Postby reey » Sun Mar 11, 2018 2:04 pm

Ok, great, I was getting about a 400 FPS peak.
But after a short time it seems to thermal throttle
reey
 
Posts: 75
Joined: Mon Oct 23, 2017 4:01 pm

Re: Acer Chromebook CB5-311 mainline

Postby vman » Sun Mar 11, 2018 8:55 pm

@reey: I now got your linux-armv7-chromebook working, with 4 GByte of RAM supported! :-)

@haagch: I also installed your mesa-full-tegra, and I see DRI supported! :-)

@reey: so what can you do with it?

  • Desktop effects e.g. in KDE plasma.
  • Slideshows with OpenGL transitions in Digikam.
  • Google Maps with 3D models of buildings in WebGL in Firefox (performance might be better than in Chrome OS!).
  • Video Playback with VLC or MPlayer, very smooth with mpeg4 material (not so good with mpeg2).
  • ...probably a lot more.

Still not working: the battery indicator.
vman
 
Posts: 63
Joined: Sat Oct 15, 2016 6:00 pm

Re: Acer Chromebook CB5-311 mainline

Postby reey » Sun Mar 11, 2018 9:42 pm

@vman
so if you go to settings -> power manager -> devices tab
do you see the battery? If you are just missing the indicator in the upper right corner, you can activate it in the general tab.
reey
 
Posts: 75
Joined: Mon Oct 23, 2017 4:01 pm

Re: Acer Chromebook CB5-311 mainline

Postby vman » Mon Mar 12, 2018 7:48 pm

@reey Thanks for trying to help me with my battery indicator issue! I see an empty battery icon in KDE's "Battery and Brightnes" widget, and a constant 50% in the XFCE widget. I can't follow the settings path you're describing. Which desktop environment does that apply to. The tooltip when I hover over the KDE widget is "No Batteries Available". A module sbs_battery is loaded though, and I see some "files" in /sys/module/sbs_battery/:
$this->bbcode_second_pass_code('', '
/sys/module/sbs_battery/notes/.note.gnu.build-id
/sys/module/sbs_battery/taint
/sys/module/sbs_battery/initsize
/sys/module/sbs_battery/initstate
/sys/module/sbs_battery/coresize
/sys/module/sbs_battery/refcnt
/sys/module/sbs_battery/sections/.note.gnu.build-id
/sys/module/sbs_battery/sections/.exit.text
/sys/module/sbs_battery/sections/.init.text
/sys/module/sbs_battery/sections/.gnu.linkonce.this_module
/sys/module/sbs_battery/sections/.ARM.exidx
/sys/module/sbs_battery/sections/.strtab
/sys/module/sbs_battery/sections/.bss
/sys/module/sbs_battery/sections/.text
/sys/module/sbs_battery/sections/.ARM.exidx.exit.text
/sys/module/sbs_battery/sections/__param
/sys/module/sbs_battery/sections/.data
/sys/module/sbs_battery/sections/.symtab
/sys/module/sbs_battery/sections/.rodata
/sys/module/sbs_battery/sections/.rodata.str1.4
/sys/module/sbs_battery/sections/.ARM.exidx.init.text
/sys/module/sbs_battery/parameters/force_load
/sys/module/sbs_battery/uevent
')

Video playback, by the way, is not that stable right now... I crashed my X a few times today experimenting with VLC and MPlayer, and different video files. But I'm happy to see there is some very recent development in that area:
https://github.com/digetx/libvdpau-tegra

Reey, did you get your WiFi issue solved? I just noticed again I have a /etc/modprobe.d/mwifiex.conf:
$this->bbcode_second_pass_code('', '
install mwifiex_sdio /sbin/modprobe --ignore-install mwifiex_sdio && sleep 1 && iw dev uap0 del
')

And I had the impression 5 GHz WiFi might work better than the "traditional" frequency.
vman
 
Posts: 63
Joined: Sat Oct 15, 2016 6:00 pm

Re: Acer Chromebook CB5-311 mainline

Postby reey » Mon Mar 12, 2018 10:12 pm

I'm using xfce4 at the moment..
Since Kernel 4.15 I'm no longer having issues with my wifi..
Only the first connect via gui fails, I then often use nmtui to create a connection..
I'm not having the file you mentioned.
This file is created if you run the script from @RaumZeit.
In my fork of his script I removed that..

Edit:
you could try to run:
echo bq24735_charger > /etc/modules-load.d/bq2473_charger.conf
maybe you will also need this, in case your touchpad isn't working correctly:
echo elan_i2c > /etc/modules-load.d/elan_touchpad.conf
both commands are part of my script and not included in the one from Raumzeit..

Maybe you should consider a clean install with my script ;)
reey
 
Posts: 75
Joined: Mon Oct 23, 2017 4:01 pm

Re: Acer Chromebook CB5-311 mainline

Postby vman » Tue Mar 13, 2018 7:55 pm

@Reey: Yeah, with modprobe bq24735_charger my battery indicator applett immediately started working... and having added the module name to etc/modules-load.d/bq2473_charger.conf, as you suggested, the indicator is still working after a reboot. :-)

I also removed mwifiex.conf, and WiFi is still working.

But "clean reinstall" - isn't that for Windows users? ;-)
vman
 
Posts: 63
Joined: Sat Oct 15, 2016 6:00 pm

Re: Acer Chromebook CB5-311 mainline

Postby haagch » Tue Mar 13, 2018 8:24 pm

The mwifiex config was probably needed for a much older version of the kernel module. I still have some trouble with it, but rmmod mwifiex and mwifiex_sdio and modprobe mwifiex actually worked for me today, so I guess the module is getting a little bit better.

Something different: Can anyone suspend successfully?
haagch
 
Posts: 60
Joined: Thu Apr 02, 2015 5:36 pm

PreviousNext

Return to nVidia

Who is online

Users browsing this forum: No registered users and 15 guests