[Bug 1222602] Re: [regression] [gen3] Mesa 9.2 makes Unity unusable on Atom class hardware and 943/945 graphics controllers

2014-03-30 Thread Stefan Thielscher
Okay, I did a few more tests...

- the external monitor is connected at boot time, I disconnected it when
the login screen is displayed, logged in, no high cpu usage

- logged out, connected the monitor, logged in, HIGH CPU USAGE

- logged out, disconnected the monitor, logged in, no high cpu usage

So, up to and including LightDM's login screen, everything is fine. (The
date/time indicator on the login screen pops up the calender immediately
for example; when I'm logged into Unity with high cpu usage, the
calender only pops up in super slow motion.)

When I log into Unity and the external monitor is connected at the time,
I get high cpu usage. When I log into Unity with the monitor
disconnected, I do not get high cpu usage. When I connect the monitor
once Unity is up, everything works fine, too.

BTW, I also have KDE Plasma Workspaces installed, and I don't see any
signs of high cpu usage or graphical slowdowns when I log into that one,
even when the external monitor is connected the whole time.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1222602

Title:
  [regression] [gen3] Mesa 9.2 makes Unity unusable on Atom class
  hardware and 943/945 graphics controllers

To manage notifications about this bug go to:
https://bugs.launchpad.net/mesa/+bug/1222602/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1222602] Re: [regression] [gen3] Mesa 9.2 makes Unity unusable on Atom class hardware and 943/945 graphics controllers

2014-03-29 Thread Stefan Thielscher
I'm not sure if this fits into this particular bug, but maybe it helps
to locate the problem...

I have a netbook with Intel Atom N455 and GMA3150. The netbook has an
external monitor attached to it via a KVM switch (USB mouse and
keyboard, VGA) and has run Ubuntu since 11.10 (13.10 upto yesterday and
now 14.04). The dual monitor setup has worked for nearly 2,5 years
without any real issues.

A few days ago, the external monitor broke. It was an old Samtron CRT
which I ran at 1152x864/75 Hz. I got a new monitor, a LCD flatscreen
with 1366x768, to replace it.

Booting with the new monitor works. It shows the plymouth screen,
LightDM's login screen and also Unity. But compiz now eats roughly 50%
of the CPU as reported by top, and all graphical effects are utterly
slow. This happened under 13.10 and now with 14.04 as well, with all
updates installed.

I've tried the things mentioned above and some others I've found while
searching for this bug:

- Renamed ~/.compiz folder. That actually worked once, but the high CPU
usage was back after a reboot. Didn't do anything when I tried it again.

- Disabled sync to vblank in CCSM. Didn't do anything.

- CCSM - Preferences - Reset Unity profile. Worked, but high CPU usage
was back after a reboot.

- Set MESA_GL_VERSION_OVERRIDE=1.4 in /etc/environment. Didn't do
anything.

- Installed the latest packages from Oibaf's PPA. Didn't do anything.

- Guest session instead of my regular account. Had high CPU usage as
well.

I then decided to install 14.04, hoping the bug would be fixed.
Unfortunately, it's still there.

BTW, /usr/lib/nux/unity_support_test -p shows (under 14.04):

8
OpenGL vendor string:   Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) IGD
OpenGL version string:  1.4 Mesa 10.1.0

Not software rendered:yes
Not blacklisted:  yes
GLX fbconfig: yes
GLX texture from pixmap:  yes
GL npot or rect textures: yes
GL vertex program:yes
GL fragment program:  yes
GL vertex buffer object:  yes
GL framebuffer object:yes
GL version is 1.4+:   yes

Unity 3D supported:   yes
8

I had yes everywhere under 13.10 as well, with both default mesa from
the Ubuntu repositories and the version from Oibaf's PPA.

Yesterday, after installing 14.04 and re-installing my favourite
software packages, I got a few updates. Two dozen packages or so,
including the 3.13.0-20-generic #42 kernel. I installed those and
rebooted. After logging in, THE HIGH CPU USAGE WAS GONE. But after
another reboot, compiz ate half the CPU again. Huh???

Anyway, I've now found a solution. Well, not really, but it works for
now until the problem is properly fixed. I simply unplug the KVM
switch's USB cable before booting to prevent the external monitor from
being seen by the system. Once I'm logged in into Unity, I plug the KVM
switch back in, then the external monitor turns on, the internal one
turns off (as it should), and everything works as expected, without high
CPU usage or slow graphical effects.

I hope this helps someone.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1222602

Title:
  [regression] [gen3] Mesa 9.2 makes Unity unusable on Atom class
  hardware and 943/945 graphics controllers

To manage notifications about this bug go to:
https://bugs.launchpad.net/mesa/+bug/1222602/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1222602] Re: [regression] [gen3] Mesa 9.2 makes Unity unusable on Atom class hardware and 943/945 graphics controllers

2014-03-29 Thread Stefan Thielscher
Good to hear it's solved for you!

The strange thing is that I just replaced that broken CRT with the new
LCD monitor. Just disconnected the old monitor and connected the new
one. Boom, high CPU usage :-(. I didn't install any new software, etc.

I never had this before in 2,5 years and as I said I still have this
problem under 14.04, even though the CPU usage there seems to be a bit
lower than under 13.10 (I assume due to optimizations in the whole
graphics stack).

The funny thing is that I have high CPU usage even when the external
monitor is in stand-by/powered off, but when I physically disconnect it
(by either removing the VGA cable from the VGA port or unplugging the
KVM switch's USB cable which also provides the power for that thing),
everything is okay. Makes me wonder what's going on there.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1222602

Title:
  [regression] [gen3] Mesa 9.2 makes Unity unusable on Atom class
  hardware and 943/945 graphics controllers

To manage notifications about this bug go to:
https://bugs.launchpad.net/mesa/+bug/1222602/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs