You are not logged in.

#1 2023-06-26 14:43:57

abderrahm3n
Member
Registered: 2023-06-26
Posts: 24

dual amd gpu cards on laptop[SOLVED]

hello there,
so basically ,  i installed arch linux in hope to pass the configuration of my gpu cards on my laptop and drivers and here i am questioning my life ,to give u context ,my pc is hp pavilion dv6 https://www.notebookcheck.net/HP-Pavili … 642.0.html
even if it is old i think it can stand but my drivers and gpu configs r sh*t .
i searched in the wiki and i saw prime i tried to use it bu didnt changed .
i would appreciate a detailed tutorial cuz i am noob in linux as all .
thnx in advance.
edit: neofetch :
OS: Arch Linux x86_64
                `+oooo:                  Host: HP Pavilion dv6 Notebook PC 058F110000244610000620100
               `+oooooo:                 Kernel: 6.3.7-arch1-1
               -+oooooo+:                Uptime: 2 hours, 26 mins
             `/:-:++oooo+:               Packages: 639 (pacman)
            `/++++/+++++++:              Shell: bash 5.1.16
           `/++++++++++++++:             Resolution: 1366x768
          `/+++ooooooooooooo/`           WM: awesome
         ./ooosssso++osssssso+`          Theme: Adwaita [GTK2/3]
        .oossssso-````/ossssss+`         Icons: Adwaita [GTK2/3]
       -osssssso.      :ssssssso.        Terminal: alacritty
      :osssssss/        osssso+++.       CPU: AMD A6-3410MX APU (4) @ 1.600GHz
     /ossssssss/        +ssssooo/-       GPU: AMD ATI Radeon HD 6630M/6650M/6750M/7670M/7690M
   `/ossssso+/:-        -:/+osssso+-     GPU: AMD ATI Radeon HD 6520G
  `+sso+:-`                 `.-/+oso:    Memory: 2188MiB / 5405MiB

idk if that helps

Last edited by abderrahm3n (2023-06-29 10:19:07)

Offline

#2 2023-06-26 20:43:11

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,311

Re: dual amd gpu cards on laptop[SOLVED]

Did you notice that your post doesn't include anything that resembles a problem description or question?

Read
https://bbs.archlinux.org/viewtopic.php?id=57855
and
http://www.catb.org/~esr/faqs/smart-questions.html

Then try again.
Bonus points if you use actual English… words.

Online

#3 2023-06-27 10:48:53

abderrahm3n
Member
Registered: 2023-06-26
Posts: 24

Re: dual amd gpu cards on laptop[SOLVED]

i am not an english native speaker that is first ,second my problem is with my gpu ,they r not fully used by the system .
is there any detailed howtosetup two graphics card ,that is what i am asking for.

Offline

#4 2023-06-27 11:44:23

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,893

Re: dual amd gpu cards on laptop[SOLVED]

second my problem is with my gpu ,they r not fully used by the system

How did you determine that and what problems do you notice ?

please post full lspci -knn output and xorg log (see https://wiki.archlinux.org/title/Xorg#General for info where to find that log) .

Welcome to archlinux forums .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#5 2023-06-27 12:06:54

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,104

Re: dual amd gpu cards on laptop[SOLVED]

Note that neither of the GPUs in this system are particularly powerful so you might not see much/any benefit even if you were to use the dedicated card (which by the way can normally be achieved by simply running an application you want to run on the dedicated card with DRI_PRIME=1 prepended to the command)

If you're looking to take advantage of modern compatibility developments in proton/with Windows games, these GPUs are too old for those.

Offline

#6 2023-06-27 12:22:57

fathermurphy0550
Member
Registered: 2023-06-27
Posts: 1

Re: dual amd gpu cards on laptop[SOLVED]

I'm curious as to the exact task you are trying to accomplish as well as the answer to Lone_Wolf's question and request. Are you trying to use the Integrated graphics (HD 6520G) for separate tasks than the Dedicated graphics (HD 6630M/6650M/6750M/7670M/7690M)?

Offline

#7 2023-06-27 13:37:20

abderrahm3n
Member
Registered: 2023-06-26
Posts: 24

Re: dual amd gpu cards on laptop[SOLVED]

for lone_wolf ,here is what that command showed https://pastebin.com/bZgBNiXL
second on how i knew that they r not is by firefox and a lot of opengl apps since i am starting to learn it ,that it runs super slow even compared to my freind intel hd ,it runs better
for v1del i know that and i said it in my post that i know it is old but for the things i am trying to do they should be okayish kinda
can i make the dri_prime command run auto
and for fathermurphy0550 i am trying to make the hard work goes to the deicated card and the more simpply things to 6520g

Offline

#8 2023-06-27 13:57:40

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,104

Re: dual amd gpu cards on laptop[SOLVED]

Firefox is a very heavy program that can easily max out this hardware all by itself depending on what you are doing.

Lots of OpenGL programs could be enough to make this system choke, it really isn't good - that intel hd cards (which?) could run better is very much possible.

Show some concrete usecase, what exactly are you trying to do how fast is it (FPS?) and how fast do you think  it should be and does running them with DRI_PRIME=1 prepend give you a notable difference?. As for - does my system in theory support everything that's possible - post the xorg log as requested and

glxinfo -B
DRI_PRIME=1 glxinfo -B

Offline

#9 2023-06-27 14:16:19

abderrahm3n
Member
Registered: 2023-06-26
Posts: 24

Re: dual amd gpu cards on laptop[SOLVED]

i apologies for not uploading the xorg log https://pastebin.com/eMaWX5PA along with the commands u asked for
and abt the fps , i want something that is okay for the eye 40 ish for webgl apps those who has 3.js and over all around 24 to 40 fps i am okay with it

Offline

#10 2023-06-27 14:17:37

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,311

Re: dual amd gpu cards on laptop[SOLVED]

https://www.deepl.com/translator
Your native tongue isn't lolcat either, is it?

Not sure whether it was posted while vodafuck was getting their act together, but https://wiki.archlinux.org/title/PRIME is the relevant wiki

Kernel modules: radeon, amdgpu

  looks weird, those seem to be an Evergreen and a Northern Island chip and next to V1del's request for the glxinfo, you didn't post the xorg log that Lone_Wolf asked for.

Edit:
You're running on the Evergreen chip, the only output is attached there and DRI_PRIME works as expected.
You could try to ditch xf86-vide-ati and see whether the modesetting driver performs better.

Edit #2:
Also

loginctl session-status

The system maybe isn't suited for some more elaborate compositor.

Last edited by seth (2023-06-27 14:23:29)

Online

#11 2023-06-27 14:24:24

abderrahm3n
Member
Registered: 2023-06-26
Posts: 24

Re: dual amd gpu cards on laptop[SOLVED]

i tried following it but couldnt understand it.

Offline

#12 2023-06-27 14:37:21

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,311

Re: dual amd gpu cards on laptop[SOLVED]

That's the point, isn't.

However, the system is correctly configured - the HW is just ancient and *maybe* xf86-video-ati is a problem.
If you want to run FF on the GPU, 

killall firefox; DRI_PRIME=1 firefox

but as V1del suggested, neither of the graphics cards is gonna be "fast".

Online

#13 2023-06-27 14:45:58

abderrahm3n
Member
Registered: 2023-06-26
Posts: 24

Re: dual amd gpu cards on laptop[SOLVED]

40 fps is hard to get on these cards?

Offline

#14 2023-06-27 15:01:14

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,104

Re: dual amd gpu cards on laptop[SOLVED]

Again, in which context? What exactly is it you are executing you are expecting 40 FPS from? In general with anything remotely modern, I'd say "yes, you are asking for too much" . Even if it's just making a cube spin in WebGL unless that's literally the only thing running this will be stuttery here. What are you getting from

glxgears

? That's a very simple example that I'm assuming you'll be able to take to usable FPS level, but almost anything that's more demanding will struggle.

The "general" configuration of the system as such is fine but it very much depends on what you want to do. You could also try seth's suggestion and remove xf86-video-ati to see whether the modesetting driver improves things.

Last edited by V1del (2023-06-27 15:03:04)

Offline

#15 2023-06-27 15:45:00

abderrahm3n
Member
Registered: 2023-06-26
Posts: 24

Re: dual amd gpu cards on laptop[SOLVED]

okay i appreciate it thnx for the help and i think i will just use it like this .
gb

Offline

#16 2023-06-27 18:10:59

abderrahm3n
Member
Registered: 2023-06-26
Posts: 24

Re: dual amd gpu cards on laptop[SOLVED]

wait i just noticed that my screen is not detected?
edit :v1del i did not saw the glxgears command but it runs 60fps which is the right fps for my display

Last edited by abderrahm3n (2023-06-27 18:34:06)

Offline

#17 2023-06-27 20:24:41

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,311

Re: dual amd gpu cards on laptop[SOLVED]

Try

vblank_mode=0 glxgears

and explain what "my screen is not detected" is meant to say.

Online

#18 2023-06-27 22:08:13

abderrahm3n
Member
Registered: 2023-06-26
Posts: 24

Re: dual amd gpu cards on laptop[SOLVED]

welll this is impressive since i get 600 fps wait now 800 fps bro 1800 fps this is the highest it can get i think and abt the screen detected or not i saw in one of the commands output that screen 00 but i think in this it means laptop like in programming they start from 0 .

Offline

#19 2023-06-27 22:30:01

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,311

Re: dual amd gpu cards on laptop[SOLVED]

https://wiki.archlinux.org/title/Intel_ … on_(VSYNC)
You can ignore the intel context for this.

Also 1800 fps at glxgears is nothing to phone home about, glxgears is as simple as GL gets and modern high end GPUs can do tens of thousands FPS on it, if your real GL clients did not reach 60fps to begin with, they won't run significantly faster by disabling vsync.

Online

#20 2023-06-27 22:41:44

abderrahm3n
Member
Registered: 2023-06-26
Posts: 24

Re: dual amd gpu cards on laptop[SOLVED]

do i restart xorg after adding that file or reboot?

Offline

#21 2023-06-27 23:04:04

abderrahm3n
Member
Registered: 2023-06-26
Posts: 24

Re: dual amd gpu cards on laptop[SOLVED]

hello now i dont know is just me but after adding this file and using the v1del DRI_PRIME=1 yeah get some better experince so thanks everyone
quick note running like DRI_PRIME=1 firefox does open firefox prints out this message
ATTENTION: default value of option mesa_glthread overridden by environment.
several times

Last edited by abderrahm3n (2023-06-27 23:10:02)

Offline

#22 2023-06-27 23:48:42

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,104

Re: dual amd gpu cards on laptop[SOLVED]

That message is normal for firefox and can be ignored.

If you consider this [SOLVED] please mark it as such by editing the title in your first post.

Offline

#23 2023-06-29 10:18:30

abderrahm3n
Member
Registered: 2023-06-26
Posts: 24

Re: dual amd gpu cards on laptop[SOLVED]

no i just have some things to do .
but okay fair enough i will dig more by my self

Offline

#24 2023-06-29 15:37:51

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,311

Online

#25 2023-06-29 23:46:02

abderrahm3n
Member
Registered: 2023-06-26
Posts: 24

Re: dual amd gpu cards on laptop[SOLVED]

i ve mentioned in one of my messages a comparison with intel it was intel hd 4000  https://gpu.userbenchmark.com/Compare/I … 169vsm9168
so my dedicated card run everything better but it is not

Offline

Board footer

Powered by FluxBB