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

Can not load video from installation on Ubuntu 22.04 #146

Open
chfbao opened this issue Apr 29, 2024 · 7 comments
Open

Can not load video from installation on Ubuntu 22.04 #146

chfbao opened this issue Apr 29, 2024 · 7 comments

Comments

@chfbao
Copy link

chfbao commented Apr 29, 2024

Describe the issue:

When click on the gui menu, it gave Ignoring window icon 4533780 exceeds maximum xcb request length 4194303 and then nothing happens after, videos not show up in the GUI. I have tried both install using 'python -m pip install facemap[gui]` and install from the repo, both installations gave the same warnings and the video data can not be loaded.

Provide environment info:

python -m facemap

facemap version: 	1.0.7.dev5+g7f6981c
platform:       	linux
python version: 	3.8.13
torch version:  	2.3.0+cu121
numpy version:  	1.24.4
** TORCH CUDA version installed and working. **

Error message:

Ignoring window icon 4533780 exceeds maximum xcb request length 4194303
Ignoring window icon 4533780 exceeds maximum xcb request length 4194303
Ignoring window icon 4533780 exceeds maximum xcb request length 4194303
Ignoring window icon 4533780 exceeds maximum xcb request length 4194303
@Atika-Syeda
Copy link
Collaborator

Hi @chfbao that warning isn't related to video loading. Can you please share how you load the video i.e. via command line or file browser? There's also a drag and drop option.

@chfbao
Copy link
Author

chfbao commented May 1, 2024

Hi @Atika-Syeda , I was using file browser and got the warning Ignoring window icon 4533780 exceeds maximum xcb request length 4194303. And each time I click on the menu in the GUI, the same warning appears, and then nothing loads. I also tried drag and drop, but encountered the same issue, nothing loads. I suspect there may be an issue with the installation of the GUI, causing it to not respond correctly (By the way, I tried version 1.0.7, and 1.0.6, same issure). Is there a debug mode available that I can use to gather more information? Thanks.

@Atika-Syeda
Copy link
Collaborator

Hi @chfbao can you please try facemap v1.03 with pyqt5?

@chfbao
Copy link
Author

chfbao commented May 7, 2024

Hi @Atika-Syeda , I just tried v1.03, there's no above warnings anymore, but still the video can not be loaded properly.

facemap version: 	1.0.3
platform:       	linux
python version: 	3.8.19
torch version:  	2.3.0+cu121
numpy version:  	1.24.4

** TORCH CUDA version installed and working. **

@Atika-Syeda
Copy link
Collaborator

Can you please share more information about the video (file size, extension, etc)?

@chfbao
Copy link
Author

chfbao commented May 7, 2024

The file size is about 600 MB, 120 fps, 640 * 480 resolution. I just tried to load the data using a borrowed win11, seems it works well, video and frames can be loaded correctly. But only the Ubuntu installation can not work.

@Atika-Syeda
Copy link
Collaborator

Hi @chfbao thanks for sharing the info. I'm happy to look into it further. I can test on Ubuntu 20 so if you can please share a sample video to this email: syedaa[at]janelia.hhmi.org.

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