-
Notifications
You must be signed in to change notification settings - Fork 12
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
Screen completely black after first reboot #29
Comments
There is no pixelbook specific kernel anymore. If you do a dnf update you should pick up 5.17.5 or later. Ensure you have the latest coreboot version before doing so. I haven't heard of this before. I'll need a lot more information if you want help. |
The 5.17 kernel has the pixelbook prefix after it, so I assumed it was specifically built. What information would you need? Dmesg is honestly a mess, so I'm not sure which error is relevant and none of them seem specific enough, and I have to boot into an older kernel, as the newer one just hard crashes and reboots the device. |
Have you updated the firmware recently. There are a few traces in dmesg that are fixed by updating: |
#5 is another example where another trace was fixed by a coreboot update. This is the reason updating is called out specifically: If you have a kernel with .pixelbook in the relase it's old and should be replaced by doing a dnf update. That's definitely the case for Fedora 36 and should be true for Fedora 35 and 34 as well as updates are in stable. |
The last kernel I built was 5.17.4. This is about the point at which coreboot 4.16 became available, which fixes the typec problem. The only difference for the last several versions was that the pixelbook kernels didn't build the typec module so folks didn't have to blacklist it. There is supposedly a kernel fix in place as well, but it is not complete as I called out here: To summarize:
|
I set all this up the day I posted this. Meaning I installed Mr. Chromebox's firmware the day of (meaning yes, its' the 4.16). It pulled the 5.17.4-301.pixelbook kernel using your instructions, and the only other kernel it has is the 5.14 kernel. It's not pulling anything else using dnf, and yes it's a Pixelbook EVE. Also, weirdly enough, the person that's primarily using this machine SOMEHOW got it to boot that kernel once, but can't tell me how, and everything was working, until I tried updating again (still pulled no new kernel) and rebooting, and it's back to a black screen on boot. |
Can you share the dmesg output. If you see problems there it's probably the place to start. |
How do I get a dmesg from the 5.17 kernel that isn't working (except when I'm not looking)? |
journalctl.txt |
Sorry, maybe I misunderstood. You said dmesg was 'a mess'. This implied to me you were seeing traces and problems. And example of what this would look like: I don't see anything like that in the above. Did you see something in particular? And a stupid question: The brightness keys don't do anything? The backlight was broken and full on (or off if you set it) until 5.16. https://github.com/jmontleon/pixelbook-fedora#other-distributions / https://gitlab.freedesktop.org/drm/intel/-/issues/3680 If somehow the brightness is turned all the way down that might in part account for why the display is working with 5.14. If you run |
If you have doubt about the brightness keys functioning you can cat / echo to |
For yum contents of |
I normally use Arch, I have no idea how I'd even check that with Fedora, this is just the only project that actually has this device working and I'm tired of trying to get it to work on Arch. I'll try disabling your repo. The blacklight buttons don't work, it cleaned 68 files and said there was nothing to do, brightness there is set to 1500, I'll try setting it to 32767 and reboot. Edit: won't let me echo that value into it, says it's an invalid argument. |
Memory is fuzzy, but 1500 sounds like the value from the 5.14/5.15 kernels. Boot into the 5.17 kernel and try. Same wtih the brightness keys. They won't do anything on 5.14. Brightness was not functional until 5.16. |
Run this and you should get new kernels. Unfortunately the README instructed to lower the priority. I'll probably end up deleting the kernel package from the repo so folks can get updates like they're supposed to.
|
How do I do that when it doesn't boot? I also said that it doesn't work, I meant in the 5.17 kernel. It STILL claims that repo doesn't exist, even though I've been through and tried re-adding it twice now. |
Can you ssh into it? The dmesg output suggests it's booting OK. |
You can also just manually edit the file. Change the line |
I don't know fedoras file structure for it's repositories. Where would that one be? In arch it'd just be, /etc/pacman.conf |
Same place I suggested looking earlier |
That did it. It's now updating to the 5.17.6 kernel, and it's booting with the same issue. Let me try SSHing in. |
Well, good news, I can SSH in, I can echo the value for brightness, but the screen remains black...just brighter black. |
dmesg.txt [ 88.283356] snd_soc_skl 0000:00:1f.3: ASoC: error at soc_dai_trigger on HDMI2 Pin: -32 |
Those are audio related I have those as well and as far as I know mostly harmless.
|
What's the value in |
|
xorg.txt Edit: Looks like at 10.950 it's failing to find and ignoring the device initially. |
The end of your Xorg.log looks like you attempted to change VT, but otherwise doesn't have any errors. I have several lines similar to what you're seeing and I think they're just noise:
|
In my Xorg.0.log it finishes up like this. I don't see similar in yours, which is interesting... hard to guage whether it's a difference in Xorg between Fedora 35 and 36 or something more meaningful.
|
I literally didn't do anything other than wake it up. On boot, there's nothing, so that change in VT must be what's making it work again. As for it's current value it returns 6553, it's set pretty low at the moment. |
3283 is the lowest it went before I couldnt see anything anymore; 6553 would hopefully be visible.
Do you know what display manager you're using? If you're not even getting a login prompt maybe a different one would give different result.
If the systemctl command produces output I'd be interested in seeing it, especially if that gets you a login prompt if you're not getting one now. |
Looks like you're using sddm with the breeze theme from the journal log you attached above. There's some interesting bugs regarding blank screens with sddm after kernel updates, but nothing I could pinpoint as likely to be your exact situation. And nothing I can reproduce on Fedora 36. Trying lightdm or another as an alternative would be interesting. |
Yeah, I can turn it full bright if I want to, I'll try lightDM and report back. I thought that SDDM thing was a long dead issue. Or is it because Fedora too commits the cardinal sin of keeping it's shit WAY too out of date? |
Swapping to lightdm as you describe has seemed to make the issue worse, I can now no longer recover after putting it to sleep and waking it back up. |
After trying several times, the screen came back up, and lightdm failed with an exit code of 'exit-code', which also prevents it from connecting to wifi, so I can't SSH into it anymore either. |
Last version of sddm released appears to be 0.19.0. I was able to reproduce your issue. It's definitely sddm. Specifically sddm 0.19.0 with the sddm-breeze theme. Fedora 36 has a patched version https://bodhi.fedoraproject.org/updates/FEDORA-2022-cb655b9b47 that fixes https://bugzilla.redhat.com/show_bug.cgi?id=2070130 but it seems it wasn't updated on Fedora 35. I downgraded to the prior version of the package on Fedora 36 and same issue. Choices:
You can switch back to sddm |
If you can't get logged in via lightdm reboot:
|
I'll try switching over to 36, because lightdm is not only doing the same thing, it NEVER comes up in the first place, making it not connect to the internet. After doing all that, I'm still getting the same issue after a reboot. |
This isn't Pixelbook related. Looking at the BZ and duplicates it looks like this issue with sddm plagues a lot of hardware (Thinkpad T480, T580, etc.). If there's something you spot that is specific I can do something about let me know, otherwise the best I can recommend is using Fedora 36 and updating to the latest version of sddm, with which I can't reproduce the issue. |
Then explain why lightdm not only has the SAME issue, but actually crashes irreparably and REFUSES to start period. Because I DID that. |
I don't know. I use lightdm. It works fine for me. Perhaps it's a bug in Fedora 35 or something is misconfigured on your system. You will need to do some troubleshooting. If lightdm doesn't work for you use gdm, lxdm, kdm, xdm, or one of the myriad other display managers. If you want to use sddm I can confirm the most recent version works on Fedora 36. I can reproduce your sddm issue with a specific version and point to bugs that show others with other hardware that have experienced the same. I get you're frustrated, but there are several people who have successfully set up Fedora using the instructions here. There is plenty of evidence of that. https://github.com/jmontleon/pixelbook-fedora/issues?q=is%3Aissue If you dislike or are finding it difficult to troubleshoot on Fedora you can always use Arch or reinstall Chrome OS. |
But I'm ON 36 |
If you're using lightdm look in /var/log/lightdm/lightdm.log. Maybe there is something interesting. If you're on 36 you should have the updated sddm package. It looks like it was in the actual release. I don't have an answer.
As I said this version works fine for me.
|
You can also change the default target to multi-user.target and login at the prompt to try and troubleshoot. Start a dm, run startx, and see if your desktop displays...
When you're ready to revert |
It's apparently not finding a configuration for Lightdm greeter? And the configuration generation fails. I have the same version of SDDM you just listed |
After running it manually, it's apparently an issue with xcb missing, I'm trying to figure out what needs to be installed here, but I'm not sure. |
I don't know why you'd have to reinstall. Can be a symptom of corruption, from shutting down/rebooting during an update, bad disk, or anything in between. |
https://forum.substance3d.com/index.php?topic=29670.0 apparently it's something to do with libpng15, which was actually missing, and, new behaviour, it starts, but it's completely blank, and I still get the black screen issue where I have to close the lid, let it go to sleep, wake it up, where it stays black, but if I then ctrl + alt + "f#", it will take me to a terminal. So, this hasn't solved the issue at all, and lightdm continues to display the exact same behavior. Let me see if skipping the login screen does anything. |
Exact same behaviour. |
So, one thing, and I wasn't entirely sure about this because of MrCB's instructions, did I WANT to leave the touchpad not downgraded? I doubt it's relevant, but I'm at the end of my rope here too. |
The touchpad with 4.16 will almost never work after a reboot unless you install/enable the workaround service. It will work from a clean boot up. Something with i2c compatibility, possibly. It has been suggested downgrading might help with the issue, but I have not tried yet. Either way it shouldn't stop the display from working. The problem existed with old versions, but I don't think it was nearly as bad. Perhaps start with a clean Fedora 36 Workstation install using Gnome and see if that works. At least it will give you a baseline if it works. I know sddm can work; I don't know what is different between our two systems. Install Fedora 36 and I have seen people complain tapping the power button causes an instant reboot / suspend doesn't work. That's instant power off isn't relevant for Xfce. For Gnome someone shared the following for acpid: https://github.com/jmontleon/pixelbook-fedora#orientation - for others I have no idea. I honestly don't know about suspend issues off the top of my head. Suspend is terrible on lots of hardware. I always avoid it. Honestly, first Q in the FAQ spells out what we're all getting into. If you expect perfection, stop now. For many it works well enough with all the bandaids, duct tape, and bubble gum here. https://mrchromebox.tech/#faq |
I think you misunderstand that phrase, I simply mean I'm running out of ideas. Also, I don't want gnome. I will however state that I never had this issue with other OS', but they also had less working, without an untold amount of time required that I unfortunately don't have right now. |
Can you do me one final service, I'm looking over your PR, these need to go into grub, correct? I'm actually making remarkably good headway with Arch, and in case you ask, I'm putting a few other things off. |
Well, I'm not sure if this is because I messed something up, but it's perfectly functional by my reckoning. Touchpad works, keyboard disabling works, auto-rotate doesn't, but I think this is more a KDE issue than anything else, so not worried about that, sound works, wifi works, bluetooth works, right click works on the touchpad, but not the screen, again, no big deal ultimately IMO, brightness works, the keyboard shortcuts work, except for the keyboard brightness and start button for some reason, and the pen works, but it does have an odd behavior with it's button, it opens folders when I press it, so I'm not entirely sure what it's doing there. All in all, perfectly acceptable, and no issues with the screen being black at boot. |
I was able to reproduce the black screen with lightdm on Fedora 36 screwing around today. lightdm also needs |
After following the instructions for everything, once it reached the login screen, the screen goes black and nothing can be seen.
Edit: seems to be specific to the latest 5.17 kernel
Edit2: it seems to be the custom pixelbook kernel
The text was updated successfully, but these errors were encountered: