MAC OS get monitor vertical sync and horz display rate - macos

I need to get the vertical sync rate and horizontal scan rate of a customized LCD monitor connected to a mac mini. On Linux I know "ddcprobe" retrieves those hardware information. How can I get those info on mac? The monitor is connected to a mac mini via HDMI cable if that helps.
Thanks

There's Quartz Display Services's CGDisplayCopyDisplayMode. You can get the refresh rate using CGDisplayModeGetRefreshRate from the returned opaque type. I don't believe there's a way to retrieve the horizontal rate.

Related

Citrix Receiver Resolution 4K on MacOS

I have a Retina screen MacBook Pro with a 15.6" 4K external monitor attached. I've discovered the resolution of the Citrix session is terrible unless I set the (MacOS) display resolution to 3840x2160, in which case the session resolution is perfect.
The trouble is at this setting, the resolution outside of the session, in MacOS is tiny - I usually have it set to scaled slightly larger. Without the external screen attached, the situation is the same with the default native display resolution resulting in very poor quality in the session.
Is there any solution where both the Citrix session and MacOS both look good?
defaults write com.citrix.receiver.nomas EnableHighDPI -bool YES
I have a Retina screen MacBook Pro with a 15.6" 4K external monitor attached.
According to Citrix they don't have a solution yet.
Prerequisites
To try out on individual MacBooks without enabling for the entire organization/store or if you do not want to whitelist LaunchDarkly on your internal network, you can run the following command in macOS Terminal
defaults write com.citrix.receiver.nomas EnableHighDPI -bool YES
Limitations
Supported devices: MacBook, MacBook Pro. Devices not supported: Mac mini, iMacs, Mac Pro.
No Multi monitor support. This feature will not work if you have connected a secondary monitor. Even if you don't use the secondary monitor with the Citrix Workspace app, simply connecting it will cause this feature to not be available. This feature works only when you use a single monitor for your device.
Source: https://support.citrix.com/article/CTX270704/citrix-workspace-app-for-macos-and-retina-displays
I tried it on my M1 Mac. After I disconnected the Thunderbolt dock with all peripherals the running session changed the resolution by itself to higher DPI. As soon as I connected an external monitor I was back to 1080p.

Matrice 100 - On Board SDK

For my M100 I want to control several external devices such as laserpointer or thermal camera. I think, for a full control I have to integrate it by OSDK. I looked through the dji sdk documentation, but I have no idea where to start and what I effectively have to do. May somebody give me a little hint how to start and what really is necessary to fullfill my requirement described below.
Connect a Flir Boson (3.3V) and display the thermal image on the remote controllers mobile device.
Control the thermal camera (switch on/off) by the remote conroller.
Connect a laser pointer on a standard port of the M100 and control switch it on/off by a button of the remote controller.

Read raw data from wired mouse

I need to obtain raw data from a USB wired optical mouse(x and y axis motion coordinates). Is there a way to do this from Windows command prompt? I have the windows driver kit installed. But I am not sure how to proceed to obtain the raw values.Any suggestions?

Loss of Resolution using Display Port Adapter

I have a Laptop running Windows 7, set up to connect to two Asus Monitors.
My Laptop (Lenovo) only has one VGA and One Display Port.
When hooking up these monitors I must use a Display Port to VGA adapter. Both Monitors go to different KVM Switches which connect to the Monitors.
Monitor A. It appears that the Monitor connected through the display port adapter shows a generic name LCD_VGA and has a (recommended) resolution which is max of 1280X1024
Monitor B. The other monitor shows a correct name ASUS VS238 and a real (recommended) resolution of 1920X1080
When I switch cables say A = Display Port Adapter and B = Direct VGA the Resolutions Switch. A = 1920X1080 Max and B = 1280X1024 Max.
I have tried Detect under Screen Resolution, a Computer Reload, KVM Context Switches, Installing a new 1920X1080 Driver for the monitors, and Using Custom Resolution Via Nvidia Control Panel. None seem to work.
Is it possible the Display Port breaks the device information communications somehow? Any other hints?
you need to disclose what kvm switch(es) with your setup. Looks like your kvm switch(es) did not do the EDID emulation via the DDC communication between the KVM switch(es) and your connected system.
But for sure, it is EDID emulation issue.

Mac OS: get full control of web-camera (USB connected)

The task:
OS: Mac OS X 10.9 +
Description:
There is web-camera connected to a Mac via USB. I need to discover a way of getting access to its' brightness, pan, color temperature, focus, etc.
I also need a way to apply image filters against camera's video stream.
I need to be able to control the camera while it is being used by other programs like Skype, so I can transmit for example video stream with increased contrast at Skype video call.
Reference app: https://itunes.apple.com/app/webcam-settings/id533696630?mt=12
Solution:
This is the question.
As far as I understood I must to find custom kext (driver) in order to perform all this magic.
Could you please show me right direction, libraries, drivers, etc.
You can use opencv library to capture camera frames, apply filters, etc.
http://docs.opencv.org/2.4/doc/tutorials/introduction/display_image/display_image.html
Then you can feed a virtual cam that can feed into Skype, etc.
http://download.cnet.com/Virtual-Webcam/3000-2348_4-75754338.html
There also many open source virtual webcam available.
I hope this helps.

Resources