Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in 
CSDb User Forums


Forums > CSDb Discussions > VICE threaded UI test builds
2020-05-18 16:10
Groepaz

Registered: Dec 2001
Posts: 9317
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).
2020-05-18 21:30
spider-j

Registered: Oct 2004
Posts: 208
I assume GTK3 should be tested? No special ./configure params?
2020-05-18 22:00
JackAsser

Registered: Jun 2002
Posts: 1680
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..
2020-05-18 22:06
spider-j

Registered: Oct 2004
Posts: 208
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
2020-05-18 22:40
Groepaz

Registered: Dec 2001
Posts: 9317
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).
2020-05-18 22:45
JackAsser

Registered: Jun 2002
Posts: 1680
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.
2020-05-18 23:11
Mr. SID

Registered: Jan 2003
Posts: 374
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.
2020-05-18 23:26
JackAsser

Registered: Jun 2002
Posts: 1680
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.
2020-05-18 23:28
Flavioweb

Registered: Nov 2011
Posts: 402
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.)
2020-05-19 04:07
dqh

Registered: Jun 2019
Posts: 40
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.
2020-05-19 06:59
dqh

Registered: Jun 2019
Posts: 40
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
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
Black Beard/Abyss, A..
McMeatLoaf
Dymo/G★P
Cupid/Padua/The Solu..
Ranthalion75
Guests online: 29
Top Demos
1 Coma Light 13  (9.7)
2 Uncensored  (9.7)
3 Edge of Disgrace  (9.7)
4 Comaland 100%  (9.6)
5 Unboxed  (9.6)
6 The Shores of Reflec..  (9.6)
7 Lunatico  (9.5)
8 Remains  (9.5)
9 NGC 1277 100%  (9.5)
10 Wonderland XII  (9.4)
Top onefile Demos
1 Dawnfall V1.1  (9.6)
2 Listen to Your Eyes  (9.6)
3 MD202006 - Get Well ..  (9.6)
4 The Tuneful Eight [u..  (9.5)
5 Smile to the Sky  (9.5)
6 Crystal Gazer  (9.5)
7 Instinct  (9.5)
8 Coro(l)na Nuthouse  (9.5)
9 Rewind  (9.5)
10 Bad Boy  (9.5)
Top Groups
1 PriorArt  (9.6)
2 Performers  (9.5)
3 Booze Design  (9.4)
4 Fossil  (9.4)
5 Censor Design  (9.4)
Top Logo Graphicians
1 Mermaid  (9.4)
2 Pal  (9.3)
3 Yazoo  (9.1)
4 Elko  (9.1)
5 Cupid  (9.0)

Home - Disclaimer
Copyright © No Name 2001-2020
Page generated in: 0.209 sec.