more
This commit is contained in:
1 parent
cd39a5dec6
commit
fc29f6995a
47 files changed
+1670
No files matched your search
+43
@@ -0,0 +1,43 @@
|
||||
---
|
||||
title: "@ID_AA_Carmack Isn't that the responsibility of the hardware drivers, or are you proposing to have another layer between the hardware and the OS? Or perhaps it represents an aspect of the OS (Linux?) that is under-developed?"
|
||||
type: archive
|
||||
source: twitter
|
||||
source_url: "https://x.com/K3n_5s/status/1457781020556599297"
|
||||
author: "Ken '@K3n5s on Bsky' 🌻"
|
||||
handle: K3n_5s
|
||||
post_id: "1457781020556599297"
|
||||
date: 2021-11-08
|
||||
archived: 2026-08-29
|
||||
draft: false
|
||||
tags:
|
||||
- archive
|
||||
- twitter
|
||||
- ID_AA_Carmack
|
||||
description: "@ID_AA_Carmack Isn't that the responsibility of the hardware drivers, or are you proposing to have another layer between the hardware and the OS? Or perhaps it represents an aspect of the OS (Linux?) that is under-developed?"
|
||||
in_reply_to: ""
|
||||
parent_post_id: "1457779240980520963"
|
||||
---
|
||||
|
||||
## Source
|
||||
|
||||
- URL: https://x.com/K3n_5s/status/1457781020556599297
|
||||
- Author: Ken '@K3n5s on Bsky' 🌻 (@K3n_5s)
|
||||
- Posted: 2021-11-08 18:44:14
|
||||
|
||||
## Branch
|
||||
|
||||
**1/** **@K3n_5s** ^1457781020556599297
|
||||
|
||||
**@ID_AA_Carmack**
|
||||
|
||||
Isn't that the responsibility of the hardware drivers, or are you proposing to have another layer between the hardware and the OS? Or perhaps it represents an aspect of the OS (Linux?) that is under-developed?
|
||||
|
||||
**2/** **@ID_AA_Carmack** ^1457781666949177352
|
||||
|
||||
**@K3n_5s**
|
||||
|
||||
The OS only provides abstractions for conventional hardware, accessed in conventional ways. I'm suggesting a thin / easy / fun layer over the actual interface protocol for arbitrary device development. Maybe some graduate to OS abstractions, but it wouldn't be necessary.
|
||||
|
||||
## Related
|
||||
|
||||
- Spine: [[archive/threads/ID_AA_Carmack/2021-11-08-the-software-side-of-dealing-with-custom-hardware]]
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
---
|
||||
title: "@ID_AA_Carmack Isn't that more due to a lack of standardized low-level apis? Or the lack of interest from hardware producers to actually provide software developers with more than hardware specs?"
|
||||
type: archive
|
||||
source: twitter
|
||||
source_url: "https://x.com/_MaxiTB/status/1457780478111469581"
|
||||
author: "MaxiTB"
|
||||
handle: _MaxiTB
|
||||
post_id: "1457780478111469581"
|
||||
date: 2021-11-08
|
||||
archived: 2026-08-29
|
||||
draft: false
|
||||
tags:
|
||||
- archive
|
||||
- twitter
|
||||
- ID_AA_Carmack
|
||||
description: "@ID_AA_Carmack Isn't that more due to a lack of standardized low-level apis? Or the lack of interest from hardware producers to actually provide software developers with more than hardware specs?"
|
||||
in_reply_to: ""
|
||||
parent_post_id: "1457779240980520963"
|
||||
---
|
||||
|
||||
## Source
|
||||
|
||||
- URL: https://x.com/_MaxiTB/status/1457780478111469581
|
||||
- Author: MaxiTB (@_MaxiTB)
|
||||
- Posted: 2021-11-08 18:42:04
|
||||
|
||||
## Branch
|
||||
|
||||
**1/** **@_MaxiTB** ^1457780478111469581
|
||||
|
||||
**@ID_AA_Carmack**
|
||||
|
||||
Isn't that more due to a lack of standardized low-level apis? Or the lack of interest from hardware producers to actually provide software developers with more than hardware specs?
|
||||
|
||||
## Related
|
||||
|
||||
- Spine: [[archive/threads/ID_AA_Carmack/2021-11-08-the-software-side-of-dealing-with-custom-hardware]]
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
---
|
||||
title: "@ID_AA_Carmack Interesting recent development has been 'writing' hardware in Python, e.g."
|
||||
type: archive
|
||||
source: twitter
|
||||
source_url: "https://x.com/b1tcminerpljy/status/1457781649869991936"
|
||||
author: "Nelsoncoindigger"
|
||||
handle: b1tcminerpljy
|
||||
post_id: "1457781649869991936"
|
||||
date: 2021-11-08
|
||||
archived: 2026-08-29
|
||||
draft: false
|
||||
tags:
|
||||
- archive
|
||||
- twitter
|
||||
- ID_AA_Carmack
|
||||
description: "@ID_AA_Carmack Interesting recent development has been 'writing' hardware in Python, e.g."
|
||||
in_reply_to: ""
|
||||
parent_post_id: "1457779240980520963"
|
||||
---
|
||||
|
||||
## Source
|
||||
|
||||
- URL: https://x.com/b1tcminerpljy/status/1457781649869991936
|
||||
- Author: Nelsoncoindigger (@b1tcminerpljy)
|
||||
- Posted: 2021-11-08 18:46:44
|
||||
|
||||
## Branch
|
||||
|
||||
**1/** **@b1tcminerpljy** ^1457781649869991936
|
||||
|
||||
**@ID_AA_Carmack**
|
||||
|
||||
Interesting recent development has been 'writing' hardware in Python, e.g. 'Migen', for FPGAs/ASICs instead of traditional VHDL/Verilog which are old & v. clunky.
|
||||
|
||||
## Related
|
||||
|
||||
- Spine: [[archive/threads/ID_AA_Carmack/2021-11-08-the-software-side-of-dealing-with-custom-hardware]]
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
---
|
||||
title: "@ID_AA_Carmack LibUSB exists and has even Python bindings."
|
||||
type: archive
|
||||
source: twitter
|
||||
source_url: "https://x.com/janoc200/status/1457804872816996359"
|
||||
author: "Jan Ciger (@janoc200@mstdn.social)"
|
||||
handle: janoc200
|
||||
post_id: "1457804872816996359"
|
||||
date: 2021-11-08
|
||||
archived: 2026-08-29
|
||||
draft: false
|
||||
tags:
|
||||
- archive
|
||||
- twitter
|
||||
- ID_AA_Carmack
|
||||
description: "@ID_AA_Carmack LibUSB exists and has even Python bindings."
|
||||
in_reply_to: ""
|
||||
parent_post_id: "1457779240980520963"
|
||||
---
|
||||
|
||||
## Source
|
||||
|
||||
- URL: https://x.com/janoc200/status/1457804872816996359
|
||||
- Author: Jan Ciger (@janoc200@mstdn.social) (@janoc200)
|
||||
- Posted: 2021-11-08 20:19:01
|
||||
|
||||
## Branch
|
||||
|
||||
**1/** **@janoc200** ^1457804872816996359
|
||||
|
||||
**@ID_AA_Carmack**
|
||||
|
||||
LibUSB exists and has even Python bindings. PCIe is unlikely to be doable due to the required OS interfaces not being exposed to the userspace. And neither is going to be high performance if done through user space/Python.
|
||||
|
||||
## Related
|
||||
|
||||
- Spine: [[archive/threads/ID_AA_Carmack/2021-11-08-the-software-side-of-dealing-with-custom-hardware]]
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
---
|
||||
title: "@ID_AA_Carmack Is libusb not the answer to talking to custom USB devices without all the effort of writing specific drivers?"
|
||||
type: archive
|
||||
source: twitter
|
||||
source_url: "https://x.com/jfwfreo/status/1457795849577062417"
|
||||
author: "Jonathan Wilson"
|
||||
handle: jfwfreo
|
||||
post_id: "1457795849577062417"
|
||||
date: 2021-11-08
|
||||
archived: 2026-08-29
|
||||
draft: false
|
||||
tags:
|
||||
- archive
|
||||
- twitter
|
||||
- ID_AA_Carmack
|
||||
description: "@ID_AA_Carmack Is libusb not the answer to talking to custom USB devices without all the effort of writing specific drivers?"
|
||||
in_reply_to: ""
|
||||
parent_post_id: "1457779240980520963"
|
||||
---
|
||||
|
||||
## Source
|
||||
|
||||
- URL: https://x.com/jfwfreo/status/1457795849577062417
|
||||
- Author: Jonathan Wilson (@jfwfreo)
|
||||
- Posted: 2021-11-08 19:43:09
|
||||
|
||||
## Branch
|
||||
|
||||
**1/** **@jfwfreo** ^1457795849577062417
|
||||
|
||||
**@ID_AA_Carmack**
|
||||
|
||||
Is libusb not the answer to talking to custom USB devices without all the effort of writing specific drivers?
|
||||
|
||||
## Related
|
||||
|
||||
- Spine: [[archive/threads/ID_AA_Carmack/2021-11-08-the-software-side-of-dealing-with-custom-hardware]]
|
||||
+39
@@ -0,0 +1,39 @@
|
||||
---
|
||||
title: "@ID_AA_Carmack Have you seen http://cfu-playground.rtfd.io/ or https://workshop.fomu.im/ ?"
|
||||
type: archive
|
||||
source: twitter
|
||||
source_url: "https://x.com/mithro/status/1457834348019806208"
|
||||
author: "Tim 'mithro' Ansell"
|
||||
handle: mithro
|
||||
post_id: "1457834348019806208"
|
||||
date: 2021-11-08
|
||||
archived: 2026-08-29
|
||||
draft: false
|
||||
tags:
|
||||
- archive
|
||||
- twitter
|
||||
- ID_AA_Carmack
|
||||
description: "@ID_AA_Carmack Have you seen http://cfu-playground.rtfd.io/ or https://workshop.fomu.im/ ?"
|
||||
in_reply_to: ""
|
||||
parent_post_id: "1457779240980520963"
|
||||
---
|
||||
|
||||
## Source
|
||||
|
||||
- URL: https://x.com/mithro/status/1457834348019806208
|
||||
- Author: Tim 'mithro' Ansell (@mithro)
|
||||
- Posted: 2021-11-08 22:16:08
|
||||
|
||||
## Branch
|
||||
|
||||
**1/** **@mithro** ^1457834348019806208
|
||||
|
||||
**@ID_AA_Carmack**
|
||||
|
||||
Have you seen http://cfu-playground.rtfd.io/ or https://workshop.fomu.im/ ?
|
||||
|
||||
They show how an soft-CPU running on an FPGA can lead to all types of hardware+software co-optimization fun! It's really cool to be able to convert that hot loop into a new opcode on the fly....
|
||||
|
||||
## Related
|
||||
|
||||
- Spine: [[archive/threads/ID_AA_Carmack/2021-11-08-the-software-side-of-dealing-with-custom-hardware]]
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
---
|
||||
title: "@ID_AA_Carmack Spent the weekend learning V4L2 to do some video decoding on the Jetson Nano."
|
||||
type: archive
|
||||
source: twitter
|
||||
source_url: "https://x.com/thesammiller/status/1457780560777019397"
|
||||
author: "the sam miller"
|
||||
handle: thesammiller
|
||||
post_id: "1457780560777019397"
|
||||
date: 2021-11-08
|
||||
archived: 2026-08-29
|
||||
draft: false
|
||||
tags:
|
||||
- archive
|
||||
- twitter
|
||||
- ID_AA_Carmack
|
||||
description: "@ID_AA_Carmack Spent the weekend learning V4L2 to do some video decoding on the Jetson Nano."
|
||||
in_reply_to: ""
|
||||
parent_post_id: "1457779240980520963"
|
||||
---
|
||||
|
||||
## Source
|
||||
|
||||
- URL: https://x.com/thesammiller/status/1457780560777019397
|
||||
- Author: the sam miller (@thesammiller)
|
||||
- Posted: 2021-11-08 18:42:24
|
||||
|
||||
## Branch
|
||||
|
||||
**1/** **@thesammiller** ^1457780560777019397
|
||||
|
||||
**@ID_AA_Carmack**
|
||||
|
||||
Spent the weekend learning V4L2 to do some video decoding on the Jetson Nano. The best documentation is a Nvidia unit test. Makes it a little tricky to implement in your own app.
|
||||
|
||||
## Related
|
||||
|
||||
- Spine: [[archive/threads/ID_AA_Carmack/2021-11-08-the-software-side-of-dealing-with-custom-hardware]]
|
||||
+41
@@ -0,0 +1,41 @@
|
||||
---
|
||||
title: "@ID_AA_Carmack This sounds like a translation problem."
|
||||
type: archive
|
||||
source: twitter
|
||||
source_url: "https://x.com/acpopescu/status/1458051675051249668"
|
||||
author: "ACP"
|
||||
handle: acpopescu
|
||||
post_id: "1458051675051249668"
|
||||
date: 2021-11-09
|
||||
archived: 2026-08-29
|
||||
draft: false
|
||||
tags:
|
||||
- archive
|
||||
- twitter
|
||||
- ID_AA_Carmack
|
||||
description: "@ID_AA_Carmack This sounds like a translation problem."
|
||||
in_reply_to: ""
|
||||
parent_post_id: "1457779240980520963"
|
||||
---
|
||||
|
||||
## Source
|
||||
|
||||
- URL: https://x.com/acpopescu/status/1458051675051249668
|
||||
- Author: ACP (@acpopescu)
|
||||
- Posted: 2021-11-09 12:39:43
|
||||
|
||||
## Branch
|
||||
|
||||
**1/** **@acpopescu** ^1458051675051249668
|
||||
|
||||
**@ID_AA_Carmack**
|
||||
|
||||
This sounds like a translation problem. We know gow to do it with some interfaces, but not with others.
|
||||
|
||||
Maybe one of these models, like copilot from github, or the likes of Megatron could propose a translation. And humans refine it.
|
||||
|
||||
Trouble is, there is no data :(
|
||||
|
||||
## Related
|
||||
|
||||
- Spine: [[archive/threads/ID_AA_Carmack/2021-11-08-the-software-side-of-dealing-with-custom-hardware]]
|
||||
+38
@@ -0,0 +1,38 @@
|
||||
---
|
||||
title: "@ID_AA_Carmack This is (slowly) becoming fun! Want to join the party? :)"
|
||||
type: archive
|
||||
source: twitter
|
||||
source_url: "https://x.com/enjoy_digital/status/1458026504865173506"
|
||||
author: "Enjoy Digital"
|
||||
handle: enjoy_digital
|
||||
post_id: "1458026504865173506"
|
||||
date: 2021-11-09
|
||||
archived: 2026-08-29
|
||||
draft: false
|
||||
tags:
|
||||
- archive
|
||||
- twitter
|
||||
- ID_AA_Carmack
|
||||
description: "@ID_AA_Carmack This is (slowly) becoming fun! Want to join the party? :)"
|
||||
in_reply_to: ""
|
||||
parent_post_id: "1457779240980520963"
|
||||
---
|
||||
|
||||
## Source
|
||||
|
||||
- URL: https://x.com/enjoy_digital/status/1458026504865173506
|
||||
- Author: Enjoy Digital (@enjoy_digital)
|
||||
- Posted: 2021-11-09 10:59:42
|
||||
|
||||
## Branch
|
||||
|
||||
**1/** **@enjoy_digital** ^1458026504865173506
|
||||
|
||||
**@ID_AA_Carmack**
|
||||
|
||||
This is (slowly) becoming fun! Want to join the party? :)
|
||||
https://x.com/enjoy_digital/status/1450037624446586883
|
||||
|
||||
## Related
|
||||
|
||||
- Spine: [[archive/threads/ID_AA_Carmack/2021-11-08-the-software-side-of-dealing-with-custom-hardware]]
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
---
|
||||
title: "@ID_AA_Carmack Since libusb has already been mentioned, but not the pcie equivalent, you're looking for VFIO."
|
||||
type: archive
|
||||
source: twitter
|
||||
source_url: "https://x.com/mm0zct/status/1457892163220647937"
|
||||
author: "mm0zct"
|
||||
handle: mm0zct
|
||||
post_id: "1457892163220647937"
|
||||
date: 2021-11-09
|
||||
archived: 2026-08-29
|
||||
draft: false
|
||||
tags:
|
||||
- archive
|
||||
- twitter
|
||||
- ID_AA_Carmack
|
||||
description: "@ID_AA_Carmack Since libusb has already been mentioned, but not the pcie equivalent, you're looking for VFIO."
|
||||
in_reply_to: ""
|
||||
parent_post_id: "1457779240980520963"
|
||||
---
|
||||
|
||||
## Source
|
||||
|
||||
- URL: https://x.com/mm0zct/status/1457892163220647937
|
||||
- Author: mm0zct (@mm0zct)
|
||||
- Posted: 2021-11-09 02:05:52
|
||||
|
||||
## Branch
|
||||
|
||||
**1/** **@mm0zct** ^1457892163220647937
|
||||
|
||||
**@ID_AA_Carmack**
|
||||
|
||||
Since libusb has already been mentioned, but not the pcie equivalent, you're looking for VFIO. Let's you map pcie BARS into userspace and also set up the pcie dma translations so the endpoint can directly access your userspace memory buffers. Happy to elaborate :-)
|
||||
|
||||
## Related
|
||||
|
||||
- Spine: [[archive/threads/ID_AA_Carmack/2021-11-08-the-software-side-of-dealing-with-custom-hardware]]
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
---
|
||||
title: "@ID_AA_Carmack Serial-over-USB is a common one for scientific equipment."
|
||||
type: archive
|
||||
source: twitter
|
||||
source_url: "https://x.com/stephenjbrooks/status/1457891644494295044"
|
||||
author: "Stephen Brooks 🦆"
|
||||
handle: stephenjbrooks
|
||||
post_id: "1457891644494295044"
|
||||
date: 2021-11-09
|
||||
archived: 2026-08-29
|
||||
draft: false
|
||||
tags:
|
||||
- archive
|
||||
- twitter
|
||||
- ID_AA_Carmack
|
||||
description: "@ID_AA_Carmack Serial-over-USB is a common one for scientific equipment."
|
||||
in_reply_to: ""
|
||||
parent_post_id: "1457779240980520963"
|
||||
---
|
||||
|
||||
## Source
|
||||
|
||||
- URL: https://x.com/stephenjbrooks/status/1457891644494295044
|
||||
- Author: Stephen Brooks 🦆 (@stephenjbrooks)
|
||||
- Posted: 2021-11-09 02:03:49
|
||||
|
||||
## Branch
|
||||
|
||||
**1/** **@stephenjbrooks** ^1457891644494295044
|
||||
|
||||
**@ID_AA_Carmack**
|
||||
|
||||
Serial-over-USB is a common one for scientific equipment. Also just ethernet (using libcurl to get a webpage with the data!)
|
||||
|
||||
## Related
|
||||
|
||||
- Spine: [[archive/threads/ID_AA_Carmack/2021-11-08-the-software-side-of-dealing-with-custom-hardware]]
|
||||
+36
@@ -0,0 +1,36 @@
|
||||
---
|
||||
title: "The software side of dealing with custom hardware is unpleasant, and a drain on building it and exploiting it when completed."
|
||||
type: archive
|
||||
source: twitter
|
||||
source_url: "https://x.com/ID_AA_Carmack/status/1457779239004999694"
|
||||
author: "John Carmack"
|
||||
handle: ID_AA_Carmack
|
||||
post_id: "1457779239004999694"
|
||||
date: 2021-11-08
|
||||
archived: 2026-08-29
|
||||
draft: false
|
||||
tags:
|
||||
- archive
|
||||
- twitter
|
||||
- ID_AA_Carmack
|
||||
description: "The software side of dealing with custom hardware is unpleasant, and a drain on building it and exploiting it when completed."
|
||||
in_reply_to: ""
|
||||
---
|
||||
|
||||
## Source
|
||||
|
||||
- URL: https://x.com/ID_AA_Carmack/status/1457779239004999694
|
||||
- Author: John Carmack (@ID_AA_Carmack)
|
||||
- Posted: 2021-11-08 18:37:09
|
||||
|
||||
## Thread
|
||||
|
||||
**1/** **@ID_AA_Carmack** ^1457779239004999694
|
||||
|
||||
The software side of dealing with custom hardware is unpleasant, and a drain on building it and exploiting it when completed. I suspect there would be a useful boost in innovation if there was a library that made it trivial to write one-page C and Python programs that could do \
|
||||
|
||||
**2/** **@ID_AA_Carmack** ^1457779240980520963
|
||||
|
||||
high performance interfacing with arbitrary USB and PCIe hardware. You can obviously get it done with existing interfaces, but it isn't fun, and the loss due to friction in a many-user world is often surprisingly large.
|
||||
|
||||
Branches: [[archive/threads/ID_AA_Carmack/2021-11-08-the-software-side-of-dealing-with-custom-hardware/2021-11-08-_MaxiTB-isnt-that-more-due-to-a-lack-of-standardized-low]], [[archive/threads/ID_AA_Carmack/2021-11-08-the-software-side-of-dealing-with-custom-hardware/2021-11-08-thesammiller-spent-the-weekend-learning-v4l2-to-do-some-video]], [[archive/threads/ID_AA_Carmack/2021-11-08-the-software-side-of-dealing-with-custom-hardware/2021-11-08-K3n_5s-isnt-that-the-responsibility-of-the-hardware]], [[archive/threads/ID_AA_Carmack/2021-11-08-the-software-side-of-dealing-with-custom-hardware/2021-11-08-b1tcminerpljy-interesting-recent-development-has-been-writing]], [[archive/threads/ID_AA_Carmack/2021-11-08-the-software-side-of-dealing-with-custom-hardware/2021-11-08-jfwfreo-is-libusb-not-the-answer-to-talking-to-custom-usb]], [[archive/threads/ID_AA_Carmack/2021-11-08-the-software-side-of-dealing-with-custom-hardware/2021-11-08-janoc200-libusb-exists-and-has-even-python-bindings-pcie]], [[archive/threads/ID_AA_Carmack/2021-11-08-the-software-side-of-dealing-with-custom-hardware/2021-11-08-mithro-have-you-seen-http-cfu-playground-rtfd-io-or]], [[archive/threads/ID_AA_Carmack/2021-11-08-the-software-side-of-dealing-with-custom-hardware/2021-11-09-stephenjbrooks-serial-over-usb-is-a-common-one-for-scientific]], [[archive/threads/ID_AA_Carmack/2021-11-08-the-software-side-of-dealing-with-custom-hardware/2021-11-09-mm0zct-since-libusb-has-already-been-mentioned-but-not]], [[archive/threads/ID_AA_Carmack/2021-11-08-the-software-side-of-dealing-with-custom-hardware/2021-11-09-enjoy_digital-this-is-slowly-becoming-fun-want-to-join-the]], [[archive/threads/ID_AA_Carmack/2021-11-08-the-software-side-of-dealing-with-custom-hardware/2021-11-09-acpopescu-this-sounds-like-a-translation-problem-we-know]]
|
||||
@@ -10,6 +10,7 @@ tags:
|
||||
---
|
||||
|
||||
- [[archive/threads/ID_AA_Carmack/2021-07-08-webusb-sure-sounds-like-scope-creep]]
|
||||
- [[archive/threads/ID_AA_Carmack/2021-11-08-the-software-side-of-dealing-with-custom-hardware]]
|
||||
- [[archive/threads/ID_AA_Carmack/2022-01-03-when-unity-and-unreal-package-textures-and]]
|
||||
- [[archive/threads/ID_AA_Carmack/2022-01-27-address-space-randomization-is-a-security-feature]]
|
||||
- [[archive/threads/ID_AA_Carmack/2023-02-11-row-column-major-should-have-been-termed-row]]
|
||||
|
||||
Reference in new issue
Block a user