[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [STUMP] stumpwm won't start on OpenBSD macppc/sbcl
From: |
David Bjergaard |
Subject: |
Re: [STUMP] stumpwm won't start on OpenBSD macppc/sbcl |
Date: |
Tue, 22 Nov 2016 15:44:14 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) |
Hi Solène,
You definitely have one of the weirder OS/CPU architectures out there. If I had
to guess, it looks like it may not be opening the right system font (9x15).
Make sure its available on your system. Clx will give you a list of possible
fonts (from slime attached to stumpwm):
> (xlib:list-font-names stumpwm:*display* "*")
If it won't even launch (which appears to be the case) you may need to try a
guess-and-check approach. It looks like you may have some luck checking the
fonts in X11. On my system, there are aliases defined in this file:
> cat /etc/X11/fonts/misc/xfonts-base.alias
> ! $Xorg: fonts.alias,v 1.3 2000/08/21 16:42:31 coskrey Exp $
> fixed -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1
> variable -*-helvetica-bold-r-normal-*-*-120-*-*-*-*-iso8859-1
> 5x7 -misc-fixed-medium-r-normal--7-70-75-75-c-50-iso8859-1
> 5x8 -misc-fixed-medium-r-normal--8-80-75-75-c-50-iso8859-1
> 6x9 -misc-fixed-medium-r-normal--9-90-75-75-c-60-iso8859-1
> 6x10 -misc-fixed-medium-r-normal--10-100-75-75-c-60-iso8859-1
> 6x12 -misc-fixed-medium-r-semicondensed--12-110-75-75-c-60-iso8859-1
> 6x13 -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1
> 6x13bold -misc-fixed-bold-r-semicondensed--13-120-75-75-c-60-iso8859-1
> 7x13 -misc-fixed-medium-r-normal--13-120-75-75-c-70-iso8859-1
> 7x13bold -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-1
> 7x13euro -misc-fixed-medium-r-normal--13-120-75-75-c-70-iso8859-15
> 7x13eurobold -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-15
> 7x14 -misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-1
> 7x14bold -misc-fixed-bold-r-normal--14-130-75-75-c-70-iso8859-1
> 8x13 -misc-fixed-medium-r-normal--13-120-75-75-c-80-iso8859-1
> 8x13bold -misc-fixed-bold-r-normal--13-120-75-75-c-80-iso8859-1
> 8x16 -sony-fixed-medium-r-normal--16-120-100-100-c-80-iso8859-1
> 9x15 -misc-fixed-medium-r-normal--15-140-75-75-c-90-iso8859-1
> 9x15bold -misc-fixed-bold-r-normal--15-140-75-75-c-90-iso8859-1
> 10x20 -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso8859-1
> 12x24 -sony-fixed-medium-r-normal--24-170-100-100-c-120-iso8859-1
> nil2 -misc-nil-medium-r-normal--2-20-75-75-c-10-misc-fontspecific
THere you can see the default stumpwm uses (9x15). I have a vague recollection
that some systems don't necessarily ship with this, so finding out whats
avilable and editing the parameter:
> (defparameter +default-font-name+ "9x15")
To point to your font may be whats required.
Stumpwm provides this through the interface "set-font", but it may not work
since the display has to be initialized before the rc file is loaded.
Let me know if this helps.
David
Solène RAPENNE <address@hidden> writes:
> Hello,
>
> I am a happy user of stumpwm. I wanted to use it on a macppc running
> OpenBSD current (the version which will become the next release), built
> with sbcl 1.3.10. The same combination on OpenBSD/amd64/sbcl works,
> while it doesn't work with the macppc and I don't see any reason it
> won't run. Maybe X is missing some parts ? I'm not sure accelerated
> graphics works...
>
> I tried stumpwm 0.9.9 and the git code.
>
> Please find a backtrace of the problem, if you have any clue :-)
>
> ./stumpwm
>
> debugger invoked on a SIMPLE-ERROR:
> There is no applicable method for the generic function
> #<STANDARD-GENERIC-FUNCTION STUMPWM::SCREEN-MESSAGE-CC (1)>
> when called with arguments
> (NIL).
>
> Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.
>
> restarts (invokable by number or by possibly-abbreviated name):
> 0: [RETRY ] Retry calling the generic function.
> 1: [QUIT-STUMPWM] Quit Stumpwm
>
> ((:METHOD NO-APPLICABLE-METHOD (T)) #<STANDARD-GENERIC-FUNCTION
> STUMPWM::SCREEN-MESSAGE-CC (1)> NIL) [fast-method]
> 0] :BACKTRACE
>
> Backtrace for: #<SB-THREAD:THREAD "main thread" RUNNING {51C80009}>
> 0: ((:METHOD NO-APPLICABLE-METHOD (T)) #<STANDARD-GENERIC-FUNCTION
> STUMPWM::SCREEN-MESSAGE-CC (1)> NIL) [fast-method]
> 1: (SB-PCL::CALL-NO-APPLICABLE-METHOD #<STANDARD-GENERIC-FUNCTION
> STUMPWM::SCREEN-MESSAGE-CC (1)> (NIL))
> 2: (STUMPWM::ECHO-STRING-LIST NIL ("Caught Asynchronous X Error:
> XLIB:ID-CHOICE-ERROR (:ASYNCHRONOUS T" "
> :CURRENT-SEQUENCE 27" "
> :RESOURCE-ID 62914561 :MAJOR" "
> 45 :MINOR 0 :SEQUENCE 26)"))
> 3: (XLIB::READ-ERROR-INPUT #<XLIB:DISPLAY :0 (The X.Org Foundation
> R11804000)> 26 #S(XLIB::REPLY-BUFFER :SIZE 32 :IBUF8 #(0 14 0 26 3 192 0 1 0
> 0 45 0 ...) :NEXT NIL :DATA-SIZE 32) #<SB-THREAD:THREAD "main thread" RUNNING
> {51C80009}>)
> 4: (XLIB::READ-INPUT #<XLIB:DISPLAY :0 (The X.Org Foundation R11804000)> NIL
> NIL #<FUNCTION (LAMBDA (XLIB::PENDING-COMMAND) :IN XLIB::READ-REPLY)
> {5125B675}> #S(XLIB::PENDING-COMMAND :SEQUENCE 27 :REPLY-BUFFER NIL :PROCESS
> #<SB-THREAD:THREAD "main thread" RUNNING {51C80009}> :NEXT NIL))
> 5: (XLIB::READ-REPLY #<unavailable argument> #<unavailable argument>)
> 6: (XLIB::QUERY-FONT #<XLIB:FONT 9x15 :0 12582913>)
> 7: (XLIB:OPEN-FONT #<XLIB:DISPLAY :0 (The X.Org Foundation R11804000)> "9x15")
> 8: (STUMPWM::INIT-SCREEN #<XLIB:SCREEN :0.0 1920x1080x24 TRUE-COLOR> 0 "")
> 9: (STUMPWM::STUMPWM-INTERNAL ":0")
> 10: (STUMPWM:STUMPWM ":0")
> 11: ((LAMBDA NIL :IN "/home/solene/dev/stumpwm/make-image.lisp"))
> 12: ((FLET #:WITHOUT-INTERRUPTS-BODY-72 :IN SAVE-LISP-AND-DIE))
>
> 13: ((LABELS SB-IMPL::RESTART-LISP :IN SAVE-LISP-AND-DIE))
>
>
> _______________________________________________
> Stumpwm-devel mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/stumpwm-devel