Forum Discussion

haris's avatar
haris
Icon for New Contributor rankNew Contributor
1 month 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

3 Replies

  • 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

  • Hi haris,

    Just wanted to follow up on my previous message in case it was overlooked.

     

    Have you had a chance to try the suggested steps? Feel free to let me know if you encounter any issues and need any assistance.

     

    Thank you. 

    Regards, 
    ZiYingE_Altera

    • ZiYingE_Altera's avatar
      ZiYingE_Altera
      Icon for Contributor rankContributor

      Hi haris,


      Just wanted to follow up on my previous message in case it was overlooked.

       

      If there are no further questions or concerns, may we proceed with closing this ticket for now?

       

      Thank you. 

      Regards, 
      ZiYingE_Altera