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

Failing to set graphics mode changes the displayed mode #387

Open
wash2 opened this issue Feb 20, 2023 · 0 comments
Open

Failing to set graphics mode changes the displayed mode #387

wash2 opened this issue Feb 20, 2023 · 0 comments

Comments

@wash2
Copy link

wash2 commented Feb 20, 2023

Distribution
NAME="Pop!_OS"
VERSION="22.04 LTS"
ID=pop
ID_LIKE="ubuntu debian"
PRETTY_NAME="Pop!_OS 22.04 LTS"
VERSION_ID="22.04"
HOME_URL="https://pop.system76.com"
SUPPORT_URL="https://support.system76.com"
BUG_REPORT_URL="https://github.com/pop-os/pop/issues"
PRIVACY_POLICY_URL="https://system76.com/privacy"
VERSION_CODENAME=jammy
UBUNTU_CODENAME=jammy
LOGO=distributor-logo-pop-os

Related Application and/or Package Version
system76-power:
Installed: 1.1.24~1674505745~22.04~c504ff6
Candidate: 1.1.24~1674505745~22.04~c504ff6
Version table:
*** 1.1.24~1674505745~22.04~c504ff6 1001
500 http://apt.pop-os.org/staging/master jammy/main amd64 Packages
1001 http://apt.pop-os.org/release jammy/main amd64 Packages
100 /var/lib/dpkg/status

Issue/Bug Description:
Testing with cosmic-epoch using a system-extension, setting graphics mode fails due to a read only file system. As expected, an error is returned, but afterward, checking the graphics mode, it will have "changed" despite failing. Examples:

me@pop-os:~$ system76-power graphics
nvidia

me@pop-os:~$ system76-power graphics integrated
setting graphics to integrated
daemon returned an error message: "failed to access Xserver config: Read-only file system (os error 30)"

me@pop-os:~$ system76-power graphics
compute

me@pop-os:~$ system76-power graphics nvidia
setting graphics to nvidia
daemon returned an error message: "failed to access Xserver config: Read-only file system (os error 30)"

me@pop-os:~$ system76-power graphics
nvidia

Steps to reproduce:
Install cosmic-epoch via system-extension.
Try changing the graphics mode.
Check the graphics mode after failure.

Expected behavior:
If setting graphics mode fails, an error should be returned and the mode shouldn't change.

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

1 participant