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

Fix crash: 'Failed to create OpenGL context'. #4821

Merged
merged 1 commit into from
Aug 5, 2022

Conversation

allexzander
Copy link
Contributor

Signed-off-by: allexzander blackslayer4@gmail.com

This is to fix the "Error: Failed to create OpenGL context for format QSurfaceFormat(). This is most likely caused by not having the necessary graphics drivers installed" on Windows 11.

Signed-off-by: allexzander <blackslayer4@gmail.com>
@nextcloud-desktop-bot
Copy link

AppImage file: Nextcloud-PR-4821-ff0a058f660354b69db603c93669e794f201ad2b-x86_64.AppImage

To test this change/fix you can simply download above AppImage file and test it.

Please make sure to quit your existing Nextcloud app and backup your data.

Copy link
Collaborator

@mgallien mgallien left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure why you were getting a crash
probably better to allow hardware acceleration

@sonarcloud
Copy link

sonarcloud bot commented Aug 5, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@codecov
Copy link

codecov bot commented Aug 5, 2022

Codecov Report

Merging #4821 (ff0a058) into master (feffc25) will decrease coverage by 0.12%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #4821      +/-   ##
==========================================
- Coverage   56.79%   56.67%   -0.13%     
==========================================
  Files         138      138              
  Lines       17143    17143              
==========================================
- Hits         9737     9716      -21     
- Misses       7406     7427      +21     
Impacted Files Coverage Δ
src/libsync/vfs/cfapi/hydrationjob.cpp 52.68% <0.00%> (-3.77%) ⬇️
src/libsync/vfs/cfapi/vfs_cfapi.cpp 85.09% <0.00%> (-2.36%) ⬇️
src/libsync/vfs/cfapi/cfapiwrapper.cpp 72.89% <0.00%> (-1.37%) ⬇️
src/libsync/syncengine.cpp 86.65% <0.00%> (-0.55%) ⬇️
src/libsync/propagatedownload.cpp 65.33% <0.00%> (+0.14%) ⬆️

@mgallien mgallien merged commit 227e0ed into master Aug 5, 2022
@mgallien mgallien deleted the bugfix/opengl-context-failure branch August 5, 2022 14:15
@mgallien mgallien added this to the 3.6.0 milestone Sep 2, 2022
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

Successfully merging this pull request may close these issues.

4 participants