You are not logged in.

#1 2014-06-19 13:36:00

rabcor
Banned
Registered: 2013-02-09
Posts: 500

[Kernel Bug] Kernel 3.15 broke my radeon graphics!

I ran an update on my laptop like yesterday, when I launched it today I ended up with a frozen display manager. My first thought was broken display manager but turns out it was X. I have no idea what's up, I'm using the radeon open source drivers with a hybrid graphics card, another noteable problem that came up is that "/sys/kernel/debug/vgaswitcheroo/switch" (file I used to disable these hybrid graphics) does not exist anymore either.

Here is my xorg log but I suspect the problem is significantly deeper than just xorg failing (it is vital for me to disable the hybrid graphics as it runs hotter than any other component in the laptop) also on bootup it is giving me errors:

pciehp 0000:00:02.0:pcie04: slot(2): Link Up event
pciehp 0000:00:02.0:pcie04: Device 0000:01:00.0 already exists at 0000:01:00, cannot hot-add
pciehp 0000:00:02.0:pcie04: Cannot add device at 0000:01:00
pciehp 0000:00:02.0:pcie04: Card not present on Slot(2)
pciehp 0000:00:02.0:pcie04: slot(2): Link Down event
pciehp 0000:00:02.0:pcie04: Link Down event ignored on slot(2): already powering off

It seems my hybrid graphics thing broke hmm might be a kernel problem with 3.15 and my hp pavilion dv7-6109eo?

Update: Yes it was a kernel problem. kernel 3.15 seems to have broken compatibility with the radeon hybrid graphics card on hp pavilion dv7-6109eo. I downgraded to 3.14-6 and it works fine again. Edited title too to match the problem. Perhaps this bug should be reported somewhere... In the meantime, a method to prevent system updates from updating the kernel would be nice.

Update: adding this to the commandline allows me to start X without everything freezing up. But I still get all of the other issues (pciehp cannot hot-add and /sys/kernel/debug/vgaswitcheroo does not exist)

radeon.runpm=0

Normal pciehp output from journalctl on kernel 3.14.6:

pciehp 0000:00:02.0:pcie04: Slot #2 AttnBtn- AttnInd- PwrInd- PwrCtrl- MRL- Interlock- NoCompl+ LLActRep+
pciehp 0000:00:02.0:pcie04: service driver pciehp loaded
pciehp: PCI Express Hot Plug Controller Driver version: 0.4
pciehp 0000:00:02.0:pcie04: Card not present on Slot(2)

Last edited by rabcor (2014-06-25 22:38:01)

Offline

#2 2014-06-20 02:38:55

LQYMGT
Member
Registered: 2014-06-20
Posts: 5

Re: [Kernel Bug] Kernel 3.15 broke my radeon graphics!

well, I meet this problem too...

Offline

#3 2014-06-20 03:46:28

Pse
Member
Registered: 2008-03-15
Posts: 413

Re: [Kernel Bug] Kernel 3.15 broke my radeon graphics!

You can use the --ignore linux pacman argument to prevent updates to the kernel. Be aware that this is only a temporary solution. You could also switch to the LTS branch of the linux kernel by installing linux-lts.

Offline

#4 2014-06-20 05:04:28

zwa
Member
Registered: 2005-12-05
Posts: 105

Re: [Kernel Bug] Kernel 3.15 broke my radeon graphics!

I have a Radeon HD 4350 running with the oss drivers and linux 3.15, I have not  experienced this problem.

Offline

#5 2014-06-20 13:58:17

LQYMGT
Member
Registered: 2014-06-20
Posts: 5

Re: [Kernel Bug] Kernel 3.15 broke my radeon graphics!

LQYMGT wrote:

well, I meet this problem too...

Ennn...I got it.
Try to add radeon.runpm=0 to your kernel parameters.

Offline

#6 2014-06-25 22:07:34

rabcor
Banned
Registered: 2013-02-09
Posts: 500

Re: [Kernel Bug] Kernel 3.15 broke my radeon graphics!

zwa wrote:

I have a Radeon HD 4350 running with the oss drivers and linux 3.15, I have not  experienced this problem.

It is associated with switchable graphics cards. I think HP actually modifies the radeon GPUs in their systems somehow (it is not the same card as AMD officially manufactures, and this has gotten me into some problems, more on Linux than on Windows, but i have also run into problems on windows)

LQYMGT wrote:

add radeon.runpm=0 to your kernel parameters

This worked! thanks, but I still get

pciehp 0000:00:02.0:pcie04: slot(2): Link Up event
pciehp 0000:00:02.0:pcie04: Device 0000:01:00.0 already exists at 0000:01:00, cannot hot-add
pciehp 0000:00:02.0:pcie04: Cannot add device at 0000:01:00
pciehp 0000:00:02.0:pcie04: Card not present on Slot(2)
pciehp 0000:00:02.0:pcie04: slot(2): Link Down event
pciehp 0000:00:02.0:pcie04: Link Down event ignored on slot(2): already powering off

and "/sys/kernel/debug/vgaswitcheroo" does not exist either. (It is crucial for me to be able to disable the switchable graphics and just use the intergrated card rather than the dedicated one)

0000:00:02:0 (lspci) is

00:02.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 12h Processor Root Port (prog-if 00 [Normal decode])

Using kernel module shpchp and driver pcieport.

Normal reaction coming from kernel 3.14.6:

pciehp 0000:00:02.0:pcie04: Slot #2 AttnBtn- AttnInd- PwrInd- PwrCtrl- MRL- Interlock- NoCompl+ LLActRep+
pciehp 0000:00:02.0:pcie04: service driver pciehp loaded
pciehp: PCI Express Hot Plug Controller Driver version: 0.4
pciehp 0000:00:02.0:pcie04: Card not present on Slot(2)

Last edited by rabcor (2014-06-25 22:30:34)

Offline

#7 2014-06-30 19:04:59

dobrev92
Member
Registered: 2014-06-30
Posts: 2

Re: [Kernel Bug] Kernel 3.15 broke my radeon graphics!

Situation confirmed on pavilion g6.
Ironic, considering that I read somewhere that this kernel offered vast improvements for Radeon cards big_smile

Offline

#8 2014-07-08 21:53:55

lbdkmjdf
Member
Registered: 2014-07-08
Posts: 10

Re: [Kernel Bug] Kernel 3.15 broke my radeon graphics!

Guys, I need your help to report and fix this.
I reported this bug: https://bugzilla.kernel.org/show_bug.cgi?id=79701 It would be great if you guys do the testing/bisecting/etc. and report feedback.
There is a similar thread in this forum: https://bbs.archlinux.org/viewtopic.php?pid=1433713 , it would be cool if mods mixed both threads.

Offline

#9 2014-07-08 22:23:23

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

Re: [Kernel Bug] Kernel 3.15 broke my radeon graphics!

@rabcor, have you actually tried running linux-lts (which is now on the 3.14 branch)?


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

#10 2014-07-12 09:58:51

rabcor
Banned
Registered: 2013-02-09
Posts: 500

Re: [Kernel Bug] Kernel 3.15 broke my radeon graphics!

No but I'm sure this would work as it is not 3.15 (i.e. graphics broke in 3.15)

I also notice (for the better in my case) that the system when I launch it on 3.15 kernel with radeon.runpm=0 it will use the intergrated card rather than the discrete one (it fails to detect the discrete one which may be the real problem)

Running LTS would only be delaying the inevitable (but thanks for the pointer, my laptop might actually be better off on LTS so I might switch to it after all; when this issue has been solved). Merging the threads is probably not needed (only the OP of the other post is relevant, it would have needed to be merged sooner)

I noticed (probably related to this issue) that my computer still sometimes fails to launch graphics on startup and when it occurssystemd gives an error that it cannot finalize shutting down "remaining file systems and devices, giving up" then it fails to unmonut /oldroot and subirectories (systemd gives up on restarting)

Pressing the shutdown button in this state gives

atkbd serio0: Unknown key pressed (translated set 2 , code 0xab on isa0060/serio0).
atkbd serio0: Use 'setkeycodes e02b <keycode>' to make it known.

Only way to finish shutdown is forcing it down by holding down the shutdown key.

Here is a journalctl -b to provide insight. Lines to look at are 545-549, 591-592, 706, 817, 952-1198. It is worth noting that all of the errors on these specific lines occur both on a successful boot (where I get into mdm) and on the boot that fails (even with radeon.runpm=0 set)

This event only seems to occur on cold boots (and by cold I don't just mean in the technical sense of the word, but also when the computer actually is physically cold, as in there are hardware temperature implications that contribute to this problem, but this is of course also a kernel issue since it never happened on 3.14)

Last edited by rabcor (2014-07-12 10:15:08)

Offline

#11 2014-07-13 13:57:50

bijanbina
Member
From: Tehran
Registered: 2014-07-13
Posts: 20
Website

Re: [Kernel Bug] Kernel 3.15 broke my radeon graphics!

I have the same problem ,after upgrading i cant use radeon any more(just intel)

then i take these steps in order to re enable vgaswitcheroo
1.delete radeon from black list which i found @ /etc/modprobe.d
2.change /etc/mkinitcpio.conf MODULES to "radeon"
3.add mentioned kernel parameter

after reboot vgaswitcheroo enabled so i could see

$ sudo cat /sys/kernel/debug/vgaswitcheroo/switch
0:IGD:+:Pwr:0000:00:02.0
1:DIS: :Pwr:0000:01:00.0
2:DIS-Audio: :Pwr:0000:01:00.1

but my problem is that i cant turn ati GPU off neither befor do that nor after

when radeon is enabled my laptop is getting hot and hotter so i want to disable it

i can do that in 3.14 but not in new one

note:my laptop is MUX hybrid one!

Last edited by bijanbina (2014-07-13 13:59:47)

Offline

#12 2014-07-13 23:55:17

lbdkmjdf
Member
Registered: 2014-07-08
Posts: 10

Re: [Kernel Bug] Kernel 3.15 broke my radeon graphics!

Anyone cares about the bug report?
Please, add yourself to the report, so we can add pressure for devs to fix it: https://bugzilla.kernel.org/show_bug.cgi?id=79701

Offline

#13 2014-07-15 02:46:03

lbdkmjdf
Member
Registered: 2014-07-08
Posts: 10

Re: [Kernel Bug] Kernel 3.15 broke my radeon graphics!

Update: As shown in https://bugzilla.kernel.org/show_bug.cgi?id=79701#c2 and http://www.phoronix.com/forums/showthre … post428972 , the solution (or, perhaps, workaround) is to disable "OSC" from the BIOS.

Offline

#14 2014-07-26 21:59:48

rabcor
Banned
Registered: 2013-02-09
Posts: 500

Re: [Kernel Bug] Kernel 3.15 broke my radeon graphics!

There is no OSC option anywhere in my BIOS settings, to be honest my BIOS settings are the most minimal I have ever seen on any computer. I can probably count all the options on just my fingers.

Offline

#15 2014-07-27 22:39:31

Arachnid92
Member
From: Sweden
Registered: 2011-05-02
Posts: 40
Website

Re: [Kernel Bug] Kernel 3.15 broke my radeon graphics!

rabcor wrote:

There is no OSC option anywhere in my BIOS settings, to be honest my BIOS settings are the most minimal I have ever seen on any computer. I can probably count all the options on just my fingers.

I don't have this option in the BIOS either, and I'm experiencing similar issues (discrete card disappeared sad ).

Offline

#16 2014-07-31 00:23:35

lbdkmjdf
Member
Registered: 2014-07-08
Posts: 10

Re: [Kernel Bug] Kernel 3.15 broke my radeon graphics!

Looks like the bug is being worked at: https://bugzilla.kernel.org/show_activity.cgi?id=79701 . Is anyone running a 32 bits kernel in a dual AMD graphics system?

rabcor wrote:

There is no OSC option anywhere in my BIOS settings, to be honest my BIOS settings are the most minimal I have ever seen on any computer. I can probably count all the options on just my fingers.

Yeah, I'm running a modified BIOS, and that's why I can see/switch that setting... disabling runpm and using vgaswitcheroo is the only workaround I know of.


Arachnid92 wrote:
rabcor wrote:

There is no OSC option anywhere in my BIOS settings, to be honest my BIOS settings are the most minimal I have ever seen on any computer. I can probably count all the options on just my fingers.

I don't have this option in the BIOS either, and I'm experiencing similar issues (discrete card disappeared sad ).

I think the discrete card "dissapears" *because* runpm is working... to use it, you have to run something like:

$ DRI_PRIME=1 ./some_program

If you add 'radeon.runpm=0' in the kernel command line, you should be able to see your dedicated card, but you would have to enable/disable it manually (look for a tutorial on vgaswitcheroo). This is not the same issue as in the OP...

Last edited by lbdkmjdf (2014-07-31 00:28:22)

Offline

Board footer

Powered by FluxBB