Multi gpu display

Alex Deucher alexdeucher at gmail.com
Fri Jul 14 20:29:38 UTC 2017


On Fri, Jul 14, 2017 at 4:27 PM, Alex Deucher <alexdeucher at gmail.com> wrote:
> On Fri, Jul 14, 2017 at 4:36 AM, zhoucm1 <david1.zhou at amd.com> wrote:
>>
>>
>> On 2017年07月06日 10:30, zhoucm1 wrote:
>>>
>>>
>>>
>>> On 2017年07月06日 00:15, Alex Deucher wrote:
>>>>
>>>> On Tue, Jul 4, 2017 at 6:26 AM, zhoucm1 <david1.zhou at amd.com> wrote:
>>>>>
>>>>>
>>>>> On 2017年07月04日 13:43, zhoucm1 wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>> On 2017年07月04日 13:34, Alex Deucher wrote:
>>>>>>>
>>>>>>> On Tue, Jul 4, 2017 at 1:22 AM, zhoucm1 <david1.zhou at amd.com> wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>> On 2017年07月04日 11:41, Alex Deucher wrote:
>>>>>>>>>
>>>>>>>>> On Mon, Jul 3, 2017 at 4:32 AM, zhoucm1 <david1.zhou at amd.com> wrote:
>>>>>>>>>>
>>>>>>>>>> Hi xorg-devel guys,
>>>>>>>>>>
>>>>>>>>>> Anyone can help me?
>>>>>>>>>>
>>>>>>>>>> I tried two gpu card with four monitors on Unbuntu 16.04, each gpu
>>>>>>>>>> has
>>>>>>>>>> two
>>>>>>>>>> monitors.
>>>>>>>>>> By default config, I can see four monitors all are lighting with
>>>>>>>>>> its
>>>>>>>>>> separate desktop instance, and the running application with small
>>>>>>>>>> window
>>>>>>>>>> can
>>>>>>>>>> be spanning all monitors, but if application only can be run on one
>>>>>>>>>> of
>>>>>>>>>> monitros with fullscreen setting. I attached Xorg log and xrandr
>>>>>>>>>> output
>>>>>>>>>> info.
>>>>>>>>>>
>>>>>>>>>> How should I configure if I want to all monitors as a big desktop
>>>>>>>>>> or
>>>>>>>>>> the
>>>>>>>>>> full screen application can run on all monitors? or How should I
>>>>>>>>>> do/change?
>>>>>>>>>
>>>>>>>>> You'd need to configure it in the window manager. Most window
>>>>>>>>> managers use the geometry info advertised via randr to define what
>>>>>>>>> is
>>>>>>>>> considered full screen.  You need to tell it to ignore that and just
>>>>>>>>> use the full surface size.  How to do that varies from window
>>>>>>>>> manager
>>>>>>>>> to window manager.
>>>>>>>>
>>>>>>>> Thanks Alex for input.
>>>>>>>> I'm using ubuntu16.04, which window manager should be compiz, how to
>>>>>>>> tell it
>>>>>>>> to ignore that and just use the full surface size.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> https://askubuntu.com/questions/73573/how-to-maximise-a-window-across-two-monitors
>>>>>
>>>>> Could you also tell me how to set it for Redhat7.3?
>>>>
>>>> I'm not sure.  Probably some setting in gnome shell.  wmctrl -e might
>>>> do what you want.
>>>
>>> Unfortunately, it doesn't combine all desktop to one big desktop.
>>>
>>> -e option is to resize the window on one desktop, no effect for desktop.
>>>
>>> I also tried to specify application with it:  wmctrl -r "glxgears" -e
>>> 0,0,0,115200,2160, it has no effect as well.
>>
>> Hi Alex,
>>
>> From wmctrl -m, I can see Redhat7.3 is using 'gnome shell' as its window
>> manager, I searched from google and realize many people are asking the same
>> question, but all no right answer for Redhat.
>>
>> Do you know any guys from Redhat company can help this question?
>
> mutter/gnomeshell doesn't provide a similar knob like compiz does.
> We'd need to either patch mutter/gnomeshell or provide some sort of
> general override via randr.


I guess you could also manually specify the geometry on the command
line when starting the app, although, I guess that would probably not
properly inhibit the compositor.

Alex

>
> Alex
>
>>
>> Thanks,
>> David Zhou
>>
>>>
>>> Thanks anyway,
>>> David Zhou
>>>>
>>>>
>>>> Alex
>>>>
>>>>> Thanks,
>>>>> David Zhou
>>>>>
>>>>>> That's great, it solves my problem, otherwise I'm going to add an
>>>>>> extention for xinerama.
>>>>>>
>>>>>> Thanks a lot.
>>>>>> David Zhou
>>>>>>>
>>>>>>> Also, looks like wmctrl works as well.
>>>>>>>
>>>>>>> Alex
>>>>>>>
>>>>>>>> Regards,
>>>>>>>> David Zhou
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Alex
>>>>>>>>
>>>>>>>>
>>>
>>


More information about the xorg-devel mailing list