Closed jonnymaserati closed 3 years ago
Are you using X11 or Wayland?
echo $XDG_SESSION_TYPE
Could you also let me know what output you get from:
snap remove icloud-for-linux
snap install icloud-for-linux --devmode
icloud-for-linux.drive
@MarcusTomlinson thanks for the prompt response!
Using x11
With --devmode
then I get the log-in screen and can now successfully log in, so that's progress!
However, I still get an error:
$ icloud-for-linux.drive
/usr/share/libdrm/amdgpu.ids: No such file or directory
Qt: Session management error: None of the authentication protocols specified are supported
Sandboxing disabled by user.
js: Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
ok, can you try:
snap remove icloud-for-linux
snap install icloud-for-linux --candidate
icloud-for-linux.drive
and share the output.
If you still get a blank screen, try:
snap connect icloud-for-linux:netlink-connector
icloud-for-linux.drive
Thanks!
Thanks @MarcusTomlinson
After following your first code block, I indeed am back to a blank window with the following errors:
$ icloud-for-linux.drive
libGL error: MESA-LOADER: failed to retrieve device information
libGL error: MESA-LOADER: failed to open amdgpu (search paths /snap/icloud-for-linux/211/usr/lib/x86_64-linux-gnu/dri)
libGL error: failed to load driver: amdgpu
libGL error: MESA-LOADER: failed to retrieve device information
libGL error: MESA-LOADER: failed to open amdgpu (search paths /snap/icloud-for-linux/211/usr/lib/x86_64-linux-gnu/dri)
libGL error: failed to load driver: amdgpu
Qt: Session management error: None of the authentication protocols specified are supported
Sandboxing disabled by user.
[227770:227986:1119/150714.001219:ERROR:address_tracker_linux.cc(158)] Could not create NETLINK socket: Operation not permitted (1)
[227770:227993:1119/150714.386950:ERROR:platform_shared_memory_region_posix.cc(222)] Creating shared memory in /dev/shm/.org.chromium.Chromium.o5Gjq7 failed: Permission denied (13)
[227770:227770:1119/150714.855709:ERROR:platform_shared_memory_region_posix.cc(222)] Creating shared memory in /dev/shm/.org.chromium.Chromium.ZEeBO5 failed: Permission denied (13)
[227770:228004:1119/150714.870762:ERROR:zygote_host_impl_linux.cc(259)] Failed to adjust OOM score of renderer with pid 228005: Permission denied (13)
[227770:227993:1119/150715.998274:ERROR:platform_shared_memory_region_posix.cc(222)] Creating shared memory in /dev/shm/.org.chromium.Chromium.ugH176 failed: Permission denied (13)
After following your second code block (the net link seemed to work okay), I still get an empty window and the following errors (they look the same as above).
$ icloud-for-linux.drive
libGL error: MESA-LOADER: failed to retrieve device information
libGL error: MESA-LOADER: failed to open amdgpu (search paths /snap/icloud-for-linux/211/usr/lib/x86_64-linux-gnu/dri)
libGL error: failed to load driver: amdgpu
libGL error: MESA-LOADER: failed to retrieve device information
libGL error: MESA-LOADER: failed to open amdgpu (search paths /snap/icloud-for-linux/211/usr/lib/x86_64-linux-gnu/dri)
libGL error: failed to load driver: amdgpu
Qt: Session management error: None of the authentication protocols specified are supported
Sandboxing disabled by user.
[228400:228505:1119/150950.850505:ERROR:address_tracker_linux.cc(158)] Could not create NETLINK socket: Operation not permitted (1)
[228400:228510:1119/150950.870485:ERROR:platform_shared_memory_region_posix.cc(222)] Creating shared memory in /dev/shm/.org.chromium.Chromium.8CAorK failed: Permission denied (13)
[228400:228400:1119/150950.888373:ERROR:platform_shared_memory_region_posix.cc(222)] Creating shared memory in /dev/shm/.org.chromium.Chromium.Rj127J failed: Permission denied (13)
[228400:228522:1119/150950.890856:ERROR:zygote_host_impl_linux.cc(259)] Failed to adjust OOM score of renderer with pid 228523: Permission denied (13)
[228400:228510:1119/150950.911961:ERROR:platform_shared_memory_region_posix.cc(222)] Creating shared memory in /dev/shm/.org.chromium.Chromium.rdyTPJ failed: Permission denied (13)
So your --devmode
code works but not the others?
You sure you have the non-pro (opensource) amd drivers installed? (see: https://forum.snapcraft.io/t/problem-with-libdrm-and-amdgpu-pro/9421/14)
Very odd.
Did you get any errors from the snap connect icloud-for-linux:netlink-connector
call?
Yep, I uninstalled amdgpu-pro
and I just checked the /opt/amggpu-pro
folder... it's there but just has empty folders.
Yes, the snap connect icloud-for-linux:netlink-connector
call appears to work (there's no errors).
Alright, I suppose your only option at this point is --devmode
(which means the app will have to run unconfined). Sorry about that. I'll let you know if I have any other ideas. Thank you for taking the time to help!
Thanks for taking the time to check it out!
I've just pushed another version to candidate. When you get a moment, could you please try these steps again: https://github.com/cross-platform/icloud-for-linux/issues/29#issuecomment-730362801.
Hi @MarcusTomlinson... I just tried the new --candidate
but same outcome:
$ icloud-for-linux.drive
libGL error: MESA-LOADER: failed to retrieve device information
libGL error: MESA-LOADER: failed to open amdgpu (search paths /snap/icloud-for-linux/212/usr/lib/x86_64-linux-gnu/dri)
libGL error: failed to load driver: amdgpu
libGL error: MESA-LOADER: failed to retrieve device information
libGL error: MESA-LOADER: failed to open amdgpu (search paths /snap/icloud-for-linux/212/usr/lib/x86_64-linux-gnu/dri)
libGL error: failed to load driver: amdgpu
Qt: Session management error: None of the authentication protocols specified are supported
Sandboxing disabled by user.
[8537:8745:1122/105139.636000:ERROR:address_tracker_linux.cc(153)] Could not create NETLINK socket: Operation not permitted
[8537:8537:1122/105140.270229:ERROR:shared_memory_posix.cc(283)] Creating shared memory in /dev/shm/.org.chromium.Chromium.W6MKFg failed: Permission denied
[8537:8752:1122/105140.285325:ERROR:zygote_host_impl_linux.cc(277)] Failed to adjust OOM score of renderer with pid 8762: Permission denied
js: Uncaught ReferenceError: jstProcess is not defined
--devmode
continues to work though.
Ok thanks for the update!
I'm not able to use any of the apps. I just get a blank window like this.
With the following errors.
I've removed the
amdgpu-pro
drivers and installed the latest 20.45amdgpu
drivers as well as reinstalling thelibgl1-mesa-dev
, but none of these have helped remedy this issue.