Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How can i use hybrid cards? problem with vgaswitch
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Hellboy2D
n00b
n00b


Joined: 13 Jan 2021
Posts: 13
Location: Brasil

PostPosted: Mon Feb 22, 2021 8:27 pm    Post subject: How can i use hybrid cards? problem with vgaswitch Reply with quote

First i have two cards one vegas 10 and radeon 540rx.

Radeon 540rx:

Code:
01:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Lexa [Radeon 540X/550X/630 / RX 640 / E9171 MCM] (rev c3)
        Subsystem: Acer Incorporated [ALI] Lexa [Radeon 540X/550X/630 / RX 640 / E9171 MCM]
        Kernel driver in use: amdgpu


Vegas 10:

Code:
05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Picasso (rev c1)
        Subsystem: Acer Incorporated [ALI] Picasso
        Kernel driver in use: amdgpu


So i looked in AMDGPU and read about vgaswitch so i used the steps and activeted the vga switch option in the kernel

Code:
cat /sys/kernel/debug/vgaswitcheroo/switch


and it show me:

Code:
0:DIS: :DynOff:0000:01:00.0
1:IGD:+:Pwr:0000:05:00.0
2:IGD-Audio: :DynOff:0000:05:00.1


and i continue to used the next step:

Code:
echo "ON" > /sys/kernel/debug/vgaswitcheroo/switch


And nothing changes.

when i in root and the xorg is off and use only:

Code:
echo "DIS" > /sys/kernel/debug/vgaswitcheroo/switch


appears a black screen (might be because the card is off)

obs: i noticed when i run mirrors edge in steam it uses my second card but when i run CS GO it no use.

Can someone please for god sakes help me?
Back to top
View user's profile Send private message
turtles
Veteran
Veteran


Joined: 31 Dec 2004
Posts: 1698

PostPosted: Wed Mar 31, 2021 2:04 am    Post subject: Reply with quote

What is your goal with vgaswitch?
To have a dual monitor desktop?
_________________
Donate to Gentoo
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum