Forum Discussion

haris's avatar
haris
Icon for New Member rankNew Member
1 day ago

Questa-ModelSim UI scaling problems in Linux

Hello

Has anybody been able to solve the issue of UI of Questa not scaling correctly on linux with wayland?
I am using Ubuntu 26.04 with wayland and UI is just tiny, icons, are so small i cannot read any text.
When opening a new project, file explorer is also tiny.

Fonts i could change in the config file but icons, menus and everything else is just extremely small.
Problem is even worse on high resolution displays.

Regards, Haris

1 Reply

  • ZiYingE_Altera's avatar
    ZiYingE_Altera
    Icon for Occasional Contributor rankOccasional Contributor

    Hi haris,
     

    This appears to be GUI scaling under Wayland, particularly with Qt-based applications on high-DPI displays.
     

    Regarding the font changes, were those made through the ~/.modelsim settings file? May I also check which Questa version you are using?
     

    As a workaround, could you try launching Questa with the following commands:

    export QT_SCALE_FACTOR=2

    export QT_AUTO_SCREEN_SCALE_FACTOR=0

    vsim
     

    QT_SCALE_FACTOR=2 tells Qt to scale the application UI to 200%, which can help enlarge icons, menus, dialogs, and other GUI elements.
    QT_AUTO_SCREEN_SCALE_FACTOR=0 disables Qt's automatic scaling detection and forces it to use the scale factor specified above.
     

    You may need to adjust QT_SCALE_FACTOR (for example, 1.5, 2, or 2.5) depending on your display resolution and desktop scaling settings. 
     

    Could you please give this workaround a try and let me know whether it improves the GUI scaling on your system.


    Regards,
    ZiYingE_Altera