Two graphics cards? Intel and AMD/ATI? What xserver-xorg-* I can uninstall?

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Two graphics cards? Intel and AMD/ATI? What xserver-xorg-* I can uninstall?

Marcelo Laia
Hi,

I have a Dell Inspiron I15-5547-A20 with a dedicated video card.

marcelo@marcelo:~$ lspci
00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 0b)
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 0b)
00:14.0 USB controller: Intel Corporation 8 Series USB xHCI HC (rev 04)
00:16.0 Communication controller: Intel Corporation 8 Series HECI #0 (rev 04)
00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 3 (rev e4)
00:1c.3 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 4 (rev e4)
00:1c.4 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 5 (rev e4)
00:1d.0 USB controller: Intel Corporation 8 Series USB EHCI #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation 8 Series LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 8 Series SATA Controller 1 [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 8 Series SMBus Controller (rev 04)
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL810xE PCI Express Fast Ethernet controller (rev 07)
02:00.0 Network controller: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter (rev 01)
03:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Topaz XT [Radeon R7 M260/M265 / M340/M360 / M440/M445 / 530/535 / 620/625 Mobile]
marcelo@marcelo:~$

The above output shows:

00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
03:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Topaz XT [Radeon R7 M260/M265 / M340/M360 / M440/M445 / 530/535 / 620/625 Mobile]

The command dpkg -l xserver-xorg-video* shows:

marcelo@marcelo:~$ dpkg -l xserver-xorg-video*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Nome                           Versão                   Arquitectura Descrição
+++-==============================-========================-============-=================================================
ii  xserver-xorg-video-all         1:7.7+20                 amd64        X.Org X server -- output driver metapackage
ii  xserver-xorg-video-amdgpu      19.1.0-1                 amd64        X.Org X server -- AMDGPU display driver
ii  xserver-xorg-video-ati         1:19.1.0-1               amd64        X.Org X server -- AMD/ATI display driver wrapper
ii  xserver-xorg-video-fbdev       1:0.5.0-1                amd64        X.Org X server -- fbdev display driver
ii  xserver-xorg-video-intel       2:2.99.917+git20190815-1 amd64        X.Org X server -- Intel i8xx, i9xx display driver
un  xserver-xorg-video-mach64      <nenhuma>                <nenhuma>    (nenhuma descrição disponível)
un  xserver-xorg-video-modesetting <nenhuma>                <nenhuma>    (nenhuma descrição disponível)
ii  xserver-xorg-video-nouveau     1:1.0.16-1               amd64        X.Org X server -- Nouveau display driver
ii  xserver-xorg-video-qxl         0.1.5-2+b1               amd64        X.Org X server -- QXL display driver
un  xserver-xorg-video-r128        <nenhuma>                <nenhuma>    (nenhuma descrição disponível)
ii  xserver-xorg-video-radeon      1:19.1.0-1               amd64        X.Org X server -- AMD/ATI Radeon display driver
ii  xserver-xorg-video-vesa        1:2.4.0-2                amd64        X.Org X server -- VESA display driver
ii  xserver-xorg-video-vmware      1:13.3.0-2               amd64        X.Org X server -- VMware display driver
marcelo@marcelo:~$

The lspci -nnk | grep -iA2 vga commands shows:

marcelo@marcelo:~$ lspci -nnk | grep -iA2 vga
00:02.0 VGA compatible controller [0300]: Intel Corporation Haswell-ULT Integrated Graphics Controller [8086:0a16] (rev 0b)
        Subsystem: Dell Haswell-ULT Integrated Graphics Controller [1028:0640]
        Kernel driver in use: i915
marcelo@marcelo:~$

I'm totally confused!

Am I not using the dedicated AMD/ATI video card? Why? How I could starting using it?

What xorg package I can uninstall?

Thank you very much!

--
Marcelo

Reply | Threaded
Open this post in threaded view
|

Re: Two graphics cards? Intel and AMD/ATI? What xserver-xorg-* I can uninstall?

Felix Miata-3
Marcelo Laia composed on 2020-04-07 10:40 (UTC-0300):
...
> Am I not using the dedicated AMD/ATI video card? Why? How I could starting using it?

What is output from:

        inxi -GSxxza

What type cable is connected to which physical connector on the PC?

What is the Dell BIOS setting for video?

> What xorg package I can uninstall?

You can probably uninstall all of them and still be fine. Most likely the only
ones to keep would be xserver-xorg-video-amdgpu (probable preference) and
xserver-xorg-video-vesa (for rescue purposes). The intel doesn't require
xserver-xorg-video-intel, as it usually works as well or better with the only DDX
you don't see installed, modesetting, since as default it's not in a separate package.
--
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/

Reply | Threaded
Open this post in threaded view
|

Re: Two graphics cards? Intel and AMD/ATI? What xserver-xorg-* I can uninstall?

Greg Wooledge
In reply to this post by Marcelo Laia
On Tue, Apr 07, 2020 at 10:40:10AM -0300, Marcelo Laia wrote:
> 00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
> 03:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Topaz XT [Radeon R7 M260/M265 / M340/M360 / M440/M445 / 530/535 / 620/625 Mobile]

OK.

> The lspci -nnk | grep -iA2 vga commands shows:
>
> marcelo@marcelo:~$ lspci -nnk | grep -iA2 vga
> 00:02.0 VGA compatible controller [0300]: Intel Corporation Haswell-ULT Integrated Graphics Controller [8086:0a16] (rev 0b)
> Subsystem: Dell Haswell-ULT Integrated Graphics Controller [1028:0640]
> Kernel driver in use: i915
> marcelo@marcelo:~$
>
> I'm totally confused!

That command only shows one of your cards, and not the other.  It's
simply not a command that gives you much useful information in this
situation.

> What xorg package I can uninstall?

What on earth makes you think you need to REMOVE software in order to get
the results you desire?

What even makes you think you're not already using the AMD card?

You need to check your X or Wayland logs before doing anything else.
Maybe you're already using the card and driver that you want to use.

If it turns out that you're not using the desired card, then there are
a few things you can look into next:

1) lspci -nn

Don't try to grep it or anything, because one of the cards doesn't show
up with the characters "VGA" in its output.  Just post both of the lines
from this command, one for each card, which will give us the PCI ID
to identify the hardware.

2) dmesg | grep -i firmware

See if the kernel is trying to load any firmware and failing.  If so,
you will probably want to install some of the non-free firmware packages
to support your hardware.  This may involve adding contrib and non-free
to your sources.list.

3) Google your PCI ID together with keywords like "debian" to see if there
   are any success stories for using your hardware on Debian.

Usually you are not the first person to attempt something.  Learn from
those who came before.

Reply | Threaded
Open this post in threaded view
|

Re: Two graphics cards? Intel and AMD/ATI? What xserver-xorg-* I can uninstall?

Felix Miata-3
Greg Wooledge composed on 2020-04-07 10:20 (UTC-0400):
...
> 2) dmesg | grep -i firmware

> See if the kernel is trying to load any firmware and failing.  If so,
> you will probably want to install some of the non-free firmware packages
> to support your hardware.  This may involve adding contrib and non-free
> to your sources.list.

I forgot about the subject of firmware. It could be firmware-amd-graphics has not
been installed. Also needed are libdrm-amdgpu1 and xserver-xorg-video-amdgpu for
optimal operation with a Topaz XT.
--
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/

Reply | Threaded
Open this post in threaded view
|

Re: Re: Two graphics cards? Intel and AMD/ATI? What xserver-xorg-* I can uninstall?

Marcelo Laia
In reply to this post by Greg Wooledge
Hi Felix and Greg, Thank you so much!

Here is more information.

I'm try to got 3 monitors in my debian bullseye. In this days/ weeks,
months, I have googled a lot to find any rule to tell me how I could to
put my third monitor to work. It is plugged in a DisplayLink FY
USB-DVI in this manner:

notebook usb3.0 port -> cable -> DisplayLink FY USB-DVI -> DVItoVGA
Adapter -> VGA cable -> Monitor AOC 511vw

I try this with the this instructions https://is.gd/Ijp1k1 and with the
DisplyLink install script (https://git.io/JvADQ). Not success.

So, I read in some place that can be a possible conflict with xorg
module. To figure out the solution, I'm try to uninstall all
unnecessary module. I'm in this point/step now.

lsusb output:

marcelo@marcelo:~$ lsusb
Bus 001 Device 006: ID 0bda:5754 Realtek Semiconductor Corp.
Bus 001 Device 005: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 004: ID 04f3:034f Elan Microelectronics Corp.
Bus 001 Device 003: ID 0cf3:e005 Qualcomm Atheros Communications
Bus 001 Device 002: ID 8087:8000 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 0bda:0409 Realtek Semiconductor Corp. 4-Port USB 3.0 Hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 009: ID 17e9:019e DisplayLink FY USB-DVI
Bus 002 Device 006: ID 1a2c:0e24 China Resource Semico Co., Ltd
Bus 002 Device 004: ID 1c4f:0034 SiGma Micro
Bus 002 Device 002: ID 0bda:5409 Realtek Semiconductor Corp. 4-Port USB 2.0 Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
marcelo@marcelo:~$

lspci -nn output command:

marcelo@marcelo:~$ lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation Haswell-ULT DRAM Controller [8086:0a04] (rev 0b)
00:02.0 VGA compatible controller [0300]: Intel Corporation Haswell-ULT Integrated Graphics Controller [8086:0a16] (rev 0b)
00:03.0 Audio device [0403]: Intel Corporation Haswell-ULT HD Audio Controller [8086:0a0c] (rev 0b)
00:14.0 USB controller [0c03]: Intel Corporation 8 Series USB xHCI HC [8086:9c31] (rev 04)
00:16.0 Communication controller [0780]: Intel Corporation 8 Series HECI #0 [8086:9c3a] (rev 04)
00:1b.0 Audio device [0403]: Intel Corporation 8 Series HD Audio Controller [8086:9c20] (rev 04)
00:1c.0 PCI bridge [0604]: Intel Corporation 8 Series PCI Express Root Port 3 [8086:9c14] (rev e4)
00:1c.3 PCI bridge [0604]: Intel Corporation 8 Series PCI Express Root Port 4 [8086:9c16] (rev e4)
00:1c.4 PCI bridge [0604]: Intel Corporation 8 Series PCI Express Root Port 5 [8086:9c18] (rev e4)
00:1d.0 USB controller [0c03]: Intel Corporation 8 Series USB EHCI #1 [8086:9c26] (rev 04)
00:1f.0 ISA bridge [0601]: Intel Corporation 8 Series LPC Controller [8086:9c43] (rev 04)
00:1f.2 SATA controller [0106]: Intel Corporation 8 Series SATA Controller 1 [AHCI mode] [8086:9c03] (rev 04)
00:1f.3 SMBus [0c05]: Intel Corporation 8 Series SMBus Controller [8086:9c22] (rev 04)
01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL810xE PCI Express Fast Ethernet controller [10ec:8136] (rev 07)
02:00.0 Network controller [0280]: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter [168c:0036] (rev 01)
03:00.0 Display controller [0380]: Advanced Micro Devices, Inc. [AMD/ATI] Topaz XT [Radeon R7 M260/M265 / M340/M360 / M440/M445 / 530/535 / 620/625 Mobile] [10...
marcelo@marcelo:~$

inxi -GSxxza command output

marcelo@marcelo:~$ inxi -GSxxza
System:    Kernel: 5.4.0-4-amd64 x86_64 bits: 64 compiler: gcc v: 9.2.1
           parameters: BOOT_IMAGE=/boot/vmlinuz-5.4.0-4-amd64 root=UUID=fa1db682-d14a-4ab4-bfed-9562392ca134 ro quiet
           Desktop: Gnome 3.34.4 wm: gnome-shell dm: GDM3 3.34.1 Distro: Debian GNU/Linux bullseye/sid
Graphics:  Device-1: Intel Haswell-ULT Integrated Graphics vendor: Dell driver: i915 v: kernel bus ID: 00:02.0
           chip ID: 8086:0a16
           Display: x11 server: X.Org 1.20.7 driver: i915 compositor: gnome-shell resolution: 1920x1080~60Hz, 1920x1080~60Hz
           OpenGL: renderer: Mesa DRI Intel Haswell Mobile v: 4.5 Mesa 19.3.3 compat-v: 3.0 direct render: Yes
marcelo@marcelo:~$

marcelo@marcelo:~$ xrandr --listproviders
Providers: number : 3
Provider 0: id: 0x44 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 3 outputs: 2 associated providers: 0 name:modesetting
Provider 1: id: 0x10a cap: 0x2, Sink Output crtcs: 1 outputs: 1 associated providers: 0 name:modesetting
Provider 2: id: 0xe8 cap: 0xd, Source Output, Source Offload, Sink Offload crtcs: 0 outputs: 0 associated providers: 0 name:AMD Radeon R7 M260 @ pci:0000:03:00.0

marcelo@marcelo:~$ DRI_PRIME=0 glxinfo | grep "OpenGL renderer"
OpenGL renderer string: Mesa DRI Intel(R) Haswell Mobile

marcelo@marcelo:~$ DRI_PRIME=1 glxinfo | grep "OpenGL renderer"
OpenGL renderer string: AMD Radeon R7 M260 (ICELAND, DRM 3.35.0, 5.4.0-4-amd64, LLVM 9.0.1)

marcelo@marcelo:~$ DRI_PRIME=2 glxinfo | grep "OpenGL renderer"
OpenGL renderer string: Mesa DRI Intel(R) Haswell Mobile

I'm using X, not Wayland.

root@marcelo:~# dmesg | grep -i firmware
[    0.270212] Spectre V2 : Enabling Restricted Speculation for firmware calls
[    0.503574] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[    3.645280] amdgpu 0000:03:00.0: firmware: direct-loading firmware amdgpu/topaz_mc.bin
[    3.646340] amdgpu 0000:03:00.0: firmware: direct-loading firmware amdgpu/topaz_pfp.bin
[    3.646352] amdgpu 0000:03:00.0: firmware: direct-loading firmware amdgpu/topaz_me.bin
[    3.646362] amdgpu 0000:03:00.0: firmware: direct-loading firmware amdgpu/topaz_ce.bin
[    3.646370] amdgpu 0000:03:00.0: firmware: direct-loading firmware amdgpu/topaz_rlc.bin
[    3.646414] amdgpu 0000:03:00.0: firmware: direct-loading firmware amdgpu/topaz_mec.bin
[    3.647189] amdgpu 0000:03:00.0: firmware: direct-loading firmware amdgpu/topaz_sdma.bin
[    3.647201] amdgpu 0000:03:00.0: firmware: direct-loading firmware amdgpu/topaz_sdma1.bin
[    3.647421] amdgpu 0000:03:00.0: firmware: direct-loading firmware amdgpu/topaz_smc.bin
[   10.271306] usb 1-1.5: firmware: failed to load ar3k/AthrBT_0x31010000.dfu (-2)
[   10.271354] firmware_class: See https://wiki.debian.org/Firmware for information about missing firmware
[   10.271402] usb 1-1.5: Direct firmware load for ar3k/AthrBT_0x31010000.dfu failed with error -2
[   16.027012] r8169 0000:01:00.0: firmware: direct-loading firmware rtl_nic/rtl8106e-1.fw
[ 6664.075093] battery: [Firmware Bug]: battery: (dis)charge rate invalid.
root@marcelo:~#

marcelo@marcelo:~$ sudo lshw -class video
  *-display                
       description: VGA compatible controller
       product: Haswell-ULT Integrated Graphics Controller
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 0b
       width: 64 bits
       clock: 33MHz
       capabilities: msi pm vga_controller bus_master cap_list rom
       configuration: driver=i915 latency=0
       resources: irq:46 memory:b0400000-b07fffff memory:c0000000-cfffffff ioport:5000(size=64) memory:c0000-dffff
  *-display
       description: Display controller
       product: Topaz XT [Radeon R7 M260/M265 / M340/M360 / M440/M445 / 530/535 / 620/625 Mobile]
       vendor: Advanced Micro Devices, Inc. [AMD/ATI]
       physical id: 0
       bus info: pci@0000:03:00.0
       version: 00
       width: 64 bits
       clock: 33MHz
       capabilities: pm pciexpress msi bus_master cap_list rom
       configuration: driver=amdgpu latency=0
       resources: irq:53 memory:a0000000-afffffff memory:b0000000-b01fffff ioport:3000(size=256) memory:b0900000-b093ffff memory:b0940000-b095ffff
marcelo@marcelo:~$

marcelo@marcelo:~$ xrandr --current
Screen 0: minimum 320 x 200, current 3840 x 1080, maximum 16384 x 16384
eDP-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
   1920x1080     60.05*+  60.01    59.97    59.96    59.93    48.04  
   1680x1050     59.95    59.88  
   1600x1024     60.17  
   1400x1050     59.98  
   1600x900      59.99    59.94    59.95    59.82  
   1280x1024     60.02  
   1440x900      59.89  
   1400x900      59.96    59.88  
   1280x960      60.00  
   1440x810      60.00    59.97  
   1368x768      59.88    59.85  
   1360x768      59.80    59.96  
   1280x800      59.99    59.97    59.81    59.91  
   1152x864      60.00  
   1280x720      60.00    59.99    59.86    59.74  
   1024x768      60.04    60.00  
   960x720       60.00  
   928x696       60.05  
   896x672       60.01  
   1024x576      59.95    59.96    59.90    59.82  
   960x600       59.93    60.00  
   960x540       59.96    59.99    59.63    59.82  
   800x600       60.00    60.32    56.25  
   840x525       60.01    59.88  
   864x486       59.92    59.57  
   800x512       60.17  
   700x525       59.98  
   800x450       59.95    59.82  
   640x512       60.02  
   720x450       59.89  
   700x450       59.96    59.88  
   640x480       60.00    59.94  
   720x405       59.51    58.99  
   684x384       59.88    59.85  
   680x384       59.80    59.96  
   640x400       59.88    59.98  
   576x432       60.06  
   640x360       59.86    59.83    59.84    59.32  
   512x384       60.00  
   512x288       60.00    59.92  
   480x270       59.63    59.82  
   400x300       60.32    56.34  
   432x243       59.92    59.57  
   320x240       60.05  
   360x202       59.51    59.13  
   320x180       59.84    59.32  
HDMI-1 connected primary 1920x1080+1920+0 (normal left inverted right x axis y axis) 527mm x 296mm
   1920x1080     60.00*+  50.00    59.94  
   1920x1080i    60.00    50.00    59.94  
   1600x900      60.00  
   1280x1024     75.02    60.02  
   1152x864      75.00  
   1280x720      60.00    50.00    59.94  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   720x576       50.00  
   720x576i      50.00  
   720x480       60.00    59.94  
   720x480i      60.00    59.94  
   640x480       75.00    60.00    59.94  
   720x400       70.08  
marcelo@marcelo:~$

I will continue to google for a solution, if there are anyone.

Thank you very much!

--
Marcelo

Reply | Threaded
Open this post in threaded view
|

Re: Two graphics cards? Intel and AMD/ATI? What xserver-xorg-* I can uninstall?

Felix Miata-3
Marcelo Laia composed on 2020-04-07 12:53 (UTC-0300):

> 00:02.0 VGA compatible controller [0300]: Intel Corporation Haswell-ULT Integrated Graphics Controller [8086:0a16] (rev 0b)
> 03:00.0 Display controller [0380]: Advanced Micro Devices, Inc. [AMD/ATI] Topaz XT [Radeon R7 M260/M265 / M340/M360 / M440/M445 / 530/535 / 620/625 Mobile] [10...

> inxi -GSxxza command output
>
> marcelo@marcelo:~$ inxi -Gxx

> Graphics:  Device-1: Intel Haswell-ULT Integrated Graphics vendor: Dell driver: i915 v: kernel bus ID: 00:02.0
>            chip ID: 8086:0a16
>            Display: x11 server: X.Org 1.20.7 driver: i915 compositor: gnome-shell resolution: 1920x1080~60Hz, 1920x1080~60Hz
>            OpenGL: renderer: Mesa DRI Intel Haswell Mobile v: 4.5 Mesa 19.3.3 compat-v: 3.0 direct render: Yes

This is inxi output unlike any I have ever seen.

        driver: i915 v: kernel

is normal and expected, a result of using the i915 kernel module.

        X.Org 1.20.7 driver: i915 compositor

is unexpected. i915 is not an X graphics driver. Compositor is normally on the
next line. Normally one would expect that output to resemble this:

        X.Org 1.20.7 driver: modesetting unloaded: fbdev,vesa alternate: intel

Of course, these are for systems with only one GPU. Your laptop has dual GPUs, so
there should be a Device-2, which is missing from inxi output....

> marcelo@marcelo:~$ xrandr --listproviders
> Providers: number : 3
> Provider 0: id: 0x44 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 3 outputs: 2 associated providers: 0 name:modesetting
> Provider 1: id: 0x10a cap: 0x2, Sink Output crtcs: 1 outputs: 1 associated providers: 0 name:modesetting
> Provider 2: id: 0xe8 cap: 0xd, Source Output, Source Offload, Sink Offload crtcs: 0 outputs: 0 associated providers: 0 name:AMD Radeon R7 M260 @ pci:0000:03:00.0

....but not from xrandr.

> marcelo@marcelo:~$ DRI_PRIME=0 glxinfo | grep "OpenGL renderer"
> OpenGL renderer string: Mesa DRI Intel(R) Haswell Mobile
>
> marcelo@marcelo:~$ DRI_PRIME=1 glxinfo | grep "OpenGL renderer"
> OpenGL renderer string: AMD Radeon R7 M260 (ICELAND, DRM 3.35.0, 5.4.0-4-amd64, LLVM 9.0.1)
>
> marcelo@marcelo:~$ DRI_PRIME=2 glxinfo | grep "OpenGL renderer"
> OpenGL renderer string: Mesa DRI Intel(R) Haswell Mobile

Apparently prime is in use to manage GPU use. As I have no experience with laptops
with dual graphics, and thus none with using prime, and neither with DisplayLink,
there is probably no more assistance for me to attempt here.
--
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/

Reply | Threaded
Open this post in threaded view
|

Re: Two graphics cards? Intel and AMD/ATI? What xserver-xorg-* I can uninstall?

Felix Miata-3
Felix Miata composed on 2020-04-07 16:13 (UTC-0400):

> Marcelo Laia composed on 2020-04-07 12:53 (UTC-0300):

>> 00:02.0 VGA compatible controller [0300]: Intel Corporation Haswell-ULT Integrated Graphics Controller [8086:0a16] (rev 0b)
>> 03:00.0 Display controller [0380]: Advanced Micro Devices, Inc. [AMD/ATI] Topaz XT [Radeon R7 M260/M265 / M340/M360 / M440/M445 / 530/535 / 620/625 Mobile] [10...

>> inxi -GSxxza command output

>> marcelo@marcelo:~$ inxi -Gxx

>> Graphics:  Device-1: Intel Haswell-ULT Integrated Graphics vendor: Dell driver: i915 v: kernel bus ID: 00:02.0
>>            chip ID: 8086:0a16
>>            Display: x11 server: X.Org 1.20.7 driver: i915 compositor: gnome-shell resolution: 1920x1080~60Hz, 1920x1080~60Hz
>>            OpenGL: renderer: Mesa DRI Intel Haswell Mobile v: 4.5 Mesa 19.3.3 compat-v: 3.0 direct render: Yes

> This is inxi output unlike any I have ever seen.

> driver: i915 v: kernel

> is normal and expected, a result of using the i915 kernel module.

> X.Org 1.20.7 driver: i915 compositor

> is unexpected. i915 is not an X graphics driver. Compositor is normally on the
> next line. Normally one would expect that output to resemble this:

> X.Org 1.20.7 driver: modesetting unloaded: fbdev,vesa alternate: intel

> Of course, these are for systems with only one GPU. Your laptop has dual GPUs, so
> there should be a Device-2, which is missing from inxi output....

Should you desire to know the expected output from inxi -Gxx, and share it, the
inxi author has implemented a tentative fix to the recently discovered 6 year old
problem. This is his instruction:

        cd /usr/local/bin && wget -O pinxi smxi.org/pinxi && chmod +x pinxi

Probably this requires a root login to correctly execute. pinxi is the beta
version of inxi, so your test would be:

        pinxi -Gxx

The author is likely interested to see your result should you proceed.

https://github.com/smxi/inxi/issues/214 is the relevant bug report about this.
--
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/