Source-1-Games icon indicating copy to clipboard operation
Source-1-Games copied to clipboard

Cannot adjust brightness in any game (Bumblebee / VirtualGL).

Open dimgel opened this issue 13 years ago • 12 comments

Everything is too dark.

dimgel avatar May 10 '13 16:05 dimgel

In which games? Please include your system information as requested at https://github.com/ValveSoftware/Source-1-Games#reporting-issues to aid in figuring out the issue.

In this instance, screenshots may also be of assistance.

MrSchism avatar May 10 '13 20:05 MrSchism

  1. Games: Portal, L4D2, HL2* - all of them which run under optirun.
  2. I use Bumblebee 3.1 / VirtualGL (I could not run it with Primus - it misses some *.so).
  3. Which screenshots do you need? I don't see why they can be useful: I can edit brightness value in game settings, just nothing happens.
  4. I play on laptop: HP Envy dv7-7266er. Steam system info:

Processor Information: Vendor: GenuineIntel Speed: 2401 Mhz 8 logical processors 4 physical processors HyperThreading: Supported FCMOV: Supported SSE2: Supported SSE3: Supported SSSE3: Supported SSE4a: Unsupported SSE41: Supported SSE42: Supported

Network Information: Network Speed:

Operating System Version: "Gentoo Base System release 2.2" (64 bit) Kernel Name: Linux Kernel Version: 3.7.10-gentoo-r1 X Server Vendor: The X.Org Foundation X Server Release: 11304000 X Window Manager: KWin Steam Runtime Version: steam-runtime-release-i386_2013-05-08

Video Card: Driver: Intel Open Source Technology Center Mesa DRI Intel(R) Ivybridge Mobile

Driver Version:  2.1 Mesa 9.0.1
Desktop Color Depth: 24 bits per pixel
Monitor Refresh Rate: 60 Hz
VendorID Not Detected
DeviceID Not Detected
Number of Monitors:  2
Number of Video Cards Not Detected
Primary Display Resolution:  1920 x 1080
Desktop Resolution: 1920 x 1080
Primary Display Size: 15.00" x 8.43"  (17.17" diag)
                                        38.1cm x 21.4cm  (43.6cm diag)
Primary VRAM Not Detected

Sound card: Audio device: Intel PantherPoint HDMI

Memory: RAM: 15946 Mb

Miscellaneous: UI Language: English LANG: en_US.UTF-8 Microphone: Not set Total Hard Disk Space Available: 90658 Mb Largest Free Hard Disk Block: 7291 Mb

Installed software:

Recent Failure Reports: Wed May 8 00:01:41 2013 GMT: file ''/tmp/dumps/assert_20130508040140_1.dmp'', upload no: ''HTTP response code said error'' Wed May 8 00:43:01 2013 GMT: file ''/tmp/dumps/assert_20130508044301_1.dmp'', upload no: ''HTTP response code said error'' Wed May 8 14:08:21 2013 GMT: file ''/tmp/dumps/assert_20130508180812_1.dmp'', upload yes: ''CrashID=bp-9cb3afbe-8c64-49ed-8167-e61ff2130508'' Wed May 8 22:36:29 2013 GMT: file ''/tmp/dumps/assert_20130509023627_1.dmp'', upload no: ''HTTP response code said error'' Thu May 9 01:27:06 2013 GMT: file ''/tmp/dumps/assert_20130509052705_1.dmp'', upload no: ''HTTP response code said error'' Thu May 9 17:36:30 2013 GMT: file ''/tmp/dumps/assert_20130509213624_1.dmp'', upload yes: ''CrashID=bp-5095c317-aab9-4385-88f7-8283c2130509'' Thu May 9 18:33:30 2013 GMT: file ''/tmp/dumps/assert_20130509223314_1.dmp'', upload yes: ''CrashID=bp-a91f3545-68bb-434a-a359-0b7742130509'' Thu May 9 19:28:15 2013 GMT: file ''/tmp/dumps/assert_20130509232814_1.dmp'', upload no: ''Failure when receiving data from the peer'' Thu May 9 22:13:57 2013 GMT: file ''/tmp/dumps/assert_20130510021356_1.dmp'', upload no: ''HTTP response code said error''

dimgel avatar May 10 '13 20:05 dimgel

I suppose this problem is from the essence of Bumblebee, but I'd like to have a solution anyway.

dimgel avatar May 10 '13 20:05 dimgel

What exactly is missing when you primusrun, if you don't mind my asking? Many people claim far better results by using primus.

MrSchism avatar May 10 '13 20:05 MrSchism

Sorry, my report about primus was not completely correct. This looks like Gentoo-specific issue (tried too long ago, could not find solution and forgot). Looks like I just cannot find where to install that primus from: in all overlays I found it's masked as missing. Vaguely remember something about it's built in since bumblebee 3.1, but when I try to start a game with bridge=primus in bumblebee.conf, I get in console:

Game update: AppID 220 "Half-Life 2 (Beta)", ProcID 27216, IP 0.0.0.0:0 ERROR: ld.so: object 'gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored. [179296.072181] [ERROR]Accel/display bridge primus is not installed.

In virtualgl mode, error about LD_PRELOAD is also there but game starts OK.

Anyway, AFAIK virtualgl or primus is only a matter of tcp / local transport for copying images between two X servers. It does not look like changing transport would fix brightness problem.

dimgel avatar May 10 '13 20:05 dimgel

I've experienced this on both my laptop with Nvidia graphics and my tower with ATI graphics. The fishy part is that the brightness is convenient on the tower while using the proprietary legacy drivers instead of the free ones, but it's still not adjustable.

michanrai avatar May 21 '13 13:05 michanrai

Anyway, AFAIK virtualgl or primus is only a matter of tcp / local transport for copying images between two X servers.

That's not correct.

Anyhow, I think the problem here is that primus does not pay attention to the requested X Visual Type (TrueColor vs DirectColor), preventing SDL from emulating a gamma ramp. Bugs in primus should be reported via the primus issue tracker.

amonakov avatar May 24 '13 22:05 amonakov

I have this issue with intel graphics and the normal open source driver.

kugel- avatar Jun 24 '13 11:06 kugel-

Confirming: I can't tune brightness in Half-Life 2: Episode 1. Using Steam under Ubuntu 12.04 (x86_64), installed on Acer Aspire Z3770.

$ glxinfo | grep OpenGL OpenGL vendor string: Tungsten Graphics, Inc OpenGL renderer string: Mesa DRI Intel(R) Sandybridge Desktop OpenGL version string: 3.0 Mesa 8.0.4 OpenGL shading language version string: 1.30 OpenGL extensions:

I would appreciate any suggestions, game screen is almost black, it's impossible to play.

stayen avatar Jun 30 '13 07:06 stayen

@temmokan see #496.

Tele42 avatar Jul 01 '13 10:07 Tele42

Debian updated MESA to 9.1. This issue is resolved for me since then.

kugel- avatar Jul 19 '13 08:07 kugel-

Closing as general video driver / bumblebee quality from 2013 is no longer relevant. If anyone is still experiencing this issue with an up to date system, please open a new issue report.

kisak-valve avatar Dec 22 '16 14:12 kisak-valve