-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fbpdf functionality in arch in wayland gnome mutter #16
Comments
@aligrudi Why does fbpdf not work if x is running? |
Okay I have unset DISPLAY hoping that would launch it but then I get a linking error xwayland info:
Header incompatabilities
but I back linked
|
LaptopDev ***@***.***> wrote:
xwayland info:
```
laptop:~$ Xwayland -version
The X.Org Foundation Xwayland Version 24.1.4 (12401004)
X Protocol Version 11, Revision 0
laptop:~$ ^C
laptop:~$ env | grep DISPLAY
WAYLAND_DISPLAY=wayland-0
GNOME_SETUP_DISPLAY=:1
DISPLAY=:0
```
When X11 or Wayland is using the graphics card via DRM, the
framebuffer device does not work.
Header incompatabilities
```
laptop:~/source/git/fbpdf$ realpath fbpdf
/home/user/source/git/fbpdf/fbpdf
laptop:~/Downloads$ unset DISPLAY && /home/user/source/git/fbpdf/fbpdf 'Patterns of Debate Failure and Types of Debate outcomes.pdf'
cannot create context: incompatible header (1.25.1) and library (1.25.2) versions
Segmentation fault (core dumped)
```
But I back linked
```
laptop:/usr/lib$ ls |grep mupdf
libmupdf.so
libmupdf.so.25.1
libmupdf.so.25.2
libmupdfcpp.so
libmupdfcpp.so.25.2
laptop:/usr/lib$ file libmupdf.so.25.1
libmupdf.so.25.1: symbolic link to /usr/lib/libmupdf.so.25.2
laptop:/usr/lib$
```
This seems like a linking problem (the program being linked with one
version of the library and executed with another).
Ali
|
Could you please provide the minimal cc command required to compile and link fbpdf directly without
I removed some dependencies and compiled each object file and am incurring a previous issue in earlier attempts to install the program. Compiling step by step
/usr/lib
Looks like it will run / partially runs
Ensuring not x11 running prior to command send:
|
LaptopDev ***@***.***> wrote:
Could you please provide the minimal cc command required to compile and link fbpdf directly without `make`?
The Makefile itself includes commands for building and linking fbpdf.
I suggest keeping only one version of the mupdf library and removing
the other, before building fbpdf.
Ali
|
Oh I'm sorry, I didn't understand that framebuffer applications are designed to run in a real TTY, I can run fbpdf outside of GDM with control+alt+F3. I initially was interested in fbpdf with mupdf because I thought it would be a bit easier to work with digital books quickly from within a kitty terminal in my desktop environment. I asked a chatbot, it suggest I'd want to use xvfb but want to know if that's right or what you'd recommend if you have suggestions. Thanks |
Fbpdf won't work, if X is running.
Originally posted by @aligrudi in #15 (comment)
The text was updated successfully, but these errors were encountered: