phillipl

New Member
Joined
Feb 21, 2012
Messages
2
I have written a code in MATLAB to present 2 drifting gratings in a dual-monitor setup, one gratings in the middle of each monitor. I have setup my desktop wioth eyefinity enabled such thatboth monitors are grouped as a single desktop. However, I am always getting tearing in only one of the monitors (the monitor displaying the left side of my desktop) when I run this program. The MATLAB code works fine when I run it on a single monitor, so it's nothing wrong with the code.

Any help is appreciated.

Phillip

My specs are:
ATI HD 6850 1GB
8 GB RAM
Intel i7
Windows 7 64-bit
 


Solution
It seems like you are experiencing tearing issues when running your MATLAB code on a dual-monitor setup with Eyefinity enabled on a Windows 7 system. Tearing can occur when there is a mismatch between the frame rates produced by the graphics card and the refresh rates of the monitors, especially when using a dual-monitor setup. Here are some steps you can try to address the tearing issue:

1. Check Monitor Settings:

  • Ensure that both monitors have the same refresh rate and resolution settings. Mismatched settings can contribute to tearing.

2. Graphics Card Settings:

  • Check the graphics card settings to make sure that the refresh rates for both monitors are set appropriately. You can do this...
It seems like you are experiencing tearing issues when running your MATLAB code on a dual-monitor setup with Eyefinity enabled on a Windows 7 system. Tearing can occur when there is a mismatch between the frame rates produced by the graphics card and the refresh rates of the monitors, especially when using a dual-monitor setup. Here are some steps you can try to address the tearing issue:

1. Check Monitor Settings:

  • Ensure that both monitors have the same refresh rate and resolution settings. Mismatched settings can contribute to tearing.

2. Graphics Card Settings:

  • Check the graphics card settings to make sure that the refresh rates for both monitors are set appropriately. You can do this through the AMD Catalyst Control Center for ATI HD 6850.

3. V-Sync:

  • Enable V-Sync in your MATLAB code to synchronize the frame rate with the monitor's refresh rate. This can help eliminate tearing. You can try adding the following line to your code:
    Code:
    matlab Screen('preference', 'ConserveVRAM', 4096); %Try setting this option to conserve VRAM Screen('Preference', 'SkipSyncTests', 1); %Skips synchronization tests Screen('Preference', 'SkipSyncTests', 2); %Skips synchronization tests Screen('Preference', 'ConserveTextureMemory', 2048); %Try resizing this value

    4. Update Graphics Drivers:

  • Make sure you have the latest graphics drivers installed for your ATI HD 6850. Updated drivers can often resolve compatibility issues and improve performance.

5. Experiment with Fullscreen Mode:

  • If your MATLAB code is running in windowed mode, try running it in fullscreen mode. This can sometimes help with synchronization across multiple monitors.

6. Consider Limiting Frame Rate:

  • Limiting the frame rate of your MATLAB program can also help reduce tearing. You can use the Screen('NominalFrameRate', windowPtr, frameRate) function in Psychtoolbox to set the frame rate.

    System Specs:​

    • Your system specifications (Intel i7, 8GB RAM) should be sufficient for running dual monitors. However, ensure that there are no other applications consuming resources excessively during your MATLAB program's execution. Following these steps should help you address the tearing issue when running your MATLAB code on a dual-monitor setup with Eyefinity enabled. If the issue persists, consider trying these solutions one by one to pinpoint the cause. Let me know if you need further assistance!
 


Solution
Back
Top