Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Architectures & Platforms Gentoo on ARM
  • Search

[SOLVED] Raspberry Pi 5 graphics not working

Gentoo on all things ARM. Both 32 bit and 64 bit.
Tell about your hardware and CHOST.
Problems with crossdev targeting ARM hardware go here too.
Post Reply
  • Print view
Advanced search
30 posts
  • Previous
  • 1
  • 2
Author
Message
HuskyDog
Tux's lil' helper
Tux's lil' helper
Posts: 87
Joined: Thu Feb 20, 2003 1:16 pm
Location: Wiltshire, UK

  • Quote

Post by HuskyDog » Mon Dec 04, 2023 6:34 pm

Mr Seagoon,
The missing incantation that PiOS has that Gentoo has just acquired is ..
IT WORKS!!! :D :D :D

Thank you very much for your efforts on this. I've no idea how long it would have taken me to figure this out!

I guess that someone (hopefully you) now needs to (a) add this to the "Gentoo Raspberry Pi Install Guide" and (b) get the developers to somehow add this to the xorg ebuild.

If I strike any more problems I will let you know, but for now I will mark this thread as "Solved".

I'll keep an eye on Plasma 6 and once it stabilises on arm64 I'll look to switch over to Wayland. Perhaps by then it will be rather less painful.

Cheers,

Huskydog
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56075
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Mon Dec 04, 2023 6:56 pm

pingtoo,

config.txt is

Code: Select all

# have a properly sized image
disable_overscan=1

# Enable audio (loads snd_bcm2835)
dtparam=audio=on

# Enable DRM VC4 V3D driver
dtoverlay=vc4-kms-v3d
max_framebuffers=2

# There is also
# Enable DRM VC4 V3D driver
#dtoverlay=vc4-fkms-v3d
# which is fake kms. Its a wrapper arounh the blob driver

# Don't have the firmware create an initial video= setting in cmdline.txt.
# Use the kernel's default instead.
disable_fw_kms_setup=1

# Run in 64-bit mode
arm_64bit=1
Some of that I had already.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
pingtoo
Advocate
Advocate
User avatar
Posts: 2180
Joined: Fri Sep 10, 2021 8:37 pm
Location: Richmond Hill, Canada

  • Quote

Post by pingtoo » Mon Dec 04, 2023 7:22 pm

NeddySeagoon wrote:pingtoo,

config.txt is

Code: Select all

# have a properly sized image
disable_overscan=1

# Enable audio (loads snd_bcm2835)
dtparam=audio=on

# Enable DRM VC4 V3D driver
dtoverlay=vc4-kms-v3d
max_framebuffers=2

# There is also
# Enable DRM VC4 V3D driver
#dtoverlay=vc4-fkms-v3d
# which is fake kms. Its a wrapper arounh the blob driver

# Don't have the firmware create an initial video= setting in cmdline.txt.
# Use the kernel's default instead.
disable_fw_kms_setup=1

# Run in 64-bit mode
arm_64bit=1
Some of that I had already.
Thank you very much for confirmation.

Not I am less worry, As long as firmware blob can be loaded there is a way to make driver work.
Top
Nsane457
n00b
n00b
User avatar
Posts: 45
Joined: Thu Nov 25, 2004 9:15 am
Contact:
Contact Nsane457
Website

  • Quote

Post by Nsane457 » Sun Mar 03, 2024 5:25 am

I installed minimal wayland-only plasma DE on my new RPi5 (i.e., kde-plasma/plasma-desktop only). I modified the SDDM ebuild to omit xorg-server. I setup sddm to use kwin instead of weston. And after frustratingly trying to start with sddm or startplasma_wayland for hours until stumbling on this thread, it seems all I had to do was add

Code: Select all

dtoverlay=vc4-kms-v3d
to config.txt and reboot.

:D
Top
e8root
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 94
Joined: Fri Feb 09, 2024 3:41 pm

  • Quote

Post by e8root » Tue Apr 02, 2024 7:03 am

NeddySeagoon wrote:HuskyDog,

PiOS has dropped Xorg support on the Pi5. Its Wayland only.

The next step is to try with Wayland. That's building now.
After that, if Wayland fails, its unpick PiOS..
I don't remember any such announcements.
Wayland is the default and you can easily change to X11 in Raspbian.

Not to mention total switch to Wayland would be a bit premature given very poor state of GPU drivers and given how Raspian is designed to run on multiple generations of RPi hardware it would be pointless to drop X11 support just to have to release separate image for RPi4 and/or RPi5 given RPi3 does not support Wayland and needs to ship with Xorg.

OpenGL/Vulkan side of things is even more stable/usable on Wayland than on X11 but Wayland performance is atrocious.
Given the limited hardware performance it cannot ever be "very good" but without proper scheduling that allows composition to start before other issued draw calls finished compositing quickly becomes extremely slow including choppy mouse cursor movement. Should this be fixedand we at most get some stuttering on heavy GPU load but otherwise at least workable compositing performance we might see support for X11 dropped. I would not expect such things happening in 2024.
Unix Wars - Episode V: AT&T Strikes Back
Top
Post Reply
  • Print view

30 posts
  • Previous
  • 1
  • 2

Return to “Gentoo on ARM”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy