LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-20-2015, 05:13 PM   #1
divinefishersmith
LQ Newbie
 
Registered: Aug 2015
Posts: 18

Rep: Reputation: Disabled
Unhappy how can I setup the amd GPU as a default gpu instead of intel graphics?


hi my name is divine in this is my first time in this forum. I'm using arch(manjaro). Ive been searching for a way to setup amd GPU as the default gpu to be used by my laptop instead of the intel graphics. there are several article and post regarding this so I tried following some of it. theres few article saying I need catalyst control center., and its a pain to install this thing. I did install though its giving me an error.

Quote:
There was a problem initializing Catalyst Control Center Linux edition. It could be caused by the following.

No AMD graphics driver is installed, or the AMD driver is not functioning properly.
Please install the AMD driver appropriate for you AMD hardware, or configure using aticonfig.
All I want is to use my graphics card and not the intel graphcs. And also how could I know what gpu my laptop is using? whenever I run screenfetch or archey its always showing the intel graphics and not the amd. hope you can help me guys I'm a noob so forgive me. I'm still looking/searching the web for the same issue already being resolved, while waiting for your help guys

Code:
 ██████████████████  ████████     pao@lenovo
 ██████████████████  ████████     OS: Manjaro 0.8.13.1 Ascella
 ██████████████████  ████████     Kernel: x86_64 Linux 3.18.20-1-MANJARO
 ██████████████████  ████████     Uptime: 41m
 ████████            ████████     Packages: 1067
 ████████  ████████  ████████     Shell: bash 4.3.39
 ████████  ████████  ████████     Resolution: 1366x768
           ████████  ████████     DE: XFCE4
 ████████  ████████  ████████     WM: Emerald
 ████████  ████████  ████████     WM Theme: SWAN
 ████████  ████████  ████████     GTK Theme: Xfce-dusk [GTK2]
 ████████  ████████  ████████     Icon Theme: Menda-Circle
 ████████  ████████  ████████     Font: Cantarell 10
 ████████  ████████  ████████     CPU: Intel Core i3-4030U CPU @ 1.9GHz
 ████████  ████████  ████████     GPU: Mesa DRI Intel(R) Haswell Mobile 
 ████████  ████████  ████████     RAM: 746MiB / 1831MiB
 ████████  ████████  ████████

Code:
System:    Host: lenovo Kernel: 3.18.20-1-MANJARO x86_64 (64 bit gcc: 5.2.0)
           Desktop: Xfce 4.12.3 (Gtk 2.24.28)
           Distro: ManjaroLinux 0.8.13.1 Ascella
Machine:   System: LENOVO product: 20369 v: Lenovo G40-70
           Mobo: LENOVO model: Lancer 4A2 v: 31900059WIN
           Bios: LENOVO v: 9ACN29WW date: 10/20/2014
CPU:       Dual core Intel Core i3-4030U (-HT-MCP-) cache: 3072 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 7585
           clock speeds: max: 1900 MHz 1: 1900 MHz 2: 1900 MHz 3: 1899 MHz
           4: 1899 MHz
Graphics:  Card-1: Intel Haswell-ULT Integrated Graphics Controller
           bus-ID: 00:02.0
           Card-2: Advanced Micro Devices [AMD/ATI] Sun LE [Radeon HD 8550M / R5 M230]
           bus-ID: 03:00.0
           Display Server: X.Org 1.17.2 driver: intel
           Resolution: 1366x768@60.00hz
           GLX Renderer: Mesa DRI Intel Haswell Mobile
           GLX Version: 3.0 Mesa 10.6.4 Direct Rendering: Yes
Audio:     Card-1 Intel 8 Series HD Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0
           Card-2 Intel Haswell-ULT HD Audio Controller
           driver: snd_hda_intel bus-ID: 00:03.0
           Sound: Advanced Linux Sound Architecture v: k3.18.20-1-MANJARO
Network:   Card-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           driver: r8169 v: 2.3LK-NAPI port: 4000 bus-ID: 01:00.0
           IF: enp1s0 state: down mac: <filter>
           Card-2: Intel Wireless 3160
           driver: iwlwifi v: in-tree: bus-ID: 02:00.0
           IF: wlp2s0 state: up mac: <filter>
Drives:    HDD Total Size: 500.1GB (2.2% used)
           ID-1: /dev/sda model: WDC_WD5000LPCX size: 500.1GB
Partition: ID-1: / size: 455G used: 6.9G (2%) fs: ext4 dev: /dev/sda3
           ID-2: /boot size: 248M used: 42M (18%) fs: ext2 dev: /dev/sda2
           ID-3: swap-1 size: 3.84GB used: 0.00GB (0%) fs: swap dev: /dev/sda4
Sensors:   System Temperatures: cpu: 46.0C mobo: N/A
           Fan Speeds (in rpm): cpu: 0
Info:      Processes: 164 Uptime: 55 min Memory: 764.6/1831.4MB
           Init: systemd Gcc sys: 5.2.0
           Client: Shell (bash 4.3.391) inxi: 2.2.27
 
Old 08-20-2015, 06:56 PM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Hi:

Maybe this Arch WiKi will help.
https://wiki.archlinux.org/index.php/Hybrid_graphics

From reading this thread it is possible to switch between graphics cards with Bumblebee but from what I understand Bumblebee is for the distribution Ubuntu. I'm not sure if Bumblebee would work with Arch Linux.
http://askubuntu.com/questions/24854...hics-in-ubuntu

When I installed the AMD driver for my ATI/AMD Radeon Graphics card it was buggy and my graphics would flash a lot on the screen and I had trouble with my screen freezing.

http://wiki.playonlinux.com/index.ph...s_Card_Drivers
https://wiki.archlinux.org/index.php/ATI

Sorry I don't know more about graphics.

Maybe another member running Arch (manjaro) will chime in.
 
Old 08-20-2015, 07:34 PM   #3
divinefishersmith
LQ Newbie
 
Registered: Aug 2015
Posts: 18

Original Poster
Rep: Reputation: Disabled
thanks for the reply,. I really appreciate it. I did already see few of those links. I really need to know how to make my GPU works on linux,. for Im already losing hope on completely switching to linux. But I still love it so I hope theres a way to do this. still lookin out there by the way.

Last edited by divinefishersmith; 08-20-2015 at 07:37 PM.
 
Old 08-20-2015, 08:05 PM   #4
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by divinefishersmith View Post
thanks for the reply,. I really appreciate it. I did already see few of those links. I really need to know how to make my GPU works on linux,. for Im already losing hope on completely switching to linux. But I still love it so I hope theres a way to do this. still lookin out there by the way.
Your Welcome.

If there is a way I'm sure a member will chime in and tell you.

You could try disabling the card that you don't want to use in the BIOS possibly-
Blacklist it in the /etc/modprobe.d/blacklist.conf file then log out and log back in.

http://superuser.com/questions/45072...f-the-computer

Here's an example of how to blacklist- (I've never tried it)
https://bbs.archlinux.org/viewtopic.php?id=131740

Hope that helps-

Last edited by Ztcoracat; 08-20-2015 at 08:15 PM.
 
Old 08-20-2015, 09:08 PM   #5
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,039

Rep: Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530
maybe with /sys/kernel/debug/vgaswitcheroo. Here is some info on it;:
http://www.linuxquestions.org/questi...8/#post4830372 If it works you can mount the /sys/kernel/debug startup by an entry in /etc/fstab and the other commands in the /etc/rc.d/rc.local

Last edited by colorpurple21859; 08-20-2015 at 09:12 PM.
 
Old 08-21-2015, 12:27 AM   #6
divinefishersmith
LQ Newbie
 
Registered: Aug 2015
Posts: 18

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
maybe with /sys/kernel/debug/vgaswitcheroo. Here is some info on it;:
http://www.linuxquestions.org/questi...8/#post4830372 If it works you can mount the /sys/kernel/debug startup by an entry in /etc/fstab and the other commands in the /etc/rc.d/rc.local
thank you for your reply. on the article says that if you want to know if your laptop does have hybrid graphics you need to type this terminal command.
Code:
lspci -vnn | grep '\''[030[02]\]'
though I do know that my laptop does have hybrid graphics I still run the command. and it gives me this.
Code:
00:02.0 VGA compatible controller [0300]: Intel Corporation Haswell-ULT Integrated Graphics Controller [8086:0a16] (rev 0b) (prog-if 00 [VGA controller])
its only viewing the intel grahpicscard... ???
it is also stated in the article that if It only shows 1 graphics card then I cant proceed any further.
why is this happening? I mean the ATI/AMD GPU is showing in
Code:
inxi -Fxz
Code:
Graphics:  Card-1: Intel Haswell-ULT Integrated Graphics Controller
           bus-ID: 00:02.0
           Card-2: Advanced Micro Devices [AMD/ATI] Sun LE [Radeon HD 8550M / R5 M230]
           bus-ID: 03:00.0
           Display Server: X.Org 1.17.2 driver: intel
           Resolution: 1366x768@60.00hz
           GLX Renderer: Mesa DRI Intel Haswell Mobile
           GLX Version: 3.0 Mesa 10.6.4 Direct Rendering: Yes
and also in
Code:
'lspci'
Or I guess I just really need to get the Catalyst control center working. PLEASE HELP

Last edited by divinefishersmith; 08-21-2015 at 03:33 AM.
 
Old 08-21-2015, 05:31 AM   #7
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,039

Rep: Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530
Run the following to see if the two cards are listed.
Code:
mount -t debugfs debugfs /sys/kernel/debug
cat /sys/kernel/debug/vgaswitcheroo/switch
If so then run one of the commands as mentioned on the link. Will be something like this:
Code:
echo DDIS > /sys/kernel/debug/vgaswitcheroo/switch
restart X to switch cards or
Code:
echo DIS > /sys/kernel/debug/vgaswitcheroo/switch
before starting X
then:
Code:
echo OFF > /sys/kernel/debug/vgaswitcheroo/switch
to turn pwr off the card not being used. BE warned if you have a system similar to mine where the discreet card only hooked to the hdmi port, your display will go black.
 
Old 08-21-2015, 12:57 PM   #8
divinefishersmith
LQ Newbie
 
Registered: Aug 2015
Posts: 18

Original Poster
Rep: Reputation: Disabled
thanks for the reply. I tried it, and it looks like the dedicated GPU is turned off or maybe not I'm not sure?. it gives me this eh
Code:
[root@lenovo pao]# mount -t debugfs debugfs /sys/kernel/debug
mount: debugfs is already mounted or /sys/kernel/debug busy
       debugfs is already mounted on /sys/kernel/debug
[root@lenovo pao]# cat /sys/kernel/debug/vgaswitcheroo/switch
0:DIS: :DynOff:0000:03:00.0
1:IGD:+:Pwr:0000:00:02.0
 
Old 08-21-2015, 01:16 PM   #9
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,039

Rep: Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530
run
Code:
echo ON > /sys/kernel/debug/vgaswitcheroo/switch
This should turn on pwr to the discreet card, verify with
Code:
cat /sys/kernel/debug/vgaswitcheroo/switch
then to use the discreet card run the echo ddis or echo dis as mentioned in previous post depending if X needs to be stopped and restarted or just started.

Another option might be to add an entry to /etc/modprobe.d/blacklist.conf to blacklist the intel module at boot up.

Last edited by colorpurple21859; 08-21-2015 at 01:17 PM.
 
Old 08-21-2015, 01:42 PM   #10
divinefishersmith
LQ Newbie
 
Registered: Aug 2015
Posts: 18

Original Poster
Rep: Reputation: Disabled
I really want to thank you for givin an effort to help.
the GPU is still off,. this is a brand new lenovo 40-70 I just hope the card is not broken
Code:
[pao@lenovo ~]$ su
Password: 
[root@lenovo pao]# cat /sys/kernel/debug/vgaswitcheroo/switch
0:IGD:+:Pwr:0000:00:02.0
1:DIS: :DynOff:0000:03:00.0
[root@lenovo pao]# ls /etc/modprobe.d/blacklist.conf 
ls: cannot access /etc/modprobe.d/blacklist.conf: No such file or directory
[root@lenovo pao]#
 
Old 08-21-2015, 02:00 PM   #11
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,039

Rep: Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530
create a /etc/modprobe.d/intel-blacklist.conf with the following line;
Code:
blacklist intel
 
Old 08-21-2015, 03:06 PM   #12
divinefishersmith
LQ Newbie
 
Registered: Aug 2015
Posts: 18

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
create a /etc/modprobe.d/intel-blacklist.conf with the following line;
Code:
blacklist intel
but then if I'm goin to do that and the ati/amd GPU is turned off then I will have no display?
 
Old 08-21-2015, 03:45 PM   #13
divinefishersmith
LQ Newbie
 
Registered: Aug 2015
Posts: 18

Original Poster
Rep: Reputation: Disabled
nah nothing happens.
 
Old 08-21-2015, 04:10 PM   #14
camelrider
Member
 
Registered: Apr 2003
Location: Juneau, Alaska
Posts: 251

Rep: Reputation: 32
Have you tried making the switch in the BIOS? Just be sure you have one card turned on before exiting BIOS.
 
Old 08-21-2015, 04:18 PM   #15
divinefishersmith
LQ Newbie
 
Registered: Aug 2015
Posts: 18

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by camelrider View Post
Have you tried making the switch in the BIOS? Just be sure you have one card turned on before exiting BIOS.
yah theres two options in my bios. "UMA" and "discrete"
discrete runs gpu depending on the user activities.
UMA only runs intel.

I can see that when I choose UMA. and run the code inxi -Fxz the ATI card is not visible and it shows up again when I choose "Discrete" so I believe it is working,.

I'm now reformatting the whole computer to xubuntu
apparently I'm havin the same issue. well, I notice one thing when I type in. lspci | grep VGA
when it says,. !!!unknown header type
Code:
...

03:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Sun LE [Radeon HD 8550M] (rev ff) (prog-if ff)
	!!! Unknown header type 7f
	Kernel driver in use: radeon

Last edited by divinefishersmith; 08-21-2015 at 05:34 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
LXer: 21-Way Open-Source AMD/Intel/NVIDIA GPU Benchmarks On Linux LXer Syndicated Linux News 0 11-29-2013 05:00 AM
Intel integrated graphics + Radeon 7950 GPU DcMc Debian 6 07-09-2013 02:56 PM
LXer: 15-Way Open-Source Intel/AMD/NVIDIA GPU Comparison LXer Syndicated Linux News 0 07-01-2013 09:31 PM
Need help with graphics on Intel D2500 CPU/GPU wujiatongsir Linux - Hardware 1 12-31-2012 04:20 AM
3D graphics issues Intel GL40 w/4500M GPU Alex_Dc Linux - General 4 02-28-2010 05:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:56 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