You are not logged in.

#1 2017-06-28 18:44:03

m1hu
Member
From: Poland
Registered: 2016-02-10
Posts: 9

Lenovo G570 AMD/Intel Hybrid, setting up this sad config

First let me start from info what I can provide:

$ xrandr --listproviders
Providers: number : 0
$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Robson CE [Radeon HD 6370M/7370M] (rev ff)
$ pacman -Qs xf86-video
local/xf86-video-ati 1:7.9.0-1 (xorg-drivers)
    X.org ati video driver
local/xf86-video-intel 1:2.99.917+777+g6babcf15-1 (xorg-drivers)
    X.org Intel i810/i830/i915/945G/G965+ video drivers
$ ls /usr/share/X11/xorg.conf.d/
10-quirks.conf  10-radeon.conf  40-libinput.conf  70-synaptics.conf
$ cat /usr/share/X11/xorg.conf.d/10-radeon.conf 
Section "OutputClass"
	Identifier "Radeon"
	MatchDriver "radeon"
	Driver "radeon"
EndSection
$ xdpyinfo | grep -A50 extensions
number of extensions:    27
    BIG-REQUESTS
    Composite
    DAMAGE
    DOUBLE-BUFFER
    DPMS
    DRI3
    GLX
    Generic Event Extension
    MIT-SCREEN-SAVER
    MIT-SHM
    Present
    RANDR
    RECORD
    RENDER
    SECURITY
    SGI-GLX
    SHAPE
    SYNC
    X-Resource
    XC-MISC
    XFIXES
    XFree86-VidModeExtension
    XINERAMA
    XInputExtension
    XKEYBOARD
    XTEST
    XVideo
default screen number:    0
number of screens:    1

screen #0:
  dimensions:    1366x768 pixels (361x203 millimeters)
  resolution:    96x96 dots per inch
  depths (7):    24, 1, 4, 8, 15, 16, 32
  root window id:    0x270
  depth of root window:    24 planes
  number of colormaps:    minimum 1, maximum 1
  default colormap:    0x23
  default number of colormap cells:    256
  preallocated pixels:    black 0, white 16777215
  options:    backing-store WHEN MAPPED, save-unders NO
  largest cursor:    1366x768
  current input event mask:    0xda0003
    KeyPressMask             KeyReleaseMask           StructureNotifyMask      
    SubstructureNotifyMask   SubstructureRedirectMask PropertyChangeMask       
    ColormapChangeMask       
  number of visuals:    240
  default visual id:  0x24
  visual:
    visual id:    0x24

Cannot find in /var/log any Xorg log files.

Some output from journalctl -b:

cze 28 20:01:55 cryolite kernel: [drm] Memory usable by graphics device = 2048M
cze 28 20:01:55 cryolite kernel: checking generic (d0000000 300000) vs hw (d0000000 10000000)
cze 28 20:01:55 cryolite kernel: fb: switching to inteldrmfb from VESA VGA
cze 28 20:01:55 cryolite kernel: Console: switching to colour dummy device 80x25
cze 28 20:01:55 cryolite kernel: [drm] Replacing VGA console driver
cze 28 20:01:55 cryolite kernel: [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
cze 28 20:01:55 cryolite kernel: [drm] Driver supports precise vblank timestamp query.
cze 28 20:01:55 cryolite kernel: vga_switcheroo: enabled
cze 28 20:01:55 cryolite kernel: radeon 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=none
cze 28 20:01:55 cryolite kernel: i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=io+mem
cze 28 20:01:55 cryolite kernel: [drm] Initialized i915 1.6.0 20170123 for 0000:00:02.0 on minor 1
cze 28 20:01:55 cryolite kernel: [Firmware Bug]: Duplicate ACPI video bus devices for the same VGA controller, please try module parameter "video.allow
cze 28 20:01:55 cryolite kernel: [Firmware Bug]: Duplicate ACPI video bus devices for the same VGA controller, please try module parameter "video.allow
cze 28 20:01:55 cryolite kernel: [Firmware Bug]: Duplicate ACPI video bus devices for the same VGA controller, please try module parameter "video.allow
cze 28 20:01:55 cryolite kernel: [Firmware Bug]: Duplicate ACPI video bus devices for the same VGA controller, please try module parameter "video.allow
cze 28 20:01:55 cryolite kernel: [Firmware Bug]: Duplicate ACPI video bus devices for the same VGA controller, please try module parameter "video.allow
cze 28 20:01:55 cryolite kernel: [Firmware Bug]: Duplicate ACPI video bus devices for the same VGA controller, please try module parameter "video.allow
cze 28 20:01:55 cryolite kernel: [Firmware Bug]: Duplicate ACPI video bus devices for the same VGA controller, please try module parameter "video.allow
cze 28 20:01:55 cryolite kernel: ACPI: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
cze 28 20:01:55 cryolite kernel: acpi device:34: registered as cooling_device6
cze 28 20:01:55 cryolite kernel: input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:0a/input/input13
cze 28 20:01:55 cryolite kernel: snd_hda_intel 0000:00:1b.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
cze 28 20:01:55 cryolite kernel: fbcon: inteldrmfb (fb0) is primary device
cze 28 20:01:55 cryolite kernel: psmouse serio1: synaptics: queried max coordinates: x [..5772], y [..5086]
cze 28 20:01:55 cryolite kernel: atl1c 0000:07:00.0 enp7s0: renamed from eth0
cze 28 20:01:55 cryolite kernel: psmouse serio1: synaptics: Touchpad model: 1, fw: 7.2, id: 0x1c0b1, caps: 0xd04733/0xa40000/0xa0000/0x0, board id: 0, 
cze 28 20:01:55 cryolite kernel: input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input8
cze 28 20:01:55 cryolite kernel: ath9k 0000:08:00.0 wlp8s0: renamed from wlan0
cze 28 20:01:55 cryolite kernel: Console: switching to colour frame buffer device 170x48
cze 28 20:01:55 cryolite kernel: i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
cze 28 20:01:55 cryolite kernel: input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/sound/card0/input10
cze 28 20:01:55 cryolite kernel: input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input11
cze 28 20:01:55 cryolite kernel: input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input12
cze 28 20:01:55 cryolite kernel: input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input14
cze 28 20:01:55 cryolite kernel: mousedev: PS/2 mouse device common for all mice
cze 28 20:01:55 cryolite kernel: intel_rapl: Found RAPL domain package
cze 28 20:01:55 cryolite kernel: intel_rapl: Found RAPL domain core
cze 28 20:01:55 cryolite kernel: intel_rapl: Found RAPL domain uncore
cze 28 20:01:55 cryolite kernel: intel_rapl: RAPL package 0 domain package locked by BIOS

Kernel:

uname -r
4.11.6-3-ARCH

I don't know what else to provide. Now questions:

1) Why there is no providers for xrandr?
2) Back to old Mint (17.0) fglrx was working perfectly fine, I had option to freely switch graphics, work constantly either on intel or radeon etc - is there a chance to get this back and set up here?
3) Around half year ago, or more, Vi0l0 drivers were pretty much useless for my setup, anyone know if this changed?

Thanks for help whoever may send some.
Cheers


AMD Ryzen 2600x | RTX 2070 | Arch KDE
Lenovo Yoga 910-13IKB | 4K touch display | Working on arch...
C# Dev, trying to learn python.

Offline

#2 2017-06-29 12:54:15

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,922

Re: Lenovo G570 AMD/Intel Hybrid, setting up this sad config

if there's no X org log in /var/log , they should be here :   ~/.local/share/xorg/Xorg.log
(it's where rootless X puts logs since /var/log is not writable for non-root user).

Your system is running a hybrid graphics setup, check https://wiki.archlinux.org/index.php/Hybrid_graphics .
The PRIME page it links to has the info you need.
First step is to move that 10-radeon.conf file , PRIME setups rely on X autodetection a LOT.


Apart from downgrading Xorg catalyst drivers now also require you to use a customized mesa (stock mesa uses libglvnd support and catalyst can't deal with that at all).


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

Board footer

Powered by FluxBB