Cookie Consent by Free Privacy Policy Generator 📌 Considering starting a new oss project; some questions on how multiple monitors/displays work in Linux

🏠 Team IT Security News

TSecurity.de ist eine Online-Plattform, die sich auf die Bereitstellung von Informationen,alle 15 Minuten neuste Nachrichten, Bildungsressourcen und Dienstleistungen rund um das Thema IT-Sicherheit spezialisiert hat.
Ob es sich um aktuelle Nachrichten, Fachartikel, Blogbeiträge, Webinare, Tutorials, oder Tipps & Tricks handelt, TSecurity.de bietet seinen Nutzern einen umfassenden Überblick über die wichtigsten Aspekte der IT-Sicherheit in einer sich ständig verändernden digitalen Welt.

16.12.2023 - TIP: Wer den Cookie Consent Banner akzeptiert, kann z.B. von Englisch nach Deutsch übersetzen, erst Englisch auswählen dann wieder Deutsch!

Google Android Playstore Download Button für Team IT Security



📚 Considering starting a new oss project; some questions on how multiple monitors/displays work in Linux


💡 Newskategorie: Linux Tipps
🔗 Quelle: reddit.com

Hello fellow penguins,

I've been toying around with the idea of starting an open source project.

The idea:

A setup to allow an iPad to be used as an additional monitor in Linux (I guess only on Wayland, since that's the future?).

I know it's already possible with RDP workarounds, but I was thinking about something more sophisticated and native.

Particularly, imo it would be extremely awesome if (in a future phase of the project of course) we can have Apple Pencil support. So you'd be able to draw directly in Krita/Gimp/etc right on the iPad with the apple pencil.

My background:

The problem is, I have no idea where to even start.

I'm a full stack dev with 20 years of experience, so I can write code, but my low-level programming experience is very limited in general, and what there was of it was limited to DOS programming and Windows driver debugging.

Lately I've been getting into Rust, and now that we're getting Rust support in the next version of the kernel, I'd love to use it for this.

What I'm envisioning:

(This is limited by my current understanding, so it may be completely off)

  • There would be a Linux kernel-mode driver for, I am guessing, a virtual monitor (this is where my knowledge lacks the most).
    • For Apple Pencil support (in a future version), I am guessing we would also need an input driver. Maybe we can fork the wacom drivers and re-use some of their code for this?
  • The kernel driver(s) would communicate via unix sockets(?) with a daemon/server app running in usermode.
    • Perhaps it can something like dbus so that they can be decoupled, though I don't think it is feasible or possible to make dbus calls from a kernel module. Maybe we would have another intermediate low-level layer, that would provide an interface between the kmod and the userland server app.
    • The server/daemon app would handle communications with our iOS client app, to facilitate screen output (and later input).
      • We can perhaps use something like RDP to get a quick working prototype out the door, and then work on our own protocol.
      • The protocol should be medium-agnostic, since then we could support wifi as well as a direct usb-c cable, and maybe bluetooth?
  • There would need to be an iPad app built in Swift which would interface with our server app running on the Linux machine.

Questions:

  • Where would I even start looking at how to implement a virtual display?
    • I'll be honest, the idea of "monitors" have always been a mystery to me even in the Windows world. I know there are video card drivers, but when it comes to displays I think there is just one universal monitor plug & play driver? I know there are monitor-specific drivers out there, but IME they mostly tend to deal with additional features of a specific monitor (like volume control, color settings, etc) but all displays have always worked out of the box for me on every OS so long as the video card driver was loaded. So this is my biggest confusion... Is there such thing as a monitor/display driver? Where in the kernel tree would I even look for it?
  • How does Linux work with multiple displays? I am assuming that the kernel handles and abstracts the "presence" and interaction with them, but it is the display system (X or Wayland) that actually manages what to output to them (well, it would be the window system / desktop that would determine WHAT to output, but it is the underlying display server that exposes the APIs to work with them. Is this assumption correct?
    • Where in the Wayland codebase would be good starting points to look at how this whole setup works?
  • And of course: Is anyone interested in working on this with me? :)
    • Particularly, if you can do the kernel/driver programming portion, then I wouldn't need to spend my time on that and can work on the client & server portion -- which is something I do know how to do very well and am good at. I would even be open to discussing some symbolic compensation (Nothing substantial obviously, since this would be a hobby/open source project, but your coffee & beer supply would be on me!)
submitted by /u/lateja
[link] [comments] ...



📌 Considering starting a new oss project; some questions on how multiple monitors/displays work in Linux


📈 108.78 Punkte

📌 New Research: Some Tough Questions for ‘Security Questions’


📈 30.96 Punkte

📌 New Research: Some Tough Questions for ‘Security Questions’


📈 30.96 Punkte

📌 This was super helpful for me when I was starting out with linux I hope some one gets some use out of it.


📈 29.86 Punkte

📌 Studying for Linux+ - Looking for some help on some questions


📈 28.02 Punkte

📌 Wanting to take the plunge into switching from windows 10 to Linux, need some advice and I have some questions....


📈 28.02 Punkte

📌 Considering managed Kubernetes? 5 questions to ask


📈 26.4 Punkte

📌 Considering a Career in Cybersecurity? Ask Yourself These 4 Questions


📈 26.4 Punkte

📌 Hello! I am looking to learn some Linux and am considering the LPIC-1/2. No experience.


📈 26.39 Punkte

📌 Asking the right questions and asking the questions right: How should a project manager communicate with the team?


📈 26.34 Punkte

📌 Acer's new monitors and laptops aim to make 3D displays more accessible


📈 25.96 Punkte

📌 Considering switching to Linux for work from home/gaming pc


📈 25.75 Punkte

📌 These refurb HP Monitors can enhance your workspace starting at $100 today


📈 25.56 Punkte

📌 Sharing some Linux and OSS love: cross device calendar and tasks with Nextcloud


📈 25.4 Punkte

📌 Setup some new sound with Samson's M50 studio monitors on sale for $98


📈 24.15 Punkte

📌 Apple considering shift of some iPad production into India


📈 23.9 Punkte

📌 Why Some Open-Source Companies Are Considering a More Closed Approach


📈 23.9 Punkte

📌 Do any bluetooth transmitters that work with Windows also work with Linux, Ubuntu or Kubuntu? Do they usually work with all?


📈 23.6 Punkte











matomo