You are not logged in.

#1 2017-06-11 12:30:26

schtiehve
Member
Registered: 2014-03-30
Posts: 14

[solved] Turn of dedicated GPU on Desktop PC

I have a Game (running on wine) that I didn't have any problems on running my integrated GPU (Intel HD530) but since I got my dedicated GPU (AMD RX470) when I launch the Game and load a savegame (or start a new game for that matter) i can move a little and then the output freezes. I can still move around and interact with everything (based on the sounds) but i cant see what's happening. I verfied that the problem is the dGPU because as soon as I physically removed the GPU the Game worked flawlessly.

If somebody has an idea for a Fix I'd be happy to hear it but honestly I would be content with a workaround (i.e. a way of switching from the dGPU to the iGPU that doesn't require me to physically remove the GPU.

I looked around and all I found was for Laptops with Hybrid graphics I don't really know how they apply to Desktop Hardware.

Last edited by schtiehve (2017-06-16 18:39:53)

Offline

#2 2017-06-11 14:21:19

seth
Member
Registered: 2012-09-03
Posts: 51,046

Re: [solved] Turn of dedicated GPU on Desktop PC

You should provide more informations, notably what "game" and outputs of

lspci
loginctl session-status
glxinfo

w/ the gpu in place - last command assuming this is a GL game and not freecell.
Also check if you've problems w/ other GL clients, first and foremost "glxgears" and random others, be it tuxkart or warsow or sauerbraten (depending on your gaming preferences ;-)

Offline

#3 2017-06-11 18:59:12

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: [solved] Turn of dedicated GPU on Desktop PC

Where is your monitor connected?


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#4 2017-06-11 19:11:04

schtiehve
Member
Registered: 2014-03-30
Posts: 14

Re: [solved] Turn of dedicated GPU on Desktop PC

The Game is Gothic 1/2.

> lspci 
00:00.0 Host bridge: Intel Corporation Skylake Host Bridge/DRAM Registers (rev 07)
00:01.0 PCI bridge: Intel Corporation Skylake PCIe Controller (x16) (rev 07)
00:02.0 Display controller: Intel Corporation HD Graphics 530 (rev 06)
00:08.0 System peripheral: Intel Corporation Skylake Gaussian Mixture Model
00:14.0 USB controller: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller (rev 31)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-H Thermal subsystem (rev 31)
00:15.0 Signal processing controller: Intel Corporation Sunrise Point-H Serial IO I2C Controller #0 (rev 31)
00:15.1 Signal processing controller: Intel Corporation Sunrise Point-H Serial IO I2C Controller #1 (rev 31)
00:16.0 Communication controller: Intel Corporation Sunrise Point-H CSME HECI #1 (rev 31)
00:17.0 SATA controller: Intel Corporation Sunrise Point-H SATA controller [AHCI mode] (rev 31)
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #5 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Sunrise Point-H LPC Controller (rev 31)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-H PMC (rev 31)
00:1f.3 Audio device: Intel Corporation Sunrise Point-H HD Audio (rev 31)
00:1f.4 SMBus: Intel Corporation Sunrise Point-H SMBus (rev 31)
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480] (rev cf)
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device aaf0
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
> loginctl show-session
EnableWallMessages=no
NAutoVTs=6
KillUserProcesses=no
RebootToFirmwareSetup=no
IdleHint=no
IdleSinceHint=0
IdleSinceHintMonotonic=0
BlockInhibited=handle-power-key:handle-suspend-key:handle-hibernate-key
DelayInhibited=shutdown:sleep
InhibitDelayMaxUSec=5s
HandlePowerKey=poweroff
HandleSuspendKey=suspend
HandleHibernateKey=hibernate
HandleLidSwitch=suspend
HandleLidSwitchDocked=ignore
HoldoffTimeoutUSec=30s
IdleAction=ignore
IdleActionUSec=30min
PreparingForShutdown=no
PreparingForSleep=no
Docked=yes
RemoveIPC=yes
RuntimeDirectorySize=825958400
InhibitorsMax=8192
NCurrentInhibitors=7
SessionsMax=8192
NCurrentSessions=2
UserTasksMax=10813

glxinfo(pastebin)

Other Games do work. Steam Games, other Games on Wine, Supertuxkart wink


@ROOKIE: My Monitor is connected to my GPU but it has mutltiple Inputs and can be connected to my Mobo as well

Offline

#5 2017-06-11 19:32:57

seth
Member
Registered: 2012-09-03
Posts: 51,046

Re: [solved] Turn of dedicated GPU on Desktop PC

loginctl session-status

I'm mostly curious on whether there's a compositor/compositing WM (and whether that operates on GL and can be deactivated ;-)

Offline

#6 2017-06-12 23:39:16

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: [solved] Turn of dedicated GPU on Desktop PC

I assume that by "My Monitor is connected to my GPU" you mean it is connected to the discrete card. I'm not sure what X does in that case but I suppose it will assume the discrete card is the primary card and as such everything will try to use it. The output of glxinfo you posted seems to confirm that.

Have you tried to connect your monitor to the motherboard to make use of the iGPU for most tasks and using dri prime when you want to use the discrete card?


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#7 2017-06-16 18:39:38

schtiehve
Member
Registered: 2014-03-30
Posts: 14

Re: [solved] Turn of dedicated GPU on Desktop PC

Thank you guys. By trying around a bit I found out that I can enable the Internal GPU as well as the dGPU by changing a setting in the BIOS. Then I activated PRIME by following https://wiki.archlinux.org/index.php/PRIME now I can run the Applications I want to run on the GPU with DRI_PRIME=1.

Offline

Board footer

Powered by FluxBB