second xserver has no connected output with radeon DIS
Submitted by jyd..@..cn.com
Assigned to xf86-video-ati maintainers
Description
Hi, my notebook thinkpad w500 has two video cards, intel / radeon. When i test some 3d games by wine or some videos by mpv using dri_prime=1 to dynamic enable radeon card, the game/video window always tearing, see bug report https://bugs.freedesktop.org/show_bug.cgi?id=76367.
So i try to start second xserver directly use radeon card, command like this:
$xinit /usr/bin/openbox-session -- :1 -ac -configdir radeon (/etc/X11/Xwrapper.config already changed to allowed_users=anybody)
I put 20-radeon.conf into /etc/X11/radeon, which is:
Section "Device"
Identifier "radeonGPU"
Driver "radeon"
BusID "PCI:1:0:0"
Option "DRI" "3"
EndSection
The basic thouhgts is default xserver using intel+radoen by dri prime that is nice technique still needs upgrade, start second xsever just using one video cadr(intel or radeon) as needed.
If i just put 20-intel.conf into /etc/X11/radeon (just use intel IDG), the second xserver runs ok. Just using radeon DIS the second xserver started without any conntected output. run 'DISPLAY=:1 xrandr' could confirm that, all disconnected, so it's black screen on second xserver vtn, and default xserver vt7 still ok.
Am i missing something to config second xserver using radeon DIS, or it's not possible?