xxd: make a hexdump or do the reverse. - Linux Man Pages (1)

Groestlcoin June 2020 Release Notes!

Groestlcoin June 2020 Release

As 2020 continues to unravel with people worried about their health, livelihoods, jobs and general way of life, one thing at least can remain constant - Groestlcoin's release schedule. We at the core Groestlcoin team really hope everyone is doing well and coping with what 2020 is throwing at us all. For anything to change in this world, major and seemingly dramatic change and chaos unfortunately needs to first ensue but rest assured everyone will come out of 2020 much stronger people! The Groestlcoin team have been working on a vast amount of new technology during these uncertain periods which we would like to share with you today.
Groestlcoin Core 19.1
The full list of changes in Groestlcoin Core 19.1 are too long to list here so we won't bore those who do not want to see every slight change here. For that, please go to https://github.com/Groestlcoin/groestlcoin/blob/2.19.1/doc/release-notes/release-notes-2.19.1.md. Instead we will list a general list of changes here. We recommend upgrading to this version if you are running a full node yourself.

How to Upgrade?

Windows

If you are running an older version, shut it down. Wait until it has completely shut down (which might take a few minutes for older versions), then run the installer.

OSX

If you are running an older version, shut it down. Wait until it has completely shut down (which might take a few minutes for older versions), run the dmg and drag Groestlcoin Core to Applications. Users running macOS Catalina need to "right-click" and then choose "Open" to open the Groestlcoin Core .dmg.

Downloads

Download the Windows Installer (64 bit) here: https://github.com/Groestlcoin/groestlcoin/releases/download/v2.19.1/groestlcoin-2.19.1-win64-setup-unsigned.exe
Download the Windows binaries (64 bit) here: https://github.com/Groestlcoin/groestlcoin/releases/download/v2.19.1/groestlcoin-2.19.1-win64.zip
Download the OSX Installer here: https://github.com/Groestlcoin/groestlcoin/releases/download/v2.19.1/groestlcoin-2.19.1-osx-unsigned.dmg
Download the OSX binaries here: https://github.com/Groestlcoin/groestlcoin/releases/download/v2.19.1/groestlcoin-2.19.1-osx64.tar.gz
Download the Linux binaries (64 bit) here: https://github.com/Groestlcoin/groestlcoin/releases/download/v2.19.1/groestlcoin-2.19.1-x86\_64-linux-gnu.tar.gz
Download the Linux binaries (32 bit) here: https://github.com/Groestlcoin/groestlcoin/releases/download/v2.19.1/groestlcoin-2.19.1-i686-pc-linux-gnu.tar.gz
Download the ARM Linux binaries (64 bit) here: https://github.com/Groestlcoin/groestlcoin/releases/download/v2.19.1/groestlcoin-2.19.1-aarch64-linux-gnu.tar.gz
Download the ARM Linux binaries (32 bit) here: https://github.com/Groestlcoin/groestlcoin/releases/download/v2.19.1/groestlcoin-2.19.1-arm-linux-gnueabihf.tar.gz
Linux Snapcraft: https://snapcraft.io/groestlcoin-core
Linux Flathub: https://flathub.org/apps/details/org.groestlcoin.groestlcoin-qt

Source code:

https://github.com/Groestlcoin/groestlcoin
Zeus GRS iOS Wallet Release
Zeus GRS: A mobile Groestlcoin app for Lightning Network Daemon (LND) node operators.
To use Zeus, you must have a running Lightning Network Daemon (LND). You must provide Zeus GRS with your node's hostname, port number, and the LND macaroon you choose to use (hex format).
If you're running a Unix-based operating system (eg. macOS, Linux) you can run xxd -ps -u -c 1000 /path/to/admin.macaroon to generate your macaroon in hex format.

Features:

• Scan LNDconnect functionality
• Dark and light theme
• Option to lock app with a pin
• Open Source
• Connect to your node - Zeus GRS let's users connect to their existing Lightning node, allowing them to send, receive and manage their channels.
• Multiple Wallets - Zeus GRS allows users to create and control as many wallets as they'd like.

Download Link

https://apps.apple.com/us/app/zeus-grs/id1501565324

Source code

https://github.com/Groestlcoin/zeus
HODL GRS iOS Wallet Release
HODL GRS connects directly to the Groestlcoin network using SPV mode, and doesn't rely on servers that can be hacked or disabled.
HODL GRS utilises AES hardware encryption, app sandboxing, and the latest security features to protect users from malware, browser security holes, and even physical theft. Private keys are stored only in the secure enclave of the user's phone, inaccessible to anyone other than the user.
Simplicity and ease-of-use is HODL GRS's core design principle. A simple recovery phrase (which we call a Backup Recovery Key) is all that is needed to restore the user's wallet if they ever lose or replace their device. HODL GRS is deterministic, which means the user's balance and transaction history can be recovered just from the backup recovery key.

Features

• Simplified payment verification for fast mobile performance
• No server to get hacked or go down
• Single backup phrase that works forever
• Private keys never leave your device
• Import password protected paper wallets
• Payment protocol payee identity certification
• Apple Watch support
This application is licensed under MIT. There is no warranty and no party shall be made liable to you for damages. If you lose coins due to this app, no compensation will be given. Use this app solely at your own risk.

Download from the Apple App Store

https://apps.apple.com/us/app/hodl-grs/id1502310881

Source code

https://github.com/Groestlcoin/hodl-wallet-ios
GRS BlueWallet for iOS and Android Released
GRS Bluewallet is a thin client for Groestlcoin built with React Native and Electrum-GRS.

Features

• Multi-currency, Supporting more than 20 FIAT currencies.
• SegWit - SegWit enabled by default
• Full encryption - On top of the phone multi-layer encryption, GRS Bluewallet can encrypt everything with an added password. Biometric security (touch ID, Face ID) is not safe, so you will have an additional password to encrypt your wallet instead.
• Plausible deniability - A custom made feature thinking about your personal security. GRS Bluewallet allows you to define a different password which will decrypt a fake wallet set up. For any situation you are forced to disclose your access or when you don't want or you can't show your real wallet.
• Open Source under the MIT License.
• Watch-only wallets - Watch-only wallets allows you to keep an eye on your cold storage without touching your private key. Easily import your address or xpub and watch it from your app without ever touching it.
• Lightning Wallets - Wallets with support for the Lightning Network Protocol. Unfairly cheap and fast transactions. You can send, receive and refill your wallets.
• Bump and Cancel transactions - Ability to bump and cancel sent transactions with "Replace-by-fee" (RBF) and ability to Bump received transactions with "Child-pays-for-parent" (CPFP) on Native Segwit wallets (bech32/BIP84).
• Plug-in your Groestlcoin Full node new - Ability to plug-in your own Groestlcoin Full node through Electrum Personal Server (EPS), ElectrumX or Electrs. Don't trust, verify for a maximum sovereignty.
This application is under MIT license. There is no warranty and no party shall be made liable to you for damages. If you lose coins due to this app, no compensation will be given. Use this app solely at your own risk.

Download from the Apple App Store

https://apps.apple.com/us/app/grs-bluewallet/id1518766083

Download from the Google Play Store

https://play.google.com/store/apps/details?id=org.groestlcoin.bluewallet

Source code

https://github.com/Groestlcoin/bluewallet
GRS Lightning Wallet Released
GRS Lightning: An easy-to-use cross-platform Groestlcoin Lightning wallet
GRS lightning leverages Neutrino to give users a lightweight option to control their own funds, as opposed to running a full node or trusting a third party to play custodian.
Features
• A User Experience for Everyone
• Fully Non-Custodial with LND
• Powered by Neutrino and Autopilot
• Open Source

Nota bene

This is still early technology and there's a risk of losing all of your funds. We recommend not putting in more money than you are willing to lose.
Using the same mnemonic seed between installations or device is not recommended.
Keep the app open till its fully synced, this will take a WHILE.

Download the OSX Wallet

https://github.com/Groestlcoin/lightning-app/releases/download/v0.5.9-alpha-grs/lightning-app-grs-darwin-x64v0.5.9-alpha-grs.dmg

Download the Linux Installer

https://github.com/Groestlcoin/lightning-app/releases/download/v0.5.9-alpha-grs/lightning-app-grs-linux-x86\_64v0.5.9-alpha-grs.AppImage

Download the Windows Installer

https://github.com/Groestlcoin/lightning-app/releases/download/v0.5.9-alpha-grs/lighting-app-grs-win32v0.5.9-alpha-grs.exe

Download from the Google Play Store (Android)

https://play.google.com/store/apps/details?id=org.groestlcoin.LightningApp

Source code

https://github.com/Groestlcoin/lightning-app
GRS LND for Wordpress
GRS LND for GRS is a WordPress plugin for managing & using your GRS LND node directly from your WordPress administration panel.

Features

• Provides a fully functional wallet interface, allowing you to send and receive funds across the Lightning Network with ease.
• The user interface is responsive and will adapt to fit any web enabled desktop, tablet or mobile device.
• You can search the Lightning Network graph, manage peer connections and open & close channels with ease.
• The plugin has QR support, enabling basic encoding & decoding of QR codes.
• GRS LND For WP also adds a number of WordPress 'short codes', allowing you to embed LND functionality directly in your website pages and posts.

Installation

GRS LND For WP can be installed directly from WordPress. Simply navigate to the 'Plugins -> Add New' page and search for 'GRS LND For WP'. You can also view GRS LND For WP on the WordPress.org Plugin Directory
To install the plugin manually using source code from this repository:
Download the latest plugin release from this repository.
Browse to the 'Plugins -> Add New' page of your WordPress admin panel.
Click the 'Upload Plugin' button, select 'Browse' and choose the release .zip that you downloaded in step 1.
Press 'Install Now'.
On the next screen, press the 'Activate' button to turn on the plugin.
You're done. You should now see the 'GRS LND For WP' link on your WP admin navigation menu.

Source code

https://github.com/Groestlcoin/grs-lnd-for-wp
GRS Unstoppable Wallet - Android MainNet and TestNet
Unstoppable GRS is open source non-custodial fully decentralised wallet.
The engineering process behind this wallet is radically driven by libertarian principles. Exclusive control over what is yours.

Features

• Control your crypto - Unstoppable GRS is a non-custodial wallet. The private keys never leave your phone.
• Keep your crypto safe - When you enable the lock code on your phone's operating system, no one will be able to access your wallet funds even if your phone is stolen or lost. In case of a device loss, Unstoppable GRS makes it easy to restore your wallet on another device.
• Be independently unstoppable - Unstoppable GRS was engineered to remain online and fully-functional indefinitely. Transfer Groestlcoins regardless of local government regulations. No entity can stop you from sending or receiving crypto or force Unstoppable GRS to stop working. Finally, you have a secure crypto wallet to spend Groestlcoin, and send & receive crypto.
• Stay private - With Unstoppable GRS you are connecting directly to decentralised blockchains without any restrictions or intermediaries. Only you can see your assets. There are no accounts, emails, phone numbers, identity checks, or third-party servers storing any private data.
This application is under MIT license. There is no warranty and no party shall be made liable to you for damages. If you lose coins due to this app, no compensation will be given. Use this app solely at your own risk.

Download from the Google Play Store

https://play.google.com/store/apps/details?id=org.groestlcoin.unstoppable

Download TestNet version from the Google Play Store

https://play.google.com/store/apps/details?id=org.groestlcoin.unstoppable.testnet

Source code

https://github.com/Groestlcoin/unstoppable-wallet-android
Groestlcoin Esplora Block Explorer Released (Mainnet and Testnet!)
Groestlcoin Esplora is an open-source Groestlcoin blockchain explorer. This JSON over RESTful API provides you with a convenient, powerful and simple way to read data from the Groestlcoin network and build your own services with it.

Features

• Explore blocks, transactions and addresses
• Support for Segwit and Bech32 addresses
• Shows previous output and spending transaction details
• Quick-search for txid, address, block hash or height by navigating to /<query>
• Advanced view with script hex/assembly, witness data, outpoints and more
• Mobile-ready responsive design
• Translated to 17 languages
• Light and dark themes
• Noscript support
• Transaction broadcast support
• QR scanner
• API support
Groestlcoin Esplora is licensed under MIT. There is no warranty and no party shall be made liable to you for damages. If you lose coins due to Esplora, no compensation will be given. Use Groestlcoin Esplora solely at your own risk.

Groestlcoin Esplora is available via https://esplora.groestlcoin.org/

Esplora Testnet is available via https://esplora-test.groestlcoin.org/

Source code

https://github.com/Groestlcoin/esplora
Groestlcoin WebWallet updated to v1.5
Webwallet is a playground for Groestlcoin in javascript to experiment with. It supports multisig, OP_HODL, RBF and many more. Groestlcoin believes strongly in privacy, the live version does not collect and store IP or transaction data.

Changelog 1.5

• Custom HD key derivation added
• Added Esplora support
Live version available at https://www.groestlcoin.org/webwallet. But it is recommended to download the webwallet offline and run it on your pc. Open index.html to get started. The built-in wallet can be used with any (non) existing mail address and any password.
This application is licensed under MIT. There is no warranty and no party shall be made liable to you for damages. If you lose coins due to this app, no compensation will be given. Use this app solely at your own risk.

Warning:

Remember the mail address and password you used otherwise you will lose your funds.

Download the Groestlcoin Webwallet

https://github.com/Groestlcoin/webwallet/archive/master.zip

Live Web Wallet Version

https://www.groestlcoin.org/webwallet

Source code

https://github.com/groestlcoin/webwallet
Groestlcoin LND Updated to v0.10
The Lightning Network Daemon (LND) is a complete implementation of a Lightning Network node.
Lnd has several pluggable back-end chain services including grsd (a full-node), groestlcoind, and neutrino (a new experimental light client). The project's codebase uses the grssuite set of Groestlcoin libraries, and also exports a large set of isolated re-usable Lightning Network related libraries within it.

Changes

• Macaroon Bakery
• Multi-Path Payments
• Weakness Addressed by MPP
• Single-Shot MPP Payments by Default
• Custom Onion-Tunneled TLV Payment Metadata Records
• New Payment Type: keysend
• First-Class Rebalancing via Circular Payments to Self
• Local balance check
• Privacy Enhancement
• Validate Sorted Uncompressed Short Channel IDs
• Add payment_secret to BOLT 11 Payment Requests
• Cross-Implementation Protocol Compatibility Fixes
• Decoupled Min HTLC Settings
• Option Upfront Shutdown Support
• Sweep Small Outputs
• Autopilot External Score Trigger
• Channel Fitness Tracking
• Pathfinding Improvements
• Deeper Feature Bit Inspection
• Updates to Default gRPC Settings
• Uniform lncli Hex-Encoding
• Updates to QueryRoutes
• New RPC Calls
• Default unsafe-disconnect Setting and Deprecation
• Peer to Peer Gossip
• Invoice Handling
• Channel State Machine
• On-Chain Contract Handling
• Architectural Changes
• Multi-Path Payments Sending Support
• Payment tracking
• Lifted Invoice Limit
• PSBT Funding
• Anchor commitment format
• Watchtowers tor support

Download the OSX Version

https://github.com/Groestlcoin/lnd/releases/download/v0.10.0-grs/lnd-darwin-amd64-v0.10.0-grs.tar.gz

Download the Windows Version

https://github.com/Groestlcoin/lnd/releases/download/v0.10.0-grs/lnd-windows-amd64-v0.10.0-grs.zip

Download the Linux Version

https://github.com/Groestlcoin/lnd/releases/download/v0.10.0-grs/lnd-linux-amd64-v0.10.0-grs.tar.gz

Source code

https://github.com/Groestlcoin/lnd/
Groestlcoin Eclair Updated to v 0.3.3.0
Groestlcoin Eclair (French for Lightning) is a Scala implementation of the Lightning Network. It can run with or without a GUI, and a JSON API is also available.
Groestlcoin Eclair requires Groestlcoin Core 2.17.1 or higher. If you are upgrading an existing wallet, you need to create a new address and send all your funds to that address.
Groestlcoin Eclair needs a synchronised, segwit-ready, zeromq-enabled, wallet-enabled, non-pruning, tx-indexing Groestlcoin Core node.
Groestlcoin Eclair will use any GRS it finds in the Groestlcoin Core wallet to fund any channels you choose to open. Eclair will return GRS from closed channels to this wallet.
You can configure your Groestlcoin Node to use either p2sh-segwit addresses or BECH32 addresses, Groestlcoin Eclair is compatible with both modes.

Changes

• Multipart payments
• Trampoline Routing Preview
This application is licensed under Apache. There is no warranty and no party shall be made liable to you for damages. If you lose coins due to this app, no compensation will be given. Use this app solely at your own risk.
Groestlcoin Eclair is developed in Scala, a powerful functional language that runs on the JVM, and is packaged as a JAR (Java Archive) file. We provide 2 different packages, which internally use the same core libraries:

eclair-node (headless application that you can run on servers and desktops, and control from the command line)

https://github.com/Groestlcoin/eclaireleases/download/v0.3.3/eclair-node-0.3.3-6caf7b6.jar

eclair-node-gui (JavaFX GUI):

https://github.com/Groestlcoin/eclaireleases/download/v0.3.3/eclair-node-gui-0.3.3-6caf7b6.jar

Source code

https://github.com/Groestlcoin/eclai
Groestlcoin C-Lightning Updated to v0.8.2
C-lightning: A specification compliant Lightning Network implementation in C.
C-lightning is a lightweight, highly customisable and standard compliant implementation of the Lightning Network protocol.

Changes

• We now support gifting mgro to the peer when opening a channel, via push_msat, providing a brand new way to lose money!
• Preliminary support for plugins hooks which can replace the default groestlcoin-cli with other blockchain querying methods (API may change in future releases though!).
• listforwards now records the outgoing short_channel_id, even if it wasn't possible to start forwarding.
• Plugins can set additional feature bits, for more experimentation.
• More than one plugin can register for the htlc_accepted hook: others will become multi-user in future releases.
• Prevent a case where grossly unbalanced channels could become unusable.
• New config option --large-channels (also known as 'wumbo') which enables opening channels of any size. (Note that your peer must also support large channels.)
• This release includes a keysend plugin, which will enable receiving 'keysend' payments, as first introduced by Lightning Labs. Note that the included keysend plugin is receive only for this release. Nodes which do not want the hassle of spontaneous unrequested payments should add 'disable-plugin=keysend' to their config!
• We'll now announce multiple connection endpoints for a single 'type', e.g. multiple IPv4 addresses.
• Big performance improvement in the pay command (~1s speedup on average).
• c-lightning nodes can now participate in creating larger channels (with the --large-channel config option).
• We now wait until the first payment through a channel before updating the feerate; this should help with some spurious closures at channel open or re-connect that were occurring against older versions of other implementations.
• A new command getsharedsecret for getting the BOLT-compliant shared secret finding for a node and a point.
• Facilities for building rendezvous compatible onions has been added to the onion devtool.
• Plugin options will now respect the type they were given in the manifest.
• Fixes with plugin cleanups and hangs.
• Python2 has been removed as a dependence.

Install on Linux:

https://github.com/Groestlcoin/lightning/blob/mastedoc/INSTALL.md#to-build-on-ubuntu

Install on OSX:

https://github.com/Groestlcoin/lightning/blob/mastedoc/INSTALL.md#to-build-on-macos

Source code

https://github.com/Groestlcoin/lightning
Groestlcoin SparkWallet Updated to v0.2.14
Groestlcoin Spark Lightning Wallet Android: A minimalistic wallet GUI for c-lightning in Android.
Groestlcoin Spark is currently oriented for technically advanced users and is not an all-in-one package, but rather a "remote control" interface for a c-lightning node that has to be managed separately.

Changes

• Fix bug with missing channel reserve
• Fix channels view
• Detect if the "base directory" is provided and default to the Groestlcoin mainnet network subdirectory within in.
• Don't display unconfirmed onchain balance
• Fix: Some QR codes not read properly in the web QR scanner
• Fix: Resolve TLS issues with NodeJS 10
• Electron: Update to v8
• Fix bug in automatic credentials generation
• Fix Android crashes caused by plugin-local-notifications
• Cordova Android: Allow connecting to server in cleartext
This application is licensed under MIT. There is no warranty and no party shall be made liable to you for damages. If you lose coins due to this app, no compensation will be given. Use this app solely at your own risk.

Download from the Google Play Store

https://play.google.com/store/apps/details?id=org.groestlcoin.spark

Download for OSX

https://github.com/Groestlcoin/groestlcoin-spark/releases/download/v0.2.14/groestlcoin-spark-0.2.14-mac.zip

Download for Windows

https://github.com/Groestlcoin/groestlcoin-spark/releases/download/v0.2.14/groestlcoin-spark-0.2.14-win-setup.exe

Download for Windows (Portable)

https://github.com/Groestlcoin/groestlcoin-spark/releases/download/v0.2.14/groestlcoin-spark-0.2.14-win-portable.exe

Download for Linux (AppImage Installer)

https://github.com/Groestlcoin/groestlcoin-spark/releases/download/v0.2.14/groestlcoin-spark-0.2.14-linux-x86\_64.AppImage

Download for Linux (Snap Installer)

https://github.com/Groestlcoin/groestlcoin-spark/releases/download/v0.2.14/groestlcoin-spark-0.2.14-linux-amd64.snap

Download for Linux (Deb Installer)

https://github.com/Groestlcoin/groestlcoin-spark/releases/download/v0.2.14/groestlcoin-spark-0.2.14-linux-amd64.deb

Source code

https://github.com/Groestlcoin/groestlcoin-spark/
submitted by Yokomoko_Saleen to groestlcoin [link] [comments]

Catalina with Broadwell GVT-g on Linux [Take 2]

Catalina with Broadwell GVT-g on Linux [Take 2]
Hello again, Reddit!
We're back!
Life took over and high school didn't get any easier. My apologies for the 9 month delay in this promised continued attempt from the previous post: https://www.reddit.com/hackintosh/comments/c0nrc8/catalina_with_broadwell_gvtg_in_linux/
This is going to be a long post, as this project has had several incarnations and lots of people wondering about it. I will be reaching out to as many of you as possible now that the coronavirus has given me several weeks out of physical school.
Table of Contents
  1. Current Hardware/Software
  2. Modification attempts so far
  3. Details on current issues/failures
  4. Addressing 9 months worth of community backlog
  5. Plan for getting this to work
I. Current Hardware/Software configs
TL;DR: 1) Linux 5.6-rc7 WITH patch, 2) qemu 4.2.0, 3) Ubuntu 20.04 dev branch
I am still using OSX-KVM's basic setup, including their prebuilt clover and some inspiration from their ng boot script.
Time went on and I'm still with the same MacBookAir7,2 but now on Ubuntu 20.04 (focal) dev branch. I also have a clean 10.15.3 install (working and booting) along with a custom compiled 5.6-rc7 kernel WITH the following patch for edid on BDW host:
https://lists.freedesktop.org/archives/intel-gvt-dev/2019-Decembe006185.html
I have a custom compiled qemu-4.2.0 for the latest possible code. I'm sure it's been updated since I compiled it about 2 months ago and am working on updating it.
My boot config to facilitate debugging:
boot-args= -v amfi_get_out_of_my_way=0x1 serial=1 intcoproc_unrestricted=1 amfi_allow_any_signature=1 amfi_unrestrict_task_for_pid=1 PE_i_can_has_debugger=1
csr_active_config=0x80 (new value that unrestricts everything)
edid: I used https://edid.tv/edid/98/. Just download the binary and xxd -p it into the Clover Configurator CustomEDID blank. You can use any edid like this. You can also just use my config.plist from the drive folder; it has this already set.
If you'd like the full configs I'm using, please see the following google drive folder:
https://drive.google.com/drive/folders/1C4g2QxRB59biBb9qtx7hpVPZgQHttXOk?usp=sharing
If you're going to use the scripts I made, you'll need to edit:
make_vfio.sh: the chown line; replace with your user
qemu-install2.sh: drives, vfio path (if not using mine), net config (if not using mine)
net_kholia.sh: the tunctl command, replace my username with yours
II. Modification attempts so far
Clover: Right now, I have an ig-platform-id=0x16260006 to match my real macbook air. I also have set InjectIntel=true which seems to fix the new error: "[IGPU] Graphics driver failed to load: could not register with Framebuffer driver!".
Linux GVTg KERNEL: The edid BDW enablement patch is ONE of the two options for enabling QE/CI on the macOS accelerator kext. The other is a VM-side patch, possibly a binpatch or a clover EDID injection. I tried both; neither currently works.
Linux GVTg USERSPACE: No patches. I have a custom compiled, but vanilla, qemu 4.2.0.
macOS: no binpatches. It seems the kernel panic trigger that had to be binpatched in the past no longer exists, or perhaps the code has been rewritten internally. Reverse-engineering BDWGraphics to find out what is and isn't happening is definitely something to look to in the near future. It is possible that this was fixed by kvm.ignore_msrs=1 boot-arg, this linux arg also allows for non-penryn cpus to be used (I am using -cpu host in my qemu script).

III. Details on current issues/failures
  1. Current status: macOS booting with BDW kexts loaded but no display detected and possible BDW kext self-disabling.

https://preview.redd.it/3znp89wdano41.png?width=1280&format=png&auto=webp&s=4f008f37a44707dc1da28a628066be7698cb5093
qemu log shows: qemu-system-x86_64: vfio_pci_write_config(a297db4a-f4c2-11e6-90f6-d3b88d6c9525, 0x4, 0x900417, 0x4) failed: Bad address
This, along with the fact that the earlier kernel panic no longer occurs, AND the lack of BDW messages printed to kernel log, leads me to believe that somewhere in the BDW binary there is some logic failure. I may be wrong though:
Something seems to have changed, or it may just be me now with the MSR's being ignored having fixed the original panic that still could occur. Either way, there's no way to be sure if clover CustomEDID is working or not. It didn't work last time when the BDW kexts definitively did load and we saw printf's of it doing loading routines. There's a lot of uncertainty as I only just got this up and running today.
2) Kernel EDID patch: This came out around December and I'm very naive for not realizing I could've made this patch myself. It simply removed the Skylake/Kabylake platform detection logic and makes the edid function work on all platforms. Regardless, with the patch, a kernel oops occurs on the function intel_vgpu_reg_rw_edid in drivers/drm/i915/kvmgt.c. It is a null pointer dereference, working on getting the kprintf from it. This is a current area of attention. It may be because I'm using xres=1280 yres=800 on a GVT with maxres 1024x768, I'll work on using the 1920x1200 one instead and seeing if it still crashes.
The commit log for the patch from the intel guy said that all platforms should support the edid region. If anyone could test EDID on an "officially" supported platform, either Skylake or Kabylake, and see if you get the same oops with 5.6-rc7, please do so. If it just oopses on all platforms due to a regression, I may be able to compile a different kernel that doesn't cause a dereference. If Broadwell really doesn't support the EDID region when forced to, then this may be a blocking issue for the whole project (I don't possess any later hardware). WORKING ON THIS RIGHT NOW
IV. Addressing 9 months worth of community backlog
I don't want to be the kid whining about high school. I generally do very well, but it definitely takes some effort being at a infamously-academically difficult private school in the Orlando area. Now that we're "off" for several weeks, I'm prepared to dedicate a lot of time to getting this furthered.
amorooc ct_the_man_doll I saw your thread here: https://www.reddit.com/VFIO/comments/a2bnv3/state_of_gvtg_macos_support/
Please let me know all your questions! I will be active on reddit through the next several weeks. Have y'all been doing GVT-g since then?
TheRacerMaster I'd love to hear your thoughts. Have you been in the GVT-g scene since the High Sierra attempt? Contact me if you'd like to work on this privately; otherwise this post should be good to document progress for everyone.
spicypixel I saw your comment on the original Catalina attempt, as of now it is no longer abandoned!
davidgarazaz lilolalu please take a look here!
TrashConvo it's working but no display yet. I have screensharing on and using that to force using the BDW (-vga none).
/u/WesolyKubeczek you have the most promising story. I may be able to get there if I can get BDW edid working (not supported by a simple logic fail on kvmgt.c). Please tell us about if you ever got anywhere further?
8700t I'm curious: what binpatches with lilu? How did your demo work?
sobe3249 yes, I have the same vfio invalid issue. Currently investigating. Help would be appreciated!


If there's anyone I've missed, I didn't forget about you. This project has definitely grown further than I ever expected it to, beyond a weekend attempt. I'm crossposting this to several subreddits to make sure everyone who I wasn't able to get to in 9 months has a chance to participate in some real progress once more.
Thank you all! Looking forward to hearing from all of you.
V. Plan for getting this to work.
  1. Kernel EDID oops: working on this. If I can get this to work, then we may be a step away from QE/CI as the drivers seem to load?
  2. BDWGraphics: there are no longer any printfs and a weird pci invalid region. Any thoughts on this? No kernel panic anymore, it's likely due to the msr's being ignored with boot-arg. But there's no [IGPU] init printfs anymore. That worries me, though it could just be a code rewrite by Apple/Intel.
  3. Qemu: currently working on the crash connected to the edid patch.
Theoretically, all we need to get working is an EDID injection. It could be in Clover, another bootloader, or in the linux kernel vfio itself. Perhaps that new hip bootloader that everyone's suddenly using would be worth trying if it has edid patching functionality? I have no idea what it is besides that its called OpenCore or something like that.
submitted by newhacker1746 to hackintosh [link] [comments]

PascalCoin Update #1

Hey PascalCoin Community,
starting with today, we will try to begin a new community driven initiative: Updates.
Yes, you read that right. We will try to keep you up-to-date on recent developments or other important stuff related to the PascalCoin project. We hope to give you some insights on where the project stands, whats been done in the background (and the foreground) as well as where the project is heading to.
This is a community effort and we hope to keep you updated frequently. The style of this will develop continually, so feel free to give feedback.
Everything we'll talk about in these updates is extracted from PascalCoin's Discord server by reading developer comments and following recent discussions.
Our first update is a bigger one, because we will look back at what happened in the Update of V2 to V3 of PascalCoin.

Version 3 of PascalCoin

Version 3 of the protocol was released earlier this year. Here are some of the most notable new features and changes:
OpenSSL 1.1
We deprecated OpenSSL 1.0 in favor of 1.1. There is an ongoing effort by @Ugo4Brain to bring the OpenSSL functionalities to pure Pascal so the project can get rid of this external dependency.
Various BugFixes and improvements
There were a ton of bugfixes as well as optimizations both security as well as protocol related.
PIP-17 - Anonymity via Transaction Mixing (phase-1)
We took the first step to introduce anonymousness via PIP-17.
More info here: https://www.pascalcoin.org/development/pips/pip-17
JSON-RPC
Due to PIP-17, the JSON-RPC interface changed massively but these changes were adopted by the exchanges.
PIP-10 - 50% Inflation reduction
Inflation reduction was introduced after a community voting. Starting with block 210000 the miner award was reduced by 50%.
More info here: https://www.pascalcoin.org/development/pips/pip-10
PIP-11 - 20% developer reward
The most important change to secure the future of the project was made with a vote by the community to implement a 20% development reward defined in PIP-11. This means that miners are currently earning 40 PASC + 4 PASA for each block while the PascalCoin project will get 10 PASC + 1 PASA. This also started with block 210240.
More info here: https://www.pascalcoin.org/development/pips/pip-11

Version 4 of PascalCoin

V4 of the protocol and therefore the long awaited RandomHash algorithm will be activated at block 260,000 at approx Nov. 15th, 2018.
PIP-9 - RandomHash: GPU & ASIC Resistant Hash Algorithm
A GPU and ASIC resistant hashing algorithm is implemented in order to resolve the current mining centralization situation and to prevent future dual-mining centralization. A lot of testing has gone into this feature, and the testnet is now running smoothly. The wallet comes with a ready to use miner software and there is another one specifically developed for V4 by @polyminer - this feature will truly be a big step for PascalCoin. See also: https://github.com/PascalCoin/PascalCoin/blob/mastePIP/PIP-0009.md
PIP-15 - Fast Block Propagation Albert implemented a better block propagation method to rapidly propagate blocks in order to minimize orphan rates. This reduces the network traffic by 95%.
Source code is available at Github:
https://github.com/PascalCoin/PascalCoin
Binaries for Linux and Windows can also be found at Github:
https://github.com/PascalCoin/PascalCoin/releases
@polyminer1 released his RHMiner software, a CPU+GPU miner for the RandomHash POW algorithm. A lot of work and time was put into that baby, so please consider the donations option.
You can download and compile the source, or download the binaries for windows and Ubuntu 18 here
Sources : https://github.com/polyminer1/rhminer Binaries : https://github.com/polyminer1/rhminetree/masteRelease
Remember: V4 is a mandatory update, V3 will not be supported after block 260,000.
Slower synchronization:
The wallet will sync a bit slower in the beginning, because of the properties of RandomHash. However, sync will be redone soon, as there are lots of enhancements and optimizations possible. For example, users will be able to pick how many blocks they want to keep and much more.

Other news from the last couple of weeks:

Exchange stuff:
Community:

Marketing

Fox Business Network recently offered to do an interview and marketing campaign for us. The proposal was discussed by the community and ended up with a counter proposal which was accepted by Fox Business Network.
For this reason, Pascal has opened a partnership with FMW Media Works Corp, a NY-based media company that specializes in producing financial content for the Fox Business network. They will be interviewing us in November about PascalCoin for a December broadcast. Shout out to @Trout and @John M. (and others) for expert negotiation advice.
More details will be provided as they develop. FMW are able to promote PascalCoin on their social media, so if anyone wants to put together some content, @herman will forward it to them.
Marketing is being worked on by @trout. If anyone have time and skills for this crucial work, please contact @trout on Discord.
@JasonK created giveaway using rofflecopter with more than 800 PASC in it! See here for more info: http://www.rafflecopter.com/rafl/display/a78116b90
Good luck!

Polls

DAO, Funds, and Democracy:

@techworker is building a DAO for proper proposals, voting and payment of proposals. When it comes out the foundation will start spending.
Initially, the DAO will involve manual processes for some parts, but over time it will improve into a fully decentralised Layer-2 Smart-Contract. The main goal is full transparency of the spending and proposals for now and to make it easy for ppl. To create proposals and vote on them
When the DAO can be fully automated, the Foundation will be dissolved and the mining rewards dedicated to the development of PascalCoin will be fully controlled by a smart contract.
And last but not least, with the FoxBusiness Network segment PascalCoin will hold a social event with a 30-min presentation segment in Brooklyn (where Consensys NY is based) or Manhattan from 5:30pm to 8:00pm. Free drinks and catering will be provided.
We would be happy to see some of you there!
If we forgot something, feel free to engage in the comments :-)
submitted by techworker123 to pascalcoin [link] [comments]

vi + xxd = hex editor

submitted by vvv to programming [link] [comments]

Gentoo Linux+QEMU KVM+AMD RX 560 GPU Passthrough+HighSierra/Win10 (Both Successful and Near-Native)

READ THE UPDATE BELOW. I FINALLY got all three (yes 3) of Gentoo, High Sierra and Windows 10 all running at the same time on the same machine, with the High Sierra on RX 560, and the Windows 10 on Nvidia GTX 1080, and Gentoo host on intel HDA 630 all at the same time. HAHAHA!
"Hardware and Software Hybridization of Guest Operating Systems"
by rev0lt
Experiment's Goals:
(1) High Sierra at near-native speed on Linux QEMU KVM with AMD GPU Passthrough (Success);
(2) Win10 at near-native speed on Linux QEMU KVM with AMD GPU Passthrough (Success);
(3) To achieve (1) and (2) but using Nvidia GPU (Successful on Windows10, everything works perfect; able to boot on High Sierra boot screen, but it ends with a stop sign); and
(4) To achieve (1) and (2) simultaneously. (Success!). I got Linux+HighSierra+Windows10 all running at the same time on the same machine.
Rationale ("Why?"):
Can you feel it?
Jokes aside, a bit of a brief background -- this whole trouble started with my Apple Magic Mouse (Series 1). I really love this mouse -- it has been with me almost 8 full years now, and yes, it still looks beautiful; and I really wanted this wonderful mouse to work in an acceptable manner in Gentoo Linux. I managed to get it to work, but somehow the scrolling and movement in X Window just does not "feel right," even if I tried tuning it with xinput.
So, being OCD'd, I tried to get the mouse to work in an acceptable manner in Windows 10 too. It does work somewhat okay-ish, using Apple's Bootcamp driver for the mouse which I got using my MacBook Pro. But the scrolling and "feel" are still somewhat "off".
Which brings us to this point. From my OCD perspective, this is all done just to get the mouse to work "right" on my setup below.
Hardware Setup:
Apple Magic Mouse (Series 1) <3 <3 <3
Asus Maximus Code IX Intel i7-7700K EVGA Nvidia GTX 1080 Hybrid ASUS Strix AMD RX 560 (purchased for testing this setup) G.Skill TridentZ DDR4-3200 16G Samsung NVMe SSD 960 EVO M.2 250GB Samsung SSD 850 PRO 256GB EVGA Supernova 850w G2 Gold Dell P4317Q 4K Monitor (43-Inch) CoolerMaster MasterKeys Pro L (Cherry MX Red) Sony Playstation 4 PRO Thermaltake Core X71 Thermaltake Water 3.0 Apple MacBook Pro
Software Setup:
The SSD 850 Pro is the drive of interest here, since it is where I store the Linux host for learning computer science and programming as a hobby. (The NVMe M.2 drive is installed with Windows 10 as my primary OS for daily use, so it is irrelevant here.)
I compiled Linux Gentoo 4.13.8 on the SSD 850 Pro as the host OS, with KVM, IOMMU, VFIO functions enabled in the kernel. I also compiled QEMU 2.10.0.
Discussion:
UPDATE:
For AMD RX 560 to work in High Sierra, all is needed is to make sure Lilu and WhateverGreen kexts are installed. This worked even without editing the AMD9500Controller.kext binary.
More importantly -- I finally got the EVGA Nvidia GTX 1080 to passthrough in Windows 10 Enterprise (free trial)!!! Sound through the Display Port of the card works perfect, as long as MessageSignaledInterruptProperties is added or changed from 0 to 1 in the Windows Registry. Sound works flawless without any lag.
Basically to get the GTX 1080 card to passthrough, I (A) compiled OVMF in Gentoo and then used the default OVMF_CODE and OVMF_VARS fd files under /usshare/edk2-ovmf/ for QEMU; and then (B) adjusted the -cpu flag in QEMU command line, such that my QEMU command line looks like this:

!/bin/bash

echo 1 > /sys/kernel/mm/ksm/run &&
qemu-system-x86_64 \ -enable-kvm \ -machine q35,type=pc,accel=kvm,kernel_irqchip=on \ -m 4G \ -cpu host,kvm=off,hv_relaxed,hv_spinlocks=0x1fff,hv_vapic,hv_time,hv_vendor_id=hello \ -smp 4,sockets=1,cores=2,threads=2 \ -device vfio-pci,host=01:00.0,multifunction=on,x-vga=on \ -device vfio-pci,host=01:00.1 \ -vga none \ -usb -device usb-host,hostbus=1,hostaddr=3 \ -usb -device usb-host,hostbus=1,hostaddr=8 \ -drive if=pflash,format=raw,readonly,file=OVMF_CODE.fd \ -drive if=pflash,format=raw,file=OVMF_VARS.fd \ -boot order=d \ -drive file=win.disk,format=raw,cache=none,aio=native \ -cdrom win10.iso \ -nographic \
Note the passthrough of the Nvidia GTX 1080 in the command line above. I did not even need to specify the Nvidia rom dump.
Using the above command line and OVMF files, I was able to boot into the Windows 10 installer to install the trial version. Everything works in Windows 10. Video is smooth and slick. Very near native.
Then, I tried to adjust the above command line for High Sierra too -- the Nvidia card passed through successfully and High Sierra (I used the installed version that was derived from the AMD card experiment detailed below, adding the NvidiaFixedUp.kext to the EFI's kext/Other folder in addition to Lilu and WhateverGreen that are already there). High Sierra was able to boot until it ended up with a stop sign.
I think with more experimentation, I can get the Nvidia card to passthrough and boot successfully into High Sierra too. Probably an issue with the config.plist file???
By the way, this is the QEMU command line I used to test the Nvidia card under High Sierra:
qemu-system-x86_64 \ -enable-kvm \ -m 4G \ -cpu Penryn,kvm=off,vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on,$MY_OPTIONS,hv_relaxed,hv_spinlocks=0x1fff,hv_vapic,hv_time,hv_vendor_id=hello \ -machine q35,type=pc,accel=kvm,kernel_irqchip=on \ -smp 4,sockets=1,cores=2,threads=2 \ -device vfio-pci,host=01:00.0,multifunction=on,x-vga=on \ -device vfio-pci,host=01:00.1 \ -device isa-applesmc,osk="" \ -drive if=pflash,format=raw,readonly,file=OVMF_CODE.fd \ -drive if=pflash,format=raw,file=OVMF_VARS.fd \ -smbios type=2 \ -device ich9-intel-hda -device hda-duplex \ -device ide-drive,bus=ide.1,drive=MacHDD \ -drive id=MacHDD,if=none,file=higher.img,format=qcow2 \ -netdev user,id=usr0 -device e1000-82545em,netdev=usr0,id=vnet0 \ -balloon none \ -vga none \ -nographic \ -device vfio-pci,host=00:14.0 \
As mentioned, the above booted with the Nvidia card passthrough -- but stops at the end of the boot screen with a stop sign. Anyone knows how to fix this?
I will try to reproduce this but boot in verbose mode instead to see what is going on. But my gut instinct is that this is very fixable.
Anyhow, I will clean up the old stuff below when I have more time. Will also do more fine tuning and perhaps test with benchmark and games. Will try to get video and screenshots posted.
And yes, when I have both High Sierra (with AMD RX 560 passed through) and Windows 10 Enterprise (with Nvidia GTX 1080) running on the Gentoo (using Intel HD 630) host, all three systems run at near-native or native speed, even though all three are running at the same time. I have not benched marked yet, but they run smooth, even all simultaneously, with videos playing. HAHAHHA.
OLDER STUFF (Read the UPDATE first):
To get High Sierra (10.13 release) working on Linux with QEMU, I followed the instructions at https://github.com/kholia/OSX-KVM. The two OVMF files (OVMF_CODE-pure-efi.fd and OVMF_VARS-pure-efi-1024x768.fd) and also the Clover.qcow2 file there all worked out of the box. All you need is to download those 3 files onto the Linux host. Then, I prepared the requisite High Sierra USB installer by using the usual USB+Clover method that most folks use to test this (select the UEFI option under Clover, not the Legacy option). After that, using the script below (commenting out the 2 VFIO GPU passthrough lines -- the lines mentioning 03:00.0 and 03.00.1 -- for now and use gtk or vnc to output video since GPU passthrough is yet to be done) to get High Sierra installed and running with "soft" video output through gtk, vnc, spice, etc. for the moment, at least until passthrough of the GPU is done later. (Was I repeating myself there? That is the trouble with OCD, there is this irresistible compulsion to do a certain thing in a specific way). I have tried many other methods, but presently it seems that the instructions in the above GitHub link are the only ones that worked.
It is a bit trickier to get High Sierra to run with GPU passthrough to obtain near-native speed. To achieve that, once I installed and booted into High Sierra with soft video output, I [a] patched the AMD9500Controller.kext in /System/Library/Extensions in the High Sierra guest's hard disk using xxd; and then [b] installed the Lilu.kext and WhateverGreen.kext into /System/Library/Extensions. It seems that the binary needed to drive the AMD RX 560 is already included in High Sierra, inside the AMD9500Controller.kext folder. All that is needed is to hex-modify the binary so that the hardware layout of the RX 560 is correctly reflected the binary file in that kext. I modified the "Acre" personality entry in the binary in AMD9500Controller.kext for convenience sake because it has 3 connectors at the back, the same number of connectors as the RX 560. (It is unclear whether [a] is needed if [b] is done -- I have not tested such scenario.)
Specifically, for example, this is what I changed in the binary based on information from the Baffin.rom file from the RX 560 card:
For the "Acre" personality located at 0x121f80 in the binary file, change the hex (of bs=48 since 3 connectors x 16=48) from
00040000040300000001010100000000
11020201000000000008000004020000
00010200000000002103050400000000
to this
00040000040300000001010111020101
00080000000200000001020021030204
04000000140200000001030010000305
All the connectors (DP, HDMI, DVI) at the back of the card should now work perfect.
At any rate, I did both [a] and then [b], and High Sierra boots successfully with AMD RX 560 passthrough, using the following Linux QEMU command line script adapted from https://github.com/kholia/OSX-KVM:

!/bin/bash

MY_OPTIONS="+aes,+xsave,+avx,+xsaveopt,avx2,+smep" export QEMU_AUDIO_DRV=alsa && qemu-system-x86_64 \ -enable-kvm \ -m 8192 \ -cpu Penryn,kvm=on,vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on,$MY_OPTIONS\ -machine pc-q35-2.9 \ -smp cpus=8,sockets=1,cores=4,threads=2 \ -device isa-applesmc,osk="" \ -drive if=pflash,format=raw,readonly,file=OVMF_CODE-pure-efi.fd \ -drive if=pflash,format=raw,file=OVMF_VARS-pure-efi-1024x768.fd \ -smbios type=2 \ -device ich9-intel-hda -device hda-duplex \ -device ide-drive,bus=ide.2,drive=Clover \ -drive id=Clover,if=none,snapshot=on,format=qcow2,file=./'Clover.qcow2' \ -device ide-drive,bus=ide.1,drive=MacHDD \ -drive id=MacHDD,if=none,file=./high.img,format=qcow2 \ -netdev user,id=usr0 -device e1000-82545em,netdev=usr0,id=vnet0 \ -balloon none \ -device vfio-pci,host=03:00.0,multifunction=on \ -device vfio-pci,host=03:00.1 \ -vga none \ -monitor unix:/tmp/monitor.sock,server,nowait \ -nographic \ -device vfio-pci,host=00:14.0,bus=pcie.0 \
Once the above is done, the separate AMDRadeonX4250.kext (responsible for 3D acceleration, etc) seems to get loaded by High Sierra and the RX 560 card should be functioning perfectly, directly connected to the guest OS with metal support.
Note that using the above command line, I have passthrough my USB controller as well (vfio-pci,host=00.14.0). The result is that bluetooth and all my USB ports (I have not tested the 3.1 one) worked out of the box, with my Apple Magic Mouse (Series 1) working perfectly with that tight, smooth buttery feel. Also working flawlessly are my CoolerMaster L keyboard and all other USB devices, including USB external drives, etc). I would then control the Linux host underneath via ssh from the High Sierra guest. When the Dell monitor is dedicated to the High Sierra guest at full 4K, the linux host basically becomes transparent and invisible to the user.
Performance-wise, High Sierra runs buttery smooth and beautifully with the AMD RX560 passthrough in QEMU KVM. It is impressively silky, fast and responsive, with QE working and no glitches or hangs or crashes. Apps open almost instantaneously (split second). Ethernet works out of the box and the sound works perfect via the audio output jack of the Dell monitor which is connected to the AMD RX 560 via Display Port. In fact, the setup is so near-native that I'd speculate that a layperson would not notice the difference compared to say, a 2017 iMac (Geekbench 4 benchmark that I ran seem to suggest similar scores) unless the setup is revealed to him. Personally and anecdotally, I do not notice the difference even if I look for them. I mean, this thing is bat-out-of-cave fast. Certainly, it is a whole different league and at a whole different level from the usual slowish virtual box, parallels, vanilla vmware experience. Even compared to my MacBook Pro (also running High Sierra), this setup feels substantially smoother, faster and more responsive.
There are only two very minor noticeable glitches. First, flac audio playback on Fidelia would intermittently "tear" for split seconds if I concurrently run very heavy compile tasks in the Linux Gentoo OS underneath the QEMU/HighSierra. But this is expected. I have not tried CPU-pinning to dedicate specific CPUs to High Sierra yet, but I suppose using CPU-pinning, the lag can be removed since High Sierra would not then have to compete for CPU with the Gentoo Linux host running underneath. Netflix video playback on Chrome/Safari runs smooth, without any lag even under heavy load. Also, the sound in High Sierra via the AMD graphics card works perfectly -- does not suffer from the slight lag as in the case of running Win 10 in QEMU with the same card passed through. Second, in the High Sierra boot screen, the progress bar under the logo would tear slightly during boot up and appear to freeze (but it is still booting underneath) for say 5-6 seconds, before booting into the login/password screen.
With more fine-tuning, I think I can get the set-up to run High Sierra even faster -- but as it is now, it feels like a native machine already. I am super, super impressed with the performance.
Windows 10:
Windows 10 Enterprise (90-trial version) also works with this QEMU KVM GPU passthrough setup. Everything works out of the box without any patching. All that is needed is for one to download and install the AMD Radeon video drivers. Performance is very smooth too and near native -- except that the audio output lags behind the video output during Netflix playback by a second or two. I feel that Win 10 in this setup is not as impressive (the "Wow" factor") as getting High Sierra to work at near-native with GPU passthrough. Both are near-native, but High Sierra just "feels" (to me anecdotally) better, tighter, more finely tuned, more "buttery" and smoother in this setup as compared to Win10 under the same. Maybe it is just a function of graphical user interface design generally. I don't really know why.
Further Experiment:
Note that all of the above is done despite the fact that I have plugged the AMD RX 560 only in the PCIE x4 slot on the motherboard. This is because I already have the Nvidia GTX 1080 installed in the PCIE x8_1 slot. The AMD RX 560 can't be placed in the x8_2 slot because I use the GTX 1080 for the Linux OS and those two x8 slots are in the same IOMMU hardware group, and hardware in the same IOMMU group cannot be passthrough to two different OSes.
Thus, theoretically, performance in such experiment above could be further improved if I were to use the Intel HD630 onboard graphics for Linux, disconnect the power to the Nvidia GTX (due to the power supply constraint -- by the way, does anyone know how to prevent a GPU card from powering up via the Asus motherboard bios?), and place the AMD RX 560 in the x8_2 slot for the passthrough. Additionally, I can try moving the Linux host to the NVMe .M2 drive for testing for a significant disk speed improvement.
A much more interesting next step would be to procure a second AMD RX 560 card, and place it in a x4 slot, with the first AMD RX 560 card in the x8_2 slot, have Linux running on the Intel HD 630, and then passthrough both AMD cards to High Sierra and Win 10 simultaneously, such that Linux Gentoo, High Sierra and Win10 all run on the same machine at the same time and all at native or near native-speed!
Alternatively, if anyone here knows how to get the Nvidia GTX 1080 to passthrough to High Sierra or Windows via QEMU, I would appreciate it if you could share your knowledge! I have tried to do so many times, but it all ends in black screen with the Nvidia card.
I intend to achieve this as the final goal of this experiment -- with the Dell P4317Q displaying the 4 machines all at the same time -- four split screens at 1920x1080 resolution each, each split screen for each of linux, high sierra, windows, and also my PS 4 Pro.
I also wonder, what happens if I install Gentoo Linux on my MacBook Pro, compile and run QEMU KVM on it, and then passthrough the GPU to the High Sierra guest? Without X Window running (perhaps ssh'ing in to control), I'd speculate that the Linux overhead would be relatively small.
Conclusion:
With all this running on top of Gentoo, there's basically no need to reboot or to troubleshoot incompatible hardware. There are no crashes in the host or the guest though sometimes the guest fails to fire up. Also, backup of guest OSes seems easy -- I just copy the qcow2 hard disk file into storage. And I can fire up and power off the guest anytime I wish without interfering with the Gentoo host running underneath, which has basically becomes transparent. Also, this setup seems, in theory, more resistant to problems when upgrading the OS. And by the way, the messages app seems to work out of the box too.
It is interesting to note that with KVM allowing guest to access many aspects of the host hardware directly, in addition to passing through control of the GPU and USB controllers, discs, other devices etc. to the guest directly, plus pinning CPUs to the guest, the guest is arguably a hybrid of hardware and software, rather than just software. In fact, to me at least, it feels more bare metal than software.
Feel the POWER of Gentoo.
Disclaimer:
All for fair-use, learning, experimental testing only
Screenshots:
https://imgur.com/lxjIFUV (High Sierra GPU Passthrough at full 4K glory)
https://imgur.com/Y66Yd8a (High Sierra + Linux + PS4 Pro)
https://imgur.com/yOSIQIg (Win 10 + Linux + PS4 Pro)
https://imgur.com/y6IgTAm (Apple Magic Mouse (Series 1))
Credit:
D. Kholia (https://github.com/kholia)
submitted by rev0lt001 to VFIO [link] [comments]

How can a view a binary (.bin) file in binary and not hex/ASCII?

I'm trying to find a good program (for Linux) that will allow me to open a .bin file and look at the bytes contained within in BINARY form, not hex or ASCII. I've tried xxd, hextdump, bvi, ghex, lfhex, and none of them seem to have the simple option of laying out the bits for me to see. Does anyone have any suggestions? Thanks!
submitted by hanjh to learnprogramming [link] [comments]

xxD - YouTube Xxd - YouTube Hypothesis testing for difference of two means xxD - YouTube Xxd

xxd [OPTIONS] [file] And here's how the tool's man page explains it: xxd creates a hex dump of a given file or standard input. It can also convert a hex dump back to its original binary form. Like uuencode(1) and uudecode(1) it allows the transmission of binary data in a `mail-safe' ASCII representation, but has the advantage NAME. xxd - make a hexdump or do the reverse.. SYNOPSIS xxd-h[elp] xxd [options] [infile [outfile]] xxd-r[evert] [options] [infile [outfile]] DESCRIPTION xxd creates a hex dump of a given file or standard input. It can also convert a hex dump back to its original binary form. Like uuencode(1) and uudecode(1) it allows the transmission of binary data in a `mail-safe' ASCII representation, but NAME xxd - make a hexdump or do the reverse. SYNOPSIS xxd-h[elp] xxd [options] [infile [outfile]] xxd-r[evert] [options] [infile [outfile]] DESCRIPTION xxd creates a hex dump of a given file or standard input. It can also convert a hex dump back to its original binary form. Like uuencode(1) and uudecode(1) it allows the transmission of binary data in a ‘mail-safe’ ASCII representation, but Linux provides a lot of tools for hexadecimal and binary manipulation. Xxd is one of the most popular tool. Xxd is generally used to create hex dump of the given file or standard input. Help. We can list help information about xxd command with the -h option. $ xxd -h xxd creates a hex dump of a given file or standard input. It can also convert a hex dump back to its original binary form. Like uuencode(1) and uudecode(1) it allows the transmission of binary data in a ‘mail-safe’ ASCII representation, but has the advantage of decoding to standard output. Moreover, it can be used to perform binary file patching.

[index] [19981] [11723] [14967] [4054] [30090] [15198] [24867] [23458] [19250] [19065]

xxD - YouTube

Use XXD and VIM together as a hex editor: An easy introduction to manually editing binary files using the command line in Mac OSX. Sign in to like videos, comment, and subscribe. Sign in. Watch Queue Queue To jest głupie. Arnold Schwarzenegger This Speech Broke The Internet AND Most Inspiring Speech- It Changed My Life. Best Binary Options Strategy 2020 - 2 Minute Strategy LIVE TRAINING! - Duration: 43:42. BLW Online Trading Recommended for you. 43:42. Natural Language Processing in Python - Duration: 1:51:03. Best Binary Options Strategy 2020 - 2 Minute Strategy LIVE TRAINING! - Duration: 43:42. BLW Online Trading Recommended for you. 43:42.

Flag Counter