Reminder if x11 crashes on Trisquel 11/12 if you have Intel integrated graphics chipsets
I just migrated to from Trisquel 11 to Trisquel 12 nothing to say about again another great work.
But I started to have x11 crashing when I open pdf files, or sent emails, or certain types of gif in abrowser or videos in vlc and it came back to me that it already happened in the past.
If anyone has again these issues here's the how to by jfw01, thank you again jfw01.
https://trisquel.info/fr/forum/session-restart-when-viewing-specific-pdf#comment-173188
Thanks. I have a similar issue with T12 when watching certain videos on my Libreboot X200. The system randomly freezes and requires a hard restart. This mostly happens on long Patreon and Youtube vids. I have checked the system logs without success. I noticed that Hardware Acceleration was turned on in Abrowser, possibly by an errant update. (Normally I leave it turned off.) Don't yet know if that is the cause.
I've done some experimenting and the crashes still occur if I watch the vids with Chrome Browser. So it is unlikely that this an Abrowser issue. I am still monitoring for crashes, but they don't happen very often. This is somewhat annoying, but the T12 system is otherwise flawless. T11 did not have this issue. The issue arose with the T12 update and has persisted since.
Luckily, I have a newer Linux Chromebook with a better display and audio than the old X200, so lately I just switch to that for videos.
Hi, if this is a base-install that you built up it is possible that the xf86-video-intel package is missing. Without this, your X200 will feel less like an X200 and more like a X40. This may not be the name of the package in Trisquel though.
Essentially you need the Mesa and intel video drivers that are entirely free software for this hardware. Then reboot and it should speed up dramatically.
For youtube, I suggest not torturing your core2duo and using things like ytfzf where you can watch youtube in your terminal. The T420 is far better equipped for this however youtube should be avoided for serious privacy considerations.
I finally got to found how to use the gpu for rendering instead of llvmpipe.
Edit the file "20-intel.conf" located in "/etc/X11/xorg.conf.d/"
"/etc/X11/xorg.conf.d/20-intel.conf"
and add the line:
Option "DRI" "3"
Can anyone confirm I'm not doing anything not recommendable ?
It should look like this
Section "Device
Identifier "Intel Graphics"
Driver "Intel"
Option "TearFree" "true"
Option "DRI" "3"
EndSection
Neat!
I finally can merge to Trisquel 12 into my netbook that uses an Intel GMA 3150 as the integrated graphics card (a brief reminder that the Intel that uses the Intel Core 2, their Celeron contemporaries and the first Atom procesors uses the Intel GMA 3000 series that were the lasts that came bundled into the chipset instead of the procesors like the Intel HD Graphics that came in the Intel Core i Series like the Lenovo ThinkPad T410 and beyond).
I'm very happy this works for you, I forgot to note that I did this on a T510 with a M620 cpu with a Intel Corporation Core Processor Integrated Graphics Controller [8086:0046] using the i915 drivers.
I'll post more later on how I found this because i believe this isn't normal and maybe it could solve detection issues upstream but I did this on a late night and I need to re read all my notes and logs to do this properly.
Should this wiki page be updated to add the DRI 3 line, or is it specific to the hardware you mentioned?

