[opensuse] Two graphic cards, how to get them to work?
Hi, Leap 15.0 I installed a second graphic card in my system and plugged my second monitor in the new card. I followed https://en.opensuse.org/ATI as good as possible but I kind of don't get the second card to do anything. Here's my cards: lspci -nn | grep VGA 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF119 [GeForce GT 610] [10de:104a] (rev a1) 03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti PRO [Radeon HD 7950/8950 OEM / R9 280] [1002:679a] The NVIDIA card was first is still running fine. I installed xf86-video-amdgpu and rebooted the computer. Now here: https://en.opensuse.org/SDB:AMDGPU in the Hybrid section is information that might be the key for my problem. It says that the boot loader might need parameters. Here's the output of: xrandr --listproviders Providers: number : 2 Provider 0: id: 0x31e; cap: 0x1 (Source Output); crtcs: 2; outputs: 4; associated providers: 0; name: NVIDIA-0 output DVI-I-0 output VGA-0 output DVI-I-1 output HDMI-0 Provider 1: id: 0x367; cap: 0xf (Source Output, Sink Output, Source Offload, Sink Offload); crtcs: 6; outputs: 4; associated providers: 0; name: modesetting output 0x363 output 0x364 output 0x365 output 0x366 It looks like the two cards are being discovered but only the NVIDIA card is actually active. According to these instructions I might have to add something like amdgpu.si_support=1 to the bootloader settings. I'm completely unsure about this, that's why before I try this and mess up things I would like to know if I go in the right direction. thanks, Karl -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Hi, as I have no deep knowledge about this topic I've tried a few things that I found on the web (adjusting xorg.conf, modprobing radeon etc.). Nothing gave me the results I'm looking for. Anybody an idea? Karl Am 14.09.19 um 01:57 schrieb Karl Sinn:
Hi,
Leap 15.0
I installed a second graphic card in my system and plugged my second monitor in the new card. I followed https://en.opensuse.org/ATI as good as possible but I kind of don't get the second card to do anything.
Here's my cards: lspci -nn | grep VGA 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF119 [GeForce GT 610] [10de:104a] (rev a1) 03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti PRO [Radeon HD 7950/8950 OEM / R9 280] [1002:679a]
The NVIDIA card was first is still running fine.
I installed xf86-video-amdgpu and rebooted the computer.
Now here: https://en.opensuse.org/SDB:AMDGPU
in the Hybrid section is information that might be the key for my problem. It says that the boot loader might need parameters.
Here's the output of: xrandr --listproviders Providers: number : 2 Provider 0: id: 0x31e; cap: 0x1 (Source Output); crtcs: 2; outputs: 4; associated providers: 0; name: NVIDIA-0 output DVI-I-0 output VGA-0 output DVI-I-1 output HDMI-0 Provider 1: id: 0x367; cap: 0xf (Source Output, Sink Output, Source Offload, Sink Offload); crtcs: 6; outputs: 4; associated providers: 0; name: modesetting output 0x363 output 0x364 output 0x365 output 0x366
It looks like the two cards are being discovered but only the NVIDIA card is actually active.
According to these instructions I might have to add something like amdgpu.si_support=1
to the bootloader settings.
I'm completely unsure about this, that's why before I try this and mess up things I would like to know if I go in the right direction.
thanks, Karl
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Karl Sinn composed on 2019-09-15 11:39 (UTC+0200):
Anybody an idea?
Just ideas, things to try. I've never tried an AMD/ATI card at the same time as an NVidia card. 1-uninstall all optional graphics drivers, e.g. xf86-video-nouveau, xf86-video-ati, xf86-video-amdgpu, xf86-video-fbdev, xf86-video-vesa (IOW, xf86-video-*) and any proprietary NVidia video driver. This should cause the 00000default modesetting DDX to be utilized for both cards. 2-journalctl -b | grep -i Failed # look for clues 3-inxi -GxxSza using the current inxi from upstream, 3.0.36 (other clues): https://github.com/smxi/inxi 4-ensure KMS is not disabled. nomodeset and/or its chip-specific relatives must not be on kernel cmdline. -- Evolution as taught in public schools is religion, not science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Am 15.09.19 um 14:38 schrieb Felix Miata:
Karl Sinn composed on 2019-09-15 11:39 (UTC+0200):
Anybody an idea?
Just ideas, things to try. I've never tried an AMD/ATI card at the same time as an NVidia card.
1-uninstall all optional graphics drivers, e.g. xf86-video-nouveau, xf86-video-ati, xf86-video-amdgpu, xf86-video-fbdev, xf86-video-vesa (IOW, xf86-video-*) and any proprietary NVidia video driver. This should cause the 00000default modesetting DDX to be utilized for both cards.
2-journalctl -b | grep -i Failed # look for clues
3-inxi -GxxSza using the current inxi from upstream, 3.0.36 (other clues): https://github.com/smxi/inxi
4-ensure KMS is not disabled. nomodeset and/or its chip-specific relatives must not be on kernel cmdline.
Another suggestion: did the new card work without the old card? if not working as single card, i think it would not work when 2 cards are installed. (to check if the drivers at all are present and working) simoN -- www.becherer.de -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Hi,
Another suggestion: did the new card work without the old card? if not working as single card, i think it would not work when 2 cards are installed. (to check if the drivers at all are present and working)
I haven't tried to only use the second card yet. I'll try this together with the proposition from Felix when I have a calm moment. thx, Karl -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Hi, Am 15.09.19 um 14:38 schrieb Felix Miata:
Karl Sinn composed on 2019-09-15 11:39 (UTC+0200):
Anybody an idea?
Just ideas, things to try. I've never tried an AMD/ATI card at the same time as an NVidia card.
1-uninstall all optional graphics drivers, e.g. xf86-video-nouveau, xf86-video-ati, xf86-video-amdgpu, xf86-video-fbdev, xf86-video-vesa (IOW, xf86-video-*) and any proprietary NVidia video driver. This should cause the 00000default modesetting DDX to be utilized for both cards.
I will try that, but as I need the machine up I'll do that in a calm moment, can't have the system not booting to graphical interface for longer time
2-journalctl -b | grep -i Failed # look for clues
searched through it, found a lot of things there but nothing that relates to graphics
3-inxi -GxxSza using the current inxi from upstream, 3.0.36 (other clues): https://github.com/smxi/inxi
inxi -GxxSz System: Host: dharma Kernel: 4.12.14-lp150.12.64-default x86_64 bits: 64 gcc: 7.4.1 Desktop: Xfce 4.12.4 (Gtk 2.24.32) dm: lightdm Distro: openSUSE Leap 15.0 Graphics: Card-1: NVIDIA GF119 [GeForce GT 610] bus-ID: 01:00.0 chip-ID: 10de:104a Card-2: Advanced Micro Devices [AMD/ATI] Tahiti PRO [Radeon HD 7950/8950 OEM / R9 280] bus-ID: 03:00.0 chip-ID: 1002:679a Display Server: x11 (X.Org 1.19.6 ) drivers: modesetting,nvidia (unloaded: fbdev,vesa,nouveau) Resolution: 1920x1080@60.00hz, 1920x1080@60.00hz OpenGL: renderer: GeForce GT 610/PCIe/SSE2 version: 4.5.0 NVIDIA 390.116 (compat-v: 4.6.0) Direct Render: Yes looks like what I posted in my first message. The cards are both there and visible but somehow X.Org is not using the monitor (3rd monitor) on the second card.
4-ensure KMS is not disabled. nomodeset and/or its chip-specific relatives must not be on kernel cmdline.
havn't found anything similar in the boot loader configuration in Yast thanks, Karl -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Just found this article: https://www.golem.de/news/optimus-nvidia-unterstuetzt-linux-technik-fuer-hyb... it's about one month old and it looks like the new nvidia drivers only can actually do the trick. I'll try all of this and report back. thanks, Karl -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Karl Sinn composed on 2019-09-15 16:59 (UTC+0200):
Felix Miata composed:
3-inxi -GxxSza using the current inxi from upstream, 3.0.36 (other clues): https://github.com/smxi/inxi
inxi -GxxSz System: Host: dharma Kernel: 4.12.14-lp150.12.64-default x86_64 bits: 64 gcc: 7.4.1 ... Distro: openSUSE Leap 15.0 ... Card-2: Advanced Micro Devices [AMD/ATI] Tahiti PRO [Radeon HD 7950/8950 OEM / R9 280] bus-ID: 03:00.0 chip-ID: 1002:679a ... drivers: modesetting,nvidia (unloaded: fbdev,vesa,nouveau) ... version: 4.5.0 NVIDIA 390.116 (compat-v: 4.6.0) Direct Render: Yes inxi -GxxSza requested, not inxi -GxxSz. Info from the a (invalid in inxi versions before ~3.0.33) might be pointing to key component of the failure, if not /the/ failure's cause.
NVIDIA 390.116 implies KMS has been disabled. If true, no competent AMD driver can function. All competent FOSS DDX require KMS be enabled. It may be that you'll need to have xf86-video-amdgpu (and possibly xf86-video-nouveau). It's also possible that you would need, along with xf86-video-amdgpu, two cmdline options for your AMD Tahiti: radeon.si_support=0 amdgpu.si_support=1 Does https://www.golem.de/news/optimus-nvidia-unterstuetzt-linux-technik-fuer-hyb... have an English version available? -- Evolution as taught in public schools is religion, not science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Hi,
NVIDIA 390.116 implies KMS has been disabled. If true, no competent AMD driver can function. All competent FOSS DDX require KMS be enabled.
In the article they do talk about the latest NVIDIA drivers beeing able do use PRIME, but actually only for using NVIDIA GPU rendering and display going through the other cards. In my system it would rather be the other way round so even the new NVIDIA drivers will probably not do the trick => trying nouveau now
It may be that you'll need to have xf86-video-amdgpu (and possibly xf86-video-nouveau). It's also possible that you would need, along with xf86-video-amdgpu, two cmdline options for your AMD Tahiti:
radeon.si_support=0 amdgpu.si_support=1
will try
Does https://www.golem.de/news/optimus-nvidia-unterstuetzt-linux-technik-fuer-hyb... have an English version available?
unfortunately not, sorry for the link, I'm living with so many languages that sometimes I get confused about which one I'm reading/writing/talking in. thanks, Karl -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Hi,
It may be that you'll need to have xf86-video-amdgpu (and possibly xf86-video-nouveau). It's also possible that you would need, along with xf86-video-amdgpu, two cmdline options for your AMD Tahiti:
radeon.si_support=0 amdgpu.si_support=1
ok, I've uninstalled the nvidia drivers nouveau and amdgpu are installed I rebooted Now I have only one screen in the good resolution but not using the full panel of my monitor. XFCE4-settings doesn't show any other monitor ./inxi -GxxSza System: Host: dharma Kernel: 4.12.14-lp150.12.64-default x86_64 bits: 64 compiler: gcc v: 7.4.1 parameters: BOOT_IMAGE=/boot/vmlinuz-4.12.14-lp150.12.64-default root=UUID=4aa90972-e201-4697-b1e3-21d4d3cb194e resume=/dev/disk/by-uuid/51176894-c52d-480c-b79a-223fc73d1291 splash=silent quiet showopts radeon.si_support=0 amdgpu.si_support=1 Desktop: Xfce 4.12.4 tk: Gtk 2.24.32 wm: xfwm4 dm: LightDM Distro: openSUSE Leap 15.0 Graphics: Device-1: NVIDIA GF119 [GeForce GT 610] vendor: ASUSTeK driver: nvidia v: 390.116 bus ID: 01:00.0 chip ID: 10de:104a Device-2: Advanced Micro Devices [AMD/ATI] Tahiti PRO [Radeon HD 7950/8950 OEM / R9 280] vendor: Hightech Information System driver: radeon v: kernel bus ID: 03:00.0 chip ID: 1002:679a Display: x11 server: X.Org 1.19.6 driver: fbdev,modesetting,nouveau unloaded: vesa alternate: ati,nv,nvidia resolution: 1920x1080~77Hz OpenGL: renderer: llvmpipe (LLVM 5.0 128 bits) v: 3.3 Mesa 18.0.2 compat-v: 3.0 direct render: Yes This tells me that the nvidia drivers are still in use but when I go to yast and search for nvidia then no nvidia package is installed but nouveau packeges are. How do I get rid of the nvidia driver? xrandr --listproviders xrandr: Failed to get size of gamma for output default Providers: number : 1 Provider 0: id: 0x3fc; cap: 0xf (Source Output, Sink Output, Source Offload, Sink Offload); crtcs: 6; outputs: 4; associated providers: 0; name: modesetting output 0x3f8 output 0x3f9 output 0x3fa output 0x3fb xrandr doesn't find anything any more. what's my next step? thanks, Karl -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
one more thing I used the "radeon.si_support=0 amdgpu.si_support=1" option but I'm not sure I did that right. When grub started I went to this edit mode. But there are so many lines that I'm not sure where to write these things. I decided to add it to the line that started with linux ... Is that the right way to do it? thanks, Karl -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Here comes the "good" news. I took the nvidia card out of the computer and booted. Opensuse and XFCE4 are coming up, the monitor is with the right resolution and frequency. xrandr --listproviders Providers: number : 1 Provider 0: id: 0x49; cap: 0xf (Source Output, Sink Output, Source Offload, Sink Offload); crtcs: 6; outputs: 4; associated providers: 0; name: modesetting output DP-1 output DP-2 output HDMI-1 output DVI-I-1 ./inxi -GxxSza System: Host: dharma Kernel: 4.12.14-lp150.12.64-default x86_64 bits: 64 compiler: gcc v: 7.4.1 parameters: BOOT_IMAGE=/boot/vmlinuz-4.12.14-lp150.12.64-default root=UUID=4aa90972-e201-4697-b1e3-21d4d3cb194e resume=/dev/disk/by-uuid/51176894-c52d-480c-b79a-223fc73d1291 splash=silent quiet showopts Desktop: Xfce 4.12.4 tk: Gtk 2.24.32 wm: xfwm4 dm: LightDM Distro: openSUSE Leap 15.0 Graphics: Device-1: Advanced Micro Devices [AMD/ATI] Tahiti PRO [Radeon HD 7950/8950 OEM / R9 280] vendor: Hightech Information System driver: radeon v: kernel bus ID: 03:00.0 chip ID: 1002:679a Display: x11 server: X.Org 1.19.6 driver: modesetting unloaded: fbdev,vesa alternate: ati resolution: 1920x1080~60Hz OpenGL: renderer: AMD TAHITI (DRM 2.50.0 / 4.12.14-lp150.12.64-default LLVM 5.0.1) v: 4.5 Mesa 18.0.2 compat-v: 3.0 direct render: Yes now trying to turn of radeon and turning on amdgpu -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
ok, tried it with the boot parameters again ./inxi -GxxSza System: Host: dharma Kernel: 4.12.14-lp150.12.64-default x86_64 bits: 64 compiler: gcc v: 7.4.1 parameters: BOOT_IMAGE=/boot/vmlinuz-4.12.14-lp150.12.64-default root=UUID=4aa90972-e201-4697-b1e3-21d4d3cb194e resume=/dev/disk/by-uuid/51176894-c52d-480c-b79a-223fc73d1291 splash=silent quiet showopts radeon.si_support=0 amdgpu.si_support=1 Desktop: Xfce 4.12.4 tk: Gtk 2.24.32 wm: xfwm4 dm: LightDM Distro: openSUSE Leap 15.0 Graphics: Device-1: AMD Tahiti PRO [Radeon HD 7950/8950 OEM / R9 280] vendor: Hightech Information System driver: radeon v: kernel bus ID: 03:00.0 chip ID: 1002:679a Display: x11 server: X.Org 1.19.6 driver: modesetting unloaded: fbdev,vesa alternate: ati resolution: 1920x1080~60Hz OpenGL: renderer: AMD TAHITI (DRM 2.50.0 / 4.12.14-lp150.12.64-default LLVM 5.0.1) v: 4.5 Mesa 18.0.2 compat-v: 3.0 direct render: Yes I see now, that apparently the boot options are marked here so I guess I've done that part well. Only that the driver is still called radeon and not amdgpu. Why is that? I'll putting the nvidia back in the system now, hoping to get inspiration about what to try next thanks, Karl -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Karl Sinn composed on 2019-09-15 21:21 (UTC-+0200):
ok, tried it with the boot parameters again ... driver: radeon v: kernel ... Display: x11 server: X.Org 1.19.6 driver: modesetting unloaded: fbdev,vesa alternate: ati ... Only that the driver is still called radeon and not amdgpu.
Which driver context? There are two amdgpu and two radeon, though those for X are named AMD and ATI.
Why is that?
As an experiment while both graphics cards were installed I had you remove xf86-video-amdgpu to try to get X to use modesetting for both cards. Now put it back. -- Evolution as taught in public schools is religion, not science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Karl Sinn composed on 2019-09-15 21:05 (UTC+0200):
./inxi -GxxSza System: ... Graphics: Device-1: Advanced Micro Devices [AMD/ATI] Tahiti PRO [Radeon HD 7950/8950 OEM / R9 280] vendor: Hightech Information System driver: radeon v: kernel
Above radeon is the kernel radeon driver.
bus ID: 03:00.0 chip ID: 1002:679a Display: x11 server: X.Org 1.19.6 driver: modesetting unloaded: fbdev,vesa alternate: ati
Here loaded is the modesetting DDX (X driver), while amdgpu is missing from the X list because xf86-video-amdgpu, which provides amdgpu DDX, is not installed. -- Evolution as taught in public schools is religion, not science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Hi, Am 15.09.19 um 21:35 schrieb Felix Miata:
Karl Sinn composed on 2019-09-15 21:05 (UTC+0200):
./inxi -GxxSza System: ... Graphics: Device-1: Advanced Micro Devices [AMD/ATI] Tahiti PRO [Radeon HD 7950/8950 OEM / R9 280] vendor: Hightech Information System driver: radeon v: kernel
Above radeon is the kernel radeon driver.
bus ID: 03:00.0 chip ID: 1002:679a Display: x11 server: X.Org 1.19.6 driver: modesetting unloaded: fbdev,vesa alternate: ati
Here loaded is the modesetting DDX (X driver), while amdgpu is missing from the X list because xf86-video-amdgpu, which provides amdgpu DDX, is not installed.
sorry for the delay, only getting now to it again. Actually what I had tried after putting both cards back into the system and switching PCI slots was to install the G05 Version of the NVIDIA driver which didn't work at all, but after uninstalling that one and rebooting the system suddenly everything worked. Maybe the uninstall script of the G05 driver is setting something straight that the uninstall script of the G04 doesn't. thanks a lot for all the help, I learned a lot. Karl -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (3)
-
Felix Miata
-
Karl Sinn
-
Simon Becherer