LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-20-2014, 02:28 AM   #1
arnoldlayne42
LQ Newbie
 
Registered: Jan 2014
Posts: 4

Rep: Reputation: Disabled
Completely disabling faulty AMD card


I have an HP DV6 6121tx with dual AMD+Intel graphics.

The AMD card has developed some issues, and Windows or Ubuntu don't work if they try to load it. Ubuntu throws out this error on boot:

http://i.imgur.com/txdej1k.jpg?1?6520

Now after a week of researching, adding this to grub gets rid of this error, and I'm able to run Linux off my Intel card with no errors:
"radeon.modeset=0 rd.driver.blacklist=radeon"

But the issue now is, that my AMD card still seems to be heating up. The palmrest area on my laptop gets pretty warm even with light use (running Chrome, nothing else). As a result, the battery life is half or less than half of what I'd expect it to be.

When my AMD card DID work properly, I still ran Ubuntu off the Intel card. But in that case, the radeon module obviously loaded without any problems, so I was able to use vgaswitcheroo. I simply switched the discrete card off from vgaswitcheroo, and my laptop ran with no abnormal heating or other issues.

Any insight on this issue? Is this simply too unique a situation for it to be solved?

PS: No, my BIOS has no option to switch off the discrete card.
 
Old 01-20-2014, 05:07 AM   #2
fuorviato
Member
 
Registered: Dec 2013
Location: Poland
Distribution: Sabayon/Gentoo 64bit
Posts: 215

Rep: Reputation: 14
Hello and welcome among the dissapointed linux users group of hybrid intel/ati video hardware.

Having said that, basically you have 2 options:

a) either disable completely amd card by installing acpi-call package so the kernel is instructed on each boot to switch it off. In such case you're left with Intel and MESA libs which lessens your 3d acceleration if you need it.

b) use an automatic script for vga switcheroo so you can boot up with intel and disable/enable AMD manually ---> look here

c) Digest that and switch to the newest fglrx driver for ubuntu, follow the instructions here

The third option may not be the purest one but fglrx-pxpress package especially developed for Ubuntu will give you control on switching between videocards one at a time. Once you do. you'll have to releoad lightdm service or just reboot your laptop to apply changes.

Last edited by fuorviato; 01-20-2014 at 05:11 AM.
 
Old 01-20-2014, 06:18 AM   #3
Azrael84
Member
 
Registered: Nov 2012
Posts: 55

Rep: Reputation: Disabled
Quote:
Originally Posted by fuorviato View Post
b) use an automatic script for vga switcheroo so you can boot up with intel and disable/enable AMD manually ---> look here
.
I have often read that "vga switcheroo" is only for when one has the non-proprietary AMD driver (the open source radeon module) installed and not the fglrx module; what if one has has neither the fglrx or radeon modules installed, but just the Intel? Can "vga switcheroo method" still be used to kill the AMD card?
 
Old 01-20-2014, 06:24 AM   #4
fuorviato
Member
 
Registered: Dec 2013
Location: Poland
Distribution: Sabayon/Gentoo 64bit
Posts: 215

Rep: Reputation: 14
Quote:
Originally Posted by Azrael84 View Post
I have often read that "vga switcheroo" is only for when one has the non-proprietary AMD driver (the open source radeon module) installed and not the fglrx module; what if one has has neither the fglrx or radeon modules installed, but just the Intel? Can "vga switcheroo method" still be used to kill the AMD card?
Sure it can. By
Quote:
disable/enable AMD manually
I meant switching the chip off/on not loading the driver.
It is Xorg that loads the correct driver to activate video output of one of the cards but still, if it loads integrated intel for instance, discrete ati can still be active as the whole thing works in muxless way. Get my point now?
 
Old 01-20-2014, 06:39 AM   #5
Azrael84
Member
 
Registered: Nov 2012
Posts: 55

Rep: Reputation: Disabled
Quote:
Originally Posted by fuorviato View Post
I meant switching the chip off/on not loading the driver.
It is Xorg that loads the correct driver to activate video output of one of the cards but still, if it loads integrated intel for instance, discrete ati can still be active as the whole thing works in muxless way. Get my point now?
Yeah, I understand the point that even with a driver for the dGPU loaded (whether fglrx/radeon), the discrete ati card could still be active taking power.

It is just the paragraph on the HybridGraphics wiki:

Quote:
if your machine has a hardware mux. Note that this method is not supported by all machines and only works if you are using the opensource driver (nouveau, radeon) and not the proprietary ones (nvidia, fglrx).
that has me a little confused, as I wanted to clarify the case for using switcheroo when neither opensource nor radeon modules are installed, but the card is left driverless. If the radeon and fglrx drivers are blacklisted, then vga switcheroo will not work? I think would need to reload the radeon module first with `modprobe radeon` then use switcheroo? (source: google)

Last edited by Azrael84; 01-20-2014 at 07:08 AM.
 
Old 01-20-2014, 10:01 AM   #6
fuorviato
Member
 
Registered: Dec 2013
Location: Poland
Distribution: Sabayon/Gentoo 64bit
Posts: 215

Rep: Reputation: 14
Vgaswitcheroo will only work when no proprietary driver is in use. So, yes - it will work with radeon driver but not with fglrx and it will with intel as well.
I've assumed you chipset is a muxless one thus able to use one video output at a time, but it would be good to make sure it is.
To clarify your second point; It is not possible to run xorg in "driverless" mode unless you overwrite it with vesa settings. Even if it has no driver to load it will load vesa basic driver.
Getting back to your point. What exactly you are trying to achieve? Do you need 3d acceleration for games etc or you wanna stick to the opensource driver?

Last edited by fuorviato; 01-20-2014 at 10:02 AM.
 
Old 01-20-2014, 10:21 AM   #7
Azrael84
Member
 
Registered: Nov 2012
Posts: 55

Rep: Reputation: Disabled
Quote:
Originally Posted by fuorviato View Post
Vgaswitcheroo will only work when no proprietary driver is in use. So, yes - it will work with radeon driver but not with fglrx and it will with intel as well.
I have no fglrx installed on this clean build. Interesting you say it will work with intel aswell (even if radeon module is blacklisted??). The reason I ask is that is doesn't exist for me no matter what I do (modeset=1 etc). "/sys/kernel/debug" is mounted but nothing is there...This doesn't change if I unblacklist the radeon either.

My gut feeling would be that I would need a working radeon xorg (and need to unblacklist the radeon of course), to see vga switcheroo?

Quote:
Originally Posted by fuorviato View Post
I've assumed you chipset is a muxless one thus able to use one video output at a time, but it would be good to make sure it is.
Any way I can check this for the AMD 8760M and Intel HD 4400?

Quote:
Originally Posted by fuorviato View Post
To clarify your second point; It is not possible to run xorg in "driverless" mode unless you overwrite it with vesa settings. Even if it has no driver to load it will load vesa basic driver.
I wasn't clear perhaps: I didn't mean completely "driverless"; I meant solely with the `i915` intel driver (no fglrx or radeon), for example a basic `xorg.conf` like

Section "Device"
Identifier "Intel Graphics"
Driver "intel"
EndSection

with a blacklist of the radeon modules in "/etc/modprobe.d/blockgfx.conf" means my Ubuntu runs on the i915 intel card alone.

Quote:
Originally Posted by fuorviato View Post
Getting back to your point. What exactly you are trying to achieve? Do you need 3d acceleration for games etc or you wanna stick to the opensource driver?
I am trying to get rid of the AMD card altogether, to make my laptop as if it did not exist! hah. I have largely achieved this by blacklisting the radeon module and an intel only device config in xorg.conf, but unfortunately, as you pointed out the AMD dGPU is still eating up power! So I'd like someway to turn power it down altogether...

The radeon driver does not support my card yet, and my experience with the fglrx driver was not good, hence I just want to get rid of it and go back to intel, but not sure I can power it down, without a working radeon config or without fglrx pxpress...
 
Old 01-20-2014, 10:30 AM   #8
fuorviato
Member
 
Registered: Dec 2013
Location: Poland
Distribution: Sabayon/Gentoo 64bit
Posts: 215

Rep: Reputation: 14
Quote:
The radeon driver does not support my card yet, and my experience with the fglrx driver was not good, hence I just want to get rid of it and go back to intel, but not sure I can power it down, without a working radeon config or without fglrx pxpress...
Yeah, I guess it is possible even if I have not tried myself. Summing up - you don't want fglrx driver and radeon doesn't support your hardware yet so intel is enough for you. (Mesa provides basic 3d acceleration and some extra PPA with bleeding-edge libs do exist, so it is not that bad after all )
I would go for acpi_call if I were you. There is a section about it in the ubuntu wiki I've pasted for you before. Give it a try.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Faulty card or faulty config? svar Linux - Networking 4 09-02-2009 09:39 AM
Faulty CF card unev_21 Linux - Software 4 06-03-2009 07:00 AM
Disabling CPUID - kernel panic! RedHat 6.2 & AMD CPU rhinds1369 Red Hat 8 11-20-2005 12:44 PM
faulty pci card, has it happened to you? stabu Linux - Hardware 3 09-11-2004 04:31 AM
disabling keyboard until completely booted thebover Linux - Hardware 0 08-23-2004 03:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration