Mrview with high dpi screen in linux

Hi mrtrix3 community,

I have a problem with mrview used on a high resolution screen (3840x2160) on a 17 inch laptop running linux mint. The characters are really small and overlap very tiny sliders, etc…
Any suggestions to tweek this?

Thx in advance,
Stefan

An update…

Adding

export QT_AUTO_SCREEN_SCALE_FACTOR=1

to my .bashrc did the trick.

:+1:

Did you build MRtrix yourself and if so what version of Qt are you using? For me it works fine out of the box on ubuntu with 4K resolution without any need for tweaks. It could be that you are using an outdated Qt version.

Hi Ben,

I did build it myself (see https://github.com/treanus/KUL_Linux_Installation/blob/master/KNT_Linux_Install.sh)

I used:

sudo apt-get -y install git g++ python-is-python3 libeigen3-dev zlib1g-dev libqt5opengl5-dev libqt5svg5-dev libgl1-mesa-dev libfftw3-dev libtiff5-dev libpng-dev
git clone https://github.com/MRtrix3/mrtrix3.git
cd mrtrix3
./configure
./build
./set_path

Do you recommend another qt version?

Thx,
Stefan

While I cannot see the actual Qt version, my guess is that it will be fine.

I think the reason it is working out of the box for me is probably that I am running at 3840x2160 @ 100% on a 32 inch monitor while you are probably running at scaled a resolution 3840x2160 @ 200% on your 17 inch monitor.

If I also switch to scaled resolution, I also get better results with “QT_AUTO_SCREEN_SCALE_FACTOR=1”.

1 Like