fixing a bunch of broken stuff I think
This commit is contained in:
parent
0dbc3ead0e
commit
8bace887a2
1551 changed files with 299 additions and 57481 deletions
|
@ -1 +0,0 @@
|
|||
<!-- SC_OFF --><div class="md"><p>I followed this <a href="https://wiki.archlinux.org/title/PRIME#PCI-Express_Runtime_D3_(RTD3">guide</a>_Power_Management) to set up RTD3 on my laptop, added udev rules, added module parameters, enabled nvidia-persistenced service then reboot the computer but the output of <code>cat /proc/driver/nvidia/gpus/0000:01:00.0/power</code> said that RTD3 is not supported:</p> <pre><code>Runtime D3 status: Not Supported Video Memory: Active GPU Hardware Support: Video Memory Self Refresh: Supported Video Memory Off: Supported Power Limits: Default: N/A milliwatts GPU Boost: N/A milliwatts </code></pre> <p>I booted to Window and used Asus armoury crate to check and after a few seconds of inactivity the GPU tab will stop reading core/memory clock, voltage, etc, and <a href="https://imgur.com/a/Ou904KB">show</a> "Power saving". And if I open a game (Apex legend) the GPU will turn on again and work normally. Which mean that RTD3 does work on my laptop and on Window only. Any ideas ?</p> <ul> <li>Operating System: Arch Linux</li> <li>KDE Plasma Version: 5.23.3</li> <li>KDE Frameworks Version: 5.88.0</li> <li>Qt Version: 5.15.2</li> <li>Kernel Version: 5.15.4-xanmod1-1 (64-bit)</li> <li>Graphics Platform: Wayland</li> <li>Processors: 16 × AMD Ryzen 7 4800H with Radeon Graphics</li> <li>Memory: 15.1 GiB of RAM</li> <li>Graphics Processor: AMD RENOIR / Nvidia GTX 1660Ti</li> </ul> </div><!-- SC_ON -->   submitted by   <a href="https://www.reddit.com/user/minhduc66532"> /u/minhduc66532 </a> <br/> <span><a href="https://www.reddit.com/r/archlinux/comments/r1n3zt/nvidia_d3_runtime_power_management_only_works_on/">[link]</a></span>   <span><a href="https://www.reddit.com/r/archlinux/comments/r1n3zt/nvidia_d3_runtime_power_management_only_works_on/">[comments]</a></span>
|
|
@ -1 +0,0 @@
|
|||
<!-- SC_OFF --><div class="md"><p>So I thought I might create a wrapper that uses advice to overwrite a function temporarily, re-routing it:</p> <pre><code>(defun ct/with-notmuch-as-compose-mail (&rest body) (progn (advice-add 'compose-mail :override #'notmuch-mua-mail) (unwind-protect (progn body) (advice-remove 'compose-mail #'notmuch-mua-mail)))) </code></pre> <p>Turns out this doesn't work when called via:</p> <pre><code>(ct/with-notmuch-as-compose-mail (compose-mail)) </code></pre> <p>What does work, though, is a macro!</p> <pre><code>(defmacro ct/with-notmuch-as-compose-mail (&rest body) `(progn (advice-add 'compose-mail :override #'notmuch-mua-mail) (unwind-protect (progn ,@body) (advice-remove 'compose-mail #'notmuch-mua-mail)))) </code></pre> <p>I don't understand the reason.</p> <p>Can anyone explain why the function doesn't do its thing?</p> </div><!-- SC_ON -->   submitted by   <a href="https://www.reddit.com/user/divinedominion"> /u/divinedominion </a> <br/> <span><a href="https://www.reddit.com/r/emacs/comments/rcsgpi/function_vs_macro_why_does_adviceadd_to_override/">[link]</a></span>   <span><a href="https://www.reddit.com/r/emacs/comments/rcsgpi/function_vs_macro_why_does_adviceadd_to_override/">[comments]</a></span>
|
|
@ -1 +0,0 @@
|
|||
<p>Since it's spring break there is no TFC tonight, but parents, you've made it halfway through spring break! If you are still wondering what to do with you child who is normally in school, might I suggest… <a href='/story.php?story_fbid=128448839284924&id=115628967233578'>More</a> teaching them to play pitch?! It's never too late to learn some cards! After that, quiz them on some Bible trivia! This is one of the places I've gotten questions to stump kids on for a long time! <a href='https://lm.facebook.com/l.php?u=https%3A%2F%2Ficebreakerideas.com%2Fbible-trivia-questions-answers%2F&h=AT0NfcnCdPx9vSorl3GVuxsUqYe-vzjISgEkkE1I-tOzhRtXaZVwczchKuxi6pHL9lh1iViH5PuMHiRbZP-P7jVg6ku5U3Cc5OOwrFBo1MtrgHEBhTa38pT5lGCgzlMYxaGE_Xn2Z6-hplLsXI7wvjtA6yF5fQ' target='_blank' rel='noopener' data-sigil='MLynx_asynclazy'>https://icebreakerideas.com/bible-trivia-questions-answers/</a></p><a href='/story.php?story_fbid=128448839284924&id=115628967233578&m_entstream_source=timeline&__tn__=%2As%2As-R' aria-label='Open story' class='_5msj'></a><a href="https://lm.facebook.com/l.php?u=https%3A%2F%2Ficebreakerideas.com%2Fbible-trivia-questions-answers%2F&h=AT36O_YX3WiilVGv-0-np6Xzr9ONxWNaIWxr7rRUPHcNCSkTOPyBUCr1xtGhqYmJVgk6trilCleRMqYJ2dB09cvF-_0ePPq1pdlnr1s2LyBambVXkvGUSCrWUDPwrxEjP0w8IIwfpIYgdgZEueJxLwR-M16aiiZgjtM_GJ5ZS5bC3-MxkmL4_V0J"><section class='_2rea _24e1 _412_ _bpa _vyy _5t8z' data-store='{"globalShareID":980588488708526}'><section class='_32l5 _2rec'><h4 class='_52jc _52jg _5zgx _5tg_'>ICEBREAKERIDEAS.COM</h4><h3 class='_52jh _4act _16-5'>270 Bible Trivia Questions + Answers (New & Old Testament)</h3>Check your knowledge of Bible with our BIGGEST list of Bible Trivia Questions and Answers. Try our Bible Quiz NOW!</section><a aria-labelledby='u_0_op_5r' class='touchable _4qxt' href='https://lm.facebook.com/l.php?u=https%3A%2F%2Ficebreakerideas.com%2Fbible-trivia-questions-answers%2F&h=AT36O_YX3WiilVGv-0-np6Xzr9ONxWNaIWxr7rRUPHcNCSkTOPyBUCr1xtGhqYmJVgk6trilCleRMqYJ2dB09cvF-_0ePPq1pdlnr1s2LyBambVXkvGUSCrWUDPwrxEjP0w8IIwfpIYgdgZEueJxLwR-M16aiiZgjtM_GJ5ZS5bC3-MxkmL4_V0J' target='_blank' data-gt='{"tn":"H"}' rel='noopener' data-sigil='show-save-caret-nux-on-click MLynx_asynclazy'></a></section></a>
|
|
@ -1 +0,0 @@
|
|||
  submitted by   <a href="https://www.reddit.com/user/Ok-Lengthiness3303"> /u/Ok-Lengthiness3303 </a> <br/> <span><a href="https://ibb.co/6Nfww8P">[link]</a></span>   <span><a href="https://www.reddit.com/r/archlinux/comments/q8lwzv/hey_guys_i_just_booted_my_laptop_and_got_this/">[comments]</a></span>
|
|
@ -1 +0,0 @@
|
|||
  submitted by   <a href="https://www.reddit.com/user/unixbhaskar"> /u/unixbhaskar </a> <br/> <span><a href="https://youtube.com/watch?v=yKqu44bmpUw&feature=share">[link]</a></span>   <span><a href="https://www.reddit.com/r/emacs/comments/qykh9b/emacs_sign_git_commit_in_magit_2021_11_21_071700/">[comments]</a></span>
|
|
@ -1 +0,0 @@
|
|||
<table> <tr><td> <a href="https://www.reddit.com/r/unixporn/comments/qzigyx/awesomewm_my_humble_setup_first_time_ricing_up/"> <img src="https://preview.redd.it/jm3ieqqwi4181.png?width=640&crop=smart&auto=webp&s=2fc41c74c7b2f1eef7ef7feafc522341932a140e" alt="[awesomewm] my humble setup, first time ricing up properly." title="[awesomewm] my humble setup, first time ricing up properly." /> </a> </td><td>   submitted by   <a href="https://www.reddit.com/user/Expensive_Register19"> /u/Expensive_Register19 </a> <br/> <span><a href="https://i.redd.it/jm3ieqqwi4181.png">[link]</a></span>   <span><a href="https://www.reddit.com/r/unixporn/comments/qzigyx/awesomewm_my_humble_setup_first_time_ricing_up/">[comments]</a></span> </td></tr></table>
|
|
@ -1 +0,0 @@
|
|||
<!-- SC_OFF --><div class="md"><p>Hi all,</p> <p>I recently bought a Intel i5 11400 and paired it with an Aorus B560M from Gigabyte. It came with a UEFI/BIOS F3 and when I updated to the F6 (latest made for enabling Intel PTT by default for Windows 11) I found a bunch of ACPI table problems.</p> <p>​</p> <p>The first one already was present in my F3 UEFI/BIOS and it's "classic": FADT doesn't declare support for PCIe ASPM. Even with the BIOS/UEFI settings enabled, the table pass to the OS that the system doesn't support it. I don't know why. I know, though, that decompiling the FADT binary table to ASL (Acpi Source Language) let's me change that hex code to enable the support. Just need to recompile in the AML (binary - Acpi machine language).</p> <p>​</p> <p>The second one is a bunch of errors from pointers in the early tables. I didn't even try to touch it (yet). From my new found knowledge, this is the basic structure of the tables, in loading order is:</p> <p>RSDP (Root table. Non-modifiable).XSDT (successor for the RSDT [acpi 1.0] with 64-bit support. Non-modifiable).FACP (alias for the FADT table. Indicates the power capabilities and call 3 other tables).MADT/APIC (I/O controllers), DSDT (i/o mappings) and multiple SSDT (dynamic or statics; complements of i/o mappings for specific devices for the DSDT table).</p> <p>​</p> <p>My bet is that with windows 11, the tables got all messed up to cater to MS bullshit stuff. Since the kernel has an "upgrade" feature, I thought of correcting the tables and upgrading them in the UEFI. Has anyone done that? The following link will lead to the <a href="https://Kernel.org">Kernel.org</a> doc page that presents the function. I am still learning C, but I guess I could rewrite all the tables that I may "upgrade" to actually make them clean and ready for Linux with C and ASL.</p> <p><a href="https://www.kernel.org/doc/html/latest/admin-guide/acpi/initrd_table_override.html">https://www.kernel.org/doc/html/latest/admin-guide/acpi/initrd_table_override.html</a></p> <p>In suma: Has anyone here attempted to upgrade or use a substitute in the initramfs? Is there some resource for the procedure in Arch's Wiki that I missed, or outside the wiki? ACPI is in rev 6.1 and MS lobbies to keep things back in 2.0 still.</p> <p>EDIT: Adding some resources.</p> <p><a href="https://wiki.osdev.org/RSDP">https://wiki.osdev.org/RSDP</a> <a href="https://wiki.osdev.org/XSDT">https://wiki.osdev.org/XSDT</a> <a href="https://wiki.osdev.org/FADT">https://wiki.osdev.org/FADT</a> <a href="https://01.org/linux-acpi/documentation/overriding-dsdt">https://01.org/linux-acpi/documentation/overriding-dsdt</a></p> <p>​</p> </div><!-- SC_ON -->   submitted by   <a href="https://www.reddit.com/user/Ohlav"> /u/Ohlav </a> <br/> <span><a href="https://www.reddit.com/r/archlinux/comments/q6texl/acpi_tables_upgrade_modification/">[link]</a></span>   <span><a href="https://www.reddit.com/r/archlinux/comments/q6texl/acpi_tables_upgrade_modification/">[comments]</a></span>
|
Loading…
Add table
Add a link
Reference in a new issue