cross-platform / icloud-for-linux

Access all of your favourite iCloud apps from Linux
https://snapcraft.io/icloud-for-linux
GNU General Public License v3.0
381 stars 56 forks source link

OpenGL issues cause blank window (using amdgpu driver) #18

Closed socketbox closed 4 years ago

socketbox commented 4 years ago
System:    Host: Deluxe Kernel: 4.15.0-111-generic x86_64 bits: 64 Desktop: Cinnamon 4.4.8 Distro: Linux Mint 19.3 Tricia 
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] driver: amdgpu 
           v: 19.10.9.418 
           Display: x11 server: X.Org 1.19.6 driver: amdgpu resolution: 2560x1440~60Hz, 2560x1440~60Hz 
           OpenGL: renderer: AMD Radeon RX 480 Graphics v: 4.6.13556 Core Profile Context 19.10.9.418 

I get nothing but a blank white window when attempting to open the app (or any of its variants). Here's what shows up in the terminal if I invoke it via command-line:

(waypin) [2020-07-20 ☱ 00:29 ☴  dist]$ icloud-for-linux.photos                                                            
/usr/share/libdrm/amdgpu.ids: No such file or directory                                                                   
libGL error: No matching fbConfigs or visuals found                                                                       
libGL error: failed to load driver: radeonsi                                                                              
/usr/share/libdrm/amdgpu.ids: No such file or directory                                                                   
mesa: for the   --simplifycfg-sink-common option: may only occur zero or one times!              
mesa: for the   --global-isel-abort option: may only occur zero or one times!                                  
libGL error: No matching fbConfigs or visuals found                           
libGL error: failed to load driver: radeonsi                                                                              
libGL error: No matching fbConfigs or visuals found                                                                       
libGL error: failed to load driver: swrast                                                                                
Qt: Session management error: None of the authentication protocols specified are supported                                
"/home/chb/code/fun/cineist/poc/dist/photos" does not exist.                                                              
"/home/chb/code/fun/cineist/poc/dist/iCloud Photos" does not exist.                                                       
[27839:27839:0720/003946.259652:FATAL:credentials.cc(155)] Check failed: NamespaceUtils::DenySetgroups(). : Permission denied
#0 0x7f2a36b97aee <unknown>                                                                                               
#1 0x7f2a36baa0e2 <unknown>                                                                                               
#2 0x7f2a36bab45c <unknown>                                                                                               
#3 0x7f2a3771fb21 <unknown>                                                   
#4 0x7f2a377202dd <unknown>                                                   
#5 0x7f2a367b4527 <unknown>                                                   
#6 0x7f2a3645fd48 <unknown>                                                   
#7 0x7f2a36463262 <unknown>                                                   
#8 0x7f2a36251a9b <unknown>                                                                                               
#9 0x7f2a36252bd5 <unknown>                                                                                               
#10 0x7f2a361e74f1 QtWebEngineCore::BrowserContextAdapter::defaultContext()                                               
#11 0x7f2a9f3af3b5 QQuickWebEngineProfile::defaultProfile()                                                               
#12 0x7f2a9f3b6dba QQuickWebEngineViewPrivate::QQuickWebEngineViewPrivate()                                               
#13 0x7f2a9f3b7c9b QQuickWebEngineView::QQuickWebEngineView()                                                             
#14 0x7f2a9f5ef27b <unknown>                                                  
#15 0x7f2ab3192962 QQmlType::create()                                         
#16 0x7f2ab3203146 QQmlObjectCreator::createInstance()                        
#17 0x7f2ab32053da QQmlObjectCreator::setPropertyBinding()                    
#18 0x7f2ab3205e11 QQmlObjectCreator::setupBindings()                         
#19 0x7f2ab3202ba6 QQmlObjectCreator::populateInstance()                      
#20 0x7f2ab320397c QQmlObjectCreator::createInstance()                        
#21 0x7f2ab3206c6c QQmlObjectCreator::create()                                
#22 0x7f2ab317d408 QQmlComponentPrivate::beginCreate()                        
#23 0x7f2ab317b74f QQmlComponent::create()                                                                                
#24 0x561fc88efc5a <unknown>                                                                                              
#25 0x7f2ab0d3bb97 __libc_start_main                                                                                      
#26 0x561fc88f1ada <unknown>                                                                                              

[27675:27856:0720/003946.467083:ERROR:gl_context_glx.cc(187)] Failed to create GL context with glXCreateContextAttribsARB.
[27675:27856:0720/003946.467159:ERROR:gpu_info_collector.cc(50)] gl::init::CreateGLContext failed
[27675:27856:0720/003946.467183:ERROR:gpu_info_collector.cc(118)] Could not create context for info collection.
Xlib: sequence lost (0x102a9 > 0x2ab) in reply type 0x0!                      
[27675:27856:0720/003946.575157:ERROR:gl_context_glx.cc(187)] Failed to create GL context with glXCreateContextAttribsARB.
[27675:27856:0720/003946.640575:ERROR:gl_context_glx.cc(187)] Failed to create GL context with glXCreateContextAttribsARB.
[27675:27856:0720/003946.693100:ERROR:gl_context_glx.cc(187)] Failed to create GL context with glXCreateContextAttribsARB.
[27675:27856:0720/003946.696520:ERROR:gl_context_glx.cc(187)] Failed to create GL context with glXCreateContextAttribsARB.
[27675:27844:0720/003946.698266:ERROR:nss_ocsp.cc(591)] No URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com
[27675:27844:0720/003946.698319:ERROR:nss_ocsp.cc(591)] No URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com
[27675:27844:0720/003946.698400:ERROR:nss_ocsp.cc(591)] No URLRequestContext for NSS HTTP handler. host: crl3.digicert.com
[27675:27844:0720/003946.700426:ERROR:nss_ocsp.cc(591)] No URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com
[27675:27844:0720/003946.700474:ERROR:nss_ocsp.cc(591)] No URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com
[27675:27844:0720/003946.700530:ERROR:nss_ocsp.cc(591)] No URLRequestContext for NSS HTTP handler. host: crl3.digicert.com
QOpenGLShaderProgram: could not create shader program
QOpenGLShader: could not create shader
QOpenGLShader: could not create shader
shader compilation failed:
""
QOpenGLShaderProgram::uniformLocation(matrix): shader program is not linked
QOpenGLShaderProgram::uniformLocation(opacity): shader program is not linked
QOpenGLShaderProgram: could not create shader program
QOpenGLShader: could not create shader
QOpenGLShader: could not create shader
shader compilation failed:
""
MarcusTomlinson commented 4 years ago

This appears to be an open issue in snapd: https://forum.snapcraft.io/t/problem-with-libdrm-and-amdgpu-pro/9421

According to https://forum.snapcraft.io/t/problem-with-libdrm-and-amdgpu-pro/9421/14, a workaround is to uninstall the amdgpu-pro proprietary driver and install only the open source amdgpu driver.