Giter Club home page Giter Club logo

cachyos-handheld's Introduction

Cachyos-Handheld-Edition

Handheld Edition of CachyOS

This will include our own calamares, adjusted desktop and scripts for proper installation on handhelds. We will provide only the online installation, so an internet connection will be mandatory.

Currently it is not planned to support more bootloaders, but if there is any interest we can simply add them as in our default ISOs, for now we will default to systemd-boot. There will be support for 5 different filesystems:

  • xfs
  • ext4
  • btrfs (default)
  • zfs
  • bcachefs

There will also be automatic snapshotting implemented, to make it easy for users to rollback if they run into issues. Bcachefs could be generally a good idea for handhelds, but it is not fully ready yet and we don't suggest it for now.

Features

  • scx_lavd used as default scheduler - LAVD is a latency sensitive scheduler, which is intended to be used for handhelds and gaming
  • Steam Deck like Steam Expierence
  • Gamescope Session properly implemented
  • Kernel Patched to have support for Steam Deck OLED
  • Steam Deck OLED Firmware included as default
  • HDR correctly implemented via kernel patches
  • All dependecies and packages bundled for a proper gaming expierence (cachyos-gaming-meta)
  • Support for Winesync/Fastsync/NTSync
  • BBRv3 used as default
  • OpenRGB Patches included
  • Screensharing for Discord (via xwaylandvideobridge)
  • CachyOS Kernel
  • CachyOS Repository (all packages compiled with avx2/avx512 including auto detection for cpu support)
  • Orientation patches for several handheld devices
  • Support for Rog Ally patched in the kernel
  • Fixes and improvements for VRR on AMD

Planned

  • Improve the experience further to provide a Steam Deck similar experience to SteamOS
  • Provide the Steam Deck Themes
  • Enhance Hardware Support

Device specific / Officially supported devices

Device specific customizations are mainly provided by the chwd profiles Profiles and the kernel.

Steam Deck

Valve's powerbuttond is used to handle power button events
Steam is used for controller support.

ROG Ally

Handheld Daemon (HHD) is used by default to provide power button handling and controller support.
Rogue enemy is an alternative that provides power profile switching and controller support.

Lenovo Legion

Handheld Daemon (HHD) is used by default to provide power button handling and controller support.

Non Officially supported hardware.

On not tested/supported hardware, you may face issues such as wrong screen orientation, missing sound, etc. HHD is not enabled automatically on unknown hardware, as such it must be enabled for specific controllers to work.

Desktop Support

it is generally planned to enhance the support further also for desktops. This generally already works, but swichting the gamesession on Desktops could show problems.

Additonal Information

How can I disable scx_lavd and use the BORE/EEVDF Scheduler?

This can be simply done with following:

sudo systemctl disable scx.service
sudo systemctl mask scx.service

How can I change the default desktop scaling?

For unofficially support devices the scaling is provided by KDE.
For officially supported devices (deck, ally, legion go, etc) the scaling is provided by a custom deckscale script.
The values used by this script can be configured using the configuration file located at ~/.config/deckscale
If this file does not exist for you, create it and add the contents from this file.

Credit to:

  • ChimeraOS
  • Ripplingsnake
  • Manjaro (Phillip Müller for the base deckify package)

Maintainers

  • Pogogo007 (Nekoh)
  • ptr1337

cachyos-handheld's People

Contributors

pogogo007 avatar ptr1337 avatar ripplingsnake avatar zqpvr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

cachyos-handheld's Issues

Wifi 6e on rog ally

Seems like wifi 6e isn't working on cachyos. It doesn't find it or anything. On bazzite it finds it but can't connect. While in windows there is no issues.

[ISSUE] Suspending and wakeup

Well everything worked fine on CachyOS Rog Ally, Since 1 or 2 days it makes strange issues since HHD Latest Updates. If i go sleep mode the LEDS act weird low dimmed red and wake up the ally no RGB no Controller support have to Hard reset the device everytime.

Indeed not very nice since 2 updates before everything worked as indeed , i feel like all this Fast Out off control Updates u guys make with HHD , just ruins this good software into Oblivion.

There are problems with RGBs , Spiral doesnt do anything beside stay Black , Sleep Mode break the controller support and HHD RGB LEDS , and controll of UI. The Configurations ask for token often even if the token is right it doesnt connect it say DOES HHD RUNN ?

Its annoying as F*** at this moment :)

EDIT : after that wake up where the side Buttons doesnt work and the LEDS , if i put the rog a second time in sleep and wake up suddenly works , so in short to explain . 1. the rog runs and controller and leds work , 2. i put sleep , no leds no side buttons after first wake up, 3. if i put again a second time to sleep and wake up a second time suddenly leds work and controller side buttons too. strange :( so i have to sleep , wake , sleep , wake to get it work .

Also i noticed now that when i put sleep and charge , after some seconds it wakes up hisself without me touching it ;( wtf is wrong ?

353659833-7dd2454a-975d-44f2-8d62-662e8813a862.mp4

Holding power button does not open power menu on ROG Ally

After some testing with a HHD developer. It seems the ally power button does not send the hold event required for the power menu to show up. Therefore opening power menu is theoretically impossible for now.
However if someone has more info feel free to reach out.

Protontricks doesnt work and ISSUES with winetricks

Hello there im not sure if this is the right place to write about this problem i have.

I tryed to install protontricks , becasue winetricks thats allready preinstalled but full of errors .

How ca i fix this problem becasue without protontricks i cant install VCruntimes for the Games.

Ventoy

Just updated ventoy and now it's a different error PXL_20240524_141649759.jpg

It's a fresh download also

RyzenADJ TDP

Hello Dear Developers

I think we dont have RyzenADJ on cachyOS i try allready to install it in 3 different ways none of them worked . is there a special way of installing it . Becasue Feels like SimpleDeckyTDP doesnt work properly even if i set to 7-11 Watt the ROG ALLY boost the GPU to over 1800 Mhz and more and CPU also . I read somewhere that its becasue RyzenADJ isnt installed is that true ?

HHD works very good the TDP , but i like SimpleDeckyTDP more since it has more settings related to TDP settings CPU/GPU.

Is there a way i can get a hint what tutorial to follow to get it working on CachyOS Handheld .

More Strange ISSUES

Well after update i restarted and im granted with this ( look picture ) cant boot normal to steam os automaticaly

Also i have a question is there a possible way to install the new ISO without lose my Games on my NVMe ? IMG_20240714_215235

Also when i do update it say warning that some packages lokal are newer than the others , also if i try install the gaming package it ask me if i want to delete cachyos-handheld and something about

cachyos-gaming-meta-15-1 and cachyos-handheld 1.0.1-1 are in conflict
WARNING : fzf Local version 0.54.0-1) is never than cachyos-extra-zenver4 0.53.0-1.1
WARNING: pahole Local Version 1:1.27-3 is newer than cachyos-zenver4 1:1.27-2

If i do what the Terminal Say to delete cachyos-handheld as it makes conflict with the cachyos-gaming-meta-15-1 package than happens this what u see in the picture it grants me at next boot with login passwort and no steamOS

I dont want to be respectless i really enjoy this OS and all this hard work u guys do , but i feel like this os gets backwards a bit , it gets more and more issues and i dont understand why :(

Sleep Mode Issue

Hey there i recently Put the ROG Ally in Sleep Mode while in Game and after wakeup Game Runs but the Controller doesnt Work i have to force shutdown the Game and restart . Somehow the Controller Input gets lost after sleep Mode. To mention with earlyer Versions of CachyOS worked without any problems . Now seems to be Broken with latest Updates , also the CachyOS meta package have conflict with CachyOS Handheld package dont know what that means .

Native proton versions break steam input (deck controller support)

Currently, native proton versions provided by cachyos such as proton-cachyos and proton-ge-custom break steam input.
This is caused because steam loads the libraries from inside the proton folder. (WHY???)

Current workaround is to uninstall these native proton versions

Switching to KDE sometimes gets stuck

Sometimes switching to desktop session (kde) will get stuck on a blackscreen with a cursor.
Touching the screen or clicking a button causes the switch to complete normally

Strange Issue

Hey Devs after some Days of Use i get everytime this Issue Not booting . I Reinstall and lose all Games and configs , after 1 to 3 Days of Use comes again random and never Boots Up again. Tryed reboot still Same Look Video it loops hours and hours Like this and never stops .

VID_20240711_012343.mp4

LAVD has slowdowns

Currently LAVD has performance issues causing slowdowns and low framerates.

Wait for LAVD to fix upstream or disable scx.service to disable it (will be disabled by default soon)

Legion Go Refresh Rate

In game mode on the home screen (outside of playing a game), it runs the display at the full 144 Hz. This noticeably increases the system watt consumption by about 7-8 watts. Would it be possible to configure the display it is locked at 60 Hz and thus saving power.

I was able to accomplish this on Bazzite by installing this Decky plugin. This causes the screen to blank out after the latest update on CachyOS however (it worked a few days ago fwiw).

Love the progress on this distro so far, thanks!

Lutris Error with wine-tkg

Started initial process 1205 from gamemoderun /home/ssgs8/.var/app/net.lutris.Lutris/data/lutris/runners/wine/wine-tkg-valve-exp-bleeding-9.0.103579.20240620-327-x86_64.pkg/bin/wine /home/ssgs8/Games/solo-levelingarise/drive_c/Program Files/Netmarble/Netmarble Launcher/Netmarble Launcher.exe
Start monitoring process.
gamemodeauto:
gamemodeauto:
wine: using kernel write watches, use_kernel_writewatch 1.
gamemodeauto:
fsync: up and running.
gamemodeauto:
wine: using kernel write watches, use_kernel_writewatch 1.
gamemodeauto:
wine: using kernel write watches, use_kernel_writewatch 1.
gamemodeauto:
wine: using kernel write watches, use_kernel_writewatch 1.
gamemodeauto:
wine: using kernel write watches, use_kernel_writewatch 1.
gamemodeauto:
wine: using kernel write watches, use_kernel_writewatch 1.
gamemodeauto:
wine: using kernel write watches, use_kernel_writewatch 1.
gamemodeauto:
wine: using kernel write watches, use_kernel_writewatch 1.
gamemodeauto:
wine: using kernel write watches, use_kernel_writewatch 1.
gamemodeauto:
wine: using kernel write watches, use_kernel_writewatch 1.
gamemodeauto:
wine: using kernel write watches, use_kernel_writewatch 1.
gamemodeauto:
gamemodeauto:
wine: using kernel write watches, use_kernel_writewatch 1.
gamemodeauto:
gamemodeauto:
wine: using kernel write watches, use_kernel_writewatch 1.
gamemodeauto:
wine: using kernel write watches, use_kernel_writewatch 1.
gamemodeauto:
wine: using kernel write watches, use_kernel_writewatch 1.
gamemodeauto:
wine: using kernel write watches, use_kernel_writewatch 1.
gamemodeauto:
wine: using kernel write watches, use_kernel_writewatch 1.
regsvr32: Successfully unregistered DLL 'C:\windows\Microsoft.NET\Framework\v4.0.30319\diasymreader.dll'
gamemodeauto:
gamemodeauto:
wine: using kernel write watches, use_kernel_writewatch 1.
regsvr32: Successfully unregistered DLL 'C:\windows\Microsoft.NET\Framework64\v4.0.30319\diasymreader.dll'
gamemodeauto:
gamemodeauto:
gamemodeauto:
wine: using kernel write watches, use_kernel_writewatch 1.
gamemodeauto:
gamemodeauto:
wine: using kernel write watches, use_kernel_writewatch 1.
gamemodeauto:
gamemodeauto:
wine: using kernel write watches, use_kernel_writewatch 1.
gamemodeauto:
gamemodeauto:
gamemodeauto:
gamemodeauto:
wine: using kernel write watches, use_kernel_writewatch 1.
gamemodeauto:
gamemodeauto:
gamemodeauto:
wine: using kernel write watches, use_kernel_writewatch 1.
gamemodeauto:
wine: using kernel write watches, use_kernel_writewatch 1.
gamemodeauto:
gamemodeauto:
wine: configuration in L"/home/ssgs8/Games/solo-levelingarise" has been updated.
gamemodeauto:
gamemodeauto:
gamemodeauto:
wine: using kernel write watches, use_kernel_writewatch 1.
gamemodeauto:
wine: using kernel write watches, use_kernel_writewatch 1.
gamemodeauto:
wine: using kernel write watches, use_kernel_writewatch 1.
gamemodeauto:
wine: using kernel write watches, use_kernel_writewatch 1.
gamemodeauto:
gamemodeauto:
gamemodeauto:
gamemodeauto:

gamemodeauto:
wine: using kernel write watches, use_kernel_writewatch 1.
gamemodeauto:
wine: using kernel write watches, use_kernel_writewatch 1.
gamemodeauto:
wine: using kernel write watches, use_kernel_writewatch 1.
gamemodeauto:
gamemodeauto:
gamemodeauto:
gamemodeauto:
wine: using kernel write watches, use_kernel_writewatch 1.
gamemodeauto:
gamemodeauto:
gamemodeauto:
gamemodeauto:
gamemodeauto:
wine: using kernel write watches, use_kernel_writewatch 1.
gamemodeauto:
wine: using kernel write watches, use_kernel_writewatch 1.
gamemodeauto:
wine: using kernel write watches, use_kernel_writewatch 1.
gamemodeauto:
wine: using kernel write watches, use_kernel_writewatch 1.
gamemodeauto:
gamemodeauto:
gamemodeauto:
wine: using kernel write watches, use_kernel_writewatch 1.
15:15:33.399 > launcherLog : App start 0.4.7, release: 10.0.19043, osType: Windows_NT, platform: win32
gamemodeauto:
wine: using kernel write watches, use_kernel_writewatch 1.
gamemodeauto:
gamemodeauto:
wine: using kernel write watches, use_kernel_writewatch 1.
gamemodeauto:
wine: using kernel write watches, use_kernel_writewatch 1.
[508:0620/151533.469:ERROR:network_change_notifier_win.cc(143)] WSALookupServiceBegin failed with: 0
gamemodeauto:
wine: using kernel write watches, use_kernel_writewatch 1.
gamemodeauto:
gamemodeauto:
gamemodeauto:
gamemodeauto:
gamemodeauto:
wine: using kernel write watches, use_kernel_writewatch 1.
[508:0620/151533.762:ERROR:network_sandbox.cc(302)] Failed to grant sandbox access to cache directory C:\users\ssgs8\AppData\Roaming\Netmarble Launcher\Cache\Cache_Data: Procedure not found. (0x7F)
[508:0620/151533.762:ERROR:network_sandbox.cc(396)] Failed to grant sandbox access to network context data directory C:\users\ssgs8\AppData\Roaming\Netmarble Launcher\Network: Success. (0x0)
gamemodeauto:
wine: using kernel write watches, use_kernel_writewatch 1.
gamemodeauto:
gamemodeauto:
gamemodeauto:
gamemodeauto:
gamemodeauto:
gamemodeauto:
[828:0620/151534.011:ERROR:network_change_notifier_win.cc(143)] WSALookupServiceBegin failed with: 0

Works with Bazzite, but on Cachyos handHeld Edition i get network error.

TO-DO

  • Switch SDDM to Wayland Commit
  • Add steam autostart Commit
  • add environment variable for HHD to reduce QAM latency Commit
  • Add KDE Customizations Commit
  • Add kernel argument to help switching. Relevant PR
  • Add DECKY_USER_HOME env variable to allow decky plugins to use correct home path (Thanks souly) Commit
  • Allow any username to be used Calamares PR .install PR
  • Enable services for appropriate devices (CHWD) PR
  • Add Kernel arguments specific to certain devices. (CHWD) PR
  • Maliit dark mode
  • Switch to use valve powerbuttond and hdd Relevant PR Patch Commit
  • Add regex matching for chwd PR
  • Add Vapor/Look-And-Feel Repo
  • Make add to steam shortcut work on windows exe's Commit
  • Add customizable scaling options for deckscale Commit
  • Fix HHD_QAM_GAMESCOPE=1 Commit
  • Switch to LAVD being off by default until performance issues are fixed
  • Implement auto mount for gamemode PR
  • Allow steam to manage external storage devices PR
  • Allow sdboot-manage to source external kernel params PR
  • Fix process names for teardown workaround
  • Fix adaptive brightness on deck, fix hdr on OLED, possible fix for framerate limiter PR
  • Create sd-boot-manager scripts for kernel args for each device Commit
  • Add amdgpu.sg_display=0 to legion go only Commit
  • Add symlink to powerbuttond to use upstream gamescope-session MR
  • add bluetooth as a dep so it gets installed before the enable runs
  • cleanup and per device chwd PR
  • pacnew for scaling config
  • Implement bios updater for jupiter/galileo
  • Allow user to select x11 instead of wayland for desktop session
  • Create wrapper script for unlocking and relocking jupiter/galileo bios (Cancelled, script works on too few hardware/bios combinations)
  • Fix initial flashbang/add first boot bootstrap
  • Force scaling option to appear by default
  • Add support for more devices. (Requires Testers. Please mention Nekoh in the #handheld-edition channel on the CachyOS discord)
  • Provide own gamescope (Custom Refresh Rate and co)
  • Update to the latest SteamDeck packages (fan-control, hw-support, firmware and co)

Relevant projects

Kernel used for handheld edition
Handheld PKGBUILDS
Handheld calamares branch
Handheld iso branch
CHWD Profiles
Vapor Theme

NEED HELP

Hello there how can we disable the GRUB MENU ? I really didnt know where else i can ask this question.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.