Intel/AMD Hybrid graphics on Ubuntu 14.04

2,422

With the release of Ubuntu 14.10, some of the problems related to this incompatibility issue appear to be solved. I succeeded to make both graphic cards to work as follows:

1) Install Ubuntu 14.10. In my case, I first tried updating from 14.04 but I messed up with the installation. I ended up doing a clean install from an Ubuntu CD.

2) Install the fglrx driver from "Software & Updates" -> "Additional Drivers".

3) Reboot

4) Unfortunately, the AMD Catalyst Control Center behave weirdly. The first time I run it, it did run normally. I used it to switch the card. After a reboot, the AMD Catalyst Control Center did not run anymore. To switch between cards, please follow the step 5).

5) Check whether you are using the discrete card (radeon) or the integrated one (intel) by running the in a terminal:

amdconfig --pxl

If you are using the Intel card, you should see a message like:

PowerXpress: Integrated GPU is active (Power-Saving mode).

Otherwise you will see a similar message stating that the discrete card is currently in use. To switch from using the discrete card to the integrated one, run the following command:

amdconfig --px-igpu

For the other way around, run the following command:

amdconfig --px-dgpu

In both cases you will be prompted to restart the X server. You may log out and log in again for the changes to take effect.

Share:
2,422

Related videos on Youtube

Sadda Hussain
Author by

Sadda Hussain

Updated on September 18, 2022

Comments

  • Sadda Hussain
    Sadda Hussain over 1 year

    I am trying to add a circular notification badge in navigation drawer here is my custom textview.

    <?xml version="1.0" encoding="utf-8"?>
    <TextView xmlns:android="http://schemas.android.com/apk/res/android"
    style="@style/Widget.Design.FloatingActionButton"
    android:layout_width="wrap_content"
    android:layout_height="match_parent"
    android:layout_gravity="center"
    android:gravity="center"
    android:padding="2dp"
    android:textAppearance="@style/Base.TextAppearance.AppCompat.Body2"
    android:textColor="@color/colorWhite"
    android:textStyle="bold" />
    

    Result:

    enter image description here

    Required:

    enter image description here

    Note: If I set the textview height to wrap_content then textview will be circular but it will stick to the top.

    enter image description here

    • jespestana
      jespestana over 9 years
      Hey @claud10, I am thinking of buying that very same laptop. But I am not sure how the graphics card will work... Do you have any overheating problems? Can you at least not use the graphics card? Also, you might consider using these drivers: support.amd.com/en-us/kb-articles/Pages/… . I am not sure if they are compatible with the M265x card (I have been googling it, but there is not almost any information out there regarding this graphics card and ubuntu).
    • claud10
      claud10 over 9 years
      Hi @jespestana, indeed my first try was to install the newest catalyst beta drivers (14.6) for Linux. I have tried too many other things after that, all of them without much success. It seems to me that the proprietary drivers do not expect a hybrid system but rather a single-gpu setting. Well, this is only a guess based on my experience with this specific machine. Regarding the heat problems, I remember experiencing some before installing the intel graphic drivers. Now the machine boots normally (and the heat is just average) but does not offer me the option to use the radeon.
    • jespestana
      jespestana over 9 years
      Thanks for the information @cloud10. Two more questions: Can you use a second monitor with your current ubuntu installation (using the intel graphics)? Any advice on how to install ubuntu with dual boot, without formatting the windows OS? I will get my P50t-B laptop soon... I'll let you know if I manage to install the graphics card correctly.
    • jespestana
      jespestana over 9 years
      Hi @cloud10. Thanks a lot for the information that you provided in this post. I was able to install my intel graphics card, and to setup unity with good working conditions for the P50-B screen resolution. However, I could not install the Radeon graphics card. I will post what I did as an answer, but I know it is not a solution to your problem (and mine).
    • Ionut J. Bejan
      Ionut J. Bejan over 5 years
      keep it wrap_content but make layout_gravity="center_vertical"
    • Sadda Hussain
      Sadda Hussain over 5 years
      Already tried, did not work.
    • AskNilesh
      AskNilesh over 5 years
      try this if you want to use custom navigation drawer
    • Sadda Hussain
      Sadda Hussain over 5 years
      No, I just want to the change the counter not the whole item.
    • AskNilesh
      AskNilesh over 5 years
      @SaddaHussain test case try this android:layout_height="20dp" in your TextView
    • Sadda Hussain
      Sadda Hussain over 5 years
      Ok let me test.
    • Sadda Hussain
      Sadda Hussain over 5 years
      No, it did not work.
  • claud10
    claud10 over 9 years
    With the release of Ubuntu 14.10, some of the problems related to this incompatibility issue appear to be solved. I succeeded to make both graphic cards to work as follows:
  • American Luke
    American Luke over 9 years
    This left me in low-graphics mode, which I could not get out of without switching back to integrated graphics. I'm using Ubuntu 14.10
  • jespestana
    jespestana almost 9 years
    I am running Ubuntu 15.04. This instructions work currently perfectly well on a Toshiba Satellite P50t-B. I have restarted several times and the AMD Catalyst Control Center is still working. Cheers!
  • jespestana
    jespestana almost 9 years
    I just tried to install in my P50t-B Ubuntu 14.04.3, and the discrete graphics card is also working. I used the instructions given by claud10 to install it. I have restarted several times and the AMD Catalyst Control Center is still working. Cheers!
  • Sadda Hussain
    Sadda Hussain over 5 years
    It will stick to the top. Please try the solution before answering the question.