LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-12-2018, 08:57 AM   #1
Joelleisfedupwithlinux
LQ Newbie
 
Registered: Apr 2018
Posts: 5

Rep: Reputation: Disabled
BACKLIGHT - it's summer, I can't see anything on my laptop screen - VERY BIG HELP NEEDED


HELP
I have a laptop computer, ASUS I5 with NVIDIA GEFORCE. I have installed xbacklight, I have tried to use the commands -set 50 or -inc 100 .... but it did nothing at all, so since it is summer I can't see much on my screen. Ok it is like this for one year now, but in winter it was kind of ok but now it is just a nightmare. What do I do ? What do I write in the command screen ? I have a 80 page essay to write
Yes I have seen, the question has already been asked and answered but it is not making sense to me (and I can not possibly go back to using windows, my brother would despise me). I have tried different commands but it is not working.
Help !

Thanks
Joelle
 
Old 04-12-2018, 09:26 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 22,301

Rep: Reputation: 6003Reputation: 6003Reputation: 6003Reputation: 6003Reputation: 6003Reputation: 6003Reputation: 6003Reputation: 6003Reputation: 6003Reputation: 6003Reputation: 6003
Quote:
Originally Posted by Joelleisfedupwithlinux View Post
HELP
I have a laptop computer, ASUS I5 with NVIDIA GEFORCE. I have installed xbacklight, I have tried to use the commands -set 50 or -inc 100 .... but it did nothing at all, so since it is summer I can't see much on my screen. Ok it is like this for one year now, but in winter it was kind of ok but now it is just a nightmare. What do I do ? What do I write in the command screen ? I have a 80 page essay to write Yes I have seen, the question has already been asked and answered but it is not making sense to me (and I can not possibly go back to using windows, my brother would despise me). I have tried different commands but it is not working.
You don't tell us what version/distro of Linux you're using, and your post is a bit confusing. You make it sound like this JUST happened, then say it's been like this for a year??? You also don't tell us if the backlight is working AT ALL....are you positive it's not just burned out? You also don't tell us about your hardware, since an Asus with nVidia GEForce doesn't narrow it down much. Are you using the nVidia drivers, or the ones that came with your distro???

Without details, there isn't a lot we can tell you. There may be a file called "brightness" somewhere in /sys/class/backlight/.... (your video card should be there as a directory). Type in "cat brightness" in that directory, and see what value is in it. There may also be a max_brightness file...look at it as well. Then when you have that value, you can try typing:
Code:
echo "255" > brightness
...and see what happens. The 255 is max on my system...yours may be different.
 
Old 04-12-2018, 02:10 PM   #3
Joelleisfedupwithlinux
LQ Newbie
 
Registered: Apr 2018
Posts: 5

Original Poster
Rep: Reputation: Disabled
...

Last edited by Joelleisfedupwithlinux; 04-12-2018 at 02:45 PM.
 
Old 04-12-2018, 02:44 PM   #4
Joelleisfedupwithlinux
LQ Newbie
 
Registered: Apr 2018
Posts: 5

Original Poster
Rep: Reputation: Disabled
Hello,
Thank you for your reply. Sorry for the lack of information, I did not think of what to give.

You don't tell us what version/distro of Linux you're using,
linux sarah mint 18.2 cinnamon 64-bit
cinnamon version*: 3.4.4
linux «*nucleus*» (in French*: noyau linux)*: 4.4.0-53 generic
processor*: intel core i5-6200U CPU @ 2.30GHz x 2
graphic card*: intel corp sky lake integrated graphics

and your post is a bit confusing. You make it sound like this JUST happened, then say it's been like this for a year??? this is like that since the beginning (I bought the PC 1.5 years ago) but I kind of accepted it was like this. But since I used another computer, I am now thinking that it is not normal, because even indoors it is difficult to see when it is too sunny (and I am fed up of working like this, it is very uncomfortable for the eyes, when it is too sunny I just can’t see properly, it is like being a bit blind)

You also don't tell us if the backlight is working AT ALL.… yes I can see the screen and what’s on it, when it is darker outdoors

are you positive it's not just burned out? No it is not.

You also don't tell us about your hardware, since an Asus with nVidia GEForce doesn't narrow it down much*:
haaa gosh, I thought it did. What do you want to know and where do I find the data*?
Below is what I found*:
NVIDIA GEFORCE 940M
linux-x86_64
NVIDIA driver version*: 375.66
server version number*: 11.0
server vendor string*: the X.Org foundation
Server vendor version*: 1.18.4 (11804000)
NV-control version*: 1.29
GPUs*: GeForce 940M (GPU 0)
Renderer: GeForce 940M/PCIe/SSE2
Version: 4.5.0 NVIDIA 375.66


Are you using the nVidia drivers, or the ones that came with your distro???I do not know. How do I know (where do I look?) *? I think that the nvidia driver was downloaded from a download center on the web (my brother did it for me, but he is not reachable at the moment so I am stuck (he is normally my hotline)). Can you see above if you find the answer you are looking for (sorry)

Without details, there isn't a lot we can tell you. There may be a file called "brightness" somewhere in /sys/class/backlight/.... (your video card should be there as a directory).

There are many folders named NVIDIA something but not folder called brightness

Type in "cat brightness" in that directory, and see what value is in it. There may also be a max_brightness file...look at it as well. Then when you have that value, you can try typing:

echo "255" > brightness

...and see what happens. The 255 is max on my system...yours may be different.

I opened a terminal and I typed*: echo "255" > brightness*: but the command can not be found

My pc is on dual boot, linux as a standard and windows 10 (that came with it) if I want to (I kept windows just in case I need a special software but I never use windows at all) When the hardrive was compartimented/split in parts, most of the space was used for linux, windows only got small pieces.
I went to window and I increased the brightness to the maximum but it did not have an effect on linux ... I hoped ....

I hope this data helps you. What should I do next ?
I have inserted an attachment (some printscreen of different screens). Let me know if you need some more of these to help out.

Thanks again for your time and help.

Joelle
Attached Files
File Type: pdf NVIDIA2.pdf (308.0 KB, 5 views)

Last edited by Joelleisfedupwithlinux; 04-12-2018 at 03:06 PM.
 
Old 04-12-2018, 03:52 PM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 22,301

Rep: Reputation: 6003Reputation: 6003Reputation: 6003Reputation: 6003Reputation: 6003Reputation: 6003Reputation: 6003Reputation: 6003Reputation: 6003Reputation: 6003Reputation: 6003
Quote:
Originally Posted by Joelleisfedupwithlinux View Post
Hello, Thank you for your reply. Sorry for the lack of information, I did not think of what to give.

You don't tell us what version/distro of Linux you're using,
linux sarah mint 18.2 cinnamon 64-bit
cinnamon version*: 3.4.4
linux «*nucleus*» (in French*: noyau linux)*: 4.4.0-53 generic
processor*: intel core i5-6200U CPU @ 2.30GHz x 2
graphic card*: intel corp sky lake integrated graphics
Bold added for emphasis: you said nVidia graphics...but this says Intel???
Quote:
this is like that since the beginning (I bought the PC 1.5 years ago) but I kind of accepted it was like this. But since I used another computer, I am now thinking that it is not normal, because even indoors it is difficult to see when it is too sunny (and I am fed up of working like this, it is very uncomfortable for the eyes, when it is too sunny I just can’t see properly, it is like being a bit blind)
So this has been since day one, but when you say you installed xbacklight, etc., it made it sound like a new problem.
Quote:
yes I can see the screen and what’s on it, when it is darker outdoors No it is not.
Ok, again: if the backlight is on, you can see it no matter what. I am *ASSUMING* you have booted into Windows, and the backlight works there?? Have you checked any settings in BIOS?
Quote:
haaa gosh, I thought it did. What do you want to know and where do I find the data*?
Below is what I found*:
NVIDIA GEFORCE 940M
linux-x86_64
NVIDIA driver version*: 375.66
server version number*: 11.0
server vendor string*: the X.Org foundation
Server vendor version*: 1.18.4 (11804000)
NV-control version*: 1.29
GPUs*: GeForce 940M (GPU 0)
Renderer: GeForce 940M/PCIe/SSE2
Version: 4.5.0 NVIDIA 375.66
Where did you find that information??? Because there are several Asus laptops with I5 CPU's, with different graphic configurations.
Quote:
I do not know. How do I know (where do I look?) *? I think that the nvidia driver was downloaded from a download center on the web (my brother did it for me, but he is not reachable at the moment so I am stuck (he is normally my hotline)). Can you see above if you find the answer you are looking for (sorry)
Nope...installing it is a manual process, and the built-in drivers load at install time.
Quote:
There are many folders named NVIDIA something but not folder called brightness
That's not a 'folder' that's a file. And again, it should be something like /sys/class/backlight/<something>. If there are several directories in there, run "find /sys/class/backlight -name *brightness*" and see what it finds.
Quote:
I opened a terminal and I typed*: echo "255" > brightness*: but the command can not be found
If you put the *: in there, it won't work. And unless you find the brightness file FIRST, there's nothing to echo into.
Quote:
My pc is on dual boot, linux as a standard and windows 10 (that came with it) if I want to (I kept windows just in case I need a special software but I never use windows at all) When the hardrive was compartimented/split in parts, most of the space was used for linux, windows only got small pieces.
I went to window and I increased the brightness to the maximum but it did not have an effect on linux ... I hoped ....
Run the find as above. The, as said, look in the max_brightness file, and echo that into brightness.
 
1 members found this post helpful.
Old 04-12-2018, 08:52 PM   #6
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: AntiX 19
Posts: 5,920
Blog Entries: 21

Rep: Reputation: 2966Reputation: 2966Reputation: 2966Reputation: 2966Reputation: 2966Reputation: 2966Reputation: 2966Reputation: 2966Reputation: 2966Reputation: 2966Reputation: 2966
Just to add to the excellent post above.

Code:
harry@biker:~
$ locate brightness
/etc/acpi/events/sony-brightness-down
/etc/acpi/events/sony-brightness-up
<snip>
Bunch of icons here
<snip>
/usr/local/bin/backlight-brightness
<snip> 
bunch of png , header files, messages, desktop file for brightness control 
<snip>
harry@biker:~
PS. Mint uses uses inxi

for specs.

Code:
inxi -Fxxx
But. I don't run Mint or am fed up with linux. My distro is harder on fed up folks than Mint.
 
Old 04-12-2018, 09:06 PM   #7
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,000
Blog Entries: 1

Rep: Reputation: 846Reputation: 846Reputation: 846Reputation: 846Reputation: 846Reputation: 846Reputation: 846
xbacklight doesn't always work. There's generally a /sys/class/backlight/?????/brightness that you can echo a value to and adjust the level. The actual name varies depending on the hardware. On my system it looks a bit like:

$ cat /sys/class/backlight/amdgpu_bl0/max_brightness
255
$ cat /sys/class/backlight/amdgpu_bl0/brightness
255
# echo 128 > /sys/class/backlight/amdgpu_bl0/brightness
$ cat /sys/class/backlight/amdgpu_bl0/brightness
128

Although most of the time I turn off that screen as I use an attached monitor.

$ xrandr --output eDP --off

When xbacklight does work it's effectively doing the same process as above. By default it requires root permissions, but you can change that (after every boot) if you want user access to that value change. For most of my current hardware xbacklight just spits out a message about nothing found. But the echo trick still works. I think xbacklight only works on my intel chips with intel graphics. At least on recent versions of debian. It used to work on debian jessie for all my hardware. Just that my newest machines need testing (buster) for accelerated GPU support.
 
Old 04-12-2018, 11:26 PM   #8
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 18,469

Rep: Reputation: 3084Reputation: 3084Reputation: 3084Reputation: 3084Reputation: 3084Reputation: 3084Reputation: 3084Reputation: 3084Reputation: 3084Reputation: 3084Reputation: 3084
Make sure to check max_brightness before the resetting with echo.
 
Old 04-14-2018, 09:54 AM   #9
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 13,390
Blog Entries: 9

Rep: Reputation: 3652Reputation: 3652Reputation: 3652Reputation: 3652Reputation: 3652Reputation: 3652Reputation: 3652Reputation: 3652Reputation: 3652Reputation: 3652Reputation: 3652
Quote:
Originally Posted by Shadow_7 View Post
xbacklight doesn't always work.
oh yes, i just remembered!
i used light with success.
 
Old 04-17-2018, 07:49 AM   #10
Joelleisfedupwithlinux
LQ Newbie
 
Registered: Apr 2018
Posts: 5

Original Poster
Rep: Reputation: Disabled
Thank you all for you massive help ! guess what ? it is working !! just by turning the wheel of the mouse over the battery icon on the computer screen and pressing the crtl key simultaneously on the key board ! and by magic the screen went really bright ! wow, this is a life change !
Thank you to you all again.
The linux community is great, people alway help out.

Nice day to you all.
Here in France it is really sunny so I will go out and write my essay outdoors ! Thanks again.
Joelle

Last edited by Joelleisfedupwithlinux; 04-17-2018 at 07:51 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Debian Wheezy on laptop: screen resolution needed at 1920x1080 for external monitor kathbeau Linux - Laptop and Netbook 21 12-22-2014 03:08 PM
Dell Lattitude D600 laptop backlight set too dark to see screen dcalki Linux - Laptop and Netbook 1 08-27-2011 03:13 AM
[SOLVED] Screen backlight vincix Linux - Laptop and Netbook 1 02-08-2011 04:23 AM
help on laptop's LCD backlight fastestOS Slackware 2 08-25-2008 05:37 AM
[ibook G4] Screen backlight always on kemkem Linux - Laptop and Netbook 1 11-14-2004 01:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration