# DrawText showing strange behaviour on linux

**URL:** <https://psychtoolbox.discourse.group/t/drawtext-showing-strange-behaviour-on-linux/1105>\
**Category:** Uncategorized\
**Created:** [February 11, 2017, 2:44pm UTC](https://psychtoolbox.discourse.group/t/drawtext-showing-strange-behaviour-on-linux/1105 "2017-02-11T14:44:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Allen\_Ingling](https://avatars.discourse-cdn.com/v4/letter/a/a183cd/32.png) [@Allen\_Ingling](https://psychtoolbox.discourse.group/u/Allen_Ingling)\
**Post date:** [February 11, 2017, 2:44pm UTC](https://psychtoolbox.discourse.group/t/drawtext-showing-strange-behaviour-on-linux/1105/1 "2017-02-11T14:44:03Z")

</div>

Hello,
  

Ubuntu 16.04

PTB3 via neurodebian (latest) shows the problem but all is OK via DownloadPsychtoolbox (also latest), same computer.

AMD open source graphics.

  

win = Screen('OpenWindow', 0, [255 255 255])

Screen('DrawText', win, 'test')

Screen('Flip', win)

KbWait

sca

  

This crashes MATLAB frequently when using neurodebian PTB3, whereas all is fine using PTB3 via DownloadPsychtoolbox. Also, the position of the text is different with 0,0 being bottom left instead of top left. DrawFormattedTextDemo shows the problem with the bounding box being misaligned for the y direction and also the direction of the teleprompter text being top to bottom when the neurodebian version does run.

  

Thanks,

Ian.
