Menu

#2168 In Vice revision 45756 disk content display while opening a d64 is broken on Windows

v3.x
closed-fixed
compyx
None
GTK3
User Interface
2025-11-18
2025-09-08
No

Hello.

When I try to open a disk file and select it, on the right there is nothing but a mangled display. It happens for every emulator.

You can reproduce it easily. Using a recent revision, launch xvic after you download the "Full 1.2 Vic20" you can find here at the bottom of the list: https://www.the8bitguy.com/25753/petscii-robot-shareware-available/

Extract d64 file and select it. You'll see the content display is broken. Of course a load"*",8,1 is working.

This display is only broken on MS-Windows emulator. Linux one is working perfectly.

1 Attachments

Discussion

1 2 > >> (Page 1 of 2)
  • gpz

    gpz - 2025-09-08

    Seems the font registering broke (it is also broken in the monitor, no need to even mount a disk)

    perhaps related to github switching the build hosts... with some luck, it will fix itself

     
  • gpz

    gpz - 2025-09-08
    • assigned_to: compyx
     
  • gpz

    gpz - 2025-09-08

    PS: what windows system is that exactly you are testing on? (win7 here)

     
    • Frederic bezies

      Frederic bezies - 2025-09-08

      Win11 using the last automated build from github.

       
    • radius75

      radius75 - 2025-09-09

      There is no problem with this on Win 7 ;)
      r45756

       
  • gpz

    gpz - 2025-09-09

    Do you have the font registered systemwide perhaps? (Does it work in the monitor too?)

     
    • Frederic bezies

      Frederic bezies - 2025-09-09

      The monitor is working OK. Well, looks like this bug will solve itself.

      Edit: Well, after some tests, I deleted Vice configuration. And now all is OK.

      Edit 2: If I launch Vice loading an already existing configuration, bug is back. Removing config files kill the bug. My disk drive config enables true emulation for drive #8. If I switch to virtual device, bug is killed.

       

      Last edit: Frederic bezies 2025-09-10
      • gpz

        gpz - 2025-10-04

        And there is nothing related to the font in that config? (please attach it - also perhaps try a recent build)

         
        • Frederic bezies

          Frederic bezies - 2025-10-04

          There is no font settings in vice.ini. I'm using revision 45785 and the bug is still present.

          Attaching my vice.ini if it helps.

          And the last vice.log if it helps.

           

          Last edit: Frederic bezies 2025-10-04
  • Frederic bezies

    Frederic bezies - 2025-10-25

    Well, I found a weird workaround. I run x64sc (for example) once, then I close it. Run it another time and floppy disk content display is OK. Really weird!

     
  • Frederic bezies

    Frederic bezies - 2025-11-04

    Just for your information. I tested Vice rev 45816 in a HyperV virtual machine with Win11 in it. And the same bug appears. I'm glad it is not a bug on my installation.

     
  • gpz

    gpz - 2025-11-04

    And it works when starting the emulator a second time? At least thats what i see on my Windows10 ... really weird, it used to work

     
    • Frederic bezies

      Frederic bezies - 2025-11-04

      I'm using this workaround on my Vice installation in Win11. Weird, really weird.

       
    • Querino

      Querino - 2025-11-04

      works for me in w11.
      but i see it doesn't work if i start the emu as user SYSTEM or TrustedInstaller :)

      but then, the casual users work just fine, including admin.

       
      • gpz

        gpz - 2025-11-04

        Do you have the pet font installed systemwide by any chance (eg for Dirmaster)?

         
        • Querino

          Querino - 2025-11-04

          I don't see dirmaster on this system, and C64_Pro_Mono-STYLE.ttf is not in any of my system folders.

          Strange.

           
          • gpz

            gpz - 2025-11-05

            Another variable: do you build VICE yourself?

             
            • Querino

              Querino - 2025-11-08

              No, the ones from Github. Sadly, i have only this one system with w11 installed.

               
  • Frederic bezies

    Frederic bezies - 2025-11-11

    While doing some "bissecting" by building old versions, I got this error on start:

    VDrive Internal: Error - Cannot open file `F:\Fred\Downloads\articles en prparation'
    couldn't load font "C64 Pro Mono Not-Rotated 10", falling back to "Sans Not-Rotated 10", expect ugly output.

    This message on first run. On second run, everything is OK.

    Hope it helps!

     
  • Frederic bezies

    Frederic bezies - 2025-11-11

    I launched the last official nightly (r45820) and I'm adding the first run log. Launching and trying to open a disk file to see its content.

     
  • gpz

    gpz - 2025-11-11

    Websearch suggests that this message comes from Pango. One page explained that the reason might be that the font is being loaded and/or registered by a different thread than the one that wants to use it, apparantly that doesn't work on Windows
    @dqh might be able to check this

     
  • gpz

    gpz - 2025-11-11
     
  • gpz

    gpz - 2025-11-18

    Sooo.. please try r45857 - it works correctly for me now

     
    • gpz

      gpz - 2025-11-18

      PS: Test if it works after a reboot - no program using those fonts should have run before

       
      • Frederic bezies

        Frederic bezies - 2025-11-18

        Floppy disk content is loaded without problem. Before or after a reboot, nothing changed. So it works!

        Let's close this bug now.

         
1 2 > >> (Page 1 of 2)

Log in to post a comment.

MongoDB Logo MongoDB