GLMARK2 SNA only

=======================================================
    glmark2 2012.08
=======================================================
    OpenGL Information
    GL_VENDOR:     Intel Open Source Technology Center
    GL_RENDERER:   Mesa DRI Mobile Intel® GM45 Express Chipset 
    GL_VERSION:    2.1 Mesa 10.3.2
=======================================================
[build] use-vbo=false: FPS: 272 FrameTime: 3.676 ms
[build] use-vbo=true: FPS: 272 FrameTime: 3.676 ms
[texture] texture-filter=nearest: FPS: 278 FrameTime: 3.597 ms
[texture] texture-filter=linear: FPS: 277 FrameTime: 3.610 ms
[texture] texture-filter=mipmap: FPS: 277 FrameTime: 3.610 ms
[shading] shading=gouraud: FPS: 216 FrameTime: 4.630 ms
[shading] shading=blinn-phong-inf: FPS: 209 FrameTime: 4.785 ms
[shading] shading=phong: FPS: 171 FrameTime: 5.848 ms
[bump] bump-render=high-poly: FPS: 126 FrameTime: 7.937 ms
[bump] bump-render=normals: FPS: 282 FrameTime: 3.546 ms
[bump] bump-render=height: FPS: 259 FrameTime: 3.861 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 160 FrameTime: 6.250 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 86 FrameTime: 11.628 ms
[pulsar] light=false:quads=5:texture=false: FPS: 256 FrameTime: 3.906 ms
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 88 FrameTime: 11.364 ms
[desktop] effect=shadow:windows=4: FPS: 119 FrameTime: 8.403 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 159 FrameTime: 6.289 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 143 FrameTime: 6.993 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 165 FrameTime: 6.061 ms
[ideas] speed=duration: FPS: 203 FrameTime: 4.926 ms
[jellyfish] <default>: FPS: 114 FrameTime: 8.772 ms
[terrain] <default>: FPS: 14 FrameTime: 71.429 ms
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 281 FrameTime: 3.559 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 218 FrameTime: 4.587 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 281 FrameTime: 3.559 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 269 FrameTime: 3.717 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 197 FrameTime: 5.076 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 260 FrameTime: 3.846 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 261 FrameTime: 3.831 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 208 FrameTime: 4.808 ms
=======================================================
                                  glmark2 Score: 204 
=======================================================

GLMARK2 with UXA & DRI

=======================================================
    glmark2 2012.08
=======================================================
    OpenGL Information
    GL_VENDOR:     Intel Open Source Technology Center
    GL_RENDERER:   Mesa DRI Mobile Intel® GM45 Express Chipset 
    GL_VERSION:    2.1 Mesa 10.3.2
=======================================================
[build] use-vbo=false: FPS: 234 FrameTime: 4.274 ms
[build] use-vbo=true: FPS: 228 FrameTime: 4.386 ms
[texture] texture-filter=nearest: FPS: 245 FrameTime: 4.082 ms
[texture] texture-filter=linear: FPS: 242 FrameTime: 4.132 ms
[texture] texture-filter=mipmap: FPS: 234 FrameTime: 4.274 ms
[shading] shading=gouraud: FPS: 150 FrameTime: 6.667 ms
[shading] shading=blinn-phong-inf: FPS: 149 FrameTime: 6.711 ms
[shading] shading=phong: FPS: 124 FrameTime: 8.065 ms
[bump] bump-render=high-poly: FPS: 89 FrameTime: 11.236 ms
[bump] bump-render=normals: FPS: 246 FrameTime: 4.065 ms
[bump] bump-render=height: FPS: 203 FrameTime: 4.926 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 119 FrameTime: 8.403 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 59 FrameTime: 16.949 ms
[pulsar] light=false:quads=5:texture=false: FPS: 219 FrameTime: 4.566 ms
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 59 FrameTime: 16.949 ms
[desktop] effect=shadow:windows=4: FPS: 89 FrameTime: 11.236 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 147 FrameTime: 6.803 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 117 FrameTime: 8.547 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 150 FrameTime: 6.667 ms
[ideas] speed=duration: FPS: 177 FrameTime: 5.650 ms
[jellyfish] <default>: FPS: 89 FrameTime: 11.236 ms
[terrain] <default>: FPS: 14 FrameTime: 71.429 ms
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 240 FrameTime: 4.167 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 150 FrameTime: 6.667 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 243 FrameTime: 4.115 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 250 FrameTime: 4.000 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 157 FrameTime: 6.369 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 180 FrameTime: 5.556 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 178 FrameTime: 5.618 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 147 FrameTime: 6.803 ms
=======================================================
                                  glmark2 Score: 164 
=======================================================

GLMARK2 with SNA & DRI

=======================================================
    glmark2 2012.08
=======================================================
    OpenGL Information
    GL_VENDOR:     Intel Open Source Technology Center
    GL_RENDERER:   Mesa DRI Mobile Intel® GM45 Express Chipset 
    GL_VERSION:    2.1 Mesa 10.3.2
=======================================================
[build] use-vbo=false: FPS: 270 FrameTime: 3.704 ms
[build] use-vbo=true: FPS: 278 FrameTime: 3.597 ms
[texture] texture-filter=nearest: FPS: 278 FrameTime: 3.597 ms
[texture] texture-filter=linear: FPS: 275 FrameTime: 3.636 ms
[texture] texture-filter=mipmap: FPS: 277 FrameTime: 3.610 ms
[shading] shading=gouraud: FPS: 217 FrameTime: 4.608 ms
[shading] shading=blinn-phong-inf: FPS: 209 FrameTime: 4.785 ms
[shading] shading=phong: FPS: 171 FrameTime: 5.848 ms
[bump] bump-render=high-poly: FPS: 126 FrameTime: 7.937 ms
[bump] bump-render=normals: FPS: 282 FrameTime: 3.546 ms
[bump] bump-render=height: FPS: 260 FrameTime: 3.846 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 160 FrameTime: 6.250 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 85 FrameTime: 11.765 ms
[pulsar] light=false:quads=5:texture=false: FPS: 258 FrameTime: 3.876 ms
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 89 FrameTime: 11.236 ms
[desktop] effect=shadow:windows=4: FPS: 119 FrameTime: 8.403 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 159 FrameTime: 6.289 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 146 FrameTime: 6.849 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 166 FrameTime: 6.024 ms
[ideas] speed=duration: FPS: 203 FrameTime: 4.926 ms
[jellyfish] <default>: FPS: 115 FrameTime: 8.696 ms
[terrain] <default>: FPS: 14 FrameTime: 71.429 ms
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 281 FrameTime: 3.559 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 218 FrameTime: 4.587 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 282 FrameTime: 3.546 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 270 FrameTime: 3.704 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 197 FrameTime: 5.076 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 261 FrameTime: 3.831 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 261 FrameTime: 3.831 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 209 FrameTime: 4.785 ms
=======================================================
                                  glmark2 Score: 204 
=======================================================

UXA GLMARK2 score

=======================================================
glmark2 2012.08

=======================================================
    OpenGL Information
    GL_VENDOR:     Intel Open Source Technology Center
    GL_RENDERER:   Mesa DRI Mobile Intel® GM45 Express Chipset 
    GL_VERSION:    2.1 Mesa 10.3.2
=======================================================
[build] use-vbo=false: FPS: 220 FrameTime: 4.545 ms
[build] use-vbo=true: FPS: 220 FrameTime: 4.545 ms
[texture] texture-filter=nearest: FPS: 222 FrameTime: 4.505 ms
[texture] texture-filter=linear: FPS: 218 FrameTime: 4.587 ms
[texture] texture-filter=mipmap: FPS: 193 FrameTime: 5.181 ms
[shading] shading=gouraud: FPS: 150 FrameTime: 6.667 ms
[shading] shading=blinn-phong-inf: FPS: 147 FrameTime: 6.803 ms
[shading] shading=phong: FPS: 125 FrameTime: 8.000 ms
[bump] bump-render=high-poly: FPS: 90 FrameTime: 11.111 ms
[bump] bump-render=normals: FPS: 226 FrameTime: 4.425 ms
[bump] bump-render=height: FPS: 195 FrameTime: 5.128 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 116 FrameTime: 8.621 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 60 FrameTime: 16.667 ms
[pulsar] light=false:quads=5:texture=false: FPS: 198 FrameTime: 5.051 ms
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 61 FrameTime: 16.393 ms
[desktop] effect=shadow:windows=4: FPS: 93 FrameTime: 10.753 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 121 FrameTime: 8.264 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 107 FrameTime: 9.346 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 132 FrameTime: 7.576 ms
[ideas] speed=duration: FPS: 160 FrameTime: 6.250 ms
[jellyfish] <default>: FPS: 88 FrameTime: 11.364 ms
[terrain] <default>: FPS: 14 FrameTime: 71.429 ms
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 221 FrameTime: 4.525 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 151 FrameTime: 6.623 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 220 FrameTime: 4.545 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 213 FrameTime: 4.695 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 145 FrameTime: 6.897 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 184 FrameTime: 5.435 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 182 FrameTime: 5.495 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 147 FrameTime: 6.803 ms
=======================================================
                                  glmark2 Score: 153 
=======================================================

Intel Mobile Series 4 Issues on Elementary

There are some issues with the intel graphics in Frey. These seem not to be Freya specific but have been inherited from Ubuntu. I have tried a whole bunch of fixes to no avail. The following describe some of the issues, some of the things that don’t work and finally, things that do.

First issue – Corruption of mouse pointer after drag and drop action

This action creates a mouse pointer with a double image and remnants of the dragged icon as below.

[Insert image here]

The issue seem to stem from the intel driver’s inability to handle the default acceleration method properly. By default, Freya uses SNA (Sandybridge New Acceleration). My research seems to indicate that while SNA works on some non Sandybridge Graphics processors, on others it doesn’t. I think alot of people try out Linux Distros on their ‘old’ PCs so this becomes a problem. I’m running Freya on a Dell Inspiron 1545. You can see below the graphics hardware for this machine.

[email protected]:/$ sudo lspci -vv
[sudo] password for jasonkeenan:
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
Subsystem: Dell Device 02aa
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast &gt;TAbort- &lt;TAbort- &lt;MAbort+ &gt;SERR- &lt;PERR- INTx-
Latency: 0
Capabilities: [e0] Vendor Specific Information: Len=0a &lt;?&gt;
Kernel driver in use: agpgart-intel

00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07) (prog-if 00 [VGA controller])
Subsystem: Dell Device 02aa
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast &gt;TAbort- &lt;TAbort- &lt;MAbort- &gt;SERR- &lt;PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 45
Region 0: Memory at f6c00000 (64-bit, non-prefetchable) [size=4M]
Region 2: Memory at e0000000 (64-bit, prefetchable) [size=256M]
Region 4: I/O ports at efe8 [size=8]
Expansion ROM at &lt;unassigned&gt; [disabled]
Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
Address: fee0300c Data: 4122
Capabilities: [d0] Power Management version 3
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Kernel driver in use: i915

00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
Subsystem: Dell Device 02aa
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast &gt;TAbort- &lt;TAbort- &lt;MAbort- &gt;SERR- &lt;PERR- INTx-
Latency: 0
Region 0: Memory at f6b00000 (64-bit, non-prefetchable) [size=1M]
Capabilities: [d0] Power Management version 3
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-

In this case the only solution seems to be to force the acceleration into the older mode of UXA. You can do this by doing the following

sudo touch /usr/share/X11/xorg.conf.d/20-intel.conf

This will create a new empty file. Open the file in an editor that allows you to make changes as super user. Scratch won’t do this but sublime for example will.

Add the following to the file and save entering your admin password.

Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "AccelMethod" "uxa"
EndSection

This should get rid of the pointer glitch. Technically you have probably slowed your graphics processing down by a bit but there doesn’t seem to be a huge impact, at least on my machine.

Another thin to try is to add the following lines to your /etc/environment file

CLUTTER_PAINT=disable-clipped-redraws:disable-culling
CLUTTER_VBLANK=True

Elementary OS shortcuts

⌘+Space App Launcher
Alt+Tab Window Switcher
⇧+Alt+Tab Switch Windows Backwards
⌘+W Window Overview
⌘+T Open Terminal
⌘+A Window Overview (Across All Workspaces)
⌘+Left/Right Switch Workspace
⌘+S Workspace Overview
⌘+0 New Workspace
⇧+⌘+Left/Right Move Window with Workspace
Ctrl+⌘+Left/Right Snap Window to Half of Workspace
Ctrl+⌘+Up/Down Maximize/Unmaximize Window (Not working in Freya???)
⌘+L Lock Screen
⌘+Click+Drag Move Window
⌘+Secondary (Right) Click+Drag Resize Window

Elementary OS

Elementary OS is a stripped down and sleek Linux based on Ubuntu. I currently have this installed on a Dell 1545 laptop that was struggling under the weight of an old install of windows seven with it’s puny core 2 duo and 3gigs of ram balking at the simplest of tasks. After much deliberation about whether I needed to keep anything on the laptop, I finally decided to bite the bullet and just install it.

I initially tried out a live version on a USB stick to see how it ran and I was very impressed. All of the hardware was found without a problem and it booted straight into a working machine.

The interface is very mac like, with nice design elements and some software that has be written (or at least customised) to work seamlessly with Elementary OS. Elementary give you a very ‘commercial’ OS experience. There are no messages scrolling past as it boots up and it seems to start up very quickly. The operational philosophy seems to be based on good design principles and, like Ruby on Rails, convention over configuration. It surprises me that Ruby & Rails don’t come as standard. It is always  pain to install and I think that the philosophy is congruent with what they are trying to achieve. I have read some articles that complain about Elementary not being customisable enough but I think the idea is that if you follow good design and user experience principles and stick to them, you will create a much higher level of usability in the long run. If Linux ever want’s to get a real stranglehold in the consumer market against the big two, then this is going to have to be the way to go. People need to know how to use a computer the first time that they get on it, either at work or when installing on a new machine at home. Too much configuration means that there may just be too many differences between computers, confusing the user.

Elementary utilises the ‘super’ key, the windows key on ex-windows keyboards, to activate certain processes. This caused some confusion when I installed some software that made the top bar disappear, stopping me from opening any applications. Here is an example

super + t = terminal

super + space = Applications

super + l = lock screen

Most applications are installed via the Unbuntu Software Centre, however these seem to mostly be waaaaay out of date. Installing with apt-get seems to be the only way to install more recent software which isn’t a problem but certainly detracts form the expectation of such s user friendly looking interface. I’ll install Synaptic Package Manager which will hopefully be a happy medium.

There is a glitch which seems to be particular to a few flavours of Ubuntu that causes a problem with the mouse pointer graphic when you try to drag something. You can do a ‘super + L’ to lock the screen a log back in to refresh it but there also seem to be some other solutions out there. I’ll post with fixes as I find them.

All in all it’s been a nice couple of days with Elementary OS. I think that its one that I’ll stick with. The world needs and alternative to windows and OSX and I think this might be a good start.