Announcement

Collapse
No announcement yet.

More PRIME Features May Be Coming For X.Org Server 1.18

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #11
    Nope, still nothing:
    Code:
     [FONT=monospace][COLOR=#000000][ben@puddingpc ~]$ xrandr --listproviders [/COLOR]
    Providers: number : 2
    Provider 0: id: 0xb9 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 4 outputs: 3 associated providers: 0 name:radeon
    Provider 1: id: 0x34b cap: 0x2, Sink Output crtcs: 6 outputs: 4 associated providers: 0 name:modesetting[/FONT]
    I know it's there, though:
    Code:
     [FONT=monospace][COLOR=#000000][root@puddingpc ~]# cat /sys/kernel/debug/vgaswitcheroo/switch  [/COLOR]
    0:DIS-Audio: :Off:0000:01:00.1
    1:IGD:+:Pwr:0000:00:01.0
    2:DIS: :DynOff:0000:01:00.0[/FONT]  
    [FONT=monospace][COLOR=#000000][ben@puddingpc ~]$ lspci -nn |grep -i vga [/COLOR]
    00:01.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Richland [Radeon HD 8670D] [1002:990c]
    01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Curacao XT [Radeon R9 270X] [1002:6810][/FONT]
    Trying to force it on via `echo ON > /sys/kernel/debug/vgaswitcheroo/switch` fails silently. Nothing in dmesg or anything.
    Oh, and I don't think mesa version is an issue--I'm already on mesa/x/etc. git, via the lcarlier mesa-git repo.

    Comment


    • #12
      Do you have dri3 enabled? With dri3 you don't need xrandr --setprovideroffloadsink anymore, it should be automatically set up.
      name:modesetting Is weird for the second gpu. Don't know what it means when it doesn't use the radeon driver. Maybe with a full xorg.log there is an indication why it does that.

      Comment


      • #13
        modesetting is just the xorg modesetting driver, you can ignore it. As far as dri3...
        Code:
         [FONT=monospace][COLOR=#000000][ben@puddingpc ~]$ cat /var/log/Xorg.0.log |grep -i dri [/COLOR]
        [    19.649]    X.Org Video Driver: 19.0
        [    19.649]    X.Org XInput driver : 21.1
        [    19.651] (II) xfree86: Adding drm device (/dev/dri/card0)
        [    22.487] (II) xfree86: Adding drm device (/dev/dri/card1)
        [    22.513] (II) Loading /usr/lib/xorg/modules/drivers/radeon_drv.so
        [    22.516]    Module class: X.Org Video Driver
        [    22.516]    ABI class: X.Org Video Driver, version 19.0
        [    22.516] (II) RADEON: Driver for ATI Radeon chipsets:
        [    22.522] (II) Loading sub module "dri2"
        [    22.522] (II) LoadModule: "dri2"
        [    22.522] (II) Module "dri2" already built-in
        [    22.532] (II) glamor: OpenGL accelerated X.org driver based.
        [    22.653] (II) glamor: EGL version 1.4 (DRI2):
        [    22.932] (II) Loading sub module "dri2"
        [    22.932] (II) LoadModule: "dri2"
        [    22.932] (II) Module "dri2" already built-in
        [    22.932] (II) glamor: OpenGL accelerated X.org driver based.
        [    22.944] (II) glamor: EGL version 1.4 (DRI2):
        [    23.106] (II) RADEON(G0): [DRI2] Setup complete
        [    23.106] (II) RADEON(G0): [DRI2]   DRI driver: radeonsi
        [    23.106] (II) RADEON(G0): [DRI2]   VDPAU driver: radeonsi
        [    23.162] (WW) RADEON(G0): Option "DRI3" is not used
        [    23.162] (II) RADEON(0): [DRI2] Setup complete
        [    23.162] (II) RADEON(0): [DRI2]   DRI driver: r600
        [    23.163] (II) RADEON(0): [DRI2]   VDPAU driver: r600
        [    23.248] (WW) RADEON(0): Option "DRI3" is not used
        [    23.258] (II) GLX: Initialized DRI2 GL provider for screen 0
        [    23.487]    Module class: X.Org XInput Driver
        [    23.487]    ABI class: X.Org XInput driver, version 21.0
        [    23.487] (II) Using input driver 'evdev' for 'Power Button'
        [    23.515] (II) Using input driver 'evdev' for 'Video Bus'
        [    23.516] (II) Using input driver 'evdev' for 'Video Bus'
        [    23.517] (II) Using input driver 'evdev' for 'Power Button'
        [    23.518] (II) No input driver specified, ignoring this device.
        [    23.519] (II) No input driver specified, ignoring this device.
        [    23.519] (II) No input driver specified, ignoring this device.
        [    23.520] (II) No input driver specified, ignoring this device.
        [    23.520] (II) No input driver specified, ignoring this device.
        [    23.521] (II) No input driver specified, ignoring this device.
        [    23.521] (II) No input driver specified, ignoring this device.
        [    23.522] (II) Using input driver 'evdev' for 'Logitech M570'
        [    23.523] (II) No input driver specified, ignoring this device.
        [    23.524] (II) Using input driver 'evdev' for 'Logitech K360'
        [    23.525] (II) No input driver specified, ignoring this device.
        [    23.525] (II) No input driver specified, ignoring this device.
        [    23.526] (II) No input driver specified, ignoring this device.
        [    23.526] (II) No input driver specified, ignoring this device.
        [    23.526] (II) No input driver specified, ignoring this device.
        [    23.527] (II) No input driver specified, ignoring this device.
        [    23.527] (II) No input driver specified, ignoring this device.
        [    23.527] (II) No input driver specified, ignoring this device.
        [    23.527] (II) No input driver specified, ignoring this device.
        [    23.528] (II) No input driver specified, ignoring this device.
        [    23.531] (II) config/udev: removing GPU device /sys/devices/pci0000:00/0000:00:01.0/drm/card0 /dev/dri/card0
        [    23.531] (II) config/udev: removing GPU device /sys/devices/pci0000:00/0000:00:02.0/0000:01:00.0/drm/card1 /dev/dri/
        card1
        [    23.536] (II) config/udev: Adding drm device (/dev/dri/card1)
        [    23.536] (II) xfree86: Adding drm device (/dev/dri/card1)
        [    23.537] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
        [    23.537]    Module class: X.Org Video Driver
        [    23.537]    ABI class: X.Org Video Driver, version 19.0
        [    23.537] (II) modeset(G0): using drv /dev/dri/card1
        [    23.537] (II) glamor: OpenGL accelerated X.org driver based.
        [    23.539] (II) glamor: EGL version 1.4 (DRI2):
        [    23.540] (II) Loading sub module "dri2"
        [    23.540] (II) LoadModule: "dri2"
        [    23.540] (II) Module "dri2" already built-in
        [    23.755] (II) modeset(G0): [DRI2] Setup complete
        [    23.755] (II) modeset(G0): [DRI2]   DRI driver: radeon
        [    23.755] (II) modeset(G0): [DRI2]   VDPAU driver: radeon[/FONT]
        No, looks like it's not supported, unless it lies about the option not being used. Here's glx's version info:
        Code:
          [FONT=monospace][COLOR=#000000][ben@puddingpc ~]$ glxinfo |grep -i version [/COLOR]
        server glx version string: 1.4
        client glx version string: 1.4
        GLX version: 1.4
        OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.7.0-devel (git-4d35eef)
        OpenGL core profile shading language version string: 3.30
        OpenGL version string: 3.0 Mesa 10.7.0-devel (git-4d35eef)
        OpenGL shading language version string: 1.30
        OpenGL ES profile version string: OpenGL ES 3.0 Mesa 10.7.0-devel (git-4d35eef)
        OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00[/FONT]
        Edit: The full log, in case you're interested.
        Edit2: Looks like I didn't have xf86-video-ati-git installed for whatever reason (had the non-git version installed). Installing it now, will see if it makes a difference.
        Edit3: Yep, that did the trick:
        Code:
         [FONT=monospace][COLOR=#000000]ben@puddingpc ~]$ xrandr --listproviders [/COLOR]
        Providers: number : 2
        Provider 0: id: 0xb9 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 4 outputs: 3 associated providers: 0 name:radeon
        Provider 1: id: 0x59 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 6 outputs: 4 associated providers: 0 name:radeon[/FONT]
        Thanks for the help. ^_^
        Last edited by Nobu; 16 June 2015, 08:13 PM.

        Comment

        Working...
        X