Bug 13986 - After configuring in XFdrake discrete videocard is unavailable
Summary: After configuring in XFdrake discrete videocard is unavailable
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: High major
Target Milestone: Mageia 7
Assignee: Mageia tools maintainers
QA Contact:
URL:
Whiteboard: MGA5TOO
Keywords: FOR_ERRATA5, IN_ERRATA6
Depends on:
Blocks:
 
Reported: 2014-08-25 22:53 CEST by Nikita Krupenko
Modified: 2017-09-10 16:47 CEST (History)
4 users (show)

See Also:
Source RPM: drakx-kbd-mouse-x11
CVE:
Status comment:


Attachments
Output of lspci (2.46 KB, patch)
2014-08-25 22:55 CEST, Nikita Krupenko
Details | Diff
Output of lspcidrake (4.71 KB, text/plain)
2014-08-25 22:55 CEST, Nikita Krupenko
Details
Providers with xorg.conf (166 bytes, text/plain)
2014-08-25 22:56 CEST, Nikita Krupenko
Details
Providers without xorg.conf (310 bytes, text/plain)
2014-08-25 22:56 CEST, Nikita Krupenko
Details
xorg.conf (2.10 KB, text/plain)
2014-08-25 22:57 CEST, Nikita Krupenko
Details

Description Nikita Krupenko 2014-08-25 22:53:57 CEST
Description of problem:
I have laptop with AMD A8-5557M APU (Radeon HD 8550G) and discrete videocard Radeon HD 8750M. I configured video using XFdrake and selected option "Configure all heads independently" in Multi-head configuration. With generated xorg.conf I see only one device in the output of `xrandr --listproviders`. If I delete xorg.conf, I see both devices.

Version-Release number of selected component (if applicable):
rakconf-12.52-1.mga5.src.rpm 

Steps to Reproduce:
1. Configure AMD hybrid graphics using XFdrake
2. Start X and look at output of `xrandr --listproviders`
3. Remove /etc/X11/xorg.conf and restart X
4. Look at the output of `xrandr --listproviders` again

Reproducible: 

Steps to Reproduce:
Comment 1 Nikita Krupenko 2014-08-25 22:55:01 CEST
Created attachment 5365 [details]
Output of lspci
Comment 2 Nikita Krupenko 2014-08-25 22:55:42 CEST
Created attachment 5366 [details]
Output of lspcidrake
Comment 3 Nikita Krupenko 2014-08-25 22:56:19 CEST
Created attachment 5367 [details]
Providers with xorg.conf
Comment 4 Nikita Krupenko 2014-08-25 22:56:44 CEST
Created attachment 5368 [details]
Providers without xorg.conf
Comment 5 Nikita Krupenko 2014-08-25 22:57:11 CEST
Created attachment 5369 [details]
xorg.conf
Comment 6 Rémi Verschelde 2014-09-17 14:20:36 CEST
CC'ing Thierry since he knows XFdrake better than most of us.

I think this is a very general issue with the way discrete GPUs are handled. The problem is the same with Optimus laptops with an intel chipset and a nvidia discrete GPU: the two GPUs are seen as two monitors, even though only the intel chipset is connected to the laptop monitor. The current solution is to configure only the intel GPU, and then to use a hack such as bumblebee to handle the nvidia GPU.

CC: (none) => remi, thierry.vignaud

Samuel Verschelde 2015-05-19 20:51:17 CEST

Whiteboard: (none) => MGA5TOO

Comment 7 Thierry Vignaud 2015-06-10 09:22:20 CEST
Wrong package

Source RPM: drakconf-12.52-1.mga5.src.rpm => drakx-kbd-mouse-x11

Rémi Verschelde 2015-06-10 11:13:14 CEST

Priority: Normal => High
Blocks: (none) => 15527
Target Milestone: --- => Mageia 6
Severity: normal => major

Comment 8 Marja Van Waes 2016-07-12 17:16:10 CEST
Moving to the Mga7 tracker, but also CC'ing tmb, because of some very faint memory that he or someone else was maybe working on a solution for Optimus and other such cases.

CC: (none) => marja11, tmb
Blocks: 15527 => 18932
Target Milestone: Mageia 6 => Mageia 7

Comment 9 Rémi Verschelde 2016-07-13 11:23:57 CEST
BTW I can confirm the bug

To get an optimus laptop working when installing Mageia, one must ensure to configure only the Intel IGP and not the nvidia GPU. It then generates an /etc/X11/xorg.conf for Intel that works, but that hides the discrete GPU.

This however prevents using DRI_PRIME with nouveau (see https://nouveau.freedesktop.org/wiki/Optimus/), so users need to delete /etc/X11/xorg.conf and let the system handle itself so that the nouveau driver can be used.

Whiteboard: MGA5TOO => MGA5TOO FOR_ERRATA

Samuel Verschelde 2016-10-18 13:04:03 CEST

Keywords: (none) => FOR_ERRATA5, FOR_ERRATA6
Whiteboard: MGA5TOO FOR_ERRATA => MGA5TOO

Samuel Verschelde 2016-11-01 12:23:22 CET

Assignee: bugsquad => mageiatools

Samuel Verschelde 2016-11-10 10:36:01 CET

Blocks: 18932 => (none)

Marja Van Waes 2017-03-06 16:28:22 CET

Keywords: FOR_ERRATA6 => IN_ERRATA6

Marja Van Waes 2017-09-10 16:47:38 CEST

See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=16245


Note You need to log in before you can comment on or make changes to this bug.