Bug 904417 - Gnome does not start because both ati and intel cards are active at the same time
Gnome does not start because both ati and intel cards are active at the same ...
Status: RESOLVED FIXED
Classification: openSUSE
Product: openSUSE Distribution
Classification: openSUSE
Component: X.Org
13.2
Other Other
: P3 - Medium : Normal (vote)
: ---
Assigned To: E-mail List
E-mail List
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-11-07 15:36 UTC by Flavio Castelli
Modified: 2015-02-19 02:46 UTC (History)
4 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
hwinfo (699.16 KB, text/x-log)
2014-11-11 09:23 UTC, Flavio Castelli
Details
journal entry of the display-manager service (785.79 KB, text/x-log)
2014-11-11 09:25 UTC, Flavio Castelli
Details
journal entry of the display-manager service after switch-graphics service was enabled (147.69 KB, text/x-log)
2014-11-12 08:27 UTC, Flavio Castelli
Details
display-manager log when audio codecs are powered off (73.59 KB, text/x-log)
2014-11-12 09:52 UTC, Flavio Castelli
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Flavio Castelli 2014-11-07 15:36:15 UTC
I have a laptop with an ATI and an intel i915 video cards. GDM refuses to start and Gnome (when started using xdm) fails to start because "something bad happened".

Looking at the system logs I noticed both the video cards are enabled, I googled a bit and I found:
  * https://bugzilla.redhat.com/show_bug.cgi?id=896400
  * http://dummdida.tumblr.com/post/83701431934/i915-and-radeon-both-enabled-on-vgaswitcheroo-at-boot

I added the "radeon.modeset=0 radeon.dpm=1 radeon.aspm=1 radeon.runpm=1" to my kernel options and everything now works fine.

This is a regression, everything worked fine with openSUSE 13.1
Comment 1 Dominique Leuenberger 2014-11-07 15:39:29 UTC
GNOME is only the messenger - the 3D Modes don't work, it can't do much.

Considering that you have to pass kernel parameters, I guess kernel is as good a start as it gets.
Comment 2 Takashi Iwai 2014-11-07 16:06:57 UTC
More likely an X problem unless the system really crashes :)

In anyway, please give the hwinfo output, kernel messages at failure, and more importantly, Xorg log.

(I heard from Stefan that gdm no longer records /var/log/Xorg.0.log.  In that case, give the relevant journal output, too.)
Comment 3 Flavio Castelli 2014-11-11 09:23:46 UTC
Created attachment 613155 [details]
hwinfo
Comment 4 Flavio Castelli 2014-11-11 09:25:37 UTC
Created attachment 613157 [details]
journal entry of the display-manager service
Comment 5 Flavio Castelli 2014-11-11 09:25:55 UTC
Ping me if you need more information/tests.
Comment 6 Takashi Iwai 2014-11-11 11:32:15 UTC
Thanks.  So, your machine is the switchable GPU, not the hybird graphics?

I quickly tested a machine with hybrid graphics (Intel + AMD), and it works fine with GNOME.  But, it's a hybrid graphics, and the story is completely different if it's about a switchable graphics.

Looking at X log, there is no error or crash trace found there.  And it shows that both AMD and Intel have the all outputs (LVDS, HDMI and VGA).  Maybe it confused GNOME.  Try to look though all journalctl output whether you can find the trace of GNOME crash.

Also, try to install xdm and twm, switch to xdm (via /etc/sysconfig/displaymanager) and login to twm.  If you can login, you can play better there.  Get xrandr --verbose output to see which outputs are actually detected / active.
Comment 7 Takashi Iwai 2014-11-11 11:59:28 UTC
BTW, you should be able to toggle the VGA switcheroo, e.g. put something like below in /usr/lib/systemd/system/switchable-graphics.service:

[Unit]
Description=Set up switchable graphics
Wants=remote-fs.target
After=systemd-modules-load.service
Before=display-manager.service
ConditionPathIsReadWrite=/sys/kernel/debug/vgaswitcheroo/switch

[Service]
Type=oneshot
# can be either OFF, IGD, or DIS
ExecStart=/bin/bash -c "echo IGD > /sys/kernel/debug/vgaswitcheroo/switch"
ExecStart=/bin/bash -c "echo OFF > /sys/kernel/debug/vgaswitcheroo/switch"

[Install]
WantedBy=graphical.target


Then enable it via "systemctl enable switchable-graphics.service" and reboot.
The example above switches to Intel graphics and tunrs off the unused GPU.
If you want to use AMD graphics instead, replace "IGD" with "DIS".
Maybe we should package this somehow if this really works.
Comment 8 Flavio Castelli 2014-11-11 13:15:42 UTC
(In reply to Takashi Iwai from comment #6)
> Thanks.  So, your machine is the switchable GPU, not the hybird graphics?

I think so. The BIOS does not allow me to do all the tuning I can do on another computer with a hybrid graphic.

> Looking at X log, there is no error or crash trace found there.  And it
> shows that both AMD and Intel have the all outputs (LVDS, HDMI and VGA). 
> Maybe it confused GNOME.  Try to look though all journalctl output whether
> you can find the trace of GNOME crash.
> 
> Also, try to install xdm and twm, switch to xdm (via
> /etc/sysconfig/displaymanager) and login to twm.  If you can login, you can
> play better there.  Get xrandr --verbose output to see which outputs are
> actually detected / active.

gdm does not crash, it just hangs. The screen stays black or with the picture used by the initrd.

Installing xdm/lightdm solves the gdb problem. However once I log into Gnome (via either xdm or lightdm) I get the "Gnome sad face". I'll try to reproduce that again.

Xfce works fine.
Comment 9 Flavio Castelli 2014-11-12 08:27:06 UTC
(In reply to Takashi Iwai from comment #7)
> BTW, you should be able to toggle the VGA switcheroo, e.g. put something
> like below in /usr/lib/systemd/system/switchable-graphics.service:

I followed the steps but nothing changed. gdm is not started at all.

The new switchable-graphics service worked properly:

# systemctl status switchable-graphics.service 
switchable-graphics.service - Set up switchable graphics
   Loaded: loaded (/usr/lib/systemd/system/switchable-graphics.service; enabled)
   Active: inactive (dead) since Wed 2014-11-12 09:18:27 CET; 3min 34s ago
  Process: 763 ExecStart=/bin/bash -c echo OFF > /sys/kernel/debug/vgaswitcheroo/switch (code=exited, status=0/SUCCESS)
  Process: 749 ExecStart=/bin/bash -c echo IGD > /sys/kernel/debug/vgaswitcheroo/switch (code=exited, status=0/SUCCESS)
 Main PID: 763 (code=exited, status=0/SUCCESS)

Its journal entry is empty.


The contents of /sys/kernel/debug/vgaswitcheroo/switch are:
0:IGD:+:Pwr:0000:00:02.0
1:DIS: :DynPwr:0000:01:00.0
2:DIS-Audio: :Pwr:0000:01:00.1


I'm going to attach the logs from the display-manager service. As you will notice the ATI stuff is still found. I also tried to restart the display manager server but nothing changed.
Comment 10 Flavio Castelli 2014-11-12 08:27:44 UTC
Created attachment 613290 [details]
journal entry of the display-manager service after switch-graphics service was enabled
Comment 11 Takashi Iwai 2014-11-12 08:35:15 UTC
(In reply to Flavio Castelli from comment #9)
> (In reply to Takashi Iwai from comment #7)
> > BTW, you should be able to toggle the VGA switcheroo, e.g. put something
> > like below in /usr/lib/systemd/system/switchable-graphics.service:
> 
> I followed the steps but nothing changed. gdm is not started at all.
> 
> The new switchable-graphics service worked properly:
> 
> # systemctl status switchable-graphics.service 
> switchable-graphics.service - Set up switchable graphics
>    Loaded: loaded (/usr/lib/systemd/system/switchable-graphics.service;
> enabled)
>    Active: inactive (dead) since Wed 2014-11-12 09:18:27 CET; 3min 34s ago
>   Process: 763 ExecStart=/bin/bash -c echo OFF >
> /sys/kernel/debug/vgaswitcheroo/switch (code=exited, status=0/SUCCESS)
>   Process: 749 ExecStart=/bin/bash -c echo IGD >
> /sys/kernel/debug/vgaswitcheroo/switch (code=exited, status=0/SUCCESS)
>  Main PID: 763 (code=exited, status=0/SUCCESS)
> 
> Its journal entry is empty.
> 
> 
> The contents of /sys/kernel/debug/vgaswitcheroo/switch are:
> 0:IGD:+:Pwr:0000:00:02.0
> 1:DIS: :DynPwr:0000:01:00.0
> 2:DIS-Audio: :Pwr:0000:01:00.1

Hm, it might be that the HDMI audio blocks the power-off.
Go to runlevel 3, and check the value in /sys/module/snd_hda_intel/parameters/power_save.  To minimize the power save timeout, set it like
  echo 1 > /sys/module/snd_hda_intel/parameters/power_save

Then wait for a few seconds, check the contents of /sys/class/sound/hwC?D?/power_off_acct files, and confirm that the values increase at each time you see them.  If yes, all audio codecs have been powered off.

Now, run "echo OFF > /sys/kernel/debug/vgaswitcheroo/switch", and retry starting GNOME.
Comment 12 Flavio Castelli 2014-11-12 09:52:10 UTC
(In reply to Takashi Iwai from comment #11)
> Hm, it might be that the HDMI audio blocks the power-off.
> Go to runlevel 3, and check the value in
> /sys/module/snd_hda_intel/parameters/power_save.  To minimize the power save
> timeout, set it like
>   echo 1 > /sys/module/snd_hda_intel/parameters/power_save
> 
> Then wait for a few seconds, check the contents of
> /sys/class/sound/hwC?D?/power_off_acct files, and confirm that the values
> increase at each time you see them.  If yes, all audio codecs have been
> powered off.

That worked as you expected. BTW, I have to hwC?D? devices. They both got powered off.


> Now, run "echo OFF > /sys/kernel/debug/vgaswitcheroo/switch", and retry
> starting GNOME.

Nothing changed.
Comment 13 Flavio Castelli 2014-11-12 09:52:44 UTC
Created attachment 613314 [details]
display-manager log when audio codecs are powered off
Comment 14 Takashi Iwai 2014-11-12 11:31:33 UTC
OK, thanks.  I forgot the recent changes of radeon dpm interfering the vgaswitcheroo...

There have been a fix fixes related with radeon, vgaswitcheroo and ACPI in 3.17.
Could you check whether 3.17 kernel works as is?  It's available in OBS Kernel:stable repo.
Comment 15 Flavio Castelli 2014-11-13 13:44:50 UTC
I tried with the latest kernel, it didn't help :(
Comment 16 Takashi Iwai 2014-11-13 14:02:43 UTC
OK, thanks it's good to know.

Meanwehil, I'm wondering whether it's really a kernel / 3D issue.  What happens if you uninstall xf86-video-intel and xf86-video-ati but keep xf86-video-modesetting package?  Then all 3D stuff will be gone and rendered in software via Mesa.  Does GNOME still crash with it?
Comment 17 Takashi Iwai 2014-11-13 14:05:42 UTC
Also, could you give the output of "xrandr --verbose" when you login on icewm?
I'd like to see which outputs are detected and active.
Comment 18 Andreas Färber 2014-11-13 15:39:08 UTC
Similar situation here, neither up- nor downgrading the kernel helped.
lightdm and XFCE work okay. lightdm with GNOME used to work (with external monitor?) but no longer does standalone ATM.

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

# lspci
[...]
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09) (prog-if 00 [VGA controller])
	Subsystem: Hewlett-Packard Company Device 159b
	Flags: bus master, fast devsel, latency 0, IRQ 50
	Memory at c0000000 (64-bit, non-prefetchable) [size=4M]
	Memory at b0000000 (64-bit, prefetchable) [size=256M]
	I/O ports at 4000 [size=64]
	Expansion ROM at <unassigned> [disabled]
	Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
	Capabilities: [d0] Power Management version 2
	Capabilities: [a4] PCI Advanced Features
	Kernel driver in use: i915
	Kernel modules: i915
[...]
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Granville [Radeon HD 6850M/6870M] (rev ff) (prog-if ff)
	!!! Unknown header type 7f
	Kernel driver in use: radeon
	Kernel modules: radeon

01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Juniper HDMI Audio [Radeon HD 5700 Series] (rev ff) (prog-if ff)
	!!! Unknown header type 7f
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
[...]

# xrandr --verbose
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
LVDS1 connected 1920x1080+0+0 (0x5a) normal (normal left inverted right x axis y axis) 383mm x 215mm
	Identifier: 0x8b
	Timestamp:  662055
	Subpixel:   horizontal rgb
	Gamma:      1.0:1.0:1.0
	Brightness: 1.0
	Clones:    
	CRTC:       0
	CRTCs:      0 1
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	EDID: 
		00ffffffffffff0030e4830200000000
		00140103902616780af195a35552a126
		0f505400000001010101010101010101
		010101010101843a8064713811404060
		23007fd7100000190000000000000000
		00000000000000000000000000fe004c
		4720446973706c61790a2020000000fe
		004c503137335746312d544c423200ba
	BACKLIGHT: 255 
		range: (0, 255)
	Backlight: 255 
		range: (0, 255)
	scaling mode: Full aspect 
		supported: None, Full, Center, Full aspect
  1920x1080 (0x5a) 149.800MHz -HSync -VSync *current +preferred
        h: width  1920 start 1984 end 2080 total 2276 skew    0 clock  65.82KHz
        v: height 1080 start 1082 end 1085 total 1097           clock  60.00Hz
  1400x1050 (0xed) 122.000MHz +HSync +VSync
        h: width  1400 start 1488 end 1640 total 1880 skew    0 clock  64.89KHz
        v: height 1050 start 1052 end 1064 total 1082           clock  59.98Hz
  1280x1024 (0xee) 108.000MHz +HSync +VSync
        h: width  1280 start 1328 end 1440 total 1688 skew    0 clock  63.98KHz
        v: height 1024 start 1025 end 1028 total 1066           clock  60.02Hz
  1280x960 (0xef) 108.000MHz +HSync +VSync
        h: width  1280 start 1376 end 1488 total 1800 skew    0 clock  60.00KHz
        v: height  960 start  961 end  964 total 1000           clock  60.00Hz
  1024x768 (0xf0) 65.000MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock  48.36KHz
        v: height  768 start  771 end  777 total  806           clock  60.00Hz
  800x600 (0xf1) 40.000MHz +HSync +VSync
        h: width   800 start  840 end  968 total 1056 skew    0 clock  37.88KHz
        v: height  600 start  601 end  605 total  628           clock  60.32Hz
  800x600 (0xf2) 36.000MHz +HSync +VSync
        h: width   800 start  824 end  896 total 1024 skew    0 clock  35.16KHz
        v: height  600 start  601 end  603 total  625           clock  56.25Hz
  640x480 (0xf3) 25.175MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock  31.47KHz
        v: height  480 start  490 end  492 total  525           clock  59.94Hz
DP1 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x8c
	Timestamp:  662055
	Subpixel:   unknown
	Clones:    
	CRTCs:      0 1
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	Broadcast RGB: Automatic 
		supported: Automatic, Full, Limited 16:235
	audio: auto 
		supported: force-dvi, off, auto, on
DP2 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x8d
	Timestamp:  662055
	Subpixel:   unknown
	Clones:    
	CRTCs:      0 1
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	Broadcast RGB: Automatic 
		supported: Automatic, Full, Limited 16:235
	audio: auto 
		supported: force-dvi, off, auto, on
HDMI1 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x8e
	Timestamp:  662055
	Subpixel:   unknown
	Clones:     VGA1
	CRTCs:      0 1
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	Broadcast RGB: Automatic 
		supported: Automatic, Full, Limited 16:235
	audio: auto 
		supported: force-dvi, off, auto, on
HDMI2 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x8f
	Timestamp:  662055
	Subpixel:   unknown
	Clones:     VGA1
	CRTCs:      0 1
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	Broadcast RGB: Automatic 
		supported: Automatic, Full, Limited 16:235
	audio: auto 
		supported: force-dvi, off, auto, on
VGA1 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x90
	Timestamp:  662055
	Subpixel:   unknown
	Clones:     HDMI1 HDMI2
	CRTCs:      0 1
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x91
	Timestamp:  662055
	Subpixel:   no subpixels
	Clones:    
	CRTCs:      2
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
LVDS-1-1 connected (normal left inverted right x axis y axis)
	Identifier: 0x55
	Timestamp:  662055
	Subpixel:   horizontal rgb
	Clones:    
	CRTCs:      3 4 5 6 7 8
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	scaling mode: Full 
		supported: None, Full, Center, Full aspect
  1920x1080 (0x5a) 149.800MHz -HSync -VSync +preferred
        h: width  1920 start 1984 end 2080 total 2276 skew    0 clock  65.82KHz
        v: height 1080 start 1082 end 1085 total 1097           clock  60.00Hz
  1680x1050 (0x5b) 146.250MHz -HSync +VSync
        h: width  1680 start 1784 end 1960 total 2240 skew    0 clock  65.29KHz
        v: height 1050 start 1053 end 1059 total 1089           clock  59.95Hz
  1400x1050 (0x5c) 121.750MHz -HSync +VSync
        h: width  1400 start 1488 end 1632 total 1864 skew    0 clock  65.32KHz
        v: height 1050 start 1053 end 1057 total 1089           clock  59.98Hz
  1280x1024 (0x5d) 109.000MHz -HSync +VSync
        h: width  1280 start 1368 end 1496 total 1712 skew    0 clock  63.67KHz
        v: height 1024 start 1027 end 1034 total 1063           clock  59.89Hz
  1440x900 (0x5e) 106.500MHz -HSync +VSync
        h: width  1440 start 1528 end 1672 total 1904 skew    0 clock  55.93KHz
        v: height  900 start  903 end  909 total  934           clock  59.89Hz
  1280x960 (0x5f) 101.250MHz -HSync +VSync
        h: width  1280 start 1360 end 1488 total 1696 skew    0 clock  59.70KHz
        v: height  960 start  963 end  967 total  996           clock  59.94Hz
  1280x854 (0x60) 89.250MHz -HSync +VSync
        h: width  1280 start 1352 end 1480 total 1680 skew    0 clock  53.12KHz
        v: height  854 start  857 end  867 total  887           clock  59.89Hz
  1280x800 (0x61) 83.500MHz -HSync +VSync
        h: width  1280 start 1352 end 1480 total 1680 skew    0 clock  49.70KHz
        v: height  800 start  803 end  809 total  831           clock  59.81Hz
  1280x720 (0x62) 74.500MHz -HSync +VSync
        h: width  1280 start 1344 end 1472 total 1664 skew    0 clock  44.77KHz
        v: height  720 start  723 end  728 total  748           clock  59.86Hz
  1152x768 (0x63) 71.750MHz -HSync +VSync
        h: width  1152 start 1216 end 1328 total 1504 skew    0 clock  47.71KHz
        v: height  768 start  771 end  781 total  798           clock  59.78Hz
  1024x768 (0x64) 63.500MHz -HSync +VSync
        h: width  1024 start 1072 end 1176 total 1328 skew    0 clock  47.82KHz
        v: height  768 start  771 end  775 total  798           clock  59.92Hz
  800x600 (0x65) 38.250MHz -HSync +VSync
        h: width   800 start  832 end  912 total 1024 skew    0 clock  37.35KHz
        v: height  600 start  603 end  607 total  624           clock  59.86Hz
  848x480 (0x66) 31.500MHz -HSync +VSync
        h: width   848 start  872 end  952 total 1056 skew    0 clock  29.83KHz
        v: height  480 start  483 end  493 total  500           clock  59.66Hz
  720x480 (0x67) 26.750MHz -HSync +VSync
        h: width   720 start  744 end  808 total  896 skew    0 clock  29.85KHz
        v: height  480 start  483 end  493 total  500           clock  59.71Hz
  640x480 (0x68) 23.750MHz -HSync +VSync
        h: width   640 start  664 end  720 total  800 skew    0 clock  29.69KHz
        v: height  480 start  483 end  487 total  500           clock  59.38Hz
DisplayPort-1-2 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x56
	Timestamp:  662055
	Subpixel:   horizontal rgb
	Clones:    
	CRTCs:      3 4 5 6 7 8
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	dither: off 
		supported: off, on
	audio: auto 
		supported: off, on, auto
	underscan vborder: 0 
		range: (0, 128)
	underscan hborder: 0 
		range: (0, 128)
	underscan: off 
		supported: off, on, auto
	coherent: 1 
		range: (0, 1)
HDMI-1-2 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x57
	Timestamp:  662055
	Subpixel:   horizontal rgb
	Clones:    
	CRTCs:      3 4 5 6 7 8
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	dither: off 
		supported: off, on
	audio: auto 
		supported: off, on, auto
	underscan vborder: 0 
		range: (0, 128)
	underscan hborder: 0 
		range: (0, 128)
	underscan: off 
		supported: off, on, auto
	coherent: 1 
		range: (0, 1)
VGA-1-1 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x58
	Timestamp:  662055
	Subpixel:   no subpixels
	Clones:    
	CRTCs:      3 4 5 6 7 8
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	load detection: 1 
		range: (0, 1)
  1920x1080 (0x5a) 149.800MHz
        h: width  1920 start 1984 end 2080 total 2276 skew    0 clock  65.82KHz
        v: height 1080 start 1082 end 1085 total 1097           clock  60.00Hz
Comment 19 Andreas Färber 2014-11-13 16:09:58 UTC
Confirming that deinstalling some xf86-video-* packages lets both gdm and GNOME work in my case: "Gallium 0.4 on llvmpipe (LLVM 3.5, 256 bits)"

I also only have one monitor displayed in gnome-control-panel then, and LibreOffice Impress presents as expected this way.
Comment 20 Takashi Iwai 2014-11-13 16:16:26 UTC
(In reply to Andreas Färber from comment #18)
> Similar situation here, neither up- nor downgrading the kernel helped.
> lightdm and XFCE work okay. lightdm with GNOME used to work (with external
> monitor?) but no longer does standalone ATM.
> 
> # cat /sys/kernel/debug/vgaswitcheroo/switch 
> 0:IGD:+:Pwr:0000:00:02.0
> 1:DIS: :DynOff:0000:01:00.0
> 2:DIS-Audio: :Off:0000:01:00.1

The power status looks good.  But, the obvious problem is this one:
> LVDS-1-1 connected (normal left inverted right x axis y axis)
> 	Identifier: 0x55

This is the secondary LVDS entry, supposed to be the one for AMD.
Although it's not active, it's reported as connected (and doesn't show the proper attributes either).

(In reply to Andreas Färber from comment #19)
> Confirming that deinstalling some xf86-video-* packages lets both gdm and
> GNOME work in my case: "Gallium 0.4 on llvmpipe (LLVM 3.5, 256 bits)"
> 
> I also only have one monitor displayed in gnome-control-panel then, and
> LibreOffice Impress presents as expected this way.

That's good to hear at least.  Could you give xrandr --verbose output on this, too?  I'm interested in whether LVDS-1-1 status is different, depending on X driver.
Comment 21 Andreas Färber 2014-11-13 16:26:17 UTC
(In reply to Takashi Iwai from comment #20)

$ xrandr --verbose
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
LVDS-0 connected primary 1920x1080+0+0 (0x4a) normal (normal left inverted right x axis y axis) 383mm x 215mm
	Identifier: 0x8d
	Timestamp:  39342
	Subpixel:   horizontal rgb
	Gamma:      1.0:1.0:1.0
	Brightness: 1.0
	Clones:    
	CRTC:       0
	CRTCs:      0 1
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	_MUTTER_PRESENTATION_OUTPUT: 0 
	EDID: 
		00ffffffffffff0030e4830200000000
		00140103902616780af195a35552a126
		0f505400000001010101010101010101
		010101010101843a8064713811404060
		23007fd7100000190000000000000000
		00000000000000000000000000fe004c
		4720446973706c61790a2020000000fe
		004c503137335746312d544c423200ba
	scaling mode: Full aspect 
		supported: None, Full, Center, Full aspect
  1920x1080 (0x4a) 149.800MHz -HSync -VSync *current +preferred
        h: width  1920 start 1984 end 2080 total 2276 skew    0 clock  65.82KHz
        v: height 1080 start 1082 end 1085 total 1097           clock  60.00Hz
  1400x1050 (0x4c) 122.000MHz +HSync +VSync
        h: width  1400 start 1488 end 1640 total 1880 skew    0 clock  64.89KHz
        v: height 1050 start 1052 end 1064 total 1082           clock  59.98Hz
  1280x1024 (0x4f) 108.000MHz +HSync +VSync
        h: width  1280 start 1328 end 1440 total 1688 skew    0 clock  63.98KHz
        v: height 1024 start 1025 end 1028 total 1066           clock  60.02Hz
  1280x960 (0x51) 108.000MHz +HSync +VSync
        h: width  1280 start 1376 end 1488 total 1800 skew    0 clock  60.00KHz
        v: height  960 start  961 end  964 total 1000           clock  60.00Hz
  1024x768 (0x57) 133.475MHz -HSync +VSync DoubleScan
        h: width  1024 start 1100 end 1212 total 1400 skew    0 clock  95.34KHz
        v: height  768 start  768 end  770 total  794           clock  60.04Hz
  1024x768 (0x58) 65.000MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock  48.36KHz
        v: height  768 start  771 end  777 total  806           clock  60.00Hz
  960x720 (0x5a) 117.000MHz -HSync +VSync DoubleScan
        h: width   960 start 1024 end 1128 total 1300 skew    0 clock  90.00KHz
        v: height  720 start  720 end  722 total  750           clock  60.00Hz
  928x696 (0x5b) 109.150MHz -HSync +VSync DoubleScan
        h: width   928 start  976 end 1088 total 1264 skew    0 clock  86.35KHz
        v: height  696 start  696 end  698 total  719           clock  60.05Hz
  896x672 (0x5c) 102.400MHz -HSync +VSync DoubleScan
        h: width   896 start  960 end 1060 total 1224 skew    0 clock  83.66KHz
        v: height  672 start  672 end  674 total  697           clock  60.01Hz
  800x600 (0x5d) 81.000MHz +HSync +VSync DoubleScan
        h: width   800 start  832 end  928 total 1080 skew    0 clock  75.00KHz
        v: height  600 start  600 end  602 total  625           clock  60.00Hz
  800x600 (0x5e) 40.000MHz +HSync +VSync
        h: width   800 start  840 end  968 total 1056 skew    0 clock  37.88KHz
        v: height  600 start  601 end  605 total  628           clock  60.32Hz
  800x600 (0x60) 36.000MHz +HSync +VSync
        h: width   800 start  824 end  896 total 1024 skew    0 clock  35.16KHz
        v: height  600 start  601 end  603 total  625           clock  56.25Hz
  700x525 (0x62) 61.000MHz +HSync +VSync DoubleScan
        h: width   700 start  744 end  820 total  940 skew    0 clock  64.89KHz
        v: height  525 start  526 end  532 total  541           clock  59.98Hz
  640x512 (0x64) 54.000MHz +HSync +VSync DoubleScan
        h: width   640 start  664 end  720 total  844 skew    0 clock  63.98KHz
        v: height  512 start  512 end  514 total  533           clock  60.02Hz
  640x480 (0x65) 54.000MHz +HSync +VSync DoubleScan
        h: width   640 start  688 end  744 total  900 skew    0 clock  60.00KHz
        v: height  480 start  480 end  482 total  500           clock  60.00Hz
  640x480 (0x66) 25.175MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock  31.47KHz
        v: height  480 start  490 end  492 total  525           clock  59.94Hz
  512x384 (0x68) 32.500MHz -HSync -VSync DoubleScan
        h: width   512 start  524 end  592 total  672 skew    0 clock  48.36KHz
        v: height  384 start  385 end  388 total  403           clock  60.00Hz
  400x300 (0x69) 20.000MHz +HSync +VSync DoubleScan
        h: width   400 start  420 end  484 total  528 skew    0 clock  37.88KHz
        v: height  300 start  300 end  302 total  314           clock  60.32Hz
  400x300 (0x6a) 18.000MHz +HSync +VSync DoubleScan
        h: width   400 start  412 end  448 total  512 skew    0 clock  35.16KHz
        v: height  300 start  300 end  301 total  312           clock  56.34Hz
  320x240 (0x6b) 12.587MHz -HSync -VSync DoubleScan
        h: width   320 start  328 end  376 total  400 skew    0 clock  31.47KHz
        v: height  240 start  245 end  246 total  262           clock  60.05Hz
VGA-0 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x8e
	Timestamp:  39342
	Subpixel:   unknown
	Clones:    
	CRTCs:      0 1
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
HDMI-0 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x8f
	Timestamp:  39342
	Subpixel:   unknown
	Clones:    
	CRTCs:      0 1
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	Broadcast RGB: Automatic 
		supported: Automatic, Full, Limited 16:235
	audio: auto 
		supported: force-dvi, off, auto, on
DisplayPort-0 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x90
	Timestamp:  39342
	Subpixel:   unknown
	Clones:    
	CRTCs:      0 1
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	Broadcast RGB: Automatic 
		supported: Automatic, Full, Limited 16:235
	audio: auto 
		supported: force-dvi, off, auto, on
HDMI-1 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x91
	Timestamp:  39342
	Subpixel:   unknown
	Clones:    
	CRTCs:      0 1
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	Broadcast RGB: Automatic 
		supported: Automatic, Full, Limited 16:235
	audio: auto 
		supported: force-dvi, off, auto, on
DisplayPort-1 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x92
	Timestamp:  39342
	Subpixel:   unknown
	Clones:    
	CRTCs:      0 1
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	Broadcast RGB: Automatic 
		supported: Automatic, Full, Limited 16:235
	audio: auto 
		supported: force-dvi, off, auto, on
Comment 22 Takashi Iwai 2014-11-13 16:37:44 UTC
Thanks.  So, modesetting driver didn't take the inactive radeon.  It explains why GNOME would work with this.
Comment 23 Takashi Iwai 2014-11-13 17:06:38 UTC
One more quick test.  Could you install drm-kmp package found in OBS home:tiwai:bnc904417/radeon repo, reinstall xf86-video-intel and xf86-video-ati, and retest?  (It would work only with LVDS, no other connections expected.)
Comment 24 Takashi Iwai 2014-11-13 17:15:42 UTC
Wait... Now I read radeon code more carefully and noticed that there is actually a module option radeon.runpm.  Setting radeon.runpm=0 should disable PX, i.e. the hybrid graphics mode, and it'll allow again vga swticheroo as before.

So, can anyone confirm this?  Just boot with radeon.runpm=0.  Do "echo OFF > /sys/kernel/debug/vgaswitcheroo/switch" or something like that appropriately if needed, then start GNOME.
Comment 25 Andreas Färber 2014-11-13 23:06:59 UTC
(In reply to Takashi Iwai from comment #24)

# rcxdm stop
# echo DDIS > /sys/kernel/debug/vgaswitcheroo/switch
# cat /sys/kernel/debug/vgaswitcheroo/switch 
0:IGD: :Off:0000:00:02.0
1:DIS:+:Pwr:0000:01:00.0
2:DIS-Audio: :Pwr:0000:01:00.1
# rcxdm start

works okay for me, "Gallium 0.4 on AMD JUNIPER".

# xrandr --verbose
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
LVDS-1 connected primary 1920x1080+0+0 (0x5a) normal (normal left inverted right x axis y axis) 0mm x 0mm
	Identifier: 0x55
	Timestamp:  231789
	Subpixel:   horizontal rgb
	Gamma:      1.0:1.0:1.0
	Brightness: 1.0
	Clones:    
	CRTC:       0
	CRTCs:      0 1 2 3 4 5
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	_MUTTER_PRESENTATION_OUTPUT: 0 
	scaling mode: Full 
		supported: None, Full, Center, Full aspect
  1920x1080 (0x5a) 149.800MHz -HSync -VSync *current +preferred
        h: width  1920 start 1984 end 2080 total 2276 skew    0 clock  65.82KHz
        v: height 1080 start 1082 end 1085 total 1097           clock  60.00Hz
  1680x1050 (0x5b) 146.250MHz -HSync +VSync
        h: width  1680 start 1784 end 1960 total 2240 skew    0 clock  65.29KHz
        v: height 1050 start 1053 end 1059 total 1089           clock  59.95Hz
  1400x1050 (0x5c) 121.750MHz -HSync +VSync
        h: width  1400 start 1488 end 1632 total 1864 skew    0 clock  65.32KHz
        v: height 1050 start 1053 end 1057 total 1089           clock  59.98Hz
  1280x1024 (0x5d) 109.000MHz -HSync +VSync
        h: width  1280 start 1368 end 1496 total 1712 skew    0 clock  63.67KHz
        v: height 1024 start 1027 end 1034 total 1063           clock  59.89Hz
  1440x900 (0x5e) 106.500MHz -HSync +VSync
        h: width  1440 start 1528 end 1672 total 1904 skew    0 clock  55.93KHz
        v: height  900 start  903 end  909 total  934           clock  59.89Hz
  1280x960 (0x5f) 101.250MHz -HSync +VSync
        h: width  1280 start 1360 end 1488 total 1696 skew    0 clock  59.70KHz
        v: height  960 start  963 end  967 total  996           clock  59.94Hz
  1280x854 (0x60) 89.250MHz -HSync +VSync
        h: width  1280 start 1352 end 1480 total 1680 skew    0 clock  53.12KHz
        v: height  854 start  857 end  867 total  887           clock  59.89Hz
  1280x800 (0x61) 83.500MHz -HSync +VSync
        h: width  1280 start 1352 end 1480 total 1680 skew    0 clock  49.70KHz
        v: height  800 start  803 end  809 total  831           clock  59.81Hz
  1280x720 (0x62) 74.500MHz -HSync +VSync
        h: width  1280 start 1344 end 1472 total 1664 skew    0 clock  44.77KHz
        v: height  720 start  723 end  728 total  748           clock  59.86Hz
  1152x768 (0x63) 71.750MHz -HSync +VSync
        h: width  1152 start 1216 end 1328 total 1504 skew    0 clock  47.71KHz
        v: height  768 start  771 end  781 total  798           clock  59.78Hz
  1024x768 (0x64) 63.500MHz -HSync +VSync
        h: width  1024 start 1072 end 1176 total 1328 skew    0 clock  47.82KHz
        v: height  768 start  771 end  775 total  798           clock  59.92Hz
  800x600 (0x65) 38.250MHz -HSync +VSync
        h: width   800 start  832 end  912 total 1024 skew    0 clock  37.35KHz
        v: height  600 start  603 end  607 total  624           clock  59.86Hz
  848x480 (0x66) 31.500MHz -HSync +VSync
        h: width   848 start  872 end  952 total 1056 skew    0 clock  29.83KHz
        v: height  480 start  483 end  493 total  500           clock  59.66Hz
  720x480 (0x67) 26.750MHz -HSync +VSync
        h: width   720 start  744 end  808 total  896 skew    0 clock  29.85KHz
        v: height  480 start  483 end  493 total  500           clock  59.71Hz
  640x480 (0x68) 23.750MHz -HSync +VSync
        h: width   640 start  664 end  720 total  800 skew    0 clock  29.69KHz
        v: height  480 start  483 end  487 total  500           clock  59.38Hz
DisplayPort-2 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x56
	Timestamp:  231789
	Subpixel:   horizontal rgb
	Clones:    
	CRTCs:      0 1 2 3 4 5
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	dither: off 
		supported: off, on
	audio: auto 
		supported: off, on, auto
	underscan vborder: 0 
		range: (0, 128)
	underscan hborder: 0 
		range: (0, 128)
	underscan: off 
		supported: off, on, auto
	coherent: 1 
		range: (0, 1)
HDMI-2 connected 1920x1080+0+0 (0x69) normal (normal left inverted right x axis y axis) 509mm x 286mm
	Identifier: 0x57
	Timestamp:  231789
	Subpixel:   horizontal rgb
	Gamma:      1.0:1.0:1.0
	Brightness: 1.0
	Clones:    
	CRTC:       1
	CRTCs:      0 1 2 3 4 5
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	_MUTTER_PRESENTATION_OUTPUT: 0 
	EDID: 
		00ffffffffffff004c2d6f0735433242
		0a15010380331d782aee91a3544c9926
		0f5054bfef80714f8100814081809500
		950fa940b300023a801871382d40582c
		4500fd1e1100001e011d007251d01e20
		6e285500fd1e1100001e000000fd0032
		4b1f5111000a202020202020000000fc
		00534d4258323333310a2020202001ec
		02031cf14890041f0514131203230907
		078301000066030c00200080011d80d0
		721c1620102c2580fd1e1100009e011d
		8018711c1620582c2500fd1e1100009e
		011d00bc52d01e20b8285540fd1e1100
		001e8c0ad090204031200c405500fd1e
		110000188c0ad08a20e02d10103e9600
		fd1e110000180000000000000000003c
	dither: off 
		supported: off, on
	audio: auto 
		supported: off, on, auto
	underscan vborder: 0 
		range: (0, 128)
	underscan hborder: 0 
		range: (0, 128)
	underscan: off 
		supported: off, on, auto
	coherent: 1 
		range: (0, 1)
  1920x1080 (0x69) 148.500MHz +HSync +VSync *current +preferred
        h: width  1920 start 2008 end 2052 total 2200 skew    0 clock  67.50KHz
        v: height 1080 start 1084 end 1089 total 1125           clock  60.00Hz
  1920x1080 (0x6a) 148.500MHz +HSync +VSync
        h: width  1920 start 2448 end 2492 total 2640 skew    0 clock  56.25KHz
        v: height 1080 start 1084 end 1089 total 1125           clock  50.00Hz
  1920x1080 (0x6b) 148.352MHz +HSync +VSync
        h: width  1920 start 2008 end 2052 total 2200 skew    0 clock  67.43KHz
        v: height 1080 start 1084 end 1089 total 1125           clock  59.94Hz
  1920x1080i (0x6c) 74.250MHz +HSync +VSync Interlace
        h: width  1920 start 2008 end 2052 total 2200 skew    0 clock  33.75KHz
        v: height 1080 start 1084 end 1094 total 1125           clock  60.00Hz
  1920x1080i (0x6d) 74.250MHz +HSync +VSync Interlace
        h: width  1920 start 2448 end 2492 total 2640 skew    0 clock  28.12KHz
        v: height 1080 start 1084 end 1094 total 1125           clock  50.00Hz
  1920x1080i (0x6e) 74.176MHz +HSync +VSync Interlace
        h: width  1920 start 2008 end 2052 total 2200 skew    0 clock  33.72KHz
        v: height 1080 start 1084 end 1094 total 1125           clock  59.94Hz
  1600x1200 (0x6f) 162.000MHz +HSync +VSync
        h: width  1600 start 1664 end 1856 total 2160 skew    0 clock  75.00KHz
        v: height 1200 start 1201 end 1204 total 1250           clock  60.00Hz
  1680x1050 (0x70) 119.000MHz +HSync -VSync
        h: width  1680 start 1728 end 1760 total 1840 skew    0 clock  64.67KHz
        v: height 1050 start 1053 end 1059 total 1080           clock  59.88Hz
  1280x1024 (0x71) 135.000MHz +HSync +VSync
        h: width  1280 start 1296 end 1440 total 1688 skew    0 clock  79.98KHz
        v: height 1024 start 1025 end 1028 total 1066           clock  75.02Hz
  1280x1024 (0x72) 108.000MHz +HSync +VSync
        h: width  1280 start 1328 end 1440 total 1688 skew    0 clock  63.98KHz
        v: height 1024 start 1025 end 1028 total 1066           clock  60.02Hz
  1440x900 (0x73) 136.750MHz -HSync +VSync
        h: width  1440 start 1536 end 1688 total 1936 skew    0 clock  70.64KHz
        v: height  900 start  903 end  909 total  942           clock  74.98Hz
  1440x900 (0x74) 88.750MHz +HSync -VSync
        h: width  1440 start 1488 end 1520 total 1600 skew    0 clock  55.47KHz
        v: height  900 start  903 end  909 total  926           clock  59.90Hz
  1280x960 (0x75) 108.000MHz +HSync +VSync
        h: width  1280 start 1376 end 1488 total 1800 skew    0 clock  60.00KHz
        v: height  960 start  961 end  964 total 1000           clock  60.00Hz
  1280x800 (0x76) 71.000MHz +HSync -VSync
        h: width  1280 start 1328 end 1360 total 1440 skew    0 clock  49.31KHz
        v: height  800 start  803 end  809 total  823           clock  59.91Hz
  1152x864 (0x77) 108.000MHz +HSync +VSync
        h: width  1152 start 1216 end 1344 total 1600 skew    0 clock  67.50KHz
        v: height  864 start  865 end  868 total  900           clock  75.00Hz
  1280x720 (0x78) 74.250MHz +HSync +VSync
        h: width  1280 start 1390 end 1430 total 1650 skew    0 clock  45.00KHz
        v: height  720 start  725 end  730 total  750           clock  60.00Hz
  1280x720 (0x79) 74.250MHz +HSync +VSync
        h: width  1280 start 1720 end 1760 total 1980 skew    0 clock  37.50KHz
        v: height  720 start  725 end  730 total  750           clock  50.00Hz
  1280x720 (0x7a) 74.176MHz +HSync +VSync
        h: width  1280 start 1390 end 1430 total 1650 skew    0 clock  44.96KHz
        v: height  720 start  725 end  730 total  750           clock  59.94Hz
  1024x768 (0x7b) 78.800MHz +HSync +VSync
        h: width  1024 start 1040 end 1136 total 1312 skew    0 clock  60.06KHz
        v: height  768 start  769 end  772 total  800           clock  75.08Hz
  1024x768 (0x7c) 75.000MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1328 skew    0 clock  56.48KHz
        v: height  768 start  771 end  777 total  806           clock  70.07Hz
  1024x768 (0x7d) 65.000MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock  48.36KHz
        v: height  768 start  771 end  777 total  806           clock  60.00Hz
  832x624 (0x7e) 57.284MHz -HSync -VSync
        h: width   832 start  864 end  928 total 1152 skew    0 clock  49.73KHz
        v: height  624 start  625 end  628 total  667           clock  74.55Hz
  800x600 (0x7f) 50.000MHz +HSync +VSync
        h: width   800 start  856 end  976 total 1040 skew    0 clock  48.08KHz
        v: height  600 start  637 end  643 total  666           clock  72.19Hz
  800x600 (0x80) 49.500MHz +HSync +VSync
        h: width   800 start  816 end  896 total 1056 skew    0 clock  46.88KHz
        v: height  600 start  601 end  604 total  625           clock  75.00Hz
  800x600 (0x81) 40.000MHz +HSync +VSync
        h: width   800 start  840 end  968 total 1056 skew    0 clock  37.88KHz
        v: height  600 start  601 end  605 total  628           clock  60.32Hz
  800x600 (0x82) 36.000MHz +HSync +VSync
        h: width   800 start  824 end  896 total 1024 skew    0 clock  35.16KHz
        v: height  600 start  601 end  603 total  625           clock  56.25Hz
  720x576 (0x83) 27.000MHz -HSync -VSync
        h: width   720 start  732 end  796 total  864 skew    0 clock  31.25KHz
        v: height  576 start  581 end  586 total  625           clock  50.00Hz
  720x480 (0x84) 27.027MHz -HSync -VSync
        h: width   720 start  736 end  798 total  858 skew    0 clock  31.50KHz
        v: height  480 start  489 end  495 total  525           clock  60.00Hz
  720x480 (0x85) 27.000MHz -HSync -VSync
        h: width   720 start  736 end  798 total  858 skew    0 clock  31.47KHz
        v: height  480 start  489 end  495 total  525           clock  59.94Hz
  640x480 (0x86) 31.500MHz -HSync -VSync
        h: width   640 start  656 end  720 total  840 skew    0 clock  37.50KHz
        v: height  480 start  481 end  484 total  500           clock  75.00Hz
  640x480 (0x87) 31.500MHz -HSync -VSync
        h: width   640 start  664 end  704 total  832 skew    0 clock  37.86KHz
        v: height  480 start  489 end  491 total  520           clock  72.81Hz
  640x480 (0x88) 30.240MHz -HSync -VSync
        h: width   640 start  704 end  768 total  864 skew    0 clock  35.00KHz
        v: height  480 start  483 end  486 total  525           clock  66.67Hz
  640x480 (0x89) 25.200MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock  31.50KHz
        v: height  480 start  490 end  492 total  525           clock  60.00Hz
  640x480 (0x8a) 25.175MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock  31.47KHz
        v: height  480 start  490 end  492 total  525           clock  59.94Hz
  720x400 (0x8b) 28.320MHz -HSync +VSync
        h: width   720 start  738 end  846 total  900 skew    0 clock  31.47KHz
        v: height  400 start  412 end  414 total  449           clock  70.08Hz
VGA-1 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x58
	Timestamp:  231789
	Subpixel:   no subpixels
	Clones:    
	CRTCs:      0 1 2 3 4 5
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	load detection: 1 
		range: (0, 1)
Comment 26 Takashi Iwai 2014-11-14 06:21:15 UTC
OK, then we just need to disable PX for this kind of machines.  There is a blacklist and we'd need to add the new entries there.

Andreas, could you give hwinfo output from your machine?

Also, Flavio, please check whether radeon.runpm=0 makes things working again on your machine, too.
Comment 27 Takashi Iwai 2014-11-14 19:52:20 UTC
A bit of status updates:

- radeon.runpm=0 option would make the system behaving as before, so if you prefer the old days, you can still go this way as a falback.

- I updated radeon-kmp package in OBS home:tiwai:bnc904417/radeon repo, and it contains the radeon module including a test fix from upstream.  With this update, the radeon driver should show the outputs as disconnected unless the controller is activated via vgaswitcheroo, so that GNOME should be no longer confused.

The latter method has basically more merit: the power can be turned on/off more dynamically while we may switch outputs more smoothly.

So, please give radeon-kmp a try.  If it works, I'll report back to upstream.
Comment 28 Takashi Iwai 2014-11-25 16:11:43 UTC
Ping...
Comment 29 Andreas Färber 2014-11-25 19:13:08 UTC
(In reply to Takashi Iwai from comment #27)

i | radeon-kmp-desktop      | Paket      | 3.16_k3.16.6_2-4.1 | x86_64 | OBS tiwai radeon 

With this kmp and radeon.runpm=0 still in the cmdline, gdm does not come up but instead the previous screen remains. The IGD is active, and both are powered.

With the same sequence as before - rcxdm stop; echo DDIS > .../switch; rcxdm start - things still work.

I'll try whether dropping that command line argument improves things next.
Comment 30 Andreas Färber 2014-11-25 19:29:39 UTC
(In reply to Andreas Färber from comment #29)
> I'll try whether dropping that command line argument improves things next.

It does! It comes up on the IGD now: "Intel® Sandybridge Mobile"
And only one monitor is detected in GNOME control center.

andreas@envy:~> sudo cat /sys/kernel/debug/vgaswitcheroo/switch
root's password:
0:IGD:+:Pwr:0000:00:02.0
1:DIS: :DynOff:0000:01:00.0
2:DIS-Audio: :Off:0000:01:00.1
Comment 31 Takashi Iwai 2014-11-25 20:19:31 UTC
(In reply to Andreas Faerber from comment #30)
> (In reply to Andreas Färber from comment #29)
> > I'll try whether dropping that command line argument improves things next.
> 
> It does! It comes up on the IGD now: "Intel® Sandybridge Mobile"
> And only one monitor is detected in GNOME control center.
> 
> andreas@envy:~> sudo cat /sys/kernel/debug/vgaswitcheroo/switch
> root's password:
> 0:IGD:+:Pwr:0000:00:02.0
> 1:DIS: :DynOff:0000:01:00.0
> 2:DIS-Audio: :Off:0000:01:00.1

Great, I reported back to upstream, and merged the patch to openSUSE-13.2 and stable kernel branches now.

Let's close now.
Comment 32 Flavio Castelli 2014-12-09 09:27:27 UTC
Sorry for being silent on this issue. I have been traveling a lot lately and I didn't have this laptop with me.

I'll check the fix once it's available in the updates channels.
Comment 33 Swamp Workflow Management 2014-12-21 12:15:53 UTC
openSUSE-SU-2014:1678-1: An update that solves 8 vulnerabilities and has 22 fixes is now available.

Category: security (important)
Bug References: 665315,856659,897112,897736,900786,902346,902349,902351,902632,902633,902728,903748,903986,904013,904097,904289,904417,904539,904717,904932,905068,905100,905329,905739,906914,907818,908163,908253,909077,910251
CVE References: CVE-2014-3673,CVE-2014-3687,CVE-2014-3688,CVE-2014-7826,CVE-2014-7841,CVE-2014-8133,CVE-2014-9090,CVE-2014-9322
Sources used:
openSUSE 13.2 (src):    kernel-docs-3.16.7-7.2, kernel-obs-build-3.16.7-7.3, kernel-obs-qa-3.16.7-7.2, kernel-obs-qa-xen-3.16.7-7.2, kernel-source-3.16.7-7.1, kernel-syms-3.16.7-7.1