Git Product home page Git Product logo

Comments (22)

dev7355608 avatar dev7355608 commented on May 13, 2024 1

Also please try v0.3.2.2 (44adaca).

from csgo_dont_blind_me.

dev7355608 avatar dev7355608 commented on May 13, 2024

Are these all errors? Do you have multiple monitors?

from csgo_dont_blind_me.

Retardium avatar Retardium commented on May 13, 2024

Yes, I've connected a second monitor.
The primary monitor becomes brighter for a short time and then the error message appear.
Thats all and nothing happens ingame.

from csgo_dont_blind_me.

dev7355608 avatar dev7355608 commented on May 13, 2024

Do the errors appear when you throw the first flash or shortly after you start the app?

from csgo_dont_blind_me.

Retardium avatar Retardium commented on May 13, 2024

After starting the app.

from csgo_dont_blind_me.

dev7355608 avatar dev7355608 commented on May 13, 2024

Could you post the complete output of the app?

from csgo_dont_blind_me.

dev7355608 avatar dev7355608 commented on May 13, 2024

And only your primary monitor gets brighter for a short time and the second monitor stays the same?

from csgo_dont_blind_me.

Retardium avatar Retardium commented on May 13, 2024
PLEASE READ THE INSTRUCTIONS CAREFULLY!

Don't forget to copy gamestate_integration_dont_blind_me.cfg into
    ...\Steam\userdata\________\730\local\cfg, or
    ...\Steam\steamapps\common\Counter-Strike Global Offensive\csgo\cfg!

Don't forget to set your preferred gamma in settings.json! Currently set to:
    mat_monitorgamma             1.60
    mat_monitorgamma_tv_enabled  0

Don't forget to set the launch option -nogammaramp!

Don't forget to disable f.lux!
Don't forget to disable Redshift!
Don't forget to disable Windows Night Light!
Don't forget to disable Xbox DVR/Game bar!

In case you get an error:
    Did you restart your PC after running set_max_gamma_range.reg?

OSError: [WinError 87] The parameter is incorrect.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "app.py", line 264, in <module>
  File "app.py", line 201, in adjust_brightness
  File "gamma\gamma_wingdi.py", line 125, in set
RuntimeError: Unable to set gamma ramp
Failed to execute script app
Error in atexit._run_exitfuncs:
OSError: [WinError 87] The parameter is incorrect.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "contextlib.py", line 77, in __exit__
  File "gamma\gamma_wingdi.py", line 83, in get_dc
  File "gamma\gamma_wingdi.py", line 135, in set_default
RuntimeError: Unable to set gamma ramp


Press CTRL+C to quit...

Thats the complete output.
Only the the primary monitor gets brighter and it's just for a very short time.

from csgo_dont_blind_me.

alqy avatar alqy commented on May 13, 2024

I was getting that same error. It started when i ran set_max_gamma_range.reg. Try running restore_gamma_range.reg. This helped me get rid of those errors but i still havent gotten the program to run properly.

from csgo_dont_blind_me.

dev7355608 avatar dev7355608 commented on May 13, 2024

Weird errors. Please try v0.3.2.1 (31d3838).

from csgo_dont_blind_me.

Garry050 avatar Garry050 commented on May 13, 2024

If we have 2 or more graphics card, will be get WinError 87.

Workaround: Disable (or disconnect) sub graphics card.

sorry my english

from csgo_dont_blind_me.

dev7355608 avatar dev7355608 commented on May 13, 2024

Please let me know if the error disappears if you turn of your secondary monitor. Also please try the following and let me know if it resolves the problem:

  1. If you have a Nvidia graphics card, go into Nvidia Control Panel ->3D Settings -> Manage 3D Settings and set Preferred graphics processor to High-performance NVIDIA processor.
  2. Try disabling the integrated graphic card: go to Device Manager -> Display adapters and disable everything except your dedicated graphics card.

from csgo_dont_blind_me.

Garry050 avatar Garry050 commented on May 13, 2024

0.3.2.2, 0.3.2.3 still doesn't work. we need disable other graphics card or disconnect monitor

from csgo_dont_blind_me.

dev7355608 avatar dev7355608 commented on May 13, 2024

@Garry050 Do you mean by other graphics card your integrated card or another dedicated card? And, if you disabled it, changes the second monitor its brightness too or just the primary monitor (supposing disabling the other graphics card doesn't turn off the monitor)?

from csgo_dont_blind_me.

p410n3 avatar p410n3 commented on May 13, 2024

@Garry050 pls explain why you have more than 2 GPUs? Are theydifferent? SLI? That will help

from csgo_dont_blind_me.

Garry050 avatar Garry050 commented on May 13, 2024

(i'm so sorry if i wrong understand reply)
I have 2 monitor, 2 graphics card(GTX 1050Ti, 750Ti)
and I connect a monitor to each graphics card

WinError 87 seems to have occurred when you have multiple GPUs and have multiple monitors
I don't think there is relation as to which GPU the display is connected to
( I tried connect all monitor to GTX 750 Ti. but still get WinError87 )

Do you mean by other graphics card your integrated card or another dedicated card?
Yes
if you disable it, changes the second monitor its brightness too or just the primary monitor?
changes the second monitor its brightness too and get WinError 87
pls explain why you have more than 2 GPUs? Are they different? SLI? That will help
different gpus. I'm using it for the output of the sub monitor(1050 Ti haven't D-Sub)

sorry my fucking bad english skill.... :(

from csgo_dont_blind_me.

dev7355608 avatar dev7355608 commented on May 13, 2024

@Garry050 I am a little confused now. If you did get the app to work without any errors, could you please tell me what exactly you did that made it work?

@alqy Do you also have a second monitor connected?

@Retardium @alqy What graphics card(s) you have? Did any of the two points I posted earlier help?

@Retardium @alqy @Garry050 Are your graphics card drivers and Windows up to date?

from csgo_dont_blind_me.

Garry050 avatar Garry050 commented on May 13, 2024

@Garry050 I am a little confused now. If you did get the app to work without any errors, could you please tell me what exactly you did that made it work?
yep
@Retardium @alqy @Garry050 Are your graphics card drivers and Windows up to date?
yep

It happens this bug when I connect multiple GPU and multiple monitors as long as I confirm
I may not be able to provide more information.

from csgo_dont_blind_me.

dev7355608 avatar dev7355608 commented on May 13, 2024

Please try v0.3.2.4 (e023c49).

from csgo_dont_blind_me.

alqy avatar alqy commented on May 13, 2024

@dev7355608 I have a dual monitor set up, both connected to a msi radeon r9 390. Im not sure what was different in v0.3.2.4 but i was able to get it to work this time! I appreciate the help!!

from csgo_dont_blind_me.

Garry050 avatar Garry050 commented on May 13, 2024

it works. (if i got blind, changing brightness(? or gamma? idk) second monitor too. but it isn't big problem, anyway thx)

from csgo_dont_blind_me.

dev7355608 avatar dev7355608 commented on May 13, 2024

Glad to hear it works now.

from csgo_dont_blind_me.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.