You are not logged in.

#401 2014-07-17 11:26:32

Charlular
Member
Registered: 2014-07-10
Posts: 9

Re: Acer C720/C720P Chromebook

[removed]

Last edited by Charlular (2023-10-24 13:51:36)

Offline

#402 2014-07-17 11:48:01

scot14
Member
Registered: 2014-06-02
Posts: 123

Re: Acer C720/C720P Chromebook

Stephen304 wrote:

Now I see the XF86 Back/Forward/Reload, but I never set these and Idk how to unset them. Also, it doesn't seem like just an X problem, because if I switch tty where X isn't running, F1-F3 still doesn't work, but since there's no X I can't use xev. (This used to trap me into tty 4, then I found chvt)

Edit: I found xmodmap, which lets me set the keys to F1-F3, but xmodmap shows the real F1-F3 keycodes having XF86Switch_VT_1, which it won't let me set on my keycodes for some reason, and I still can't use them to switch vts yet.

When I run showkey at the console and press "back button" all the way across to "increase volume", the codes are 59, 60, 61, 62, 63, 64, 65, 66, 67, 68. Also, loadkeys can be used to set them at the console.

When you first boot into X, and run xmodmap, what is the output?

Offline

#403 2014-07-17 12:14:13

Stephen304
Member
Registered: 2014-07-04
Posts: 30

Re: Acer C720/C720P Chromebook

scot14 wrote:

When I run showkey at the console and press "back button" all the way across to "increase volume", the codes are 59, 60, 61, 62, 63, 64, 65, 66, 67, 68. Also, loadkeys can be used to set them at the console.

When you first boot into X, and run xmodmap, what is the output?

Running xmodmap -pke outputs

keycode   8 =
keycode   9 = Escape NoSymbol Escape
keycode  10 = 1 exclam 1 exclam
keycode  11 = 2 at 2 at
keycode  12 = 3 numbersign 3 numbersign
keycode  13 = 4 dollar 4 dollar
keycode  14 = 5 percent 5 percent
keycode  15 = 6 asciicircum 6 asciicircum
keycode  16 = 7 ampersand 7 ampersand
keycode  17 = 8 asterisk 8 asterisk
keycode  18 = 9 parenleft 9 parenleft
keycode  19 = 0 parenright 0 parenright
keycode  20 = minus underscore minus underscore
keycode  21 = equal plus equal plus
keycode  22 = BackSpace BackSpace BackSpace BackSpace
keycode  23 = Tab ISO_Left_Tab Tab ISO_Left_Tab
keycode  24 = q Q q Q
keycode  25 = w W w W
keycode  26 = e E e E
keycode  27 = r R r R
keycode  28 = t T t T
keycode  29 = y Y y Y
keycode  30 = u U u U
keycode  31 = i I i I
keycode  32 = o O o O
keycode  33 = p P p P
keycode  34 = bracketleft braceleft bracketleft braceleft
keycode  35 = bracketright braceright bracketright braceright
keycode  36 = Return NoSymbol Return
keycode  37 = Control_L NoSymbol Control_L
keycode  38 = a A a A
keycode  39 = s S s S
keycode  40 = d D d D
keycode  41 = f F f F
keycode  42 = g G g G
keycode  43 = h H h H
keycode  44 = j J j J
keycode  45 = k K k K
keycode  46 = l L l L
keycode  47 = semicolon colon semicolon colon
keycode  48 = apostrophe quotedbl apostrophe quotedbl
keycode  49 = grave asciitilde grave asciitilde
keycode  50 = Shift_L NoSymbol Shift_L
keycode  51 = backslash bar backslash bar
keycode  52 = z Z z Z
keycode  53 = x X x X
keycode  54 = c C c C
keycode  55 = v V v V
keycode  56 = b B b B
keycode  57 = n N n N
keycode  58 = m M m M
keycode  59 = comma less comma less
keycode  60 = period greater period greater
keycode  61 = slash question slash question
keycode  62 = Shift_R NoSymbol Shift_R
keycode  63 = KP_Multiply KP_Multiply KP_Multiply KP_Multiply KP_Multiply KP_Multiply XF86ClearGrab
keycode  64 = Alt_L Meta_L Alt_L Meta_L
keycode  65 = space NoSymbol space
keycode  66 = Caps_Lock NoSymbol Caps_Lock
keycode  67 = F1 F1 F1 F1 F1 F1 XF86Switch_VT_1
keycode  68 = F2 F2 F2 F2 F2 F2 XF86Switch_VT_2
keycode  69 = F3 F3 F3 F3 F3 F3 XF86Switch_VT_3
keycode  70 = F4 F4 F4 F4 F4 F4 XF86Switch_VT_4
keycode  71 = F5 F5 F5 F5 F5 F5 XF86Switch_VT_5
keycode  72 = F6 F6 F6 F6 F6 F6 XF86Switch_VT_6
keycode  73 = F7 F7 F7 F7 F7 F7 XF86Switch_VT_7
keycode  74 = F8 F8 F8 F8 F8 F8 XF86Switch_VT_8
keycode  75 = F9 F9 F9 F9 F9 F9 XF86Switch_VT_9
keycode  76 = F10 F10 F10 F10 F10 F10 XF86Switch_VT_10
keycode  77 = Num_Lock NoSymbol Num_Lock
keycode  78 = Scroll_Lock NoSymbol Scroll_Lock
keycode  79 = KP_Home KP_7 KP_Home KP_7
keycode  80 = KP_Up KP_8 KP_Up KP_8
keycode  81 = KP_Prior KP_9 KP_Prior KP_9
keycode  82 = KP_Subtract KP_Subtract KP_Subtract KP_Subtract KP_Subtract KP_Subtract XF86Prev_VMode
keycode  83 = KP_Left KP_4 KP_Left KP_4
keycode  84 = KP_Begin KP_5 KP_Begin KP_5
keycode  85 = KP_Right KP_6 KP_Right KP_6
keycode  86 = KP_Add KP_Add KP_Add KP_Add KP_Add KP_Add XF86Next_VMode
keycode  87 = KP_End KP_1 KP_End KP_1
keycode  88 = KP_Down KP_2 KP_Down KP_2
keycode  89 = KP_Next KP_3 KP_Next KP_3
keycode  90 = KP_Insert KP_0 KP_Insert KP_0
keycode  91 = KP_Delete KP_Decimal KP_Delete KP_Decimal
keycode  92 = ISO_Level3_Shift NoSymbol ISO_Level3_Shift
keycode  93 =
keycode  94 = less greater less greater bar brokenbar bar
keycode  95 = F11 F11 F11 F11 F11 F11 XF86Switch_VT_11
keycode  96 = F12 F12 F12 F12 F12 F12 XF86Switch_VT_12
keycode  97 =
keycode  98 = Katakana NoSymbol Katakana
keycode  99 = Hiragana NoSymbol Hiragana
keycode 100 = Henkan_Mode NoSymbol Henkan_Mode
keycode 101 = Hiragana_Katakana NoSymbol Hiragana_Katakana
keycode 102 = Muhenkan NoSymbol Muhenkan
keycode 103 =
keycode 104 = KP_Enter NoSymbol KP_Enter
keycode 105 = Control_R NoSymbol Control_R
keycode 106 = KP_Divide KP_Divide KP_Divide KP_Divide KP_Divide KP_Divide XF86Ungrab
keycode 107 = Print Sys_Req Print Sys_Req
keycode 108 = Alt_R Meta_R Alt_R Meta_R
keycode 109 = Linefeed NoSymbol Linefeed
keycode 110 = Home NoSymbol Home
keycode 111 = Up NoSymbol Up
keycode 112 = Prior NoSymbol Prior
keycode 113 = Left NoSymbol Left
keycode 114 = Right NoSymbol Right
keycode 115 = End NoSymbol End
keycode 116 = Down NoSymbol Down
keycode 117 = Next NoSymbol Next
keycode 118 = Insert NoSymbol Insert
keycode 119 = Delete NoSymbol Delete
keycode 120 =
keycode 121 = XF86AudioMute NoSymbol XF86AudioMute
keycode 122 = XF86AudioLowerVolume NoSymbol XF86AudioLowerVolume
keycode 123 = XF86AudioRaiseVolume NoSymbol XF86AudioRaiseVolume
keycode 124 = XF86PowerOff NoSymbol XF86PowerOff
keycode 125 = KP_Equal NoSymbol KP_Equal
keycode 126 = plusminus NoSymbol plusminus
keycode 127 = Pause Break Pause Break
keycode 128 = XF86LaunchA NoSymbol XF86LaunchA
keycode 129 = KP_Decimal KP_Decimal KP_Decimal KP_Decimal
keycode 130 = Hangul NoSymbol Hangul
keycode 131 = Hangul_Hanja NoSymbol Hangul_Hanja
keycode 132 =
keycode 133 = Super_L NoSymbol Super_L
keycode 134 = Super_R NoSymbol Super_R
keycode 135 = Menu NoSymbol Menu
keycode 136 = Cancel NoSymbol Cancel
keycode 137 = Redo NoSymbol Redo
keycode 138 = SunProps NoSymbol SunProps
keycode 139 = Undo NoSymbol Undo
keycode 140 = SunFront NoSymbol SunFront
keycode 141 = XF86Copy NoSymbol XF86Copy
keycode 142 = XF86Open NoSymbol XF86Open
keycode 143 = XF86Paste NoSymbol XF86Paste
keycode 144 = Find NoSymbol Find
keycode 145 = XF86Cut NoSymbol XF86Cut
keycode 146 = Help NoSymbol Help
keycode 147 = XF86MenuKB NoSymbol XF86MenuKB
keycode 148 = XF86Calculator NoSymbol XF86Calculator
keycode 149 =
keycode 150 = XF86Sleep NoSymbol XF86Sleep
keycode 151 = XF86WakeUp NoSymbol XF86WakeUp
keycode 152 = XF86Explorer NoSymbol XF86Explorer
keycode 153 = XF86Send NoSymbol XF86Send
keycode 154 =
keycode 155 = XF86Xfer NoSymbol XF86Xfer
keycode 156 = XF86Launch1 NoSymbol XF86Launch1
keycode 157 = XF86Launch2 NoSymbol XF86Launch2
keycode 158 = XF86WWW NoSymbol XF86WWW
keycode 159 = XF86DOS NoSymbol XF86DOS
keycode 160 = XF86ScreenSaver NoSymbol XF86ScreenSaver
keycode 161 = XF86RotateWindows NoSymbol XF86RotateWindows
keycode 162 = XF86TaskPane NoSymbol XF86TaskPane
keycode 163 = XF86Mail NoSymbol XF86Mail
keycode 164 = XF86Favorites NoSymbol XF86Favorites
keycode 165 = XF86MyComputer NoSymbol XF86MyComputer
keycode 166 = XF86Back NoSymbol XF86Back
keycode 167 = XF86Forward NoSymbol XF86Forward
keycode 168 =
keycode 169 = XF86Eject NoSymbol XF86Eject
keycode 170 = XF86Eject XF86Eject XF86Eject XF86Eject
keycode 171 = XF86AudioNext NoSymbol XF86AudioNext
keycode 172 = XF86AudioPlay XF86AudioPause XF86AudioPlay XF86AudioPause
keycode 173 = XF86AudioPrev NoSymbol XF86AudioPrev
keycode 174 = XF86AudioStop XF86Eject XF86AudioStop XF86Eject
keycode 175 = XF86AudioRecord NoSymbol XF86AudioRecord
keycode 176 = XF86AudioRewind NoSymbol XF86AudioRewind
keycode 177 = XF86Phone NoSymbol XF86Phone
keycode 178 =
keycode 179 = XF86Tools NoSymbol XF86Tools
keycode 180 = XF86HomePage NoSymbol XF86HomePage
keycode 181 = XF86Reload NoSymbol XF86Reload
keycode 182 = XF86Close NoSymbol XF86Close
keycode 183 =
keycode 184 =
keycode 185 = XF86ScrollUp NoSymbol XF86ScrollUp
keycode 186 = XF86ScrollDown NoSymbol XF86ScrollDown
keycode 187 = parenleft NoSymbol parenleft
keycode 188 = parenright NoSymbol parenright
keycode 189 = XF86New NoSymbol XF86New
keycode 190 = Redo NoSymbol Redo
keycode 191 = XF86Tools NoSymbol XF86Tools
keycode 192 = XF86Launch5 NoSymbol XF86Launch5
keycode 193 = XF86Launch6 NoSymbol XF86Launch6
keycode 194 = XF86Launch7 NoSymbol XF86Launch7
keycode 195 = XF86Launch8 NoSymbol XF86Launch8
keycode 196 = XF86Launch9 NoSymbol XF86Launch9
keycode 197 =
keycode 198 = XF86AudioMicMute NoSymbol XF86AudioMicMute
keycode 199 = XF86TouchpadToggle NoSymbol XF86TouchpadToggle
keycode 200 = XF86TouchpadOn NoSymbol XF86TouchpadOn
keycode 201 = XF86TouchpadOff NoSymbol XF86TouchpadOff
keycode 202 =
keycode 203 = Mode_switch NoSymbol Mode_switch
keycode 204 = NoSymbol Alt_L NoSymbol Alt_L
keycode 205 = NoSymbol Meta_L NoSymbol Meta_L
keycode 206 = NoSymbol Super_L NoSymbol Super_L
keycode 207 = NoSymbol Hyper_L NoSymbol Hyper_L
keycode 208 = XF86AudioPlay NoSymbol XF86AudioPlay
keycode 209 = XF86AudioPause NoSymbol XF86AudioPause
keycode 210 = XF86Launch3 NoSymbol XF86Launch3
keycode 211 = XF86Launch4 NoSymbol XF86Launch4
keycode 212 = XF86LaunchB NoSymbol XF86LaunchB
keycode 213 = XF86Suspend NoSymbol XF86Suspend
keycode 214 = XF86Close NoSymbol XF86Close
keycode 215 = XF86AudioPlay NoSymbol XF86AudioPlay
keycode 216 = XF86AudioForward NoSymbol XF86AudioForward
keycode 217 =
keycode 218 = Print NoSymbol Print
keycode 219 =
keycode 220 = XF86WebCam NoSymbol XF86WebCam
keycode 221 =
keycode 222 =
keycode 223 = XF86Mail NoSymbol XF86Mail
keycode 224 = XF86Messenger NoSymbol XF86Messenger
keycode 225 = XF86Search NoSymbol XF86Search
keycode 226 = XF86Go NoSymbol XF86Go
keycode 227 = XF86Finance NoSymbol XF86Finance
keycode 228 = XF86Game NoSymbol XF86Game
keycode 229 = XF86Shop NoSymbol XF86Shop
keycode 230 =
keycode 231 = Cancel NoSymbol Cancel
keycode 232 = XF86MonBrightnessDown NoSymbol XF86MonBrightnessDown
keycode 233 = XF86MonBrightnessUp NoSymbol XF86MonBrightnessUp
keycode 234 = XF86AudioMedia NoSymbol XF86AudioMedia
keycode 235 = XF86Display NoSymbol XF86Display
keycode 236 = XF86KbdLightOnOff NoSymbol XF86KbdLightOnOff
keycode 237 = XF86KbdBrightnessDown NoSymbol XF86KbdBrightnessDown
keycode 238 = XF86KbdBrightnessUp NoSymbol XF86KbdBrightnessUp
keycode 239 = XF86Send NoSymbol XF86Send
keycode 240 = XF86Reply NoSymbol XF86Reply
keycode 241 = XF86MailForward NoSymbol XF86MailForward
keycode 242 = XF86Save NoSymbol XF86Save
keycode 243 = XF86Documents NoSymbol XF86Documents
keycode 244 = XF86Battery NoSymbol XF86Battery
keycode 245 = XF86Bluetooth NoSymbol XF86Bluetooth
keycode 246 = XF86WLAN NoSymbol XF86WLAN
keycode 247 =
keycode 248 =
keycode 249 =
keycode 250 =
keycode 251 =
keycode 252 =
keycode 253 =
keycode 254 =
keycode 255 =

I also tried using loadkeys with: (those are my F1, 2, and 3 keycodes)

keycode 166 = F1
keycode 167 = F2
keycode 181 = F3

But that made no difference in both terminal or in X.

Edit: I just tried using xmodmap, but when I specify the same 7 keysysms as the real F1 keycode, it chops off any after 4. I can get it to 6 but any more and I end up with the first 4.

stephen@Jupiter ~ % sudo xmodmap -e "keycode 167 = F2 F2 F2 F2 F2 XF86Switch_VT_2"
stephen@Jupiter ~ % xmodmap -pke | grep 167                                       
keycode 167 = F2 F2 F2 F2 F2 XF86Switch_VT_2

#Okay up to 6 but it still doesn't let me change vts with ctrl + alt + F2

stephen@Jupiter ~ % sudo xmodmap -e "keycode 167 = F2 F2 F2 F2 F2 F2 XF86Switch_VT_2"
stephen@Jupiter ~ % xmodmap -pke | grep 167                                          
keycode 167 = F2 F2 F2 F2

Also, my F4 seems perfectly fine, giving keycode 70 which is mapped to F4 and xf86 change vt 4 4

KeyPress event, serial 37, synthetic NO, window 0x3000001,
    root 0x9b, subw 0x0, time 1710279, (-472,156), root:(122,470),
    state 0x0, keycode 70 (keysym 0xffc1, F4), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 37, synthetic NO, window 0x3000001,
    root 0x9b, subw 0x0, time 1710396, (-472,156), root:(122,470),
    state 0x0, keycode 70 (keysym 0xffc1, F4), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

Edit: Now this is really odd... On "real" F keycodes, it lets me set a 7th keysysm. And when I remove XF86Switch_VT_4 from F4, it no longer switches VT with Ctrl + Alt + F4, so despite what some people are saying that nothing impliments after 6, it actually does make a difference. I just need to figure out how to set the 7th keysysm on my F1-F3.

Last edited by Stephen304 (2014-07-17 12:54:03)

Offline

#404 2014-07-17 12:57:36

scot14
Member
Registered: 2014-06-02
Posts: 123

Re: Acer C720/C720P Chromebook

Stephen304 wrote:
keycode  67 = F1 F1 F1 F1 F1 F1 XF86Switch_VT_1
keycode  68 = F2 F2 F2 F2 F2 F2 XF86Switch_VT_2
keycode  69 = F3 F3 F3 F3 F3 F3 XF86Switch_VT_3
keycode  70 = F4 F4 F4 F4 F4 F4 XF86Switch_VT_4
keycode  71 = F5 F5 F5 F5 F5 F5 XF86Switch_VT_5
keycode  72 = F6 F6 F6 F6 F6 F6 XF86Switch_VT_6
keycode  73 = F7 F7 F7 F7 F7 F7 XF86Switch_VT_7
keycode  74 = F8 F8 F8 F8 F8 F8 XF86Switch_VT_8
keycode  75 = F9 F9 F9 F9 F9 F9 XF86Switch_VT_9
keycode  76 = F10 F10 F10 F10 F10 F10 XF86Switch_VT_10

I have the same xmodmap output for the function keys.

If you switch to VT4 and run showkeys, what is the output for keys F1-F4? Also, if you boot into single-user mode and run showkey, is the output the same?

Offline

#405 2014-07-17 13:11:54

Stephen304
Member
Registered: 2014-07-04
Posts: 30

Re: Acer C720/C720P Chromebook

scot14 wrote:

I have the same xmodmap output for the function keys.

If you switch to VT4 and run showkeys, what is the output for keys F1-F4? Also, if you boot into single-user mode and run showkey, is the output the same?

I got:

F1 Dn: 0xe0 0x6a / keycode 158
F1 Up: 0xe0 0xea / keycode 158

F2 Dn: 0xe0 0x69 / keycode 159
F2 Up: 0xe0 0xe9 / keycode 159
 
F3 Dn: 0xe0 0x67 / keycode 173
F3 Up: 0xe0 0xe7 / keycode 173

F4 Dn: 0x3e / keycode 62
F4 Up: 0xbe / keycode 62

Does this help narrow down what's causing this?

Last edited by Stephen304 (2014-07-17 13:16:36)

Offline

#406 2014-07-17 14:38:44

scot14
Member
Registered: 2014-06-02
Posts: 123

Re: Acer C720/C720P Chromebook

I started a new thread at https://bbs.archlinux.org/viewtopic.php?id=184402

Edit: The solution is now at https://wiki.archlinux.org/index.php/HP … ction_Keys

Last edited by scot14 (2014-07-18 20:17:46)

Offline

#407 2014-07-17 16:03:32

Stephen304
Member
Registered: 2014-07-04
Posts: 30

Re: Acer C720/C720P Chromebook

Ah thanks!

Offline

#408 2014-07-18 11:31:13

dhead
Member
Registered: 2012-09-26
Posts: 190

Re: Acer C720/C720P Chromebook

Does palm detection works for you ?

I've tried even setting very low values for PalmMinWidth, PalmMinZ with synclient and it doesn't seem to work.

"PalmMinWidth" "integer"
          Minimum finger width at which touch is considered a palm.
          Property: "Synaptics Palm Dimensions"

"PalmMinZ" "integer"
          Minimum  finger  pressure  at  which touch is considered a palm.
          Property: "Synaptics Palm Dimensions"

Offline

#409 2014-07-18 15:44:56

dhead
Member
Registered: 2012-09-26
Posts: 190

Re: Acer C720/C720P Chromebook

With regards to my previous remark about VA-API it looks like I was wrong and the freeze in video playback is not C720 specific.

See
http://forum.xbmc.org/showthread.php?ti … id=1754568
https://bugs.freedesktop.org/show_bug.cgi?id=78960
https://bugs.freedesktop.org/show_bug.cgi?id=81447

The sample mkv clearly freeze the system when played via VA-API.

Offline

#410 2014-07-18 16:20:01

SolarBoyMatt
Member
Registered: 2012-01-07
Posts: 263

Re: Acer C720/C720P Chromebook

dhead wrote:

Does palm detection works for you ?

I've tried even setting very low values for PalmMinWidth, PalmMinZ with synclient and it doesn't seem to work.

"PalmMinWidth" "integer"
          Minimum finger width at which touch is considered a palm.
          Property: "Synaptics Palm Dimensions"

"PalmMinZ" "integer"
          Minimum  finger  pressure  at  which touch is considered a palm.
          Property: "Synaptics Palm Dimensions"

I also have not been able to get palm detection to work yet... As a stopgap I used the .xinitrc method detailed in the Synaptics Touchpad wiki page, and that at least gives me the desired effect. The wiki page has a link to a patch, and I might give that a try later.

And as a side note, I also haven't gotten horizontal two finger scrolling to work yet either. I tried putting

Option "HorizTwoFingerScroll" "on"

in /etc/X11/xorg.conf.d/50-synaptics.conf and the /etc/X11/xorg.conf.d/50-cros-touchpad.conf file that the C720 wiki page suggested making, but neither seemed to get it working. I haven't tried just enabling it with synclient however to rule out some sort of configuration error, so I will try that when I get home today.

EDIT:

Applied the patch to xf86-input-synaptics and Palm detection seems to be "working". Could anyone else reading this also test it out so see if this workaround is valid?

Last edited by SolarBoyMatt (2014-07-18 22:08:49)

Offline

#411 2014-07-18 18:47:35

nariox
Member
Registered: 2014-03-19
Posts: 128

Re: Acer C720/C720P Chromebook

Charlular wrote:

I'm using Xfce, I just tried using glamor and tearfree (at the same time, I haven't messed with them individually yet) and X11 would crash constantly but with certain actions such as opening the clear history menu in Firefox or opening a terminal.

EDIT: I just tried both individually, it's glamor that's causing the crashes.

I wonder if this will continue to be the case with xorg-server 1.16. It seems like they've improved glamor quite a bit. Might be worth a try once it's out of staging. Meanwhile, seems like UXA might be the way to go.

Offline

#412 2014-07-19 14:54:37

dhead
Member
Registered: 2012-09-26
Posts: 190

Re: Acer C720/C720P Chromebook

@SolarBoyMatt

Thanks, the .xinitrc method for disabling touchpad gives the desire behaviour.

On Gnome the horizontal two finger scrolling works out-of-the-box without any special settings (tested on Chromium & Epiphany)

Last edited by dhead (2014-07-19 14:55:32)

Offline

#413 2014-07-20 06:39:53

Latrina
Member
From: Italy - Mexico
Registered: 2014-07-02
Posts: 44

Re: Acer C720/C720P Chromebook

After some hours of researches I have successfully managed to enable Hardware Acceleration on both Firefox and Chromium reaching approximately 60fps when streaming heavy WebGL contents.

I am going to outline the procedures I have done and I hope this is going to help someone. Btw I assume the following steps should work on pretty much most of the modern Intel and Nvidia GPUs and not just on this Chromebook.


1) Install VDPAU

# pacman -S  libvdpau-va-gl libva-intel-driver

2) Set VDPAU to be used system-wide

# echo 'export VDPAU_DRIVER=va_gl' >> /etc/profile.d/vdpau_vaapi.sh 

3) enable VDPAU to be used from the FlashPlayer plugin

# echo 'EnableLinuxHWVideoDecode=1' >> /etc/adobe/mms.cfg

* Read the Gentoo wiki to learn more about the FLashPlayer plugin configuration options
http://sources.gentoo.org/cgi-bin/viewv … es/mms.cfg

4) Export the environment variable that will enable Hardware Acceleration in Firefox (this should be set in ~/.profile, however for some reason that did not work for me and eventually I decided to set it system-wide which is not that big of a deal)

# echo 'export MOZ_USE_OMTC=1 firefox' >> /etc/environment

5) Lastly you will need to type about:config in Firefox and enable the following preferences:

layers.acceleration.force-enabled
layers.offmainthreadcomposition.enabled

6) Restart Firefox and you should now have full Hardware Acceleration enabled.

* Chromium *

1) Open Chrome and type chrome://flags/

2) Enable "Override software rendering list" and restart Chromium.

Last edited by Latrina (2014-07-20 06:59:51)


Sun Netra T1 DC200  (x6 cluster) OpenBSD 5.4; Sun Ultra 5 OpenBSD 5.4; Futro S500 FreeBSD 10.0; Chromebook c720 ArchLinux; etc

Offline

#414 2014-07-21 18:24:47

Latrina
Member
From: Italy - Mexico
Registered: 2014-07-02
Posts: 44

Re: Acer C720/C720P Chromebook

Ever since I have installed ArchLinux on the c720 I have been getting freezes to death with whatever kernel I have used. I have used several ones, linux-c720, the linux-mainline-chromebook kernel and lastly I am currently using the linux-chromebook 3.15.5-1 one. The result is the same, every once in awhile the system freezes to the point that I have to hard reset it.

I could't figure out what the issue might be caused from since it happens without any advice or doing any specific task. I have runt mprine heavily stressing both CPU and RAM for hours and hours and all the tests ended without errors and without the system freezing to death.

Here's the output of journalctl --since=today after having had two freezes to death. Hopefully someone can help me out to identify the nature of this issue.

https://gist.githubusercontent.com/anon … nalctl.log

Thanks


Sun Netra T1 DC200  (x6 cluster) OpenBSD 5.4; Sun Ultra 5 OpenBSD 5.4; Futro S500 FreeBSD 10.0; Chromebook c720 ArchLinux; etc

Offline

#415 2014-07-21 18:40:34

nariox
Member
Registered: 2014-03-19
Posts: 128

Re: Acer C720/C720P Chromebook

Latrina wrote:

Ever since I have installed ArchLinux on the c720 I have been getting freezes to death with whatever kernel I have used. I have used several ones, linux-c720, the linux-mainline-chromebook kernel and lastly I am currently using the linux-chromebook 3.15.5-1 one. The result is the same, every once in awhile the system freezes to the point that I have to hard reset it.

I could't figure out what the issue might be caused from since it happens without any advice or doing any specific task. I have runt mprine heavily stressing both CPU and RAM for hours and hours and all the tests ended without errors and without the system freezing to death.

Here's the output of journalctl --since=today after having had two freezes to death. Hopefully someone can help me out to identify the nature of this issue.

https://gist.githubusercontent.com/anon … nalctl.log

Thanks

It seems like it's being experienced by a few people. My guess is that it has to do with power saving options, but I haven't been able to test it properly. My logs also don't show anything useful.
By the way, thanks for the guide for HW acceleration.

Offline

#416 2014-07-21 18:55:59

SolarBoyMatt
Member
Registered: 2012-01-07
Posts: 263

Re: Acer C720/C720P Chromebook

@Latrina

Can you give a bit more information about your setup? Power management, Kernel Parameters, DE/WM, etc.?

I have been running linux-mainline-chromebook and haven't had any freezes like that. I personally use tlp with default settings, with "tpm_tis.force=1", and have not used any of the recommendations in the "Fixing suspend" section of the C720 wiki page.

Offline

#417 2014-07-21 19:15:18

Latrina
Member
From: Italy - Mexico
Registered: 2014-07-02
Posts: 44

Re: Acer C720/C720P Chromebook

SolarBoyMatt wrote:

@Latrina

Can you give a bit more information about your setup? Power management, Kernel Parameters, DE/WM, etc.?

I have been running linux-mainline-chromebook and haven't had any freezes like that. I personally use tlp with default settings, with "tpm_tis.force=1", and have not used any of the recommendations in the "Fixing suspend" section of the C720 wiki page.

Hey @SolarBoyMatt

I do use TLP as well, and here's my configuration settings http://pastie.org/9410166

As for kernel parameters and power management settings I didn't really touch anything since I am not experienced enough to mess around with kernel settings, especially on a laptop.

I am using Mate 1.8.1 as for desktop manager and yes I am using Fixing suspending recommendation settings posted on the wiki.

Here's a list of all the installed packages http://pastie.org/9410183

Disk layout

[latrina@chromebookC720 ~]$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda3        12G  8.1G  3.0G  74% /
dev             938M     0  938M   0% /dev
run             941M  512K  940M   1% /run
tmpfs           941M   17M  924M   2% /dev/shm
tmpfs           941M     0  941M   0% /sys/fs/cgroup
tmpfs           941M   64K  940M   1% /tmp
/dev/sda1       179M   35M  131M  22% /boot
tmpfs           189M   28K  188M   1% /run/user/1000

I have a 2.8Gb swap partition with swappiness set to 75.

nariox wrote:

It seems like it's being experienced by a few people. My guess is that it has to do with power saving options, but I haven't been able to test it properly. My logs also don't show anything useful.
By the way, thanks for the guide for HW acceleration.

Have you been experiencing the same as well? What are you exactly referring with " My guess is that it has to do with power saving options " ?

Perhaps CPU scaling and voltage in the kernel configuration or what?


Sun Netra T1 DC200  (x6 cluster) OpenBSD 5.4; Sun Ultra 5 OpenBSD 5.4; Futro S500 FreeBSD 10.0; Chromebook c720 ArchLinux; etc

Offline

#418 2014-07-21 19:32:05

nariox
Member
Registered: 2014-03-19
Posts: 128

Re: Acer C720/C720P Chromebook

Latrina wrote:

Have you been experiencing the same as well? What are you exactly referring with " My guess is that it has to do with power saving options " ?

Perhaps CPU scaling and voltage in the kernel configuration or what?

My guess was because my C720 seems to freeze whenever I let it idle (but it could be just that I leave it idling way too much tongue)

I was, but since I switched to linux-mainline-chromebook I haven't seen it as much (but I haven't been using the computer as much). One thing that I've been thinking of checking, but haven't yet is to try to SSH into the computer when this "hang" happens, just to check whether it's a full freeze or just a GPU freeze.

Offline

#419 2014-07-21 19:35:32

Latrina
Member
From: Italy - Mexico
Registered: 2014-07-02
Posts: 44

Re: Acer C720/C720P Chromebook

nariox wrote:
Latrina wrote:

Have you been experiencing the same as well? What are you exactly referring with " My guess is that it has to do with power saving options " ?

Perhaps CPU scaling and voltage in the kernel configuration or what?

My guess was because my C720 seems to freeze whenever I let it idle (but it could be just that I leave it idling way too much tongue)

I was, but since I switched to linux-mainline-chromebook I haven't seen it as much (but I haven't been using the computer as much). One thing that I've been thinking of checking, but haven't yet is to try to SSH into the computer when this "hang" happens, just to check whether it's a full freeze or just a GPU freeze.

I am using it as a daily driver and the freeze usually occurs one or twice a day. You cannot SSH or telnet into it. It just dies..


Sun Netra T1 DC200  (x6 cluster) OpenBSD 5.4; Sun Ultra 5 OpenBSD 5.4; Futro S500 FreeBSD 10.0; Chromebook c720 ArchLinux; etc

Offline

#420 2014-07-22 13:36:10

SolarBoyMatt
Member
Registered: 2012-01-07
Posts: 263

Re: Acer C720/C720P Chromebook

Latrina wrote:

I am using Mate 1.8.1 as for desktop manager and yes I am using Fixing suspending recommendation settings posted on the wiki.

While I'm not sure if it's related to the problem you're having, I noticed this

Jul 21 10:43:15 chromebookC720 systemd-sleep[1386]: /usr/lib/systemd/system-sleep/cros-sound-suspend.sh failed with error code 1.

a couple of times in your journal.  With linux-mainline-chromebook all you need is "tpm_tis.force=1" in your kernel parameters for suspend to work. If nothing else I would get rid of any other "suspend fixing" options beyond that one.

Also, next time a freeze happens, does the timing seem to coincide with these messages in your journal? I noticed it a couple of times.

Jul 21 10:43:15 chromebookC720 kernel: ---[ end trace cee7e52811968c27 ]---
Jul 21 10:43:15 chromebookC720 kernel:  [<ffffffff8108d350>] ? kthread_create_on_node+0x1b0/0x1b0
Jul 21 10:43:15 chromebookC720 kernel:  [<ffffffff81515efc>] ret_from_fork+0x7c/0xb0
Jul 21 10:43:15 chromebookC720 kernel:  [<ffffffff8108d350>] ? kthread_create_on_node+0x1b0/0x1b0
Jul 21 10:43:15 chromebookC720 kernel:  [<ffffffff811b0000>] ? __cleancache_get_page+0x110/0x150
Jul 21 10:43:15 chromebookC720 kernel:  [<ffffffff8108d43a>] kthread+0xea/0x100
Jul 21 10:43:15 chromebookC720 kernel:  [<ffffffff81086b00>] ? manage_workers.isra.23+0x2d0/0x2d0
Jul 21 10:43:15 chromebookC720 kernel:  [<ffffffff81086c32>] worker_thread+0x132/0x3e0
Jul 21 10:43:15 chromebookC720 kernel:  [<ffffffff810861d8>] process_one_work+0x168/0x450
Jul 21 10:43:15 chromebookC720 kernel:  [<ffffffff81093777>] async_run_entry_fn+0x37/0x130
Jul 21 10:43:15 chromebookC720 kernel:  [<ffffffff8139cccd>] async_resume+0x1d/0x50
Jul 21 10:43:15 chromebookC720 kernel:  [<ffffffff8139cb86>] device_resume+0xc6/0x1f0
Jul 21 10:43:15 chromebookC720 kernel:  [<ffffffff8139c889>] dpm_run_callback+0x49/0xa0
Jul 21 10:43:15 chromebookC720 kernel:  [<ffffffff812cf780>] ? pci_pm_thaw+0xa0/0xa0
Jul 21 10:43:15 chromebookC720 kernel:  [<ffffffff812cf7e4>] pci_pm_resume+0x64/0xb0
Jul 21 10:43:15 chromebookC720 kernel:  [<ffffffffa0699d36>] i915_pm_resume+0x16/0x20 [i915]
Jul 21 10:43:15 chromebookC720 kernel:  [<ffffffffa0699cf8>] i915_resume+0x28/0x50 [i915]
Jul 21 10:43:15 chromebookC720 kernel:  [<ffffffff8101367f>] ? __switch_to+0x1af/0x540
Jul 21 10:43:15 chromebookC720 kernel:  [<ffffffffa06992ac>] __i915_drm_thaw+0x12c/0x200 [i915]
Jul 21 10:43:15 chromebookC720 kernel:  [<ffffffffa06d6e20>] ? hsw_write64+0x190/0x190 [i915]
Jul 21 10:43:15 chromebookC720 kernel:  [<ffffffffa06f1344>] intel_modeset_setup_hw_state+0x7f4/0xca0 [i915]
Jul 21 10:43:15 chromebookC720 kernel:  [<ffffffffa06d5d0f>] ? gen6_read32+0x6f/0x120 [i915]
Jul 21 10:43:15 chromebookC720 kernel:  [<ffffffffa06ebe7f>] __intel_set_mode+0x7ff/0x16b0 [i915]
Jul 21 10:43:15 chromebookC720 kernel:  [<ffffffffa03a9ed1>] ? drm_vblank_post_modeset.part.5+0x61/0xa0 [drm]
Jul 21 10:43:15 chromebookC720 kernel:  [<ffffffffa06e7edb>] ? haswell_crtc_mode_set+0x31b/0x4c0 [i915]
Jul 21 10:43:15 chromebookC720 kernel:  [<ffffffffa06ea60b>] haswell_crtc_enable+0x21b/0x620 [i915]
Jul 21 10:43:15 chromebookC720 kernel:  [<ffffffffa0701133>] intel_enable_ddi+0xb3/0x110 [i915]
Jul 21 10:43:15 chromebookC720 kernel:  [<ffffffffa0708095>] intel_edp_backlight_on+0xd5/0x140 [i915]
Jul 21 10:43:15 chromebookC720 kernel:  [<ffffffffa0712b42>] intel_panel_enable_backlight+0x82/0xe0 [i915]
Jul 21 10:43:15 chromebookC720 kernel:  [<ffffffffa071248a>] pch_enable_backlight+0x1ba/0x200 [i915]
Jul 21 10:43:15 chromebookC720 kernel:  [<ffffffff81069b9c>] warn_slowpath_fmt+0x5c/0x80
Jul 21 10:43:15 chromebookC720 kernel:  [<ffffffff81069b1d>] warn_slowpath_common+0x7d/0xa0
Jul 21 10:43:15 chromebookC720 kernel:  [<ffffffff815081fe>] dump_stack+0x4d/0x6f
Jul 21 10:43:15 chromebookC720 kernel: Call Trace:
Jul 21 10:43:15 chromebookC720 kernel:  ffff880073a07000 0000000000000003 0000000080000000 0000000000000000
Jul 21 10:43:15 chromebookC720 kernel:  ffff8800191c39e0 ffff8800191c39d0 ffffffff81069b1d ffff880070f50000
Jul 21 10:43:15 chromebookC720 kernel:  0000000000000000 000000007daf736a ffff8800191c3998 ffffffff815081fe
Jul 21 10:43:15 chromebookC720 kernel: Workqueue: events_unbound async_run_entry_fn
Jul 21 10:43:15 chromebookC720 kernel: Hardware name: Acer Peppy, BIOS          03/07/2014
Jul 21 10:43:15 chromebookC720 kernel: CPU: 0 PID: 1337 Comm: kworker/u4:7 Not tainted 3.15.5-1-chromebook #1
Jul 21 10:43:15 chromebookC720 kernel:  intel_gtt media i2c_algo_bit shpchp dw_dmac_pci spi_pxa2xx_platform i2c_core dw_dmac_core processor button ext4 crc16 mbcache jbd2 sd_mod crc_t10dif crct10dif_common atkbd libps2 ahci libahci libata scsi_mod xhci_hcd usbcore usb_common i8042 serio sdhci_acpi sdhci led_class mmc_core
Jul 21 10:43:15 chromebookC720 kernel: Modules linked in: fuse ctr ccm ecb ath3k btusb bluetooth 6lowpan_iphc snd_hda_codec_hdmi nvram arc4 ath9k ath9k_common ath9k_hw ath joydev coretemp mousedev hwmon mac80211 tpm_infineon cyapa intel_rapl x86_pkg_temp_thermal iTCO_wdt intel_powerclamp iTCO_vendor_support kvm_intel i915 kvm cfg80211 snd_hda_codec_realtek snd_hda_codec_generic chromeos_laptop crct10dif_pclmul crc32_pclmul crc32c_intel snd_hda_intel ghash_clmulni_intel cryptd microcode fan evdev mac_hid serio_raw pcspkr rfkill snd_hda_controller i2c_i801 thermal lpc_ich uvcvideo drm_kms_helper snd_hda_codec tpm_tis snd_hwdep ac battery videobuf2_vmalloc videobuf2_memops videobuf2_core tpm snd_pcm videodev snd_timer drm snd video gpio_lynxpoint dw_dmac 8250_dw i2c_designware_pci i2c_designware_platform i2c_designware_core soundcore
Jul 21 10:43:15 chromebookC720 kernel: cpu backlight already enabled

Offline

#421 2014-07-22 20:52:13

Latrina
Member
From: Italy - Mexico
Registered: 2014-07-02
Posts: 44

Re: Acer C720/C720P Chromebook

SolarBoyMatt wrote:
Latrina wrote:

I am using Mate 1.8.1 as for desktop manager and yes I am using Fixing suspending recommendation settings posted on the wiki.

While I'm not sure if it's related to the problem you're having, I noticed this

Jul 21 10:43:15 chromebookC720 systemd-sleep[1386]: /usr/lib/systemd/system-sleep/cros-sound-suspend.sh failed with error code 1.

a couple of times in your journal.  With linux-mainline-chromebook all you need is "tpm_tis.force=1" in your kernel parameters for suspend to work. If nothing else I would get rid of any other "suspend fixing" options beyond that one.

Also, next time a freeze happens, does the timing seem to coincide with these messages in your journal? I noticed it a couple of times.

Jul 21 10:43:15 chromebookC720 kernel: ---[ end trace cee7e52811968c27 ]---
Jul 21 10:43:15 chromebookC720 kernel:  [<ffffffff8108d350>] ? kthread_create_on_node+0x1b0/0x1b0
Jul 21 10:43:15 chromebookC720 kernel:  [<ffffffff81515efc>] ret_from_fork+0x7c/0xb0
Jul 21 10:43:15 chromebookC720 kernel:  [<ffffffff8108d350>] ? kthread_create_on_node+0x1b0/0x1b0
Jul 21 10:43:15 chromebookC720 kernel:  [<ffffffff811b0000>] ? __cleancache_get_page+0x110/0x150
Jul 21 10:43:15 chromebookC720 kernel:  [<ffffffff8108d43a>] kthread+0xea/0x100
Jul 21 10:43:15 chromebookC720 kernel:  [<ffffffff81086b00>] ? manage_workers.isra.23+0x2d0/0x2d0
Jul 21 10:43:15 chromebookC720 kernel:  [<ffffffff81086c32>] worker_thread+0x132/0x3e0
Jul 21 10:43:15 chromebookC720 kernel:  [<ffffffff810861d8>] process_one_work+0x168/0x450
Jul 21 10:43:15 chromebookC720 kernel:  [<ffffffff81093777>] async_run_entry_fn+0x37/0x130
Jul 21 10:43:15 chromebookC720 kernel:  [<ffffffff8139cccd>] async_resume+0x1d/0x50
Jul 21 10:43:15 chromebookC720 kernel:  [<ffffffff8139cb86>] device_resume+0xc6/0x1f0
Jul 21 10:43:15 chromebookC720 kernel:  [<ffffffff8139c889>] dpm_run_callback+0x49/0xa0
Jul 21 10:43:15 chromebookC720 kernel:  [<ffffffff812cf780>] ? pci_pm_thaw+0xa0/0xa0
Jul 21 10:43:15 chromebookC720 kernel:  [<ffffffff812cf7e4>] pci_pm_resume+0x64/0xb0
Jul 21 10:43:15 chromebookC720 kernel:  [<ffffffffa0699d36>] i915_pm_resume+0x16/0x20 [i915]
Jul 21 10:43:15 chromebookC720 kernel:  [<ffffffffa0699cf8>] i915_resume+0x28/0x50 [i915]
Jul 21 10:43:15 chromebookC720 kernel:  [<ffffffff8101367f>] ? __switch_to+0x1af/0x540
Jul 21 10:43:15 chromebookC720 kernel:  [<ffffffffa06992ac>] __i915_drm_thaw+0x12c/0x200 [i915]
Jul 21 10:43:15 chromebookC720 kernel:  [<ffffffffa06d6e20>] ? hsw_write64+0x190/0x190 [i915]
Jul 21 10:43:15 chromebookC720 kernel:  [<ffffffffa06f1344>] intel_modeset_setup_hw_state+0x7f4/0xca0 [i915]
Jul 21 10:43:15 chromebookC720 kernel:  [<ffffffffa06d5d0f>] ? gen6_read32+0x6f/0x120 [i915]
Jul 21 10:43:15 chromebookC720 kernel:  [<ffffffffa06ebe7f>] __intel_set_mode+0x7ff/0x16b0 [i915]
Jul 21 10:43:15 chromebookC720 kernel:  [<ffffffffa03a9ed1>] ? drm_vblank_post_modeset.part.5+0x61/0xa0 [drm]
Jul 21 10:43:15 chromebookC720 kernel:  [<ffffffffa06e7edb>] ? haswell_crtc_mode_set+0x31b/0x4c0 [i915]
Jul 21 10:43:15 chromebookC720 kernel:  [<ffffffffa06ea60b>] haswell_crtc_enable+0x21b/0x620 [i915]
Jul 21 10:43:15 chromebookC720 kernel:  [<ffffffffa0701133>] intel_enable_ddi+0xb3/0x110 [i915]
Jul 21 10:43:15 chromebookC720 kernel:  [<ffffffffa0708095>] intel_edp_backlight_on+0xd5/0x140 [i915]
Jul 21 10:43:15 chromebookC720 kernel:  [<ffffffffa0712b42>] intel_panel_enable_backlight+0x82/0xe0 [i915]
Jul 21 10:43:15 chromebookC720 kernel:  [<ffffffffa071248a>] pch_enable_backlight+0x1ba/0x200 [i915]
Jul 21 10:43:15 chromebookC720 kernel:  [<ffffffff81069b9c>] warn_slowpath_fmt+0x5c/0x80
Jul 21 10:43:15 chromebookC720 kernel:  [<ffffffff81069b1d>] warn_slowpath_common+0x7d/0xa0
Jul 21 10:43:15 chromebookC720 kernel:  [<ffffffff815081fe>] dump_stack+0x4d/0x6f
Jul 21 10:43:15 chromebookC720 kernel: Call Trace:
Jul 21 10:43:15 chromebookC720 kernel:  ffff880073a07000 0000000000000003 0000000080000000 0000000000000000
Jul 21 10:43:15 chromebookC720 kernel:  ffff8800191c39e0 ffff8800191c39d0 ffffffff81069b1d ffff880070f50000
Jul 21 10:43:15 chromebookC720 kernel:  0000000000000000 000000007daf736a ffff8800191c3998 ffffffff815081fe
Jul 21 10:43:15 chromebookC720 kernel: Workqueue: events_unbound async_run_entry_fn
Jul 21 10:43:15 chromebookC720 kernel: Hardware name: Acer Peppy, BIOS          03/07/2014
Jul 21 10:43:15 chromebookC720 kernel: CPU: 0 PID: 1337 Comm: kworker/u4:7 Not tainted 3.15.5-1-chromebook #1
Jul 21 10:43:15 chromebookC720 kernel:  intel_gtt media i2c_algo_bit shpchp dw_dmac_pci spi_pxa2xx_platform i2c_core dw_dmac_core processor button ext4 crc16 mbcache jbd2 sd_mod crc_t10dif crct10dif_common atkbd libps2 ahci libahci libata scsi_mod xhci_hcd usbcore usb_common i8042 serio sdhci_acpi sdhci led_class mmc_core
Jul 21 10:43:15 chromebookC720 kernel: Modules linked in: fuse ctr ccm ecb ath3k btusb bluetooth 6lowpan_iphc snd_hda_codec_hdmi nvram arc4 ath9k ath9k_common ath9k_hw ath joydev coretemp mousedev hwmon mac80211 tpm_infineon cyapa intel_rapl x86_pkg_temp_thermal iTCO_wdt intel_powerclamp iTCO_vendor_support kvm_intel i915 kvm cfg80211 snd_hda_codec_realtek snd_hda_codec_generic chromeos_laptop crct10dif_pclmul crc32_pclmul crc32c_intel snd_hda_intel ghash_clmulni_intel cryptd microcode fan evdev mac_hid serio_raw pcspkr rfkill snd_hda_controller i2c_i801 thermal lpc_ich uvcvideo drm_kms_helper snd_hda_codec tpm_tis snd_hwdep ac battery videobuf2_vmalloc videobuf2_memops videobuf2_core tpm snd_pcm videodev snd_timer drm snd video gpio_lynxpoint dw_dmac 8250_dw i2c_designware_pci i2c_designware_platform i2c_designware_core soundcore
Jul 21 10:43:15 chromebookC720 kernel: cpu backlight already enabled

Thanks a lot for taking the time going through my journalctl logs and identify some possible strange behaviors in the kernel logs. I will make sure I match that if the issue does occur again.

Also I have removed the

/usr/lib/systemd/system-sleep/cros-sound-suspend.sh

script since apparently

/sys/bus/pci/drivers/ehci-pci/unbind

is missing in the system.

Btw I have a noob question though, where am I supposed to add "tpm_tis.force=1" ?

According to the c720 wiki I have added

GRUB_CMDLINE_LINUX_DEFAULT="quiet add_efi_memmap boot=local noresume noswap i915.modeset=1 tpm_tis.force=1 tpm_tis.interrupts=0 nmi_watchdog=panic,lapic"

in

/etc/default/grub

Is that right or do I have to add  "tpm_tis.force=1" somewhere else as well?

I do apologize for the silly question but I do rarely use Linux and never used Arch before, so I am trying to catch up with all of you guys.

Thanks


Sun Netra T1 DC200  (x6 cluster) OpenBSD 5.4; Sun Ultra 5 OpenBSD 5.4; Futro S500 FreeBSD 10.0; Chromebook c720 ArchLinux; etc

Offline

#422 2014-07-22 21:09:15

nariox
Member
Registered: 2014-03-19
Posts: 128

Re: Acer C720/C720P Chromebook

Latrina wrote:

Btw I have a noob question though, where am I supposed to add "tpm_tis.force=1" ?

According to the c720 wiki I have added

GRUB_CMDLINE_LINUX_DEFAULT="quiet add_efi_memmap boot=local noresume noswap i915.modeset=1 tpm_tis.force=1 tpm_tis.interrupts=0 nmi_watchdog=panic,lapic"

in

/etc/default/grub

Is that right or do I have to add  "tpm_tis.force=1" somewhere else as well?
Thanks

That's correct. After changing this file, you also have to run

# grub-mkconfig -o /boot/grub/grub.cfg

Offline

#423 2014-07-22 21:15:27

Latrina
Member
From: Italy - Mexico
Registered: 2014-07-02
Posts: 44

Re: Acer C720/C720P Chromebook

nariox wrote:
Latrina wrote:

Btw I have a noob question though, where am I supposed to add "tpm_tis.force=1" ?

According to the c720 wiki I have added

GRUB_CMDLINE_LINUX_DEFAULT="quiet add_efi_memmap boot=local noresume noswap i915.modeset=1 tpm_tis.force=1 tpm_tis.interrupts=0 nmi_watchdog=panic,lapic"

in

/etc/default/grub

Is that right or do I have to add  "tpm_tis.force=1" somewhere else as well?
Thanks

That's correct. After changing this file, you also have to run

# grub-mkconfig -o /boot/grub/grub.cfg

Cool thanks, and yes I did of course update the grub config file.. Did that yesterday and haven't had a freeze to death since than. Also I have ditched Chromium in favor of Chrome as I have read some people have experienced system freeze when using Chromium, and to be honest beside everything I generally feel Chrome to be snappier and more responsive than Chromium, especially when streaming flash contents. Lets hope and pray.


Sun Netra T1 DC200  (x6 cluster) OpenBSD 5.4; Sun Ultra 5 OpenBSD 5.4; Futro S500 FreeBSD 10.0; Chromebook c720 ArchLinux; etc

Offline

#424 2014-07-24 16:49:39

porphyry5
Member
Registered: 2014-06-04
Posts: 88

Re: Acer C720/C720P Chromebook

After updating arch the touchpad on my C720 no longer worked.  I tried rerunning

./cros-haswell-modules-archlinux.sh

but it failed, endlessly failing to write items to /tmp/... because there was 'no room left on device'.  There is 12GB still unused on /dev/sda1 so I am not sure how to interpret that.

So I did a complete new install of arch from scratch, but the fresh ./cros-haswell-modules-archlinux.sh behaved exactly the same.

Suggestions?

Offline

#425 2014-07-24 17:27:27

nariox
Member
Registered: 2014-03-19
Posts: 128

Re: Acer C720/C720P Chromebook

porphyry5 wrote:

After updating arch the touchpad on my C720 no longer worked.  I tried rerunning

./cros-haswell-modules-archlinux.sh

but it failed, endlessly failing to write items to /tmp/... because there was 'no room left on device'.  There is 12GB still unused on /dev/sda1 so I am not sure how to interpret that.

So I did a complete new install of arch from scratch, but the fresh ./cros-haswell-modules-archlinux.sh behaved exactly the same.

Suggestions?

/tmp is a ramdisk, try clearing some RAM before running the script. Although I'm not sure those scripts are still still up-to-date.
An alternative is to edit the script to use your hdd to build the modules. But clearing the RAM should work just as fine.

Offline

Board footer

Powered by FluxBB