Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

askthedev.com Logo askthedev.com Logo
Sign InSign Up

askthedev.com

Search
Ask A Question

Mobile menu

Close
Ask A Question
  • Ubuntu
  • Python
  • JavaScript
  • Linux
  • Git
  • Windows
  • HTML
  • SQL
  • AWS
  • Docker
  • Kubernetes
Home/ Questions/Q 15487
Next
In Process

askthedev.com Latest Questions

Asked: September 27, 20242024-09-27T06:40:14+05:30 2024-09-27T06:40:14+05:30In: Ubuntu

I am experiencing issues with the screen resolution when using DOSBox on my Ubuntu system. Despite adjusting the settings, the display doesn’t seem to fit properly. What steps can I take to resolve this issue and achieve the desired screen resolution for my DOS applications?

anonymous user

I’ve been having this frustrating problem with DOSBox on my Ubuntu system, and I’m hoping someone here might have some insights or solutions. So, here’s the deal: I’m trying to play some classic DOS games that I loved back in the day, but the screen resolution is a complete mess. No matter what I do, I can’t seem to get the display to fit properly on my monitor.

I’ve already dived into the DOSBox configuration file, adjusting the resolution settings and the fullscreen options. I tried switching between different video output settings, like using X11, OpenGL, and even SDL, but nothing seems to make a difference. When I run the games, they either look way too small or get cut off at the edges since they don’t scale correctly to my screen. I’ve messed around a bit with the aspect ratio, but it always seems to end up with some kind of distortion or weird stretching.

The strange part is, sometimes the games look fine for a moment, and then they revert back once I start moving or navigating through the menus. It’s honestly quite annoying because I just want to enjoy these old-school titles without dealing with all these visual issues. Has anyone else experienced something similar with DOSBox on Ubuntu?

I’ve read a couple of forum posts, and some folks mentioned using specific resolutions or tweaking the output settings, but I’d love to hear from anyone who’s actually sorted this out. What steps did you take to achieve a decent screen resolution for your DOS applications? Did you have to install any extra packages or adjust some hidden settings? I’m all ears for any tips, tricks, or any guidance you can throw my way!

  • 0
  • 0
  • 2 2 Answers
  • 0 Followers
  • 0
Share
  • Facebook

    Leave an answer
    Cancel reply

    You must login to add an answer.

    Continue with Google
    or use

    Forgot Password?

    Need An Account, Sign Up Here
    Continue with Google

    2 Answers

    • Voted
    • Oldest
    • Recent
    1. anonymous user
      2024-09-27T06:40:16+05:30Added an answer on September 27, 2024 at 6:40 am



      DOSBox Resolution Issues on Ubuntu

      Resolving DOSBox Display Problems on Ubuntu

      Sounds like you’re having a tough time with DOSBox! I totally get the frustration, especially when you just want to relive those classic gaming moments. Here are some tips that might help you fix the resolution woes:

      1. Edit the DOSBox Config File

      First off, make sure you have the right settings in your dosbox.conf. Check these lines:

      [sdl]
      fullscreen=true
      fullresolution=desktop
      windowresolution=original
          

      This helps DOSBox use your actual screen resolution. You can set fullresolution to your monitor’s resolution (like 1920x1080), but windowresolution should usually be set to original or whatever suits your game.

      2. Try Different Video Output Options

      You mentioned you’ve tried various video outputs, but have you considered trying output=opengl if you haven’t already? Sometimes this can improve scaling. You can also play around with output=overlay as an alternative.

      3. Use Aspect Ratio Correction

      If the aspect ratio is off, add this line in your config under the [sdl] section:

      aspect=true
          

      This might help keep things from getting stretched or squished.

      4. Fullscreen Toggle

      If you’re in Windowed mode, consider toggling between fullscreen and window mode while the game is running. Sometimes it triggers a refresh that can correct display issues.

      5. Install xorg-xf86-video-dummy

      If you’ve exhausted all options, some users found success installing a dummy video driver. You can do this by running:

      sudo apt-get install xserver-xorg-video-dummy
          

      This sometimes fixes issues related to output on certain setups.

      6. Check for Hidden Updates

      Also, make sure you’re running the latest version of DOSBox. Sometimes bugs get fixed in newer releases. You can check that via your package manager or visit the DOSBox website.

      7. Specific Game Settings

      Lastly, double-check if individual games have specific settings or patches that might help with resolution. Some games have their own configuration files or commands that can aid compatibility.

      Hope this helps you get back to gaming without the screen struggles! Don’t hesitate to update us if you find any solutions that work.


        • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    2. anonymous user
      2024-09-27T06:40:16+05:30Added an answer on September 27, 2024 at 6:40 am


      To tackle the screen resolution issues you’re facing with DOSBox on Ubuntu, start by verifying your DOSBox configuration file—typically located at ~/.dosbox/dosbox-.conf. Ensure the following settings are appropriately adjusted: set fullscreen=true and define the fullresolution option to match your monitor’s native resolution (e.g., fullresolution=desktop or fullresolution=1920x1080, based on your screen size). If the games are still giving you trouble, try modifying the output line across different settings such as output=overlay or output=opengl. These changes might help improve the visual scaling while providing a more stable experience when navigating the menus.

      If the problem persists, consider adjusting your aspect ratio settings, typically accomplished through the aspect option, which can be toggled by setting aspect=true for older games that may require a proper aspect ratio for accurate scaling. Additionally, ensure your system drivers, especially the graphics drivers, are updated to the latest versions, as they can significantly influence performance in graphical applications. Finally, it’s worth exploring forum threads for any context-specific patches or workarounds that may have worked for others facing similar issues, as certain DOS titles may have their unique quirks that require further tweaking.


        • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp

    Related Questions

    • I'm having trouble installing the NVIDIA Quadro M2000M driver on Ubuntu 24.04.1 LTS with the current kernel. Can anyone provide guidance or solutions to this issue?
    • What steps can I take to troubleshoot high usage of GNOME Shell in Ubuntu 24.04?
    • I recently performed a fresh installation of Ubuntu 24.04, and I've noticed that my RAM usage steadily increases over time until my system becomes unresponsive. Has anyone experienced this issue ...
    • How can I resolve the "unknown filesystem" error that leads me to the GRUB rescue prompt on my Ubuntu system?
    • I'm experiencing an issue with Ubuntu 24.04 where Nautilus fails to display the progress indicator when I'm copying large files or folders. Has anyone else encountered this problem, and what ...

    Sidebar

    Related Questions

    • I'm having trouble installing the NVIDIA Quadro M2000M driver on Ubuntu 24.04.1 LTS with the current kernel. Can anyone provide guidance or solutions to this ...

    • What steps can I take to troubleshoot high usage of GNOME Shell in Ubuntu 24.04?

    • I recently performed a fresh installation of Ubuntu 24.04, and I've noticed that my RAM usage steadily increases over time until my system becomes unresponsive. ...

    • How can I resolve the "unknown filesystem" error that leads me to the GRUB rescue prompt on my Ubuntu system?

    • I'm experiencing an issue with Ubuntu 24.04 where Nautilus fails to display the progress indicator when I'm copying large files or folders. Has anyone else ...

    • How can I configure a server running Ubuntu to bind specific IP addresses to two different network interfaces? I'm looking for guidance on how to ...

    • Is it possible to configure automatic login on Ubuntu MATE 24.04?

    • After upgrading from Ubuntu Studio 22.04 to 24.04.1, I lost all audio functionality. What steps can I take to diagnose and resolve this issue?

    • I am experiencing issues booting Ubuntu 22.04 LTS from a live USB. Despite following the usual procedures, the system fails to start. What steps can ...

    • I'm encountering a problem with my Expandrive key while trying to update my Ubuntu system. Has anyone else faced similar issues, and if so, what ...

    Recent Answers

    1. anonymous user on How do games using Havok manage rollback netcode without corrupting internal state during save/load operations?
    2. anonymous user on How do games using Havok manage rollback netcode without corrupting internal state during save/load operations?
    3. anonymous user on How can I efficiently determine line of sight between points in various 3D grid geometries without surface intersection?
    4. anonymous user on How can I efficiently determine line of sight between points in various 3D grid geometries without surface intersection?
    5. anonymous user on How can I update the server about my hotbar changes in a FabricMC mod?
    • Home
    • Learn Something
    • Ask a Question
    • Answer Unanswered Questions
    • Privacy Policy
    • Terms & Conditions

    © askthedev ❤️ All Rights Reserved

    Explore

    • Ubuntu
    • Python
    • JavaScript
    • Linux
    • Git
    • Windows
    • HTML
    • SQL
    • AWS
    • Docker
    • Kubernetes

    Insert/edit link

    Enter the destination URL

    Or link to existing content

      No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.