LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how can I setup the amd GPU as a default gpu instead of intel graphics? (https://www.linuxquestions.org/questions/linux-newbie-8/how-can-i-setup-the-amd-gpu-as-a-default-gpu-instead-of-intel-graphics-4175551292/)

divinefishersmith 08-21-2015 06:05 PM

ok so heres what I did now, I switch to xubuntu,. and install the fglrx drivers from the software&updates.
now to amd catalyst control center is already working and in the lspci -v its showing this

Code:

03:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Sun LE [Radeon HD 8550M]
        Subsystem: Lenovo Device 380c
        Flags: bus master, fast devsel, latency 0, IRQ 53
        Memory at 80000000 (64-bit, prefetchable) [size=256M]
        Memory at a0400000 (64-bit, non-prefetchable) [size=256K]
        I/O ports at 3000 [size=256]
        Expansion ROM at a0440000 [disabled] [size=128K]
        Capabilities: <access denied>
        Kernel driver in use: fglrx_pci

now I'm not sure if the ati is the one already in use so I type lspci | grep VGA and its still showing INTEL :( :(
Code:

00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
;( please help thanks in advance!

Ztcoracat 08-21-2015 06:58 PM

It looks like your ATI/AMD Radeon card is now in use.

I'm not sure what the "Unknown header type 7f" means.

Here's a thread with that Unknow header type mentioned-
http://www.linuxquestions.org/questi...7f-4175470086/

divinefishersmith 08-21-2015 07:17 PM

Quote:

Originally Posted by Ztcoracat (Post 5409272)
It looks like your ATI/AMD Radeon card is now in use.

I'm not sure what the "Unknown header type 7f" means.

Here's a thread with that Unknow header type mentioned-
http://www.linuxquestions.org/questi...7f-4175470086/

oh great how can I check that? cause I want to check a gpu benchmark,. unigine heaven..
how can I assure that the ATI/AMD card is the currently in use?

Ztcoracat 08-21-2015 07:46 PM

Quote:

Originally Posted by divinefishersmith (Post 5409281)
oh great how can I check that? cause I want to check a gpu benchmark,. unigine heaven..
how can I assure that the ATI/AMD card is the currently in use?

Looking at the output in thread #16 the ATI/AMD card is already in use.-;)
And the kernel driver is in use for that particular card.

This command shows what graphic's card is on your mobo.
Code:

lspci | grep -i VGA

Ztcoracat 08-21-2015 07:50 PM

All of the drivers are listed in the output of lsmod if you want to check on all of the drivers on your system.

http://linux.die.net/man/8/lsmod
http://linux.about.com/library/cmd/blcmdl8_lsmod.htm

divinefishersmith 08-21-2015 07:53 PM

Quote:

Originally Posted by Ztcoracat (Post 5409292)
Code:

lspci | grep -i VGA

it shows me this, why not the ATI/AMD card?
Code:

00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)

Ztcoracat 08-21-2015 08:05 PM

Quote:

Originally Posted by divinefishersmith (Post 5409299)
it shows me this, why not the ATI/AMD card?
Code:

00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)

Not sure why it's still showing the Intel card.
I'm thinking that the Intel card is set as the default and that may be why it's so difficult to switch to the AMD Graphics card.

You might have to blacklist the Intel module like colorpurple said in post #9.

You said that your BIOS give you the option of UMA or discreet--
What BIOS do you have?

What's the exact make and model of your pc? I"ll look up the specifications and see what I can find out.
Hopefully there is a PDF of your mobo and BIOS online. (generally is)

divinefishersmith 08-21-2015 08:23 PM

Lenovo g40-70
i3-4030U 1.9Ghz
AMD Radeon R5 M230 2GB
2GB RAM

Code:

00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 0b)
        Subsystem: Lenovo Device 3978
        Flags: bus master, fast devsel, latency 0
        Capabilities: [e0] Vendor Specific Information: Len=0c <?>

00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b) (prog-if 00 [VGA controller])
        Subsystem: Lenovo Device 380c
        Flags: bus master, fast devsel, latency 0, IRQ 49
        Memory at a0000000 (64-bit, non-prefetchable) [size=4M]
        Memory at 90000000 (64-bit, prefetchable) [size=256M]
        I/O ports at 5000 [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

00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 0b)
        Subsystem: Lenovo Device 3978
        Flags: bus master, fast devsel, latency 0, IRQ 51
        Memory at a0710000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [50] Power Management version 2
        Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
        Kernel driver in use: snd_hda_intel

00:14.0 USB controller: Intel Corporation Lynx Point-LP USB xHCI HC (rev 04) (prog-if 30 [XHCI])
        Subsystem: Lenovo Device 3978
        Flags: bus master, medium devsel, latency 0, IRQ 45
        Memory at a0700000 (64-bit, non-prefetchable) [size=64K]
        Capabilities: [70] Power Management version 2
        Capabilities: [80] MSI: Enable+ Count=1/8 Maskable- 64bit+
        Kernel driver in use: xhci_hcd

00:16.0 Communication controller: Intel Corporation Lynx Point-LP HECI #0 (rev 04)
        Subsystem: Lenovo Device 3978
        Flags: bus master, fast devsel, latency 0, IRQ 48
        Memory at a0718000 (64-bit, non-prefetchable) [size=32]
        Capabilities: [50] Power Management version 3
        Capabilities: [8c] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Kernel driver in use: mei_me

00:1b.0 Audio device: Intel Corporation Lynx Point-LP HD Audio Controller (rev 04)
        Subsystem: Lenovo Device 3978
        Flags: bus master, fast devsel, latency 0, IRQ 50
        Memory at a0714000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [50] Power Management version 3
        Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
        Capabilities: [100] Virtual Channel
        Kernel driver in use: snd_hda_intel

00:1c.0 PCI bridge: Intel Corporation Lynx Point-LP PCI Express Root Port 3 (rev e4) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        I/O behind bridge: 00004000-00004fff
        Memory behind bridge: a0600000-a06fffff
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: Lenovo Device 3978
        Capabilities: [a0] Power Management version 3
        Capabilities: [100] #00
        Capabilities: [200] L1 PM Substates
        Kernel driver in use: pcieport

00:1c.3 PCI bridge: Intel Corporation Lynx Point-LP PCI Express Root Port 4 (rev e4) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
        Memory behind bridge: a0500000-a05fffff
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: Lenovo Device 3978
        Capabilities: [a0] Power Management version 3
        Capabilities: [100] #00
        Capabilities: [200] L1 PM Substates
        Kernel driver in use: pcieport

00:1c.4 PCI bridge: Intel Corporation Lynx Point-LP PCI Express Root Port 5 (rev e4) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
        I/O behind bridge: 00003000-00003fff
        Memory behind bridge: a0400000-a04fffff
        Prefetchable memory behind bridge: 0000000080000000-000000008fffffff
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [90] Subsystem: Lenovo Device 3978
        Capabilities: [a0] Power Management version 3
        Capabilities: [100] #00
        Capabilities: [200] L1 PM Substates
        Kernel driver in use: pcieport

00:1d.0 USB controller: Intel Corporation Lynx Point-LP USB EHCI #1 (rev 04) (prog-if 20 [EHCI])
        Subsystem: Lenovo Device 3978
        Flags: bus master, medium devsel, latency 0, IRQ 23
        Memory at a071c000 (32-bit, non-prefetchable) [size=1K]
        Capabilities: [50] Power Management version 3
        Capabilities: [58] Debug port: BAR=1 offset=00a0
        Capabilities: [98] PCI Advanced Features
        Kernel driver in use: ehci-pci

00:1f.0 ISA bridge: Intel Corporation Lynx Point-LP LPC Controller (rev 04)
        Subsystem: Lenovo Device 3978
        Flags: bus master, medium devsel, latency 0
        Capabilities: [e0] Vendor Specific Information: Len=0c <?>
        Kernel driver in use: lpc_ich

00:1f.2 SATA controller: Intel Corporation Lynx Point-LP SATA Controller 1 [AHCI mode] (rev 04) (prog-if 01 [AHCI 1.0])
        Subsystem: Lenovo Device 3978
        Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 46
        I/O ports at 5088 [size=8]
        I/O ports at 5094 [size=4]
        I/O ports at 5080 [size=8]
        I/O ports at 5090 [size=4]
        I/O ports at 5060 [size=32]
        Memory at a071b000 (32-bit, non-prefetchable) [size=2K]
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [70] Power Management version 3
        Capabilities: [a8] SATA HBA v1.0
        Kernel driver in use: ahci

00:1f.3 SMBus: Intel Corporation Lynx Point-LP SMBus Controller (rev 04)
        Subsystem: Lenovo Device 3978
        Flags: medium devsel, IRQ 11
        Memory at a0719000 (64-bit, non-prefetchable) [size=256]
        I/O ports at 5040 [size=32]

01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 10)
        Subsystem: Lenovo Device 380a
        Flags: bus master, fast devsel, latency 0, IRQ 47
        I/O ports at 4000 [size=256]
        Memory at a0604000 (64-bit, non-prefetchable) [size=4K]
        Memory at a0600000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [40] Power Management version 3
        Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [70] Express Endpoint, MSI 01
        Capabilities: [b0] MSI-X: Enable- Count=4 Masked-
        Capabilities: [d0] Vital Product Data
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Virtual Channel
        Capabilities: [160] Device Serial Number 01-00-00-00-68-4c-e0-00
        Capabilities: [170] Latency Tolerance Reporting
        Capabilities: [178] L1 PM Substates
        Kernel driver in use: r8169

02:00.0 Network controller: Intel Corporation Wireless 3160 (rev 93)
        Subsystem: Intel Corporation Dual Band Wireless AC 3160
        Flags: bus master, fast devsel, latency 0, IRQ 52
        Memory at a0500000 (64-bit, non-prefetchable) [size=8K]
        Capabilities: [c8] Power Management version 3
        Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [40] Express Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Device Serial Number d0-7e-35-ff-ff-b1-a8-41
        Capabilities: [14c] Latency Tolerance Reporting
        Capabilities: [154] Vendor Specific Information: ID=cafe Rev=1 Len=014 <?>
        Kernel driver in use: iwlwifi

03:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Sun LE [Radeon HD 8550M]
        Subsystem: Lenovo Device 380c
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Memory at 80000000 (64-bit, prefetchable) [size=256M]
        Memory at a0400000 (64-bit, non-prefetchable) [size=256K]
        I/O ports at 3000 [size=256]
        Expansion ROM at a0440000 [disabled] [size=128K]
        Capabilities: [48] Vendor Specific Information: Len=08 <?>
        Capabilities: [50] Power Management version 3
        Capabilities: [58] Express Legacy Endpoint, MSI 00
        Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
        Capabilities: [150] Advanced Error Reporting
        Kernel driver in use: fglrx_pci


Ztcoracat 08-21-2015 08:34 PM

I think I found it here:

http://www.it4u.my/product-862307.html

Is that your machine?

divinefishersmith 08-21-2015 08:39 PM

Quote:

Originally Posted by Ztcoracat (Post 5409314)
I think I found it here:

http://www.it4u.my/product-862307.html

Is that your machine?

yes thats it sir,

Ztcoracat 08-21-2015 08:57 PM

Quote:

Originally Posted by divinefishersmith (Post 5409316)
yes thats it sir,

Good, glad I found it-

I'm trying to find the PDF for it-

Did you notice when you were in your BIOS the name at the very top of the BIOS page?

divinefishersmith 08-21-2015 09:20 PM

Quote:

Originally Posted by Ztcoracat (Post 5409322)

Did you notice when you were in your BIOS the name at the very top of the BIOS page?

InsydeH20 Setup Utility

colorpurple21859 08-21-2015 09:21 PM

try this:
Code:

sudo echo DDIS > /sys/kernel/debug/vgaswitcheroo/switch
sudo service lightdm restart

This should restart xorg and switch to the desired card. On my Xubuntu I had to login as root as I got a permission denied with sudo. You should be able to set the root password with
Code:

sudo passwd root
then login as root.

edit: never mind your using the fglrx driver now, and I don't think it uses the switcheroo thingy

Ztcoracat 08-21-2015 09:26 PM

Quote:

Originally Posted by divinefishersmith (Post 5409329)
InsydeH20 Setup Utility

I have Insyde BIOS on my Sony Vaio.
I'll see if I can find a setting other than what you mentioned to see if there is a way to disable the Intel card.
Maybe there is an Advanced setting-? I go in my BIOS and see.

-::-If not your only option may be to blacklist the Intel Graphics Card's driver-::-

Ztcoracat 08-21-2015 09:56 PM

Try what colorpurple21859 said to do in post #28 first.-;) (that should work)

Colorpurple21859 is good with Linux; divinefishersmith. He helped me fix a graphic's driver issue that I had trouble with Elementary OS Luna about a year ago.

On my machine in my Insyde H20 BIOS it's Advanced > to "enable" or "disable" a particular graphics card.
http://s1052.photobucket.com/user/Ul.../BIOS.jpg.html


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