cinnamon dreaded sofware rendering!!

Archived topics about LMDE 1 and LMDE 2
Locked
dario.88

cinnamon dreaded sofware rendering!!

Post by dario.88 »

Hello all,
I am having the toughest time with getting cinnamon off of software rendering mode... I tried everything that other forums have said to do, but I have nothing.
Here is the results of

Code: Select all

glxinfo | grep render

direct rendering: Yes
    GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer, 
    GLX_MESA_query_renderer, GLX_OML_swap_method, GLX_SGIS_multisample, 
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.5, 256 bits)
    GL_ARB_conditional_render_inverted, GL_ARB_conservative_depth, 
    GL_MESA_ycbcr_texture, GL_NV_blend_square, GL_NV_conditional_render


and the results of

Code: Select all

inxi -b

System:    Host: locksmith Kernel: 3.16.0-4-amd64 x86_64 (64 bit) 
           Desktop: Cinnamon 2.8.6  Distro: LinuxMint 2 betsy 
Machine:   System: Dell product: Inspiron 7352 v: A03
           Mobo: Dell model: 0452C9 v: A00 Bios: Dell v: A03 date: 02/05/2015
CPU:       Dual core Intel Core i5-5200U (-HT-MCP-) clocked at 2506 MHz
Graphics:  Card: Intel Broadwell-U Integrated Graphics
           Display Server: X.Org 1.16.4 drivers: intel (unloaded: fbdev,vesa)
           Resolution: 1920x1080@60.00hz
           GLX Renderer: Gallium 0.4 on llvmpipe (LLVM 3.5, 256 bits)
           GLX Version: 3.0 Mesa 10.3.2
Network:   Card: Intel Wireless 7265 driver: iwlwifi
Drives:    HDD Total Size: 500.1GB (3.7% used) 
Info:      Processes: 186 Uptime: 23 min Memory: 1492.6/7918.9MB 
           Client: Shell (bash) inxi: 2.1.28 
your help would be much appreciated!!
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
gweaver

Re: cinnamon dreaded sofware rendering!!

Post by gweaver »

I've managed to get hardware acceleration working in Cinnamon on an i5-6200u, so it should be possible to get it working on the older i5-5200u. You will need to install some newer packages from jessie-backports (generally safe, simple and easy to revert), and testing (more complicated). I'm not sure which of the packages below you will need to support your Broadwell processor, but I needed all of them to support my Skylake processor.

See my post at http://forums.linuxmint.com/viewtopic.p ... 9&t=197842 on making the jessie-backports and testing repositories available to your LMDE2 install. Then run

Code: Select all

apt-get update
First, you should try installing a recent kernel from jessie-backports.

Code: Select all

apt-get -t jessie-backports install linux-image-amd64 linux-headers-amd64
The next thing to try would be to install libdrm, mesa and firmware-linux from jessie-backports.

Code: Select all

apt-get -t jessie-backports install libdrm2 libdrm-intel1
apt-get -t jessie-backports install libegl1-mesa libgl1-mesa-dri libgl1-mesa-glx libglapi-mesa libwayland-egl1-mesa
apt-get -t jessie-backports install firmware-linux
Hopefully that will get you hardware acceleration. If not, there are various packages from Debian testing that you could try, but you risk getting into dependency hell.
Look carefully at which packages will be removed (you don't want to remove Cinnamon!) before going ahead.

I would try this first (I think it's a bit safer):

Code: Select all

apt-get -t stretch install intel-gpu-tools libcairo2 libva1
Then this (more potential for dependency issues):

Code: Select all

apt-get -t stretch install xorg
Good luck! Please let us know how you get on.
gweaver

Re: cinnamon dreaded sofware rendering!!

Post by gweaver »

Also, you could refer to the quarterly Intel Graphics Stack Release docs listed under https://01.org/search/node/broadwell. These may help you decide which packages you will need to upgrade.
gweaver

Skylake graphics support

Post by gweaver »

This has got a bit easier since my last post.

Having:
1. added jessie-backports and stretch to the sources
/etc/apt/sources.list.d/custom.list

Code: Select all

deb http://mirrorservice.org/sites/ftp.debian.org/debian/ jessie-backports main contrib non-free
deb http://mirrorservice.org/sites/ftp.debian.org/debian/ stretch main contrib non-free
2. apt-pinned them
/etc/apt/preferences.d/custom.pref

Code: Select all

Package: *
Pin: release a=jessie-backports
Pin-Priority: 400

Package: *
Pin: release o=Debian,a=testing
Pin-Priority: 300
3. updated the package lists and applied updates

Code: Select all

apt-get update && apt-get upgrade
You can then install the various required updates for Skylake graphics support with the following commands:

1. From jessie-backports (safe)

Code: Select all

apt-get -t jessie-backports install linux-image-amd64/jessie-backports linux-headers-amd64/jessie-backports firmware-iwlwifi/jessie-backports firmware-linux/jessie-backports libdrm-intel1/jessie-backports libgbm1/jessie-backports libgl1-mesa-glx/jessie-backports libglapi-mesa/jessie-backports libxatracker2/jessie-backports libegl1-mesa/jessie-backports libgl1-mesa-dri/jessie-backports libegl1-mesa-drivers/jessie-backports libwayland-egl1-mesa/jessie-backports intel-gpu-tools/jessie-backports libva1/jessie-backports

apt-get install libpam-systemd/jessie-backports systemd/jessie-backports udev/jessie-backports
2. From stretch/testing (not so safe - check that this is only installing the packages below)

Code: Select all

apt-get -t stretch install xorg/stretch
This will pull in the following packages from Stretch, and hopefully no others. Version numbers aren't so important. This creates a (minimal) Frankendebian.

Code: Select all

dbus:amd64/stretch 1.10.14-1 uptodate
libdbus-1-3:amd64/stretch 1.10.14-1 uptodate
libgcrypt20:amd64/stretch 1.7.5-3 uptodate
libinput-bin:amd64/stretch 1.5.4-1 uptodate
libinput10:amd64/stretch 1.5.4-1 uptodate
libwacom-common:all/stretch 0.22-1 uptodate
libwacom2:amd64/stretch 0.22-1 uptodate
libxfont2:amd64/stretch 1:2.0.1-3 uptodate
xserver-common:all/stretch 2:1.19.0-3 uptodate
xserver-xorg:amd64/stretch 1:7.7+18 uptodate
xserver-xorg-core:amd64/stretch 2:1.19.0-3 uptodate
xserver-xorg-input-all:amd64/stretch 1:7.7+18 uptodate
xserver-xorg-input-evdev:amd64/stretch 1:2.10.4-1+b1 uptodate
xserver-xorg-input-libinput:amd64/stretch 0.23.0-2 uptodate
xserver-xorg-input-mouse:amd64/stretch 1:1.9.2-1+b1 uptodate
xserver-xorg-input-synaptics:amd64/stretch 1.9.0-1+b1 uptodate
xserver-xorg-input-wacom:amd64/stretch 0.33.0-1+b1 uptodate
xserver-xorg-video-all:amd64/stretch 1:7.7+18 uptodate
xserver-xorg-video-amdgpu:amd64/stretch 1.2.0-1+b1 uptodate
xserver-xorg-video-ati:amd64/stretch 1:7.8.0-1+b1 uptodate
xserver-xorg-video-cirrus:amd64/stretch 1:1.5.3-1+b2 uptodate
xserver-xorg-video-fbdev:amd64/stretch 1:0.4.4-1+b5 uptodate
xserver-xorg-video-intel:amd64/stretch 2:2.99.917+git20161206-1 uptodate
xserver-xorg-video-mach64:amd64/stretch 6.9.5-1+b2 uptodate
xserver-xorg-video-mga:amd64/stretch 1:1.6.4-2+b1 uptodate
xserver-xorg-video-neomagic:amd64/stretch 1:1.2.9-1+b2 uptodate
xserver-xorg-video-nouveau:amd64/stretch 1:1.0.13-1+b1 uptodate
xserver-xorg-video-openchrome:amd64/stretch 1:0.5.0-2 uptodate
xserver-xorg-video-qxl:amd64/stretch 0.1.4+20161126git4d7160c-1 uptodate
xserver-xorg-video-r128:amd64/stretch 6.10.1-2+b1 uptodate
xserver-xorg-video-radeon:amd64/stretch 1:7.8.0-1+b1 uptodate
xserver-xorg-video-savage:amd64/stretch 1:2.3.8-2+b1 uptodate
xserver-xorg-video-siliconmotion:amd64/stretch 1:1.7.8-2+b1 uptodate
xserver-xorg-video-tdfx:amd64/stretch 1:1.4.6-2+b1 uptodate
xserver-xorg-video-trident:amd64/stretch 1:1.3.7-2+b1 uptodate
xserver-xorg-video-vesa:amd64/stretch 1:2.3.4-1+b2 uptodate
xserver-xorg-video-vmware:amd64/stretch 1:13.2.1-1+b1 uptodate
topolinik

Re: cinnamon dreaded sofware rendering!!

Post by topolinik »

Does this still apply for latest lmde ISO 201701 ?
phil123

Re: cinnamon dreaded sofware rendering!!

Post by phil123 »

Hi, I am not sure if I have the same issue.

Since a week (or two) cinnamon takes long to start and when started doesn't look like it did before.
Although I don't get a popup in the top right, I guess I am running in SW Rendering Mode.

In ".cinnamon/glass.log" i get:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.cinnamon.SettingsDaemon was not provided by any .service files

And in the syslog I see:
Mar 26 18:24:40 sentinel dbus[2393]: [system] Activating service name='org.freedesktop.UPower' (using servicehelper)
Mar 26 18:24:40 sentinel dbus[2393]: [system] Activated service 'org.freedesktop.UPower' failed: Launch helper exited with unknown return code 127
Mar 26 18:24:40 sentinel cinnamon-session[10034]: WARNING: t+0,11537s: Application 'cinnamon-settings-daemon.desktop' killed by signal 11
Mar 26 18:24:40 sentinel kernel: [ 492.283972] cinnamon-settin[10120]: segfault at 0 ip 00007f0b6cbd13e9 sp 00007ffd913801a0 error 4 in libupower-glib.so.3.0.0[7f0b6cbc1000+22000]
Mar 26 18:25:10 sentinel cinnamon-session[10034]: WARNING: t+30,13845s: Application 'cinnamon-settings-daemon.desktop' failed to register before timeout
Mar 26 18:25:10 sentinel cinnamon-session[10034]: CRITICAL: t+30,13944s: We failed, but the fail whale is dead. Sorry....
Mar 26 18:25:11 sentinel /cinnamon-killer-daemon: Bound Cinnamon restart to <Control><Alt>Escape.
Mar 26 18:25:11 sentinel dbus[2393]: [system] Activating service name='org.freedesktop.UPower' (using servicehelper)
Mar 26 18:25:11 sentinel dbus[2393]: [system] Activated service 'org.freedesktop.UPower' failed: Launch helper exited with unknown return code 127
Mar 26 18:25:11 sentinel kernel: [ 522.635462] tracker-miner-f[10162]: segfault at 0 ip 00007f8966173399 sp 00007ffc1ee2b4b0 error 4 in libupower-glib.so.3.0.0[7f8966163000+22000]
Mar 26 18:25:12 sentinel dbus[2393]: [system] Activating service name='org.freedesktop.UPower' (using servicehelper)
Mar 26 18:25:12 sentinel dbus[2393]: [system] Activated service 'org.freedesktop.UPower' failed: Launch helper exited with unknown return code 127
Mar 26 18:25:17 sentinel dbus[2393]: [system] Activating service name='org.freedesktop.UPower' (using servicehelper)
Mar 26 18:25:17 sentinel dbus[2393]: [system] Activated service 'org.freedesktop.UPower' failed: Launch helper exited with unknown return code 127
Mar 26 18:25:17 sentinel dbus[2393]: [system] Activating service name='org.freedesktop.UPower' (using servicehelper)
Mar 26 18:25:17 sentinel dbus[2393]: [system] Activated service 'org.freedesktop.UPower' failed: Launch helper exited with unknown return code 127

Do you see the same errors?
Any Ideas?

EDIT:
Things I observed:
If i try to change the icon theme nothing changes.
When logging in the screen stays black longer as ussual. I guess it's trying to run cinnamon but gets the error and falls back to software rendering.
Locked

Return to “LMDE Archive”