New patch against 3.12 which backports drm from 3.13-rc1-pre:
If someone is interested I'm maintaining a patchset which backports latest graphic stack from git to stable kernels.
That means you will have all the advantages of latest graphic stack with the stability of a stable kernel with latest bugfixes.
Interesting. I wonder if I can slap this into the mainline AUR package.
Do you know if these backports include the dynamic powering on/off of the dGPU in hybrid laptops?
Yes, it does. The drm subsystem will be exactly the same of 3.13 with this patch.
Welp, that didn't work so well.
Locked up the machine on X start. Will have to investigate it more, maybe it didn't play well with some of the patches in the AUR pkgbuild.
Does it hang *after* starting X? Can you post you Xorg.0.log after the crash?
I didn't see the AUR patches but I don't think they can conflict. Maybe you should report the bug upstream.
It would happen right as I did startx. First time it got to the desktop and locked up, second time it didn't even get that far.Code:[ 6698.798] (WW) xf86CloseConsole: KDSETMODE failed: Input/output error [ 6698.798] (WW) xf86CloseConsole: VT_GETMODE failed: Input/output error [ 6698.798] (EE) Fatal server error: [ 6698.798] (EE) xf86CloseConsole: VT_ACTIVATE failed: Input/output error [ 6698.798] (EE) [ 6698.798] (EE)
Did a little looking around, and some thread from a few years ago reported that same error, and said that adding nouveau drivers fixed it. It's strange, because I don't have a bit of Nvidia hardware in this machine, but figured I'd give it a shot anyway, and sure enough X started up without a problem.
Not only that, looks like the dGPU is set to dynamic power, which is new:
Which is neat! But it kind of feels like the laptop fans are louder than ever. If anything, it seems like the major difference is that they just go from full volume all the way down to almost inaudible more often than they did before (previously they would just kinda stay at a constant volume until I did something GPU intensive, at which point it'd kick up to full volume).Code:[root@localhost echo]# cat /sys/kernel/debug/vgaswitcheroo/switch 0:DIS: :DynPwr:0000:01:00.0 1:IGD:+:Pwr:0000:00:02.0
I'll have to run some tests to see how it doess on battery life now that I've got this running.
Actually, turns out that I wasn't using the radeon.runpm=1 kernel option.
Trouble is, with that, I get hard CPU locks. I also am getting random lockups with some of the driver modules as well. Am posting from a different machine right now so I don't have the Xorg logs on hand.
Is likely going to be best (for me at least) to stay back on stock 3.12 until the mainline moves to 3.13.
Of course you can wait for 3.13 to stabilize, but even with stable there is no guarantee that it will work fine on your system. Instead you can report the bug and let the developers become aware of your issue. If they ask you the kernel version tell them drm-next-3.13 20131109 or link the patchset on my website.