Skip to content
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

Gemwin only showing content in a portion of the window #437

Open
b01xy opened this issue Sep 5, 2024 · 6 comments
Open

Gemwin only showing content in a portion of the window #437

b01xy opened this issue Sep 5, 2024 · 6 comments
Assignees

Comments

@b01xy
Copy link

b01xy commented Sep 5, 2024

Detail

Hello,

With Gem installed from Debian 12 repository, Gemwin is only showing content (from pix_film or any geo) on a portion of the window on my system.

I struggled a bit because I thought it was due to a poor opengl support of my amd rizen gpu vs nvidia prime on debian but it appeared that it was the same on linuxmint 21.3.

I found that the gemdefaultwindow in [gemwin] abstraction was [gemsdlwindow].

Changing it to [gemglxwindow] solved the problem.

Changing it to [gemglfw3window] after having installed gem-plugin-glfw3 package made the problem reappear.

I can change definitely the gemdefaultwindow to [gemglxwindow]  so for me it is solved, but is it SDL now the default rendering backend in debian ?

Many thanks !

Gem Version

1:0.94-8+b1

Pd Version

0.53.1

Operating System

Linux

OS Version

Debian GNU/Linux 12 (bookworm)

Which CPU are you using?

amd64/x86_64 ("64bit Intel")

@umlaeute
Copy link
Owner

umlaeute commented Sep 8, 2024

this seems to be a duplicate of #243 (obviously on Linux, rather than macOS).

could you confirm that the problem is fixed in the git-snapshot (available on deken, if you do not want to compile yourself)?

@b01xy
Copy link
Author

b01xy commented Sep 8, 2024

quick answer :

yes : now it is [gemglxwindow] as default backend and it seems to work as expected
+/- no : I have a "gemglxwindow.pd_linux: undefined symbol: _ZN9CPPExtern8m_holderE" error in Pd console and there is a watchdog when I try to load the video in the patch that worked when I made the changes in Gemwin abstraction from deb repo as mentionned before, may be due to other reason ...

I'll make more test in the next days

Thanks
++

@umlaeute
Copy link
Owner

umlaeute commented Sep 9, 2024

yes : now it is [gemglxwindow] as default backend and it seems to work as expected

well, no. the deken-downloads should use gemglfw3window as default.
if you build Gem yourself, make sure to try with gemglfw3window (either with the --with-defaultwindow=gemgflw3window configure-flag,or by just fixing the gemdefaultwindow.pd abstraction)

+/- no : I have a "gemglxwindow.pd_linux: undefined symbol: _ZN9CPPExtern8m_holderE" error in Pd console

which indicates that you are somehow mixing "gemglxwindow.pd_linux" (e.g. from Debian) with an incompatible "Gem.pd_linux" (e.g. from deken)

@b01xy
Copy link
Author

b01xy commented Sep 10, 2024

+/- no : I have a "gemglxwindow.pd_linux: undefined symbol: _ZN9CPPExtern8m_holderE" error in Pd console

which indicates that you are somehow mixing "gemglxwindow.pd_linux" (e.g. from Debian) with an incompatible "Gem.pd_linux" (e.g. from deken)

Indeed, as a strange side effect, I was not able to load .mp4 video without a "signaling pd watchdog" and imagemagick was creating a huge magick*.pam file in /tmp/

I removed Gem from Deken and debian repository, re-installed Gem from Debian repo and changed gemdefaultwindow in [gemwin] abstraction to [gemglxwindow] via a
sudo pd
to make this change permanent

So now, everything works perfectly, but before closing this issue, a last remaining question : is it on purpose to put SDL as the default rendering backend in debian package as it doesn't allow to use all the space of a Gemwin window ?

thks

@umlaeute
Copy link
Owner

Indeed, as a strange side effect, I was not able to load .mp4 video without a "signaling pd watchdog" and imagemagick was creating a huge magick*.pam file in /tmp/

#297

I removed Gem from Deken and debian repository, re-installed Gem from Debian repo and changed gemdefaultwindow in [gemwin] abstraction to [gemglxwindow] via a sudo pd to make this change permanent

the proper way is to to run

sudo update-alternatives --config gemdefaultwindow.pd

So now, everything works perfectly, but before closing this issue, a last remaining question : is it on purpose to put SDL as the default rendering backend in debian package as it doesn't allow to use all the space of a Gemwin window ?

probably not.
i guess the priorities should be ajdusted (but that's a Debian bug; feel free to report it with reportbug gem


as a sidenote: i would still be interested to see whether the current git snapshot of Gem has this problem (with [gemglfw3window]!) or not.

@b01xy
Copy link
Author

b01xy commented Sep 17, 2024

the proper way is to to run

sudo update-alternatives --config gemdefaultwindow.pd

ah yes, thanks !

probably not. i guess the priorities should be ajdusted (but that's a Debian bug; feel free to report it with reportbug gem

ok I tried quickly but I need to take more time to configure the smtp server in this context and acheive the bug report

as a sidenote: i would still be interested to see whether the current git snapshot of Gem has this problem (with [gemglfw3window]!) or not.

I will give it a try at one moment ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants