You are not logged in.

#1 2014-02-17 00:41:41

josejacomeb
Member
From: Píllaro-Ecuador
Registered: 2014-02-16
Posts: 12

[Solved]Control of automatic GPU switching in Linux 3.13

I'm using the Linux Kernel 3.13 of the testing repository, I have a laptop with Hybrid Graphics ATI/Intel:

00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Whistler [Radeon HD 6730M/6770M/7690M XT] (rev ff)

I use the vgaswitcheroo method to shutdown the discrete GPU, it generally show this:

0:IGD:+:Pwr:0000:00:02.0
1:DIS: :Off:0000:01:00.0

But with the New Kernel Feature Automatic GPU Switching I can't shutdown the Discrete GPU of my Hybrid Graphics System, I got this output:

0:IGD:+:Pwr:0000:00:02.0
1:DIS: :DynPwr:0000:01:00.0

I have searched for the power_dpm_state in /sys/class/drm for change to "battery" mode but it file doesn't exist (With the Kernel 3.12 I can set up DPM to "battery" mode)
I don't want to use the Discrete GPU on Linux to save energy and with the DynPwr I got about 60 ͦ C

How Can I set up my Hybrid Graphics Cards for reduce the temperature?

Thanks!

Last edited by josejacomeb (2014-02-23 00:32:33)

Offline

#2 2014-02-17 08:57:55

Rexilion
Member
Registered: 2013-12-23
Posts: 784

Re: [Solved]Control of automatic GPU switching in Linux 3.13

Maybe this?

Ubuntu Community about HybridGraphics wrote:

Turns off the graphics card that is currently disconnected.
echo OFF > /sys/kernel/debug/vgaswitcheroo/switch

Last edited by Rexilion (2014-02-17 08:58:19)


fs/super.c : "Self-destruct in 5 seconds.  Have a nice day...\n",

Offline

#3 2014-02-17 16:52:12

josejacomeb
Member
From: Píllaro-Ecuador
Registered: 2014-02-16
Posts: 12

Re: [Solved]Control of automatic GPU switching in Linux 3.13

Thanks for Response! Sorry I forgot to specify how I shutdown my Discrete GPU, I use

echo OFF > /sys/kernel/debug/vgaswitcheroo/switch

and I got this output:

[root@HP-pavilion-dv6 josejacomeb]# cat /sys/kernel/debug/vgaswitcheroo/switch
0:IGD:+:Pwr:0000:00:02.0
1:DIS: :DynPwr:0000:01:00.0
[root@HP-pavilion-dv6 josejacomeb]# echo OFF > /sys/kernel/debug/vgaswitcheroo/switch
[root@HP-pavilion-dv6 josejacomeb]# cat /sys/kernel/debug/vgaswitcheroo/switch
0:IGD:+:Pwr:0000:00:02.0
1:DIS: :DynPwr:0000:01:00.0

I searched in Internet about Hybrid Graphics and Linux 3.13 but I can't find information about this, Where Can I Find Information about Automatic GPU Switching?

Offline

#4 2014-02-17 17:34:11

Rexilion
Member
Registered: 2013-12-23
Posts: 784

Re: [Solved]Control of automatic GPU switching in Linux 3.13

I think this implies that you have reason to assume it's already off. As a last resort you could unbind the radeon DRM driver from the discrete Ati card. But that would be rather crude.


fs/super.c : "Self-destruct in 5 seconds.  Have a nice day...\n",

Offline

#5 2014-02-20 17:44:37

josejacomeb
Member
From: Píllaro-Ecuador
Registered: 2014-02-16
Posts: 12

Re: [Solved]Control of automatic GPU switching in Linux 3.13

Ok,  for now I'm using the Linux Kernel LTS but I hope to  find how to control this "improvement" of AMD

Offline

#6 2014-02-20 21:49:52

clfarron4
Member
From: London, UK
Registered: 2013-06-28
Posts: 2,163
Website

Re: [Solved]Control of automatic GPU switching in Linux 3.13

josejacomeb wrote:

Ok,  for now I'm using the Linux Kernel LTS but I hope to  find how to control this "improvement" of AMD

Have you tried passing radeon.dpm=1 to the [core] kernels? It is enabled by default in 3.13, but the infrastructure is only put in place is 3.11/3.12.


Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository

Offline

#7 2014-02-23 00:30:16

josejacomeb
Member
From: Píllaro-Ecuador
Registered: 2014-02-16
Posts: 12

Re: [Solved]Control of automatic GPU switching in Linux 3.13

Thank you for your responses @Rexilion and @clfarron4 with the last kernel and the recent Linux Firmware my system works very good!
I got 44ºC in my normal use, less than vgaswitcheroo method

Offline

#8 2014-03-03 20:11:33

denspirit
Member
From: Belarus
Registered: 2012-06-11
Posts: 9

Re: [Solved]Control of automatic GPU switching in Linux 3.13

I am an Arch user on a notebook Asus X53BR-SX026D. This notebook does have powerxpress ATI/ATI switchable graphics, but this feature works correctly only on Windows.
In Arch, either switching or disabling through vgaswitcheroo destabilized my system, X could not (re)start at all, and to reboot I was forced to use SysRq keys.
Since linux kernel 3.11 my notebook finally stopped heating up to 80C right after boot, thanks to dpm.
Runtime power management ( DynPwr and such ) is a great feature for linux, but it works like a disaster for me, because it clearly tries to powerdown the discrete card, and this action leads to above effects.
And here is the cure:
Just add radeon.runpm=0 to kernel command line in GRUB
OR add a config to /etc/modprobe.d/, like that

cat /etc/modprobe.d/boot_radeon.conf
options radeon dpm=1
options radeon audio=1
options radeon runpm=0

But you need to include it into initramfs to truly take effect ( seems to be because of KMS ). To do so, add "/etc/modprobe.d/<config>.conf" to FILES section of /etc/mkinitcpio.conf and rebuild initramfs:

mkinitcpio -p linux

Offline

#9 2014-03-11 01:57:30

josejacomeb
Member
From: Píllaro-Ecuador
Registered: 2014-02-16
Posts: 12

Re: [Solved]Control of automatic GPU switching in Linux 3.13

Thank you denspirit for now I'm using the Linux Kernel lts, my hardware doesn't work fine with radeon.runpm=0, I will wait for new versions of the Kernel

Offline

#10 2014-03-14 02:26:20

jarryson
Member
Registered: 2007-02-18
Posts: 298

Re: [Solved]Control of automatic GPU switching in Linux 3.13

AMD A10 5750M + HD7670M

seems it's all automatic.

cat /sys/kernel/debug/vgaswitcheroo/switch 
0:IGD:+:DynPwr:0000:00:01.0
1:DIS: :DynOff:0000:01:00.0

Last edited by jarryson (2014-03-14 07:03:47)

Offline

#11 2014-03-14 10:12:26

mcloaked
Member
From: Yorkshire, UK
Registered: 2012-02-02
Posts: 1,024

Re: [Solved]Control of automatic GPU switching in Linux 3.13

I have a Lenovo S540 with Intel/ATI hybrid graphics and I have been unable to get a graphical boot successfully so far. This thread may well offer me some clues to help but I wonder if any of you can tell me if you had to do anything special on the kernel boot line to get a graphical login at all?


Mike C

Offline

#12 2014-03-16 18:40:03

denspirit
Member
From: Belarus
Registered: 2012-06-11
Posts: 9

Re: [Solved]Control of automatic GPU switching in Linux 3.13

mcloaked, does X fail because of "No screens found errors"?
Do you have xorg-xf86-video both -ati and -intel installed?

Offline

#13 2014-03-16 18:48:06

mcloaked
Member
From: Yorkshire, UK
Registered: 2012-02-02
Posts: 1,024

Re: [Solved]Control of automatic GPU switching in Linux 3.13

denspirit wrote:

mcloaked, does X fail because of "No screens found errors"?
Do you have xorg-xf86-video both -ati and -intel installed?

I do have both installed but I have now been able to get the system working fine with graphical boot by adding i915 and radeon to the MODULES line in mkinitcpio.conf and regenerating the initial ramdisk with mkinitcpio -p linux - after that rebooting brought up a normal graphical kdm login greeter screen.

I am using the stock kernel and I have no vgaswitcheroo parameter visible in the /sys area. So exploring using discrete/switcheable graphics is another venture that will need more exploring.

Last edited by mcloaked (2014-03-16 18:51:06)


Mike C

Offline

#14 2014-03-16 20:00:28

denspirit
Member
From: Belarus
Registered: 2012-06-11
Posts: 9

Re: [Solved]Control of automatic GPU switching in Linux 3.13

mcloaked, that's good, you enabled KMS by adding these.
vgaswitcheroo is actually in /sys/kernel/debug, recheck, please, if not searched there. this folder is accessible only by root.
Maybe DRI_PRIME would work for you. please log in to graphical desktop and type:

xrandr --listproviders

Consult with Hybrid Graphics page on ArchWiki, it is very helpful for us notebook owners.

EDIT:
vgaswitcheroo shows up only if KMS is enabled, check it out again if you haven't ^_^

Last edited by denspirit (2014-03-16 20:04:58)

Offline

#15 2014-03-16 21:16:15

mcloaked
Member
From: Yorkshire, UK
Registered: 2012-02-02
Posts: 1,024

Re: [Solved]Control of automatic GPU switching in Linux 3.13

denspirit wrote:

mcloaked, that's good, you enabled KMS by adding these.
vgaswitcheroo is actually in /sys/kernel/debug, recheck, please, if not searched there. this folder is accessible only by root.
Maybe DRI_PRIME would work for you. please log in to graphical desktop and type:

xrandr --listproviders

Consult with Hybrid Graphics page on ArchWiki, it is very helpful for us notebook owners.

EDIT:
vgaswitcheroo shows up only if KMS is enabled, check it out again if you haven't ^_^

OK I didn't check for vgaswitcheroo after I made the changes but I will do so and report back along with the xrandr command output.  I had been reading that there are some issues with the hybrid graphics code for Intel/ATI in the currently released kernel with a lot of patches coming in 3.14 to fix issues. But I'll report back later by editing this post.

Edit:

There is no vgaswitcheroo directory seen in the running machine - command as root:

# ls /sys/kernel/debug/
acpi        dma_buf        frontswap         kprobes  pkg_temp_thermal  sleep_time     wakeup_sources
bdi         dri            gpio              mce      pstate_snb        suspend_stats  x86
bluetooth   dynamic_debug  ieee80211         mei      regmap            tracing
cleancache  extfrag        intel_powerclamp  mmc0     sched_features    usb
# 

also only the Intel graphics chip is seen with xrandr:

$ xrandr --listproviders
Providers: number : 1
Provider 0: id: 0x48 cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 4 outputs: 5 associated providers: 0 name:Intel

on the other hand the two cards are seen with lspci:

# lspci |egrep 'VGA|Display'
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09)
06:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Sun XT [Radeon HD 8670A]

One example of others seeing the vgaswitcheroo disappearing is at http://www.phoronix.com/forums/showthre … sappearing

Last edited by mcloaked (2014-03-16 22:22:29)


Mike C

Offline

#16 2014-03-30 17:10:47

mcloaked
Member
From: Yorkshire, UK
Registered: 2012-02-02
Posts: 1,024

Re: [Solved]Control of automatic GPU switching in Linux 3.13

I now have the 3.13.7 kernel which won't start the graphical boot (blank screen with a single static cursor at top left), even though it will boot to the console - but kernel 3.13.6 boots normally to the kdm greeter screen.  I have i915 and radeon in the modules section of mkinitcpio.conf file which was the only method I found to get 3.13.6 to boot to a graphical screen.  So I have had to downgrade the kernel to 3.13.6 to keep working on my machine.

My graphics hardware is:

$ lspci | egrep '(Graphics|Display)'
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09)
06:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Sun XT [Radeon HD 8670A]

but

$ xrandr --listproviders
Providers: number : 1
Provider 0: id: 0x48 cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 4 outputs: 5 associated providers: 0 name:Intel

Can anyone suggest a workaround that might get a successful graphical boot in kernel 3.13.7? I did see that there was a reasonable number of radeon related patches in 3.13.7


Mike C

Offline

#17 2014-03-30 17:43:14

denspirit
Member
From: Belarus
Registered: 2012-06-11
Posts: 9

Re: [Solved]Control of automatic GPU switching in Linux 3.13

You seem to not being the only one with this problem ( see https://bbs.archlinux.org/viewtopic.php?pid=1390393) , but I am sorry I hadn't experienced vgaswitcheroo disappearing while KMS is enabled. Maybe you should check dmesg ( at boot, maybe you will find something interesting, or simply piping it's output to grep "radeon", MAYBE you should pay special attention to microcode related errors ), or Xorg bootup logs ( you said you can login to console) . It's also strange you have only one provider in xrandr output. Is it possible to disable either of videocards in BIOS on your machine?

Offline

#18 2014-03-30 19:24:21

mcloaked
Member
From: Yorkshire, UK
Registered: 2012-02-02
Posts: 1,024

Re: [Solved]Control of automatic GPU switching in Linux 3.13

denspirit wrote:

You seem to not being the only one with this problem ( see https://bbs.archlinux.org/viewtopic.php?pid=1390393) , but I am sorry I hadn't experienced vgaswitcheroo disappearing while KMS is enabled. Maybe you should check dmesg ( at boot, maybe you will find something interesting, or simply piping it's output to grep "radeon", MAYBE you should pay special attention to microcode related errors ), or Xorg bootup logs ( you said you can login to console) . It's also strange you have only one provider in xrandr output. Is it possible to disable either of videocards in BIOS on your machine?

I do have some interesting (!) lines in the journal:

Mar 30 20:12:28 lenovo1 kernel: [drm] Radeon Display Connectors
Mar 30 20:12:28 lenovo1 kernel: [drm] Internal thermal controller without fan control
Mar 30 20:12:28 lenovo1 kernel: [drm] probing gen 2 caps for device 8086:9c18 = 5323c42/0
Mar 30 20:12:28 lenovo1 kernel: [drm] radeon: dpm initialized
Mar 30 20:12:28 lenovo1 kernel: radeon 0000:06:00.0: No connectors reported connected with modes
Mar 30 20:12:28 lenovo1 kernel: [drm] Cannot find any crtc or sizes - going 1024x768
Mar 30 20:12:28 lenovo1 kernel: [drm] fb mappable at 0xD1250000
Mar 30 20:12:28 lenovo1 kernel: [drm] vram apper at 0xD0000000
Mar 30 20:12:28 lenovo1 kernel: [drm] size 3145728
Mar 30 20:12:28 lenovo1 kernel: [drm] fb depth is 24
Mar 30 20:12:28 lenovo1 kernel: [drm]    pitch is 4096
Mar 30 20:12:28 lenovo1 kernel: checking generic (e0000000 7e9000) vs hw (d0000000 10000000)
Mar 30 20:12:28 lenovo1 kernel: radeon 0000:06:00.0: fb1: radeondrmfb frame buffer device
Mar 30 20:12:28 lenovo1 kernel: radeon 0000:06:00.0: registered panic notifier
Mar 30 20:12:28 lenovo1 kernel: [drm] Initialized radeon 2.36.0 20080528 for 0000:06:00.0 on minor 0
Mar 30 20:12:28 lenovo1 kernel: input: Power Button as /devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input0
Mar 30 20:12:28 lenovo1 kernel: ACPI: Power Button [PWRB]
Mar 30 20:12:28 lenovo1 kernel: input: Lid Switch as /devices/LNXSYSTM:00/device:00/PNP0C0D:00/input/input1
Mar 30 20:12:28 lenovo1 kernel: ACPI: Lid Switch [LID0]
Mar 30 20:12:28 lenovo1 kernel: input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input2
Mar 30 20:12:28 lenovo1 kernel: ACPI: Power Button [PWRF]
Mar 30 20:12:28 lenovo1 kernel: [drm] Memory usable by graphics device = 2048M
Mar 30 20:12:28 lenovo1 kernel: checking generic (e0000000 7e9000) vs hw (e0000000 10000000)
Mar 30 20:12:28 lenovo1 kernel: fb: conflicting fb hw usage inteldrmfb vs EFI VGA - removing generic driver
Mar 30 20:12:28 lenovo1 kernel: Console: switching to colour dummy device 80x25
Mar 30 20:12:28 lenovo1 kernel: ------------[ cut here ]------------

and just after that:

Mar 30 20:12:28 lenovo1 kernel: ------------[ cut here ]------------
Mar 30 20:12:28 lenovo1 kernel: WARNING: CPU: 3 PID: 57 at drivers/gpu/drm/i915/intel_opregion.c:266 swsci+0x2ec/0
x300 [i915]()
Mar 30 20:12:28 lenovo1 kernel: excessive driver sleep timeout (DSPL) 1280
Mar 30 20:12:28 lenovo1 kernel: Modules linked in: i915(+) video button intel_agp intel_gtt radeon i2c_algo_bit dr
m_kms_helper ttm drm i2c_core
Mar 30 20:12:28 lenovo1 kernel: CPU: 3 PID: 57 Comm: modprobe Not tainted 3.13.6-1-ARCH #1
Mar 30 20:12:28 lenovo1 kernel: Hardware name: LENOVO 20B3CTO1WW/20B3CTO1WW, BIOS GPET54WW (1.54 ) 02/19/2014
Mar 30 20:12:28 lenovo1 kernel:  0000000000000009 ffff880221db7810 ffffffff81513274 ffff880221db7858
Mar 30 20:12:28 lenovo1 kernel:  ffff880221db7848 ffffffff81061a3d ffffc90000c68218 ffff880223ba4000
Mar 30 20:12:28 lenovo1 kernel:  00000000000001f4 0000000000000008 ffff880221db7920 ffff880221db78a8
Mar 30 20:12:28 lenovo1 kernel: Call Trace:
Mar 30 20:12:28 lenovo1 kernel:  [<ffffffff81513274>] dump_stack+0x4d/0x6f
Mar 30 20:12:28 lenovo1 kernel:  [<ffffffff81061a3d>] warn_slowpath_common+0x7d/0xa0
Mar 30 20:12:28 lenovo1 kernel:  [<ffffffff81061aac>] warn_slowpath_fmt+0x4c/0x50
Mar 30 20:12:28 lenovo1 kernel:  [<ffffffffa0294d8c>] swsci+0x2ec/0x300 [i915]
Mar 30 20:12:28 lenovo1 kernel:  [<ffffffffa0295c54>] intel_opregion_setup+0x204/0x3f0 [i915]
Mar 30 20:12:28 lenovo1 kernel:  [<ffffffffa0227a38>] i915_driver_load+0x588/0xe60 [i915]
Mar 30 20:12:28 lenovo1 kernel:  [<ffffffffa0017b92>] drm_dev_register+0xa2/0x1e0 [drm]
Mar 30 20:12:28 lenovo1 kernel:  [<ffffffffa0019d52>] drm_get_pci_dev+0x92/0x140 [drm]
Mar 30 20:12:28 lenovo1 kernel:  [<ffffffffa022467c>] i915_pci_probe+0x3c/0x90 [i915]
Mar 30 20:12:28 lenovo1 kernel:  [<ffffffff812eb035>] local_pci_probe+0x45/0xa0
Mar 30 20:12:28 lenovo1 kernel:  [<ffffffff812ea7b5>] ? pci_match_device+0xc5/0xd0
Mar 30 20:12:28 lenovo1 kernel:  [<ffffffff812eb169>] pci_device_probe+0xd9/0x130
Mar 30 20:12:28 lenovo1 kernel:  [<ffffffff813b0f87>] driver_probe_device+0x87/0x3a0
Mar 30 20:12:28 lenovo1 kernel:  [<ffffffff813b1373>] __driver_attach+0x93/0xa0
Mar 30 20:12:28 lenovo1 kernel:  [<ffffffff813b12e0>] ? __device_attach+0x40/0x40
Mar 30 20:12:28 lenovo1 kernel:  [<ffffffff813aef93>] bus_for_each_dev+0x63/0xa0
Mar 30 20:12:28 lenovo1 kernel:  [<ffffffff813b09de>] driver_attach+0x1e/0x20
Mar 30 20:12:28 lenovo1 kernel:  [<ffffffff813b05c0>] bus_add_driver+0x180/0x250
Mar 30 20:12:28 lenovo1 kernel:  [<ffffffffa02d7000>] ? 0xffffffffa02d6fff
Mar 30 20:12:28 lenovo1 kernel:  [<ffffffff813b19f4>] driver_register+0x64/0xf0
Mar 30 20:12:28 lenovo1 kernel:  [<ffffffffa02d7000>] ? 0xffffffffa02d6fff
Mar 30 20:12:28 lenovo1 kernel:  [<ffffffff812ea91b>] __pci_register_driver+0x4b/0x50
Mar 30 20:12:28 lenovo1 kernel:  [<ffffffffa0019f1a>] drm_pci_init+0x11a/0x130 [drm]
Mar 30 20:12:28 lenovo1 kernel:  [<ffffffff8151843e>] ? mutex_unlock+0xe/0x10
Mar 30 20:12:28 lenovo1 kernel:  [<ffffffffa02d7000>] ? 0xffffffffa02d6fff
Mar 30 20:12:28 lenovo1 kernel:  [<ffffffffa02d7066>] i915_init+0x66/0x68 [i915]
Mar 30 20:12:28 lenovo1 kernel:  [<ffffffff8100214a>] do_one_initcall+0xfa/0x1b0
Mar 30 20:12:28 lenovo1 kernel:  [<ffffffff81087d78>] ? __blocking_notifier_call_chain+0x58/0x70
Mar 30 20:12:28 lenovo1 kernel:  [<ffffffff810d892b>] load_module+0x1e2b/0x2570
Mar 30 20:12:28 lenovo1 kernel:  [<ffffffff810d5160>] ? store_uevent+0x40/0x40
Mar 30 20:12:28 lenovo1 kernel:  [<ffffffff810d91e6>] SyS_finit_module+0x86/0xb0
Mar 30 20:12:28 lenovo1 kernel:  [<ffffffff815216ad>] system_call_fastpath+0x1a/0x1f
Mar 30 20:12:28 lenovo1 kernel: ---[ end trace 221c578f4cb72b5e ]---
Mar 30 20:12:28 lenovo1 kernel: i915 0000:00:02.0: irq 57 for MSI/MSI-

and after this:

Mar 30 20:12:28 lenovo1 kernel: [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
Mar 30 20:12:28 lenovo1 kernel: [drm] Driver supports precise vblank timestamp query.
Mar 30 20:12:28 lenovo1 kernel: vgaarb: device changed decodes: PCI:0000:00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem
Mar 30 20:12:28 lenovo1 kernel: [drm] GMBUS [i915 gmbus dpb] timed out, falling back to bit banging on pin 5
Mar 30 20:12:28 lenovo1 kernel: fbcon: inteldrmfb (fb0) is primary device
Mar 30 20:12:28 lenovo1 kernel: [drm] Enabling RC6 states: RC6 on, RC6p off, RC6pp off
Mar 30 20:12:28 lenovo1 kernel: Console: switching to colour frame buffer device 240x67
Mar 30 20:12:28 lenovo1 kernel: i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
Mar 30 20:12:28 lenovo1 kernel: [Firmware Bug]: ACPI(PEGP) defines _DOD but not _DOS
Mar 30 20:12:28 lenovo1 kernel: ACPI: Video Device [PEGP] (multi-head: yes  rom: no  post: no)
Mar 30 20:12:28 lenovo1 kernel: ACPI Error: [\_SB_.PCI0.GFX0.DD02._BCL] Namespace lookup failure, AE_NOT_FOUND (20131115/psargs-359)
Mar 30 20:12:28 lenovo1 kernel: ACPI Error: Method parse/execution failed [\_SB_.PCI0.RP05.PEGP.DD02._BCL] (Node ffff8802238aaf50), AE_NOT_FOUND (20131115/psparse-536)
Mar 30 20:12:28 lenovo1 kernel: input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:2f/LNXVIDEO:00/input/input3
Mar 30 20:12:28 lenovo1 kernel: ACPI: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
Mar 30 20:12:28 lenovo1 kernel: acpi device:54: registered as cooling_device0
Mar 30 20:12:28 lenovo1 kernel: input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:01/input/input4
Mar 30 20:12:28 lenovo1 kernel: [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 1

This is in kernel 3.13.6 which does give me what appears to be a working graphics but clearly there are bugs and problems even though I have kde working!

However I don't know how to interpret the lines above!

Additionally further down the journal I see:

Mar 30 20:12:28 lenovo1 kernel: EXT4-fs (sdb1): re-mounted. Opts: data=ordered
Mar 30 20:12:28 lenovo1 systemd[1]: Starting Local File Systems (Pre).
Mar 30 20:12:28 lenovo1 systemd[1]: Reached target Local File Systems (Pre).
Mar 30 20:12:28 lenovo1 systemd[1]: Started Load/Save Random Seed.
Mar 30 20:12:28 lenovo1 kernel: ACPI Exception: AE_BAD_PARAMETER, Returned by Handler for [EmbeddedControl] (20131115/evregion-282)
Mar 30 20:12:28 lenovo1 kernel: ACPI Error: Method parse/execution failed [\_TZ_.TZ01._TMP] (Node ffff88022387ac80), AE_BAD_PARAMETER (20131115/psparse-536)
Mar 30 20:12:28 lenovo1 kernel: ACPI Exception: AE_BAD_PARAMETER, Returned by Handler for [EmbeddedControl] (20131115/evregion-282)
Mar 30 20:12:28 lenovo1 kernel: ACPI Error: Method parse/execution failed [\_TZ_.TZ01._TMP] (Node ffff88022387ac80), AE_BAD_PARAMETER (20131115/psparse-536)
Mar 30 20:12:28 lenovo1 kernel: mei_me 0000:00:16.0: irq 61 for MSI/MSI-X
Mar 30 20:12:28 lenovo1 kernel: shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
Mar 30 20:12:28 lenovo1 kernel: snd_hda_intel 0000:00:1b.0: irq 62 for MSI/MSI-X
Mar 30 20:12:28 lenovo1 kernel: snd_hda_intel 0000:00:03.0: irq 63 for MSI/MSI-X
Mar 30 20:12:28 lenovo1 kernel: ACPI: AC Adapter [AC] (on-line)
Mar 30 20:12:28 lenovo1 kernel: Non-volatile memory driver v1.3
Mar 30 20:12:28 lenovo1 kernel: input: HDA Intel HDMI HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:03.0/sound/card0/input9
Mar 30 20:12:28 lenovo1 kernel: input: HDA Intel HDMI HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:03.0/sound/card0/input8
Mar 30 20:12:28 lenovo1 kernel: input: HDA Intel HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.0/sound/card0/input7
Mar 30 20:12:28 lenovo1 kernel: thinkpad_acpi: ThinkPad ACPI Extras v0.25
Mar 30 20:12:28 lenovo1 kernel: thinkpad_acpi: http://ibm-acpi.sf.net/
Mar 30 20:12:28 lenovo1 kernel: thinkpad_acpi: ThinkPad BIOS GPET54WW (1.54 ), EC unknown
Mar 30 20:12:28 lenovo1 kernel: thinkpad_acpi: Lenovo ThinkPad S5-S540, model 20B3CTO1WW
Mar 30 20:12:28 lenovo1 kernel: ACPI Error: [\_SB_.PCI0.GFX0.DD02._BCL] Namespace lookup failure, AE_NOT_FOUND (20131115/psargs-359)
Mar 30 20:12:28 lenovo1 kernel: ACPI Error: Method parse/execution failed [\_SB_.PCI0.RP05.PEGP.DD02._BCL] (Node ffff8802238aaf50), AE_NOT_FOUND (20131115/psparse-536)
Mar 30 20:12:28 lenovo1 kernel: thinkpad_acpi: detected a 8-level brightness capable ThinkPad
Mar 30 20:12:28 lenovo1 kernel: thinkpad_acpi: This ThinkPad has standard ACPI backlight brightness control, supported by the ACPI video driver
Mar 30 20:12:28 lenovo1 kernel: thinkpad_acpi: Disabling thinkpad-acpi brightness events by default...
Mar 30 20:12:28 lenovo1 systemd[1]: Starting system-systemd\x2dbacklight.slice.

I have no idea what this means either!

Last edited by mcloaked (2014-03-30 19:29:28)


Mike C

Offline

#19 2014-03-30 20:13:40

denspirit
Member
From: Belarus
Registered: 2012-06-11
Posts: 9

Re: [Solved]Control of automatic GPU switching in Linux 3.13

Any line with something like 

ACPI Error: Method parse/execution failed [\_TZ_.TZ01._TMP]

clearly seems to be DSDT bug - a bug in your notebook's low-level firmware. It's nearly insolvable.
You may  try to update BIOS, or decompose@recompile DSDT by yourself.
I have not succeeded in the latter task, though in my case it just can't remember brightness between reboots and lockups GPU if I dare to switch it.

By the way, have you seen the Lenovo S540 wiki page on ArchWiki? It suggests to disable modesetting in intel videocard ( kernel parameter intel.modeset=0 means exactly that).

And I can't say anything about stack trace (!) in your dmesg. Maybe it's related to above intel modesetting.

Offline

#20 2014-03-30 20:21:43

mcloaked
Member
From: Yorkshire, UK
Registered: 2012-02-02
Posts: 1,024

Re: [Solved]Control of automatic GPU switching in Linux 3.13

denspirit wrote:

Any line with something like 

ACPI Error: Method parse/execution failed [\_TZ_.TZ01._TMP]

clearly seems to be DSDT bug - a bug in your notebook's low-level firmware. It's nearly insolvable.
You may  try to update BIOS, or decompose@recompile DSDT by yourself.
I have not succeeded in the latter task, though in my case it just can't remember brightness between reboots and lockups GPU if I dare to switch it.

By the way, have you seen the Lenovo S540 wiki page on ArchWiki? It suggests to disable modesetting in intel videocard ( kernel parameter intel.modeset=0 means exactly that).

And I can't say anything about stack trace (!) in your dmesg. Maybe it's related to above intel modesetting.

Yes:

Mar 30 20:12:28 lenovo1 kernel: ACPI Exception: AE_BAD_PARAMETER, Returned by Handler for [EmbeddedControl] (20131
Mar 30 20:12:28 lenovo1 kernel: ACPI Error: Method parse/execution failed [\_TZ_.TZ01._TMP] (Node ffff88022387ac80
Mar 30 20:12:28 lenovo1 kernel: ACPI Exception: AE_BAD_PARAMETER, Returned by Handler for [EmbeddedControl] (20131
Mar 30 20:12:28 lenovo1 kernel: ACPI Error: Method parse/execution failed [\_TZ_.TZ01._TMP] (Node ffff88022387ac80
Mar 30 20:12:28 lenovo1 kernel: mei_me 0000:00:16.0: irq 61 for MSI/MSI-X

Bios is latest available!

I'll have a look at disabling Intel nomodeset and test later or tomorrow and report back. (This is a dual boot uefi machine booting via rEFInd)

Edit: booting the 3.13.7 kernel with intel,modeset=0 gives the same blank screen on graphical boot but the kernel loads fine - access vis ssh to downgrade the kernel to 3.13.6 and boot with the same parameter works fine though. So there remains a problem with the graphical boot for kernel .13.7

For the working 3.13.6 kernel the Xorg log is:

$ cat /var/log/Xorg.0.log 
[    11.880] 
X.Org X Server 1.15.0
Release Date: 2013-12-27
[    11.880] X Protocol Version 11, Revision 0
[    11.880] Build Operating System: Linux 3.12.5-1-ARCH x86_64 
[    11.880] Current Operating System: Linux lenovo1 3.13.6-1-ARCH #1 SMP PREEMPT Fri Mar 7 22:47:48 CET 2014 x86_64
[    11.880] Kernel command line: \boot\vmlinuz-linux root=PARTUUID=a01aa42a-8ece-4584-a632-bea1f042c80a ro rootfstype=ext4 systemd.unit=graphical.target initrd=boot\initramfs-linux.img
[    11.880] Build Date: 09 January 2014  08:47:24AM
[    11.880]  
[    11.880] Current version of pixman: 0.32.4
[    11.880]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[    11.880] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    11.880] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Mar 30 21:37:13 2014
[    11.882] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    11.882] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    11.884] (==) No Layout section.  Using the first Screen section.
[    11.884] (==) No screen section available. Using defaults.
[    11.884] (**) |-->Screen "Default Screen Section" (0)
[    11.884] (**) |   |-->Monitor "<default monitor>"
[    11.885] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[    11.885] (==) Automatically adding devices                                                                    
[    11.885] (==) Automatically enabling devices                                                                  
[    11.885] (==) Automatically adding GPU devices                                                                
[    11.892] (==) FontPath set to:                                                                                
        /usr/share/fonts/misc/,                                                                                   
        /usr/share/fonts/TTF/,                                                                                    
        /usr/share/fonts/OTF/,                                                                                    
        /usr/share/fonts/Type1/,                                                                                  
        /usr/share/fonts/100dpi/,                                                                                 
        /usr/share/fonts/75dpi/                                                                                   
[    11.892] (==) ModulePath set to "/usr/lib/xorg/modules"                                                       
[    11.892] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[    11.892] (II) Loader magic: 0x804c80
[    11.892] (II) Module ABI versions:
[    11.892]    X.Org ANSI C Emulation: 0.4
[    11.892]    X.Org Video Driver: 15.0
[    11.892]    X.Org XInput driver : 20.0
[    11.892]    X.Org Server Extension : 8.0
[    11.892] (II) xfree86: Adding drm device (/dev/dri/card1)
[    11.892] (II) xfree86: Adding drm device (/dev/dri/card0)
[    11.893] (--) PCI:*(0:0:2:0) 8086:0a16:17aa:2216 rev 9, Mem @ 0xf0000000/4194304, 0xe0000000/268435456, I/O @ 0x00005000/64
[    11.893] (--) PCI: (0:6:0:0) 1002:6660:17aa:2216 rev 0, Mem @ 0xd0000000/268435456, 0xf0400000/262144, I/O @ 0x00003000/256, BIOS @ 0x????????/131072
[    11.893] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    11.893] Initializing built-in extension Generic Event Extension
[    11.893] Initializing built-in extension SHAPE
[    11.893] Initializing built-in extension MIT-SHM
[    11.893] Initializing built-in extension XInputExtension
[    11.893] Initializing built-in extension XTEST
[    11.893] Initializing built-in extension BIG-REQUESTS
[    11.893] Initializing built-in extension SYNC
[    11.893] Initializing built-in extension XKEYBOARD
[    11.893] Initializing built-in extension XC-MISC
[    11.893] Initializing built-in extension SECURITY
[    11.893] Initializing built-in extension XINERAMA
[    11.893] Initializing built-in extension XFIXES
[    11.894] Initializing built-in extension RENDER
[    11.894] Initializing built-in extension RANDR
[    11.894] Initializing built-in extension COMPOSITE
[    11.894] Initializing built-in extension DAMAGE
[    11.894] Initializing built-in extension MIT-SCREEN-SAVER
[    11.894] Initializing built-in extension DOUBLE-BUFFER
[    11.894] Initializing built-in extension RECORD
[    11.894] Initializing built-in extension DPMS
[    11.894] Initializing built-in extension Present
[    11.894] Initializing built-in extension DRI3
[    11.894] Initializing built-in extension X-Resource
[    11.894] Initializing built-in extension XVideo
[    11.894] Initializing built-in extension XVideo-MotionCompensation
[    11.894] Initializing built-in extension XFree86-VidModeExtension
[    11.894] Initializing built-in extension XFree86-DGA
[    11.894] Initializing built-in extension XFree86-DRI
[    11.894] Initializing built-in extension DRI2
[    11.894] (II) "glx" will be loaded by default.
[    11.894] (II) LoadModule: "dri2"
[    11.894] (II) Module "dri2" already built-in
[    11.894] (II) LoadModule: "glamoregl"
[    11.896] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[    11.907] (II) Module glamoregl: vendor="X.Org Foundation"
[    11.907]    compiled for 1.15.0, module version = 0.6.0
[    11.907]    ABI class: X.Org ANSI C Emulation, version 0.4
[    11.907] (II) LoadModule: "glx"
[    11.907] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    11.909] (II) Module glx: vendor="X.Org Foundation"
[    11.909]    compiled for 1.15.0, module version = 1.0.0
[    11.909]    ABI class: X.Org Server Extension, version 8.0
[    11.909] (==) AIGLX enabled
[    11.909] Loading extension GLX
[    11.909] (==) Matched intel as autoconfigured driver 0
[    11.909] (==) Matched intel as autoconfigured driver 1
[    11.909] (==) Matched modesetting as autoconfigured driver 2
[    11.909] (==) Matched fbdev as autoconfigured driver 3
[    11.909] (==) Matched vesa as autoconfigured driver 4
[    11.909] (==) Assigned the driver to the xf86ConfigLayout
[    11.909] (II) LoadModule: "intel"
[    11.909] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[    11.911] (II) Module intel: vendor="X.Org Foundation"
[    11.911]    compiled for 1.15.0, module version = 2.99.911
[    11.911]    Module class: X.Org Video Driver
[    11.911]    ABI class: X.Org Video Driver, version 15.0
[    11.911] (II) LoadModule: "modesetting"
[    11.911] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    11.912] (II) Module modesetting: vendor="X.Org Foundation"
[    11.912]    compiled for 1.15.0, module version = 0.8.1
[    11.912]    Module class: X.Org Video Driver
[    11.912]    ABI class: X.Org Video Driver, version 15.0
[    11.912] (II) LoadModule: "fbdev"
[    11.912] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[    11.912] (II) Module fbdev: vendor="X.Org Foundation"
[    11.912]    compiled for 1.15.0, module version = 0.4.4
[    11.912]    Module class: X.Org Video Driver
[    11.912]    ABI class: X.Org Video Driver, version 15.0
[    11.912] (II) LoadModule: "vesa"
[    11.912] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[    11.913] (II) Module vesa: vendor="X.Org Foundation"
[    11.913]    compiled for 1.15.0, module version = 2.3.2
[    11.913]    Module class: X.Org Video Driver
[    11.913]    ABI class: X.Org Video Driver, version 15.0
[    11.913] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
        i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
        915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
        Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
        GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[    11.913] (II) intel: Driver for Intel(R) HD Graphics: 2000-5000
[    11.913] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100
[    11.913] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200
[    11.913] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    11.913] (II) FBDEV: driver for framebuffer: fbdev
[    11.913] (II) VESA: driver for VESA chipsets: vesa
[    11.913] (++) using VT number 7

[    11.919] (WW) Falling back to old probe method for modesetting
[    11.919] (EE) open /dev/dri/card0: Invalid argument
[    11.919] (WW) Falling back to old probe method for fbdev
[    11.919] (II) Loading sub module "fbdevhw"
[    11.919] (II) LoadModule: "fbdevhw"
[    11.919] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[    11.920] (II) Module fbdevhw: vendor="X.Org Foundation"
[    11.920]    compiled for 1.15.0, module version = 0.0.2
[    11.920]    ABI class: X.Org Video Driver, version 15.0
[    11.920] (WW) Falling back to old probe method for vesa
[    11.920] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics 4400
[    11.920] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx, avx2
[    11.920] (II) intel(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 24/32
[    11.920] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[    11.920] (==) intel(0): RGB weight 888
[    11.920] (==) intel(0): Default visual is TrueColor
[    11.920] (**) intel(0): Framebuffer tiled
[    11.920] (**) intel(0): Pixmaps tiled
[    11.920] (**) intel(0): "Tear free" disabled
[    11.920] (**) intel(0): Forcing per-crtc-pixmaps? no
[    11.920] (II) intel(0): Output eDP1 has no monitor section
[    11.920] (--) intel(0): Found backlight control interface acpi_video0 (type 'firmware') for output eDP1
[    11.920] (II) intel(0): Output DP1 has no monitor section
[    11.920] (II) intel(0): Output HDMI1 has no monitor section
[    11.920] (II) intel(0): Output HDMI2 has no monitor section
[    11.920] (II) intel(0): Output VIRTUAL1 has no monitor section
[    11.921] (--) intel(0): Output eDP1 using initial mode 1920x1080 on pipe 0
[    11.921] (==) intel(0): DPI set to (96, 96)
[    11.921] (II) Loading sub module "dri2"
[    11.921] (II) LoadModule: "dri2"
[    11.921] (II) Module "dri2" already built-in
[    11.921] (II) UnloadModule: "modesetting"
[    11.921] (II) Unloading modesetting
[    11.921] (II) UnloadModule: "fbdev"
[    11.921] (II) Unloading fbdev
[    11.921] (II) UnloadSubModule: "fbdevhw"
[    11.921] (II) Unloading fbdevhw
[    11.921] (II) UnloadModule: "vesa"
[    11.921] (II) Unloading vesa
[    11.921] (==) Depth 24 pixmap format is 32 bpp
[    11.923] (II) intel(0): SNA initialized with Haswell (gen7.5, gt2) backend
[    11.923] (==) intel(0): Backing store enabled
[    11.923] (==) intel(0): Silken mouse enabled
[    11.923] (II) intel(0): HW Cursor enabled
[    11.923] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[    11.924] (==) intel(0): DPMS enabled
[    11.924] (II) intel(0): [DRI2] Setup complete
[    11.924] (II) intel(0): [DRI2]   DRI driver: i965
[    11.924] (II) intel(0): [DRI2]   VDPAU driver: i965
[    11.924] (II) intel(0): direct rendering: DRI2 Enabled
[    11.924] (==) intel(0): hotplug detection: "enabled"
[    11.924] (--) RandR disabled
[    11.943] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[    11.943] (II) AIGLX: enabled GLX_ARB_create_context
[    11.943] (II) AIGLX: enabled GLX_ARB_create_context_profile
[    11.943] (II) AIGLX: enabled GLX_EXT_create_context_es2_profile
[    11.943] (II) AIGLX: enabled GLX_INTEL_swap_event
[    11.943] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
[    11.943] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB
[    11.943] (II) AIGLX: enabled GLX_ARB_fbconfig_float
[    11.943] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[    11.943] (II) AIGLX: Loaded and initialized i965
[    11.943] (II) GLX: Initialized DRI2 GL provider for screen 0
[    11.951] (II) intel(0): switch to mode 1920x1080@60.1 on eDP1 using pipe 0, position (0, 0), rotation normal, reflection none
[    11.970] (II) intel(0): Setting screen physical size to 508 x 285
[    12.048] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[    12.048] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    12.048] (II) LoadModule: "evdev"
[    12.048] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[    12.049] (II) Module evdev: vendor="X.Org Foundation"
[    12.049]    compiled for 1.15.0, module version = 2.8.2
[    12.049]    Module class: X.Org XInput Driver
[    12.049]    ABI class: X.Org XInput driver, version 20.0
[    12.049] (II) Using input driver 'evdev' for 'Power Button'
[    12.049] (**) Power Button: always reports core events
[    12.049] (**) evdev: Power Button: Device: "/dev/input/event2"
[    12.049] (--) evdev: Power Button: Vendor 0 Product 0x1
[    12.049] (--) evdev: Power Button: Found keys
[    12.049] (II) evdev: Power Button: Configuring as keyboard
[    12.049] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input2/event2"
[    12.049] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[    12.049] (**) Option "xkb_rules" "evdev"
[    12.049] (**) Option "xkb_model" "pc104"
[    12.049] (**) Option "xkb_layout" "gb"
[    12.063] (II) config/udev: Adding input device Video Bus (/dev/input/event4)
[    12.063] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[    12.063] (II) Using input driver 'evdev' for 'Video Bus'
[    12.063] (**) Video Bus: always reports core events
[    12.063] (**) evdev: Video Bus: Device: "/dev/input/event4"
[    12.063] (--) evdev: Video Bus: Vendor 0 Product 0x6
[    12.063] (--) evdev: Video Bus: Found keys
[    12.063] (II) evdev: Video Bus: Configuring as keyboard
[    12.063] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:01/input/input4/event4"
[    12.063] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[    12.063] (**) Option "xkb_rules" "evdev"
[    12.063] (**) Option "xkb_model" "pc104"
[    12.063] (**) Option "xkb_layout" "gb"
[    12.063] (II) config/udev: Adding input device Video Bus (/dev/input/event3)
[    12.063] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[    12.063] (II) Using input driver 'evdev' for 'Video Bus'
[    12.063] (**) Video Bus: always reports core events
[    12.063] (**) evdev: Video Bus: Device: "/dev/input/event3"
[    12.063] (--) evdev: Video Bus: Vendor 0 Product 0x6
[    12.063] (--) evdev: Video Bus: Found keys
[    12.063] (II) evdev: Video Bus: Configuring as keyboard
[    12.063] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/device:2f/LNXVIDEO:00/input/input3/event3"
[    12.063] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 8)
[    12.063] (**) Option "xkb_rules" "evdev"
[    12.063] (**) Option "xkb_model" "pc104"
[    12.063] (**) Option "xkb_layout" "gb"
[    12.064] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[    12.064] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    12.064] (II) Using input driver 'evdev' for 'Power Button'
[    12.064] (**) Power Button: always reports core events
[    12.064] (**) evdev: Power Button: Device: "/dev/input/event0"
[    12.064] (--) evdev: Power Button: Vendor 0 Product 0x1
[    12.064] (--) evdev: Power Button: Found keys
[    12.064] (II) evdev: Power Button: Configuring as keyboard
[    12.064] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input0/event0"
[    12.064] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 9)
[    12.064] (**) Option "xkb_rules" "evdev"
[    12.064] (**) Option "xkb_model" "pc104"
[    12.064] (**) Option "xkb_layout" "gb"
[    12.064] (II) config/udev: Adding input device Lid Switch (/dev/input/event1)
[    12.064] (II) No input driver specified, ignoring this device.
[    12.064] (II) This device may have been added with another device file.
[    12.064] (II) config/udev: Adding drm device (/dev/dri/card1)
[    12.064] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=8 (/dev/input/event6)
[    12.064] (II) No input driver specified, ignoring this device.
[    12.064] (II) This device may have been added with another device file.
[    12.064] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=3 (/dev/input/event8)
[    12.064] (II) No input driver specified, ignoring this device.
[    12.064] (II) This device may have been added with another device file.
[    12.065] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=7 (/dev/input/event7)
[    12.065] (II) No input driver specified, ignoring this device.
[    12.065] (II) This device may have been added with another device file.
[    12.065] (II) config/udev: Adding input device Integrated Camera (/dev/input/event9)
[    12.065] (**) Integrated Camera: Applying InputClass "evdev keyboard catchall"
[    12.065] (II) Using input driver 'evdev' for 'Integrated Camera'
[    12.065] (**) Integrated Camera: always reports core events
[    12.065] (**) evdev: Integrated Camera: Device: "/dev/input/event9"
[    12.065] (--) evdev: Integrated Camera: Vendor 0x5986 Product 0x29d
[    12.065] (--) evdev: Integrated Camera: Found keys
[    12.065] (II) evdev: Integrated Camera: Configuring as keyboard
[    12.065] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/input/input12/event9"
[    12.065] (II) XINPUT: Adding extended input device "Integrated Camera" (type: KEYBOARD, id 10)
[    12.065] (**) Option "xkb_rules" "evdev"
[    12.065] (**) Option "xkb_model" "pc104"
[    12.065] (**) Option "xkb_layout" "gb"
[    12.065] (II) config/udev: Adding input device HDA Intel PCH Mic (/dev/input/event13)
[    12.065] (II) No input driver specified, ignoring this device.
[    12.065] (II) This device may have been added with another device file.
[    12.065] (II) config/udev: Adding input device HDA Intel PCH Headphone (/dev/input/event12)
[    12.065] (II) No input driver specified, ignoring this device.
[    12.065] (II) This device may have been added with another device file.
[    12.065] (II) config/udev: Adding drm device (/dev/dri/card0)
[    12.065] (II) xfree86: Adding drm device (/dev/dri/card0)
[    12.065] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event5)
[    12.065] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[    12.065] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
[    12.065] (**) AT Translated Set 2 keyboard: always reports core events
[    12.065] (**) evdev: AT Translated Set 2 keyboard: Device: "/dev/input/event5"
[    12.065] (--) evdev: AT Translated Set 2 keyboard: Vendor 0x1 Product 0x1
[    12.065] (--) evdev: AT Translated Set 2 keyboard: Found keys
[    12.065] (II) evdev: AT Translated Set 2 keyboard: Configuring as keyboard
[    12.065] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input5/event5"
[    12.065] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 11)
[    12.065] (**) Option "xkb_rules" "evdev"
[    12.065] (**) Option "xkb_model" "pc104"
[    12.065] (**) Option "xkb_layout" "gb"
[    12.066] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event14)
[    12.066] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "evdev touchpad catchall"
[    12.066] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "touchpad catchall"
[    12.066] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "Default clickpad buttons"
[    12.066] (II) LoadModule: "synaptics"
[    12.066] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[    12.066] (II) Module synaptics: vendor="X.Org Foundation"
[    12.066]    compiled for 1.15.0, module version = 1.7.4
[    12.066]    Module class: X.Org XInput Driver
[    12.066]    ABI class: X.Org XInput driver, version 20.0
[    12.066] (II) Using input driver 'synaptics' for 'SynPS/2 Synaptics TouchPad'
[    12.066] (**) SynPS/2 Synaptics TouchPad: always reports core events
[    12.066] (**) Option "Device" "/dev/input/event14"
[    12.160] (II) synaptics: SynPS/2 Synaptics TouchPad: found clickpad property
[    12.160] (--) synaptics: SynPS/2 Synaptics TouchPad: x-axis range 1472 - 5112 (res 42)
[    12.160] (--) synaptics: SynPS/2 Synaptics TouchPad: y-axis range 1408 - 3834 (res 42)
[    12.160] (--) synaptics: SynPS/2 Synaptics TouchPad: pressure range 0 - 255
[    12.160] (--) synaptics: SynPS/2 Synaptics TouchPad: finger width range 0 - 15
[    12.160] (--) synaptics: SynPS/2 Synaptics TouchPad: buttons: left double triple
[    12.160] (--) synaptics: SynPS/2 Synaptics TouchPad: Vendor 0x2 Product 0x7
[    12.160] (**) Option "TapButton1" "1"
[    12.160] (**) Option "TapButton2" "2"
[    12.160] (**) Option "TapButton3" "3"
[    12.160] (**) Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
[    12.160] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[    12.160] (**) SynPS/2 Synaptics TouchPad: always reports core events
[    12.222] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input11/event14"
[    12.222] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD, id 12)
[    12.223] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MinSpeed is now constant deceleration 2.5
[    12.223] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MaxSpeed is now 1.75
[    12.223] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) AccelFactor is now 0.046
[    12.223] (**) SynPS/2 Synaptics TouchPad: (accel) keeping acceleration scheme 1
[    12.223] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration profile 1
[    12.223] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[    12.223] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[    12.223] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[    12.223] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse0)
[    12.223] (**) SynPS/2 Synaptics TouchPad: Ignoring device from InputClass "touchpad ignore duplicates"
[    12.223] (II) config/udev: Adding input device PC Speaker (/dev/input/event10)
[    12.223] (II) No input driver specified, ignoring this device.
[    12.223] (II) This device may have been added with another device file.
[    12.224] (II) config/udev: Adding input device ThinkPad Extra Buttons (/dev/input/event11)
[    12.224] (**) ThinkPad Extra Buttons: Applying InputClass "evdev keyboard catchall"
[    12.224] (II) Using input driver 'evdev' for 'ThinkPad Extra Buttons'
[    12.224] (**) ThinkPad Extra Buttons: always reports core events
[    12.224] (**) evdev: ThinkPad Extra Buttons: Device: "/dev/input/event11"
[    12.224] (--) evdev: ThinkPad Extra Buttons: Vendor 0x17aa Product 0x5054
[    12.224] (--) evdev: ThinkPad Extra Buttons: Found keys
[    12.224] (II) evdev: ThinkPad Extra Buttons: Configuring as keyboard
[    12.224] (**) Option "config_info" "udev:/sys/devices/platform/thinkpad_acpi/input/input7/event11"
[    12.224] (II) XINPUT: Adding extended input device "ThinkPad Extra Buttons" (type: KEYBOARD, id 13)
[    12.224] (**) Option "xkb_rules" "evdev"
[    12.224] (**) Option "xkb_model" "pc104"
[    12.224] (**) Option "xkb_layout" "gb"
[    18.631] (II) config/udev: Adding input device TPPS/2 IBM TrackPoint (/dev/input/mouse1)
[    18.631] (II) No input driver specified, ignoring this device.
[    18.631] (II) This device may have been added with another device file.
[    18.632] (II) config/udev: Adding input device TPPS/2 IBM TrackPoint (/dev/input/event15)
[    18.632] (**) TPPS/2 IBM TrackPoint: Applying InputClass "evdev pointer catchall"
[    18.632] (II) Using input driver 'evdev' for 'TPPS/2 IBM TrackPoint'
[    18.632] (**) TPPS/2 IBM TrackPoint: always reports core events
[    18.632] (**) evdev: TPPS/2 IBM TrackPoint: Device: "/dev/input/event15"
[    18.632] (--) evdev: TPPS/2 IBM TrackPoint: Vendor 0x2 Product 0xa
[    18.632] (--) evdev: TPPS/2 IBM TrackPoint: Found 3 mouse buttons
[    18.632] (--) evdev: TPPS/2 IBM TrackPoint: Found relative axes
[    18.632] (--) evdev: TPPS/2 IBM TrackPoint: Found x and y relative axes
[    18.632] (II) evdev: TPPS/2 IBM TrackPoint: Configuring as mouse
[    18.632] (**) evdev: TPPS/2 IBM TrackPoint: YAxisMapping: buttons 4 and 5
[    18.632] (**) evdev: TPPS/2 IBM TrackPoint: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[    18.632] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/serio2/input/input16/event15"
[    18.632] (II) XINPUT: Adding extended input device "TPPS/2 IBM TrackPoint" (type: MOUSE, id 14)
[    18.632] (II) evdev: TPPS/2 IBM TrackPoint: initialized for relative axes.
[    18.632] (**) TPPS/2 IBM TrackPoint: (accel) keeping acceleration scheme 1
[    18.632] (**) TPPS/2 IBM TrackPoint: (accel) acceleration profile 0
[    18.632] (**) TPPS/2 IBM TrackPoint: (accel) acceleration factor: 2.000
[    18.632] (**) TPPS/2 IBM TrackPoint: (accel) acceleration threshold: 4
[    21.459] (II) intel(0): EDID vendor "AUO", prod id 13549
[    21.459] (II) intel(0): Printing DDC gathered Modelines:
[    21.459] (II) intel(0): Modeline "1920x1080"x0.0  140.00  1920 1968 2068 2100  1080 1083 1084 1110 -hsync -vsync (66.7 kHz eP)

Last edited by mcloaked (2014-03-30 20:50:21)


Mike C

Offline

#21 2014-03-31 09:40:37

mcloaked
Member
From: Yorkshire, UK
Registered: 2012-02-02
Posts: 1,024

Re: [Solved]Control of automatic GPU switching in Linux 3.13

These issues may well be related to the problems in this thread?

https://bugs.freedesktop.org/show_bug.cgi?id=71930

https://bugzilla.kernel.org/show_bug.cgi?id=61891

and I guess could have regressions as radeon patches have been included in kernel 3.13.7?


Mike C

Offline

#22 2014-03-31 14:37:37

mcloaked
Member
From: Yorkshire, UK
Registered: 2012-02-02
Posts: 1,024

Re: [Solved]Control of automatic GPU switching in Linux 3.13

Reported to kernel bugzilla at https://bugzilla.kernel.org/show_bug.cgi?id=73291

Edit: After suggestion made in the above report I can workaround to get a successful boot to a graphical login by adding modprobe.blacklist=radeon to the kernel line.

Last edited by mcloaked (2014-03-31 16:04:07)


Mike C

Offline

Board footer

Powered by FluxBB