| |
chatGPZ
Registered: Dec 2001 Posts: 11164 |
VICE threaded UI test builds
In this thread i will post test builds of the (hopefully) soon to be merged threaded ui rewrite.
Linux and OSX users can always grab the current state from dqh's git repo here: https://github.com/dqh-github/vice-experiments/tree/threaded-ui.. (make sure to checkout the "threaded-ui-exp" branch after cloning the repo)
Please test and report back positive and negative results. Especially interesting right now are rendering errors/problems and unexpected crashes. Please tell exactly what OS you are using, and what GPU.
I will keep posting new windows builds here - starting with todays: https://sourceforge.net/projects/vice-emu/files/experimental%20..
64bit only right now - i'll have to figure out how to build proper 32bit binaries on my box (not that you should be still using a 32bit OS in 2020). |
|
| |
spider-j
Registered: Oct 2004 Posts: 454 |
I assume GTK3 should be tested? No special ./configure params? |
| |
JackAsser
Registered: Jun 2002 Posts: 1997 |
macOS Catalina 10.15.4
Intel UHD Graphics 630
(x86_64-apple-darwin19.4.0)
GTK 3.24.18
./configure --enable-native-gtk3ui --enable-embedded
host_vsync_macos.m:30:10: fatal error: 'NSOpenGL.h' file not found
OpenGL was deprecated in macOS 10.14...
I assume you just need a way of vsyncing on MacOS. This is normally done via the CVDisplayLink. See example here: https://stackoverflow.com/questions/14158743/alternative-of-cad.. |
| |
spider-j
Registered: Oct 2004 Posts: 454 |
Clicking on "CRT controls" occasionally just shows thin borderlines and the content from the windows / desktop below:
Didn't happen with the "Mixer controls" switch so far.
Ryzen 3700X, RX 5700, Gnome 3 "Classic" X-Session.
Kernel 5.6.13-arch1-1, mesa 20.0.7-2, gtk3 1:3.24.20-1, gnome-desktop 1:3.36.2-1, xorg-server 1.20.8-2
Don't really know what to look for. Wild clicking through the menus and wild resize / fullscreen toggling seems to be stable.
EDIT: added more detailed sys specs |
| |
chatGPZ
Registered: Dec 2001 Posts: 11164 |
Quote:I assume you just need a way of vsyncing on MacOS.
No, obviously also for rendering GL is needed. Without that, prepare for using the SDL port =P (Who would have thought dropping GL was the silliest idea apple ever had). |
| |
JackAsser
Registered: Jun 2002 Posts: 1997 |
Quote: Quote:I assume you just need a way of vsyncing on MacOS.
No, obviously also for rendering GL is needed. Without that, prepare for using the SDL port =P (Who would have thought dropping GL was the silliest idea apple ever had).
Couldn't agree more. The SDL port is awesome once I understood how to make my own keybindings.
I'll try to check if there are GL backports somehow. |
| |
Mr. SID
Registered: Jan 2003 Posts: 424 |
OpenGL will go the way of the dodo, on all platforms, eventually.
Sure, Khronos Group will try to convince you that it will stay around forever, but as GPU architectures change, the resources to keep OpenGL in a working state for legacy software on that newer hardware is going to become unsustainable. It's design is just too contradictory with how GPUs work already now, but it will become worse in the future.
There are certainly a few years left before that happens though, and even after that you'll see enthusiasts (Mesa?) hack new drivers together somehow.
But it seems that now would be a great time to consider alternatives. But there's no single API for all platforms, so VICE is out of luck. |
| |
JackAsser
Registered: Jun 2002 Posts: 1997 |
Anyway. I commented out the vsync code since this is just to change swapIntervals for the currrent gl context. Then it built but seg faults. (master branch VICE builds fine and doesn't crash).
Process 57778 launched: '/Users/andreaslarsson/Downloads/vice-experiments/vice-emu-code.nosync/vice/src/ x64sc' (x86_64)
Error - Default keymap not found, this should be fixed. Going on anyway...
Error - Default keymap not found, this should be fixed. Going on anyway...
Error - Default keymap not found, this should be fixed. Going on anyway...
Error - Default keymap not found, this should be fixed. Going on anyway...
Error - Default keymap not found, this should be fixed. Going on anyway...
Initializing chip model "MOS8565" (63 cycles per line, 312 raster lines).
VSP Bug: safe channels are: 1257. Emulation of memory corruption is disabled.
Error - failed to initialize GResource data, don't expect much when it comes to icons, fonts or logos.
Error - Failed to find CBM.ttf
Error - failed to register CBM font.
Reading configuration file `/Users/andreaslarsson/.config/vice/vicerc'.
*** VICE Version 3.4 ***
Welcome to x64sc, the free portable C64 Emulator.
Current VICE team members:
Martin Pottendorfer, Marco van den Heuvel, Fabrizio Gennari, Groepaz,
Errol Smith, Ingo Korb, Olaf Seibert, Marcus Sutton, Kajtar Zsolt, AreaScout,
Bas Wassink, Michael C. Martin, Christopher Phillips, David Hogan.
This is free software with ABSOLUTELY NO WARRANTY.
See the "About VICE" command for more info.
Palette: Error - Palette not found: `mps803.vpl'.
MPS-803: Error - Cannot load palette file `mps803.vpl'.
Palette: Error - Palette not found: `nl10.vpl'.
NL10: Error - Cannot load palette file `nl10.vpl'.
Palette: Error - Palette not found: `1520.vpl'.
plot1520: Error - Cannot load palette file `1520.vpl'.
DriveROM: Error - 2000 ROM image not found. Hardware-level 2000 emulation is not available.
DriveROM: Error - 4000 ROM image not found. Hardware-level 4000 emulation is not available.
Drive: Finished loading ROM images.
VIC-II: Initializing chip model "MOS8565" (63 cycles per line, 312 raster lines).
Process 57778 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x8)
frame #0: 0x00000001038eb918 libgio-2.0.0.dylib`do_lookup + 88
libgio-2.0.0.dylib`do_lookup:
-> 0x1038eb918 <+88>: movq 0x8(%r14), %rdi
0x1038eb91c <+92>: movq %rbx, %rsi
0x1038eb91f <+95>: callq 0x10393f240 ; gvdb_table_get_raw_value
0x1038eb924 <+100>: testq %rax, %rax
Target 1: (x64sc) stopped.
|
| |
Flavioweb
Registered: Nov 2011 Posts: 447 |
Distributor ID: openSUSE
Description: openSUSE Tumbleweed
3D controller: NVIDIA Corporation GM108M [GeForce MX110] (rev a2)
Model name: Intel(R) Core(TM) i7-1065G7 CPU @ 1.30GHz
On Boot:
** (x64sc:25894): WARNING **: 23:23:29.369: AT-SPI: Could not obtain desktop path or name
** (x64sc:25894): WARNING **: 23:23:29.373: AT-SPI: Could not obtain desktop path or name
** (x64sc:25894): WARNING **: 23:23:29.374: atk-bridge: get_device_events_reply: unknown signature
** (x64sc:25894): WARNING **: 23:23:29.374: atk-bridge: get_device_events_reply: unknown signature
** (x64sc:25894): WARNING **: 23:23:29.374: atk-bridge: GetRegisteredEvents returned message with unknown signature
Sound: Opened device `alsa', speed 44100Hz, fragment size 2,9ms, buffer size 101ms
** (x64sc:25894): WARNING **: 23:23:29.378: AT-SPI: Could not obtain desktop path or name
** (x64sc:25894): WARNING **: 23:23:29.378: atk-bridge: get_device_events_reply: unknown signature
** (x64sc:25894): WARNING **: 23:23:29.378: atk-bridge: get_device_events_reply: unknown signature
** (x64sc:25894): WARNING **: 23:23:29.378: atk-bridge: GetRegisteredEvents returned message with unknown signature
X64sc crash if i open monitor (Alt+h) then try i command like "d" with:
uimon.c:142: Error: lib_debug_guard_size(): Cannot find debug address 0x7f8a000c2df0!
uimon.c:141: Error: lib_debug_guard_remove(): Cannot find debug address 0x7f8a000c2df0! (make sure to use functions from lib.h, do NOT use lib_free on pointers allocated by other functions.) |
| |
dqh Account closed
Registered: Jun 2019 Posts: 46 |
Quoting JackAsser
./configure --enable-native-gtk3ui --enable-embedded
host_vsync_macos.m:30:10: fatal error: 'NSOpenGL.h' file not found
Do you have Xcode installed? What version? Are you following the build instructions at https://sourceforge.net/p/vice-emu/code/HEAD/tree/trunk/vice/do.. ?
Edit: I just edited those instructions to stop recommending that we disable OpenGL during the build. |
| |
dqh Account closed
Registered: Jun 2019 Posts: 46 |
Quoting Flavioweb
X64sc crash if i open monitor (Alt+h) then try i command like "d" with:
uimon.c:142: Error: lib_debug_guard_size(): Cannot find debug address 0x7f8a000c2df0!
uimon.c:141: Error: lib_debug_guard_remove(): Cannot find debug address 0x7f8a000c2df0! (make sure to use functions from lib.h, do NOT use lib_free on pointers allocated by other functions.)
I hadn't been testing with --enable-debug , it turns out that the memory debug code wasn't thread safe. I have pushed a fix for this, thanks. |
... 149 posts hidden. Click here to view all posts.... |
Previous - 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | ... | 16 - Next |