I installed Xonotic (3d game) benchmark to test both IGP and DGP. Here
is the result:

with Intel HD 620 IGP:
HP-Laptop-15-bs0xx:~$ xonotic -benchmark demos/xonotic-0-8-d1 2>&1 | egrep -e 
'[0-9]+ frames'
356 frames 6.1346382 seconds 58.0311326 fps, one-second fps min/avg/max: 51 58 
60 (12 seconds)

with AMD Radeon 520 2GB DDR3 DGP:
HP-Laptop-15-bs0xx:~$ DRI_PRIME=1 xonotic -benchmark demos/xonotic-0-8-d1 2>&1 
| egrep -e '[0-9]+ frames'
356 frames 5.9962583 seconds 59.3703577 fps, one-second fps min/avg/max: 54 59 
62 (12 seconds)

This is in 1080p mode. Is this looks normal for DGP? Thanks in advance.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-control-center in Ubuntu.
https://bugs.launchpad.net/bugs/1727877

Title:
  AMD Radeon 520 graphics card not detected in wayland session when
  using AMD/Intel hybrid laptop

Status in X.Org X server:
  Invalid
Status in gnome-control-center package in Ubuntu:
  New

Bug description:
  This is a new laptop HP 15-BS576TX which has Intel HD 620 Integrated
  graphics and a 2GB AMD Radeon 520 Graphics card running on Ubuntu
  wayland session. Intel integrated graphics is only  listed, if you
  check gnome-control-centre details page (See attached images). But, if
  I run [code]DRI_PRIME=1 gnome-control-centre[/code] to reach details
  info it shows "AMD HAINAN" as the only card available. So, it seems
  the Xwayland session not automatically managing hybrid graphics
  (shifts to dedicated card for resource hungry apps). What I expected
  is Gnome control centre will list both the cards.

  tl;dr: AMD/Intel hybrid graphics not configured correctly in wayland.
  Dedicated Card is not showing up in system informations.

  Here are the details: lspci -knnn shows that AMD Radeon 520 card is
  detected:

  01:00.0 Display controller [0380]: Advanced Micro Devices, Inc. [AMD/ATI] Sun 
XT [Radeon HD 8670A/8670M/8690M / R5 M330 / M430 / R7 M520] [1002:6660] (rev 83)
      Subsystem: Hewlett-Packard Company Sun XT [Radeon HD 8670A/8670M/8690M / 
R5 M330 / M430] [103c:832b]
      Kernel driver in use: radeon
      Kernel modules: radeon, amdgpu

  and Integrated Intel HD 620 graphics:

  00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 620 
[8086:5916] (rev 02)
      Subsystem: Hewlett-Packard Company HD Graphics 620 [103c:832b]
      Kernel driver in use: i915
      Kernel modules: i915

  lshw -C video
    *-display

         description: VGA compatible controller
         product: HD Graphics 620
         vendor: Intel Corporation
         physical id: 2
         bus info: pci@0000:00:02.0
         version: 02
         width: 64 bits
         clock: 33MHz
         capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
         configuration: driver=i915 latency=0
         resources: irq:128 memory:b0000000-b0ffffff memory:a0000000-afffffff 
ioport:6000(size=64) memory:c0000-dffff
    *-display
         description: Display controller
         product: Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330 / M430 / R7 
M520]
         vendor: Advanced Micro Devices, Inc. [AMD/ATI]
         physical id: 0
         bus info: pci@0000:01:00.0
         version: 83
         width: 64 bits
         clock: 33MHz
         capabilities: pm pciexpress msi bus_master cap_list rom
         configuration: driver=radeon latency=0
         resources: irq:129 memory:90000000-9fffffff memory:b1200000-b123ffff 
ioport:5000(size=256) memory:b1240000-b125ffff

  Now, if I run any app with DRI_PRIME=1 it works and shows below info:

  :~$ DRI_PRIME=1 glxinfo |grep -i Opengl*
  OpenGL vendor string: X.Org
  OpenGL renderer string: AMD HAINAN (DRM 2.50.0 / 4.13.0-16-generic, LLVM 
5.0.0)
  OpenGL core profile version string: 4.5 (Core Profile) Mesa 17.2.2
  OpenGL core profile shading language version string: 4.50

  So, I assumed Radeon 520 is working fine. Then, noticed that there is no 
mention of gallium 3d? 
  I see that there is amdgpu driver module also loaded. From the list, R520 
card seems to be supported by the radeon driver.

  lsmod |grep radeon
  radeon               1470464  0
  ttm                    94208  2 amdgpu,radeon
  i2c_algo_bit           16384  3 amdgpu,radeon,i915
  drm_kms_helper        167936  3 amdgpu,radeon,i915
  drm                   356352  28 amdgpu,radeon,i915,ttm,drm_kms_helper

  ProblemType: Bug
  DistroRelease: Ubuntu 17.10
  Package: xwayland 2:1.19.5-0ubuntu2
  ProcVersionSignature: Ubuntu 4.13.0-16.19-generic 4.13.4
  Uname: Linux 4.13.0-16-generic x86_64
  ApportVersion: 2.20.7-0ubuntu3.1
  Architecture: amd64
  CompositorRunning: None
  CurrentDesktop: GNOME
  Date: Fri Oct 27 03:50:59 2017
  DistUpgraded: Fresh install
  DistroCodename: artful
  DistroVariant: ubuntu
  ExtraDebuggingInterest: Yes
  GraphicsCard:
   Intel Corporation HD Graphics 620 [8086:5916] (rev 02) (prog-if 00 [VGA 
controller])
     Subsystem: Hewlett-Packard Company HD Graphics 620 [103c:832b]
     Subsystem: Hewlett-Packard Company Sun XT [Radeon HD 8670A/8670M/8690M / 
R5 M330 / M430] [103c:832b]
  InstallationDate: Installed on 2017-10-22 (4 days ago)
  InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20171018)
  MachineType: HP HP Laptop 15-bs0xx
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.13.0-16-generic.efi.signed 
root=UUID=50b901ea-f329-4a72-ae11-f7203ae53c2e ro quiet splash vt.handoff=7
  SourcePackage: xorg-server
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 07/24/2017
  dmi.bios.vendor: Insyde
  dmi.bios.version: F.22
  dmi.board.asset.tag: Type2 - Board Asset Tag
  dmi.board.name: 832B
  dmi.board.vendor: HP
  dmi.board.version: 23.38
  dmi.chassis.asset.tag: Chassis Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: HP
  dmi.chassis.version: Chassis Version
  dmi.modalias: 
dmi:bvnInsyde:bvrF.22:bd07/24/2017:svnHP:pnHPLaptop15-bs0xx:pvrType1ProductConfigId:rvnHP:rn832B:rvr23.38:cvnHP:ct10:cvrChassisVersion:
  dmi.product.family: 103C_5335KV HP Notebook
  dmi.product.name: HP Laptop 15-bs0xx
  dmi.product.version: Type1ProductConfigId
  dmi.sys.vendor: HP
  version.compiz: compiz N/A
  version.libdrm2: libdrm2 2.4.83-1
  version.libgl1-mesa-dri: libgl1-mesa-dri 17.2.2-0ubuntu1
  version.libgl1-mesa-glx: libgl1-mesa-glx 17.2.2-0ubuntu1
  version.xserver-xorg-core: xserver-xorg-core 2:1.19.5-0ubuntu2
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.10.0-1
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 
2:2.99.917+git20170309-0ubuntu1
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau N/A

To manage notifications about this bug go to:
https://bugs.launchpad.net/xorg-server/+bug/1727877/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to