sakaki- / gentoo-on-rpi-64bit

Bootable 64-bit Gentoo image for the Raspberry Pi4B, 3B & 3B+, with Linux 5.4, OpenRC, Xfce4, VC4/V3D, camera and h/w codec support, weekly-autobuild binhost
GNU General Public License v3.0
921 stars 126 forks source link

Lost DRI after update? #41

Closed pronvit closed 6 years ago

pronvit commented 6 years ago

I installed the latest released image and was doing some OpenGL-related development. Installed some additional packages, and removed some that I didn't need to save space (mainly office, java, media players). Noticed that something was using CPU and eating disk space, it turned out to be the genup script (I thought it should start only after a week or so?). I waited for it to finish, then rebooted. After reboot, OpenGL didn't work anymore because DRI /dev/dri/* didn't exist, and X also failed to load software renderer as well (no such file). DRM and VC4 kernel modules were not loaded - not sure if they should be, if I load them manually nothing seems to happen. Everything else seems to work, just no OpenGL anymore. What went wrong?

sakaki- commented 6 years ago

Apologies - I am working on a new release (with support for the RPi 3 B+) and enabled the 4.14 kernel; this may have been somewhat premature though, so I've now rolled back the mask. What kernel version do you have now (uname -r)?

pronvit commented 6 years ago

Yep, 4.14.27-v8-4d78845fd711+ it is.

Downgrading fixed it, thanks!

sakaki- commented 6 years ago

Apologies, had to step away from my workstation there for a while: assume you got it sorted, since you closed the issue, but for reference (in case anyone else has the same problem), you just need to issue:

pi64 ~ # emaint sync --repo rpi3
pi64 ~ # emerge -av1 bcmrpi3-kernel-bin
pronvit commented 6 years ago

Yep, just a simple emerge --sync && emerge bcmrpi3-kernel-bin did downgrade.