I saw your reference to the log from #2 and took a deeper look at it,
and saw this line:

[ 76855.829] (**) modeset(0): Option "AccelMethod" "glamor"

In my xorg.conf, I had Option "AccelMethod" "None" and hadn't thought
too hard about it because graphical acceleration worked with it set to
"None" and using the 'intel' driver.  However, with the driver set as
'intel', I started getting text corruption after suspend and resume
across multiple applications, so I was still looking for answers.  I
believe there's a bug elsewhere on launchpad I need to follow up with
about that.  So, I probably shouldn't have been surprised that I didn't
have acceleration under the 'modesetting' driver with "AccelMethod"
"None".  I switched it to "glamor", and now my Xorg.0.log looks rather
more like the log in #2, and graphical acceleration appears to be
working for me.  I did observe flickering at startup on the desktop,
though I haven't seen it elsewhere yet.  For the specific comparable
section:

[     8.958] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[     8.958] (II) AIGLX: enabled GLX_ARB_create_context
[     8.958] (II) AIGLX: enabled GLX_ARB_create_context_profile
[     8.958] (II) AIGLX: enabled GLX_EXT_create_context_es{,2}_profile
[     8.958] (II) AIGLX: enabled GLX_INTEL_swap_event
[     8.958] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
[     8.958] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB
[     8.958] (II) AIGLX: enabled GLX_ARB_fbconfig_float
[     8.958] (II) AIGLX: enabled GLX_EXT_fbconfig_packed_float
[     8.958] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[     8.958] (II) AIGLX: enabled GLX_ARB_create_context_robustness
[     8.958] (II) AIGLX: Loaded and initialized i965
[     8.958] (II) GLX: Initialized DRI2 GL provider for screen 0

For the relevant bit of the Xorg.0.log regarding glamor:

[     8.767] (**) modeset(0): Option "AccelMethod" "glamor"
[     8.767] (==) modeset(0): RGB weight 888
[     8.767] (==) modeset(0): Default visual is TrueColor
[     8.767] (II) Loading sub module "glamoregl"
[     8.767] (II) LoadModule: "glamoregl"
[     8.767] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[     8.777] (II) Module glamoregl: vendor="X.Org Foundation"
[     8.777]    compiled for 1.18.4, module version = 1.0.0
[     8.777]    ABI class: X.Org ANSI C Emulation, version 0.4
[     8.777] (II) glamor: OpenGL accelerated X.org driver based.
[     8.799] (II) glamor: EGL version 1.4 (DRI2):

So, hopefully this works for me, though it didn't sound sufficient for
the poster of #2.  I'll follow up if/when I discover more, but sorry
that my post boils down to "acceleration didn't work because I didn't
turn it on".

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/1632165

Title:
  modesetting driver unbearably slow on intel graphics

Status in xorg-server package in Ubuntu:
  Confirmed

Bug description:
  After upgrading to Yakkey, I found the graphics performance of my
  MacBookPro12,1 (13", 2015, retina/hidpi display) became unbearably
  slow - switching workspaces, playing games, even just scrolling web
  browser tabs was visibly slower. The computer became constantly warm,
  and battery life dropped.

  Switching from using from modesetting back to the intel driver fixed
  these problems.

  ProblemType: Bug
  DistroRelease: Ubuntu 16.10
  Package: xserver-xorg-core 2:1.18.4-1ubuntu6
  ProcVersionSignature: Ubuntu 4.8.0-21.23-generic 4.8.0
  Uname: Linux 4.8.0-21-generic x86_64
  ApportVersion: 2.20.3-0ubuntu7
  Architecture: amd64
  CompizPlugins: No value set for 
`/apps/compiz-1/general/screen0/options/active_plugins'
  CompositorRunning: None
  CurrentDesktop: GNOME
  Date: Tue Oct 11 11:47:47 2016
  DistUpgraded: 2016-10-05 14:48:30,702 ERROR got error from PostInstallScript 
./xorg_fix_proprietary.py (g-exec-error-quark: Failed to execute child process 
"./xorg_fix_proprietary.py" (No such file or directory) (8))
  DistroCodename: yakkety
  DistroVariant: ubuntu
  ExtraDebuggingInterest: Yes, including running git bisection searches
  GraphicsCard:
   Intel Corporation Iris Graphics 6100 [8086:162b] (rev 09) (prog-if 00 [VGA 
controller])
     Subsystem: Apple Inc. Iris Graphics 6100 [106b:013f]
  InstallationDate: Installed on 2015-07-22 (446 days ago)
  InstallationMedia: Ubuntu-GNOME 15.04 "Vivid Vervet" - Release amd64 
(20150422)
  Lsusb:
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 003: ID 05ac:0273 Apple, Inc. 
   Bus 001 Device 002: ID 05ac:8290 Apple, Inc. 
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  MachineType: Apple Inc. MacBookPro12,1
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.8.0-21-generic 
root=/dev/mapper/ubuntu--gnome--vg-root ro quiet splash acpi_backlight=vendor 
i915.fastboot=1 vt.handoff=7
  SourcePackage: xorg-server
  UpgradeStatus: Upgraded to yakkety on 2016-10-05 (5 days ago)
  dmi.bios.date: 09/28/2015
  dmi.bios.vendor: Apple Inc.
  dmi.bios.version: MBP121.88Z.0167.B14.1509281135
  dmi.board.name: Mac-E43C1C25D4880AD6
  dmi.board.vendor: Apple Inc.
  dmi.board.version: MacBookPro12,1
  dmi.chassis.type: 9
  dmi.chassis.vendor: Apple Inc.
  dmi.chassis.version: Mac-E43C1C25D4880AD6
  dmi.modalias: 
dmi:bvnAppleInc.:bvrMBP121.88Z.0167.B14.1509281135:bd09/28/2015:svnAppleInc.:pnMacBookPro12,1:pvr1.0:rvnAppleInc.:rnMac-E43C1C25D4880AD6:rvrMacBookPro12,1:cvnAppleInc.:ct9:cvrMac-E43C1C25D4880AD6:
  dmi.product.name: MacBookPro12,1
  dmi.product.version: 1.0
  dmi.sys.vendor: Apple Inc.
  version.compiz: compiz N/A
  version.ia32-libs: ia32-libs N/A
  version.libdrm2: libdrm2 2.4.70-1
  version.libgl1-mesa-dri: libgl1-mesa-dri 12.0.3-1ubuntu2
  version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
  version.libgl1-mesa-glx: libgl1-mesa-glx 12.0.3-1ubuntu2
  version.xserver-xorg-core: xserver-xorg-core 2:1.18.4-1ubuntu6
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.7.1-1
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 
2:2.99.917+git20160706-1ubuntu1
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.12-2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1632165/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to