Sorry I haven't been able to look at this lately; I'm going to try it in the next few hours and see if I get the same errors.
Sorry I haven't been able to look at this lately; I'm going to try it in the next few hours and see if I get the same errors.
Ubuntu user #7247 :: Linux user #409907
inconsolation.wordpress.com
Good idea. If you're using another architecture than an i686, you might want to look up the CFLAGS that are appropriate for your CPU.
http://gentoo-wiki.com/Safe_Cflags
If you're not sure what CPU you use, you could try
I believe the "model name" category will give you the processor you're using, and you can use CFLAGS that are specific to your chip.Code:cat /proc/cpuinfo
Ubuntu user #7247 :: Linux user #409907
inconsolation.wordpress.com
I'm getting the same errors in Feisty with version 1.21, and in Feisty with a deb built under Edgy.
As best I can tell, libx11 is what causes the VICE package to break.
http://www.nabble.com/Bug-418295%3A-...-p9896114.html
It looks like a patch is suggested there, but I won't get a chance to try it for a week or so. If anyone can try it and tell us if it works, it would be greatly appreciated.
Ubuntu user #7247 :: Linux user #409907
inconsolation.wordpress.com
Tried the patch, well, that is, I altered the offending lines in the source of VICE 1.21 and x64 is running a Horizon demo right now
What you need to change is this:
In line 123/124 of src/arch/unix/x11/xaw/uicolor.c:
change this to:Code:im = XCreateImage(display, visual, x11ui_get_display_depth(), ZPixmap, 0, (char *)data, 1, 1, 8, 1);
These same goes for line 167-169 in src/arch/unix/x11/gnome/uicolor.c, when compiling with --enable-gnomeui:Code:im = XCreateImage(display, visual, x11ui_get_display_depth(), ZPixmap, 0, (char *)data, 1, 1, 8, 0);
change to:Code:im = XCreateImage(display, GDK_VISUAL_XVISUAL(visual), x11ui_get_display_depth(), ZPixmap, 0, (char *)data, 1, 1, 8, 1);
Code:im = XCreateImage(display, GDK_VISUAL_XVISUAL(visual), x11ui_get_display_depth(), ZPixmap, 0, (char *)data, 1, 1, 8, 0);
I had already noticed that these lines where causing the error, but didn't know how to deal with it, since I've never used X11 libraries in my code.
Now I can finally watch the Breakpoint 2007 entries, hooray!!
(I considered switching back to Gentoo because of this... I'm a C64-addict, I know)
Compyx, first of all, thanks for the patch. It works for me... once.
The first time after using it and running X64, things worked fine. However now on subsequent starts, I do not get a C64 screen at all; just the menu bar and the bottom line (with the fps info and such) right below it. Not even apt-get remove --purge and a reinstall (from the home-made package ) helps.
The no-screen-at-all thing on subsequent starts also happened before I used Compyx's patch, BTW.
...help please?
First of all, it's not my patch, the patch was mentioned by K. Mandla., I just showed how to apply the patch with a text-editor or something similar.
Anyway, this no-screen thing happened to me a lot too, I found that compiz was the cause of this, so if you're running compiz, try disabling compiz and then running x64, maybe that'll help. I'll have to investigate further, and then maybe report a bug.
Thanks, people. I tacked on a little warning to the OP, and linked to Compyx's instructions. Cheers.
Ubuntu user #7247 :: Linux user #409907
inconsolation.wordpress.com
I also got the black screen problem after an X11 update. I had installed VICE 1.19 from the repositories and manually downloaded and copied the ROM files to the correct place. Hmmm, it looks a bit complicated to compile yourself. Can't somebody do a compilation and put the .deb file somewhere instead so we can download and install or doesn't it work to do it that easy?
Bookmarks