# Linux (UBUNTU) + AMD - which card to choose?

**URL:** <https://psychtoolbox.discourse.group/t/linux-ubuntu-amd-which-card-to-choose/3776>\
**Category:** Hardware\
**Created:** [March 23, 2021, 4:04pm UTC](https://psychtoolbox.discourse.group/t/linux-ubuntu-amd-which-card-to-choose/3776 "2021-03-23T16:04:28Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![mariokleiner](https://avatars.discourse-cdn.com/v4/letter/m/13edae/32.png) [@mariokleiner](https://psychtoolbox.discourse.group/u/mariokleiner)\
**Post date:** [November 4, 2022, 2:22pm UTC](https://psychtoolbox.discourse.group/t/linux-ubuntu-amd-which-card-to-choose/3776/8 "2022-11-04T14:22:59Z")

</div>

> [@Tarana](#):
>
> Hi!  
> I am also running Non-human primate electrophysiology experiments with ViewPixx(1920X1080@120Hz) with a Linux/X11 system. I want to mirror the display on the ViewPixx Monitor to another monitor (not the primary monitor- where I see the matlab window).  
> I tried the `PsychImaging('AddTask', 'General', 'MirrorDisplayToSingleSplitWindow')` as suggested above with an extended monitor configuration. But unfortunately , it only displays on one of the screens. Could you let me know if my [X.org](http://X.org) config file is set up in the right way to get this mirroring to work ? Thanks a lot!
> 
> The following is my xorg.conf file :  
> …

On Linux/X11 in regular display mode, a window can’t span multiple X-Screens, and windows involved in PTB’s mirroring modes must also be located on the same X-Screen. So your specific xorg config for three separate X-Screens won’t work for this purpose, only for having two totally separate stimulus windows on screen 1 and 2, e.g., for stimulating two subjects in parallel or similar, and the desktop GUI with Matlab/Octave on screen 0 (or a 3rd independent stimulus window). There are different solutions however, depending on the specific needs and hardware setup - mirroring an image is something that sounds simple, but is quite involved, depending on setup and needs, if low-level control / accuracy / timing is of any importance. The next upcoming Psychtoolbox 3.0.19.0 release will have a few new tricks useful for display mirroring, at least applicable to graphics cards with fully open-source drivers, ie. non-NVidia.

Given this question is kind of off-topic for the title of this discussion thread, please post all followup answers under the following fitting topic to continue the discussion:

> [@Display same image on 2 monitors](https://psychtoolbox.discourse.group/t/display-same-image-on-2-monitors/4631/2):
>
> Details about used graphics and display hardware are missing. Is upgrading to Ubuntu 22.04 an option? What graphics hardware is used? Update: I thought about this general problem quite a bit lately, it is not as trivial as one would think, also of general interest, as the problem has come up more than once. After quite a bit of tinkering, I came up with a few new additional improvements. If you are still interested in a solution, I will provide advice for free - well sponsored by Mathworks, usi…

My first two questions though would be:

1. Why not use the dual-link DVI “console monitor” output of your ViewPixx for a simple hardware solution? Assuming you really just need a mirror image of the stimulus, nothing fancy, and can connect a suitable secondary monitor without compromising timing?

2. If 1 is not an option, do you use Ubuntu 22.04-LTS or later? What is the resolution of your “console monitor” for the experimenter? It provides a new trick wrt. display mirroring, specifically contributed by myself to X-Server 21 for such scenarios, at least for graphics cards with fully open-source graphics/display drivers, ie. non-NVidia.

→ Please answer in the linked topic above, not here.

---

_[View the full topic](https://psychtoolbox.discourse.group/t/linux-ubuntu-amd-which-card-to-choose/3776)._
