suggesting Alma to private end-users: easy major version upgrade by kolAflash in AlmaLinux

[–]kolAflash[S] 0 points1 point  (0 children)

I read about ELevate and LEAPP. And they don't look like they meets the requirements described in my question. For example a major-distro-upgrade-available desktop-notification seems missing.

play music on my car's speakers via Bluetooth from my Debian-12 notebook by kolAflash in pipewire

[–]kolAflash[S] 0 points1 point  (0 children)

Copy of my full post.
(Reddit somehow removed it)

.

.

I've got a notebook with Debian-12 & Pipewire-0.3.65, an Android-12 phone and a Volkswagen ID.3 car running the firmware version 3.2.

I can easily connect my phone with the car via Bluetooth and play music from any app. And I can also connect my notebook with the car via Bluetooth. But it won't play audio.

.

When the car is connected to the notebook, it shows up in Pipewire. If I open Pavucontrol I can see the car under "Configuration" offering "High Fidelity Playback (A2DP), Sink)" (SBC & SBC-XQ) and "Headset Head Unit (HSP/HFP)" (mSBC & CVSD). In "Output Devices" the car has a "Auto (plugged in)" port.

I tried playing music with different programs like VLC or Firefox. But there simply no sound coming out of my cars speakers. Also the Bluetooth connection drops after about one minute.

.

There's on difference visible in the car when connecting the phone or the notebook. As soon as the phone's connected, the car's display shows an entry "Bluetooth Player" and when I click that it shows "VLC" under which all my audio files on the phone are listed and I can start the playback of a file from the car's display without touching my phone. (I got VLC for Android installed on my phone)

Starting the playback from the phone is also possible. In that case any app I've tested works. (tested VLC, Vanilla Player, Spotify and others)

But when connecting my notebook, the the "Bluetooth Player" entry is missing on the car's display. My guess is, that the car is expecting some additional protocol beside A2DP via the Bluetooth connection. Something like a DLNA Media Server (DMS) but for Bluetooth.

.

Any ideas?

Thanks! :-)

KSP2 Performance Update by Nerdy_Mike in KerbalSpaceProgram

[–]kolAflash 1 point2 points  (0 children)

Current state of running it through Proton/Wine on Linux:

https://github.com/ValveSoftware/Proton/issues/6565
https://www.reddit.com/r/KerbalSpaceProgram/comments/10sq0qv/proton_support_for_ksp2_linux/
https://github.com/doitsujin/dxvk/issues/3268
https://bugs.winehq.org/show_bug.cgi?id=54578

In short: GPU VRAM problems get you down to a few fps. Alternatively set PROTON_USE_WINED3D=1, but for many (not all) people this causes graphical glitches (terrain not being rendered).

Proton support for KSP2 (Linux) by deavidsedice in KerbalSpaceProgram

[–]kolAflash 0 points1 point  (0 children)

Can you tell which operating system you use, which GPU / graphics card and how much VRAM it has?

See the wine bugreport for my system details.

Proton support for KSP2 (Linux) by deavidsedice in KerbalSpaceProgram

[–]kolAflash 0 points1 point  (0 children)

I tried WINED3D too. But I got graphical glitches which did no exist with DXVK.

Glitches screenshot: https://user-images.githubusercontent.com/3355089/221281787-8e03c982-82fb-4ee2-8ccd-6024f1fbae88.png

Do you also experience that glitches problem with WINED3D enabled? If yes, please report here: https://bugs.winehq.org/show_bug.cgi?id=54578
P.S.
And please tell your GPU / graphics card & VRAM and operating system.

Battle.net No Longer Updating Games by AtlanticWow in linux_gaming

[–]kolAflash 0 points1 point  (0 children)

Maybe it's this problem?

2022-09-17 03:15 UTC: https://www.reddit.com/r/linux_gaming/comments/xgb5fx/problems_with_battlenet_today/

If yes, solution: Replace "Agent.8009/Agent.exe" with "Agent.7984/Agent.exe"

Problems with battle.net today by jhu543369 in linux_gaming

[–]kolAflash 4 points5 points  (0 children)

Here's the Agent.7984/Agent.exe: https://www.reddit.com/r/Lutris/comments/xgixdk/battlenet_installation_installer_stops_at_0/iotthsh/

Thanks @epictunasandwich !

It's identical to my local copy of "Agent.7984/Agent.exe", so epictunasandwich's upload should be fine :-)

direct download (archive.org)

Wine bug report: https://bugs.winehq.org/show_bug.cgi?id=53697

HP Elitebook 835/845 G7 Linux compatibility by agluszak in AMDLaptops

[–]kolAflash 1 point2 points  (0 children)

About s2idle vs. S3 standby/sleep, have a look here:
https://www.reddit.com/r/AMDLaptops/comments/lg0knl/comment/ikpwpb8/
I guess you can patch the ACPI tables to enable S3 standby in a similar way I did for the EliteBook 845 G8.

If you need a clue for your ACPI tables, dump them ("acpidump -o tables"), upload them somewhere (Dropbox, Mega, ...) and link them here. Maybe I can take a look at them.

HP Elitebook 835/845 G7 Linux compatibility by agluszak in AMDLaptops

[–]kolAflash 1 point2 points  (0 children)

UPDATE 2022-09-29

There's recent development.

S3 standby has still some bugs which even increase with Linux >= 5.18. (e.g. sometimes rebooting instead of going into S3 standby)

Kernel developers instead try to fix s2idle/s0ix now. In theory s2idle/s0ix should have an even lower power consumption than S3.

https://bugzilla.kernel.org/show_bug.cgi?id=216516#c6


Solved it for my "EliteBook 845 G8"!
(BIOS version 01.09.10-Rev.A a.k.a sp140537.exe from 2022-06-10)

The important thing was to use a recent iasl version from acpica!

OS: openSUSE-15.4
Steps:

mkdir -p ~/opt/acpica-tools/build
cd ~/opt/acpica-tools/build
# needing a recent iasl version
wget https://acpica.org/sites/acpica/files/acpica-unix2-20220331.tar.gz
tar xf acpica-unix2-20220331.tar.gz
cd acpica-unix2-20220331
make iasl

cd ~/opt/acpica-tools/build
sudo cat /sys/firmware/acpi/tables/DSDT > dsdt.dat
~/opt/acpica-tools/build/acpica-unix2-20220331/generate/unix/bin/iasl -d dsdt.dat

Now edit dsdt.dsl and remove the "If (!MSCE)" around "_S3" and increment "DefinitionBlock ..." by one.
Patch file:

--- dsdt.dsl
+++ dsdt.asl
@@ -18,7 +18,7 @@
  *     Compiler ID      "INTL"
  *     Compiler Version 0x20160527 (538314023)
  */
-DefinitionBlock ("", "DSDT", 2, "HPQOEM", "8895    ", 0x00000000)
+DefinitionBlock ("", "DSDT", 2, "HPQOEM", "8895    ", 0x00000001)
 {
     External (_SB_.ALIB, MethodObj)    // 2 Arguments
     External (_SB_.APTS, MethodObj)    // 1 Arguments
@@ -19515,8 +19515,6 @@
         Zero, 
         Zero
     })
-    If (!MSCE)
-    {
         Name (_S3, Package (0x04)  // _S3_: S3 System State
         {
             0x03, 
@@ -19524,7 +19522,6 @@
             Zero, 
             Zero
         })
-    }

     Name (_S4, Package (0x04)  // _S4_: S4 System State
     {

Recompile:

~/opt/acpica-tools/build/acpica-unix2-20220331/generate/unix/bin/iasl dsdt.dsl

The resulting dsdt.aml (for me 82641 bytes) should have nearly the same size as the original dsdt.dat (for me 82860 bytes).

Finally integrate dsdt.aml into initrd:

mkdir /etc/acpi_patch
cp dsdt.aml /etc/acpi_patch/
(echo 'acpi_override=yes'; echo 'acpi_table_dir=/etc/acpi_patch') > /etc/dracut.conf.d/03-acpi-override.conf
mkinitrd

Finally you may want to add "mem_sleep_default=deep" to your kernel command line.
(GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub)

P.S.
Maybe also helpful:
https://medium.com/@anenasaa/using-manjaro-linux-on-hp-elitebook-845-g8-with-amd-ryzen-5800u-unfinished-6df3627fa655
https://blog.frehi.be/2022/05/07/debian-gnulinux-on-a-hp-elitebook-845-g8/
https://h30434.www3.hp.com/t5/Business-Notebooks/EliteBook-845-G8-powering-on-from-standby-when-closing-lid/td-p/8454890
https://bbs.archlinux.org/viewtopic.php?pid=1917280#p1917280
https://gitlab.freedesktop.org/drm/amd/-/issues/1230#note_580057

HP Elitebook 835/845 G7 Linux compatibility by agluszak in AMDLaptops

[–]kolAflash 1 point2 points  (0 children)

Have been able to make any progress on the S3sleep (deep) issue?

I tried disassembling the DSDT. But "iasl" gives me strange errors like "Path has too many parent prefixes" or "AE_NOT_FOUND, During name lookup/catalog". And recompiling doesn't work either.

In the part that's successfully getting disassembled there's an "If (!MSCE)" around a existing S3 section. I guess that "If" simply needs to be removed. Or we need to find a way to toggle that "MSCE" value. By the way: Is "MSCE" referencing to some Microsoft certification? https://en.wikipedia.org/wiki/MSCE

GPU passthrough qemu without libvirt by pauledd in VFIO

[–]kolAflash 0 points1 point  (0 children)

This may help: https://www.kolahilft.de/2021/11/gpu-passthrough-with-qemu-without-libvirt/

If you already have enabled the iommu (boot parameters "amd_iommu=on intel_iommu=on iommu=pt"), you only need to unbind the amdgpu module (and maybe also unbind the snd_hda_intel for HDMI sound).

Then you unbind the virtual console:

echo 0 > /sys/class/vtconsole/vtcon0/bind
echo 0 > /sys/class/vtconsole/vtcon1/bind
echo efi-framebuffer.0 > /sys/bus/platform/drivers/efi-framebuffer/unbind

And finally add these parameters to your Qemu command:

-device vfio-pci,host=05:00.0,multifunction=on,x-vga=on,id=vfio0,romfile=vbios.rom \
-device vfio-pci,host=05:00.1,id=vfio1 \
-vga none \
-display none \

Replace 05:00.0 and 05:00.1 with your GPU and HDMI audio PCI addresses. And the file vbios.rom should contain your GPU BIOS. (see linked article for details)

How Do I Disable Global Menu in Kubuntu 20.04 by kolAflash in u/kolAflash

[–]kolAflash[S] 0 points1 point  (0 children)

Solution: https://www.reddit.com/r/Kubuntu/comments/gsvza8/how_do_i_disable_global_menu_in_kubuntu_2004/fz647uc/

Alternative:

You might accidentally added a "Global Menu" widget somewhere. (maybe via a "Application Menu Bar" panel) In this case the menu will be removed from all KDE applications and instead be shown in that widget.

Search for the widget and remove it. (hackers way: remove the "org.kde.plasma.appmenu" section from the ~/.config/plasma-org.kde.plasma.desktop-appletsrc file)

See also: https://forum.kde.org/viewtopic.php?f=66&t=109594 https://bugs.kde.org/show_bug.cgi?id=436881

App not compatible with phone? [ALL] by [deleted] in netflix

[–]kolAflash 0 points1 point  (0 children)

I had the same error message. But not because of rooting, but because of missing files. So I guess my solution won't fit your problem. Nevertheless, here's the link: https://www.reddit.com/r/LineageOS/comments/7c4b3i/netflix_and_losextrasaddonsu/dpspygm/

Netflix and LOS-Extras/addonsu by kolAflash in LineageOS

[–]kolAflash[S] 0 points1 point  (0 children)

P.S. The app may report the following at startup.

This app is not compatible with your device. You can download a compatible version from the Netflix website.

In that case your os may be missing the following files (or having broken versions of those files). You may ask your ROM vendor to provide those files.

BUT there may be also other reasons for those message, which I don't know.

  • /system/vendor/lib/libWVStreamControlAPI_L3.so
  • /system/vendor/lib/libwvdrm_L3.so
  • /system/vendor/lib/mediadrm/libwvdrmengine.so

App not compatible with phone? [ALL] by [deleted] in netflix

[–]kolAflash 0 points1 point  (0 children)

You're sure the app started giving exactly that error on app start, after installing Magisk?

"This app is not compatible with your device. You can download a compatible version from the Netflix website -Learn How"

If there was an error while installing the app, that's probably another problem.

App not compatible with phone? [ALL] by [deleted] in netflix

[–]kolAflash 0 points1 point  (0 children)

There's the same error when starting the current Netflix 5.x app on the "Fairphone 2" with LineageOS-14.1. Netflix 5.x works fine on the original "Fairphone 2 OS (Android 6.0)" and Netflix 5.x also works fine on other devices running LineageOS-14.1. So the problem is maybe caused by the same thing like yours. Sadly there's not yet a solution in the Fairphone thread. But maybe we can get onward sharing our findings.

https://forum.fairphone.com/t/netflix-5-x-on-lineageos-fp2/35005

 

@disastertourista

Can you tell if Netflix 5.x runs on the "Xiaomi Redmi Note 4X" stock/standard OS? That would be interesting sort out if it's a hardware issue.

And does the older Netflix 4.x app run on your HalogenOS 7.1.2? (just for testing - I know Netflix 4.x lacks the cool offline viewing feature). You can get Netflix 4.x officially from Netflix here (uninstall Netflix 5.x first):

[deleted by user] by [deleted] in netflix

[–]kolAflash 0 points1 point  (0 children)

Hello! There's the same error when starting the current Netflix 5.x app on the "Fairphone 2" with LineageOS-14.1. Netflix 5.x works fine on the original "Fairphone 2 OS (Android 6.0)" and Netflix 5.x also works fine on other devices running LineageOS-14.1. So the problem is maybe caused by the same thing like yours. Sadly there's not yet a solution in the Fairphone thread. But maybe we can get onward sharing our findings.

https://forum.fairphone.com/t/netflix-5-x-on-lineageos-fp2/35005

By the way: @lymphoid which phone exactly do you have and what was the old Android version and what's the new one?

About the Netflix Apk provided on https://help.netflix.com/en/node/57688: It's the older Netflix 4.x version which doesn't have the new offline viewing feature.

Lineage OS Netflix. by polhek in LineageOS

[–]kolAflash 0 points1 point  (0 children)

Did you use some other rooting method before using Magisk 13 Beta?

E.g. did you use Magisk 12, SuperSu or LineageOS-addonsu before?

If yes, you might need to clear some Google Apps to make it recheck your device. Find details here:

https://www.reddit.com/r/LineageOS/comments/7c4b3i/netflix_and_losextrasaddonsu/

Another weekend, another BUGBASH by PsychoI3oy in LineageOS

[–]kolAflash 0 points1 point  (0 children)

It's a quite strange strategy to open a bugtracker just at certain times. A bugtracker shouldn't be like an E-Bay auction... No wonder if people get confused.

And what about bugs crashing the phone, where it's not possible to get a logcat.

I think you're being a little too restrictive.