Cinnamon running in software rendering mode on an Intel NUC7i7BNH

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
jbodnar

Cinnamon running in software rendering mode on an Intel NUC7i7BNH

Post by jbodnar »

I've recently installed Linux Mint 18.1 on an Intel NUC7i7BNH and when I log in I get a message sying Cinnamon is running in software rending mode. Here are the graphics details:

Code: Select all

$ inxi -Gx
Graphics:  Card: Intel Device 5927 bus-ID: 00:02.0
           Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa) Resolution: 1920x1080@60.00hz
           GLX Renderer: Gallium 0.4 on llvmpipe (LLVM 3.8, 256 bits)
           GLX Version: 3.0 Mesa 12.0.6 Direct Rendering: Yes
Is the problem that the drivers section says intel (unloaded: fbdev,vesa)? If so, how do I load the drivers?
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.
Hoser Rob
Level 20
Level 20
Posts: 11796
Joined: Sat Dec 15, 2012 8:57 am

Re: Cinnamon running in software rendering mode on an Intel NUC7i7BNH

Post by Hoser Rob »

Drivers don't work the same in Linux as WIndows ... they're integrated into the kernel.

And you have Intel Kaby Lake graphics, which is quite new hardware. Linux drivers always take longer to come out.

SO I'd update the kernel to the newest possible version, and upgrade to 18.2 as soon as it comes out of beta.
For every complex problem there is an answer that is clear, simple, and wrong - H. L. Mencken
Laurent85
Level 17
Level 17
Posts: 7081
Joined: Tue May 26, 2015 10:11 am

Re: Cinnamon running in software rendering mode on an Intel NUC7i7BNH

Post by Laurent85 »

Please generate a bisnext report.

Open a terminal, download bisnext:

Code: Select all

wget https://github.com/laurent85v/bisnext/raw/master/bisnext --output-document bisnext
Install some tools :

Code: Select all

apt install pastebinit smartmontools
Generate and publish the report :

Code: Select all

sudo bash bisnext --pastebin
See firt line of the report and provide the link which reads like :
bisnext report id xxxxx also available at ...
Image
jbodnar

Re: Cinnamon running in software rendering mode on an Intel NUC7i7BNH

Post by jbodnar »

Laurent85 wrote:
See first line of the report and provide the link which reads like :
bisnext report id xxxxx also available at ...
bisnext report also available at https://paste.debian.net/971071/
Laurent85
Level 17
Level 17
Posts: 7081
Joined: Tue May 26, 2015 10:11 am

Re: Cinnamon running in software rendering mode on an Intel NUC7i7BNH

Post by Laurent85 »

Mint could not find the firmware for the device :
[ 1.126537] i915 0000:00:02.0: Direct firmware load for i915/kbl_dmc_ver1_01.bin failed with error -2
[ 1.126539] i915 0000:00:02.0: Failed to load DMC firmware [https://01.org/linuxgraphics/intel-linu ... -firmwares], disabling runtime power management.
Install the latest linux-firmware package available from Ubuntu :

Code: Select all

http://fr.archive.ubuntu.com/ubuntu/pool/main/l/linux-firmware/linux-firmware_1.166_all.deb
sudo dpkg -i linux-firmware_1.166_all.deb 
Reboot when done.

An aside, Maxtor 320 GB hard drive partition table is damaged :
Disk /dev/sdb: 298.1 GiB, 320072933376 bytes, 625142448 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Partition Boot Start Sector End Sector # of Sectors Id System

Invalid MBR Signature found.
/dev/sdb1 ? 2,863,311,530 5,726,623,059 2,863,311,530 aa Unknown
/dev/sdb2 ? 2,863,311,530 5,726,623,059 2,863,311,530 aa Unknown
/dev/sdb3 ? 2,863,311,530 5,726,623,059 2,863,311,530 aa Unknown
/dev/sdb4 ? 2,863,311,530 5,726,623,059 2,863,311,530 aa Unknown

/dev/sdb1 ends after the last sector of /dev/sdb
/dev/sdb2 ends after the last sector of /dev/sdb
/dev/sdb3 ends after the last sector of /dev/sdb
/dev/sdb4 ends after the last sector of /dev/sdb
Image
jbodnar

Re: Cinnamon running in software rendering mode on an Intel NUC7i7BNH

Post by jbodnar »

I installed the latest firmware package as suggested and I still get the message that Cinnamon is running in software rendering mode. Here's the latest output from bisnext:

bisnext report also available at https://paste.debian.net/971255/

Curiously, the lines about firmware failing to load for i915 are gone.
Laurent85 wrote:Mint could not find the firmware for the device :
[ 1.126537] i915 0000:00:02.0: Direct firmware load for i915/kbl_dmc_ver1_01.bin failed with error -2
[ 1.126539] i915 0000:00:02.0: Failed to load DMC firmware [https://01.org/linuxgraphics/intel-linu ... -firmwares], disabling runtime power management.
Install the latest linux-firmware package available from Ubuntu :

Code: Select all

http://fr.archive.ubuntu.com/ubuntu/pool/main/l/linux-firmware/linux-firmware_1.166_all.deb
sudo dpkg -i linux-firmware_1.166_all.deb 
Reboot when done.
It's a drive from my old computer. I'm in the middle of wiping it before donating it to Goodwill :-)
Laurent85 wrote: An aside, Maxtor 320 GB hard drive partition table is damaged :
Disk /dev/sdb: 298.1 GiB, 320072933376 bytes, 625142448 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Partition Boot Start Sector End Sector # of Sectors Id System

Invalid MBR Signature found.
/dev/sdb1 ? 2,863,311,530 5,726,623,059 2,863,311,530 aa Unknown
/dev/sdb2 ? 2,863,311,530 5,726,623,059 2,863,311,530 aa Unknown
/dev/sdb3 ? 2,863,311,530 5,726,623,059 2,863,311,530 aa Unknown
/dev/sdb4 ? 2,863,311,530 5,726,623,059 2,863,311,530 aa Unknown

/dev/sdb1 ends after the last sector of /dev/sdb
/dev/sdb2 ends after the last sector of /dev/sdb
/dev/sdb3 ends after the last sector of /dev/sdb
/dev/sdb4 ends after the last sector of /dev/sdb
Laurent85
Level 17
Level 17
Posts: 7081
Joined: Tue May 26, 2015 10:11 am

Re: Cinnamon running in software rendering mode on an Intel NUC7i7BNH

Post by Laurent85 »

You may provide the fulls logs, but I guess this new GPU not yet supported by the graphics stack of Mint.

Code: Select all

sudo bash bisnext --logs --pastebin
Image
jbodnar

Re: Cinnamon running in software rendering mode on an Intel NUC7i7BNH

Post by jbodnar »

bisnext report also available at https://paste.debian.net/971311/

Thanks for your help, Laurent85. I guess I'll live with software rendering until the next version of Mint.
Laurent85 wrote:You may provide the fulls logs, but I guess this new GPU not yet supported by the graphics stack of Mint.

Code: Select all

sudo bash bisnext --logs --pastebin
jbodnar

Re: Cinnamon running in software rendering mode on an Intel NUC7i7BNH

Post by jbodnar »

Back with an update.

I installed Linux Mint 18.2 and it still says I'm running in software rendering mode.

I took it a step further and tried installing the Intel Graphics Update Tool for Linux:

https://01.org/linuxgraphics/downloads/ ... -os-v2.0.5

It complained about

Code: Select all

libpackagekit-glib2-18 (>=0.9.4)
. Following a comment from here:

https://mintguide.org/system/73-intel-l ... linux.html

I installed a newer version of libpackagekit-glib from an ubuntu repository. I was able to install the tool but it then said my distro was not supported. I followed the steps in the main part of the same article and was able to run the installer and install a number of packages. Upon rebooting I still get the message saying I'm running in software rendering mode.

So I guess I'm stuck that way until something new comes along for me to try.
Citizen229

Re: Cinnamon running in software rendering mode on an Intel NUC7i7BNH

Post by Citizen229 »

After a quick search of you NUC model, the web shows your CPU as a 7th gen Kaby Lake cpu. This CPU requires kernel 4.10 or higher to work fully. Mint 18.1 is 4.4 by default, and 18.2 is 4.8 by default. Upgrading to 4.4.xx-xx is upgrading for security not new hardware. You did not state your current kernel, upgraded kernel, nor the new kernel in 18.2.
jbodnar

Re: Cinnamon running in software rendering mode on an Intel NUC7i7BNH

Post by jbodnar »

I'm using 4.10.0-26 which is the latest kernel available for 18.2, I think.
Citizen229 wrote:After a quick search of you NUC model, the web shows your CPU as a 7th gen Kaby Lake cpu. This CPU requires kernel 4.10 or higher to work fully. Mint 18.1 is 4.4 by default, and 18.2 is 4.8 by default. Upgrading to 4.4.xx-xx is upgrading for security not new hardware. You did not state your current kernel, upgraded kernel, nor the new kernel in 18.2.
Laurent85
Level 17
Level 17
Posts: 7081
Joined: Tue May 26, 2015 10:11 am

Re: Cinnamon running in software rendering mode on an Intel NUC7i7BNH

Post by Laurent85 »

Xorg defaults to using the legacy xorg intel driver with your card, try removing this xorg driver to force xorg to use the modesetting driver which better supports intel graphics cards.

Code: Select all

sudo apt remove xserver-xorg-video-intel
Then reboot.
Image
jbodnar

Re: Cinnamon running in software rendering mode on an Intel NUC7i7BNH

Post by jbodnar »

Done and rebooted. Still running in software rendering mode.
Laurent85 wrote:Xorg defaults to using the legacy xorg intel driver with your card, try removing this xorg driver to force xorg to use the modesetting driver which better supports intel graphics cards.

Code: Select all

sudo apt remove xserver-xorg-video-intel
Then reboot.
Gaytan

Re: Mint 18.2; Cinnamon in software rendering mode on Intel NUC7i7BNH; I have same problem!

Post by Gaytan »

Hi Guys,

Just to mention; got the same iNuc and have the very same problem! Mint 18.2 Cinnamon really running very well, but ... in 'Software Rendering Mode' only...
Keep me posted as well as soon as there seems to be a solution....! I saw developers are able to download source code at the Intel Site to build new Linux drivers with.

Intel redirects to this Intel Linux Drivers org site:

https://01.org/linuxgraphics/downloads/ ... ack-recipe

As I'm not a developer I'm afraid this goes beyond me.... I hope the Mint (Cinnamon) developers can use it!

Curious: How come Mint Mate 18.1 DID recognize my Intel Pro 650 Graphics chip? I do know Mate is maintained by another group; maybe you can discuss the matter with them? Mate 18.1 permitted me to run 'normal graphics' with my iNuc Intel Pro 650 graphics card series... Guess they could be of great help!

Intel listing compatibility chipsets agains OS's... showing Linux is / should be compatible with the Graphics Chipset since Jan 2017; guess they should 'correct' their list! ;-)

https://www.intel.com/content/www/us/en ... kie-notice


Ed
User avatar
roblm
Level 15
Level 15
Posts: 5939
Joined: Sun Feb 24, 2013 2:41 pm

Re: Cinnamon running in software rendering mode on an Intel NUC7i7BNH

Post by roblm »

jbodnar or Gaytan,

Would you use this command and post the output:

Code: Select all

cat /var/log/Xorg.0.log |egrep -i "intel|modeset|glamor”
There will be many lines, so copy and paste the lines into a Code window by selecting “Code” in the Mint Forum reply window and then pressing Ctrl+V to paste the lines between the two code words.
jbodnar

Re: Cinnamon running in software rendering mode on an Intel NUC7i7BNH

Post by jbodnar »

It was too long for the forum so I put it in pastebin:

https://pastebin.com/98rAU8xq

roblm wrote:jbodnar or Gaytan,

Would you use this command and post the output:

Code: Select all

cat /var/log/Xorg.0.log |egrep -i "intel|modeset|glamor”
There will be many lines, so copy and paste the lines into a Code window by selecting “Code” in the Mint Forum reply window and then pressing Ctrl+V to paste the lines between the two code words.
User avatar
roblm
Level 15
Level 15
Posts: 5939
Joined: Sun Feb 24, 2013 2:41 pm

Re: Cinnamon running in software rendering mode on an Intel NUC7i7BNH

Post by roblm »

These are several of the lines from the log file showing the modesetting driver is loaded:

Code: Select all

[    12.411] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[    12.411] (==) modeset(0): RGB weight 888
[    12.411] (==) modeset(0): Default visual is TrueColor
But according to this article, the glamor acceleration method needs to be enabled for video acceleration to work properly:

http://www.linuxquestions.org/questions ... 175577962/

These lines from the log file show the glamor method is attempted but then fails:

Code: Select all

[    12.411] (II) Loading sub module "glamoregl"
[    12.411] (II) LoadModule: "glamoregl"
[    12.411] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[    12.417] (II) Module glamoregl: vendor="X.Org Foundation"
[    12.417] (II) glamor: OpenGL accelerated X.org driver based.
[    12.466] (II) glamor: EGL version 1.4 (DRI2):
[    12.466] (EE) modeset(0): glamor initialization failed
Try using this xorg.conf file to force the use of glamor. Use this command to create the file:

Code: Select all

gksudo xed /etc/X11/xorg.conf
In the opened empty file, add these lines:

Code: Select all

Section "Device"
   Identifier "Intel Graphics"
   Driver "modesetting"
   Option "SWCursor" "false"
   Option "kmsdev" "/dev/dri/card0"
   Option "AccelMethod" "glamor"
EndSection
Log out and back in. If that doesn't help, then post the output of this command:

Code: Select all

cat /var/log/Xorg.0.log |grep -i glamor
If there is a problem getting back to the desktop, then press Ctrl+Alt+F1 to enter the virtual console tty1. Login and then type this command to remove the xorg.conf file:

Code: Select all

sudo rm /etc/X11/xorg.conf
Then type: sudo reboot
Gaytan

Re: Cinnamon running in software rendering mode on an Intel NUC7i7BNH

Post by Gaytan »

Tried to run the "cat /var/log/Xorg.0.log |egrep -i "intel|modeset|glamor”" command like you asked, gives me only the prompt '>" ... no output.... Can that be correct?
Gaytan

Re: Cinnamon running in software rendering mode on an Intel NUC7i7BNH

Post by Gaytan »

Did the creation of the xorg.conf file like you requested, logged out and back in; still in 'sofware rendering' mode...
Last edited by Gaytan on Fri Jul 07, 2017 11:47 am, edited 1 time in total.
Gaytan

Re: Cinnamon running in software rendering mode on an Intel NUC7i7BNH

Post by Gaytan »

Code: Select all

gaytan@iNuc-Mint ~ $ cat /var/log/Xorg.0.log |grep -i glamor
[ 10283.976] (**) modeset(0): Option "AccelMethod" "glamor"
[ 10283.976] (II) Loading sub module "glamoregl"
[ 10283.976] (II) LoadModule: "glamoregl"
[ 10283.976] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[ 10283.985] (II) Module glamoregl: vendor="X.Org Foundation"
[ 10283.985] (II) glamor: OpenGL accelerated X.org driver based.
[ 10284.027] (II) glamor: EGL version 1.4 (DRI2):
[ 10284.028] (EE) modeset(0): glamor initialization failed
Locked

Return to “Graphics Cards & Monitors”