笔记本电脑屏幕的亮度无法使用按钮或滑块调节。编辑


11

我在MSI GT72VR笔记本电脑上安装了Ubuntu 17.10,带有一个nVidia GT1060显卡,一个grub2作为引导程序以及一个Unity作为台式机。我无法以任何方式更改亮度。 亮度始终为100%。我尝试了以下无效的选项。

未进行的操作 [输出于2018年4月30日更新]

  • Fn+ Bright UpBright Down按钮会在屏幕上内联显示图标,但Brigthnes不能更改。
  • 顶部栏的“亮度”滑块不起作用。
  • GRUB_CMDLINE_LINUX_DEFAULT =“ quiet splashacpi_backlight = vendor”
  • GRUB_CMDLINE_LINUX_DEFAULT =“ quiet splashacpi_backlight = native”
  • GRUB_CMDLINE_LINUX_DEFAULT =“安静的splashacpi_backlight =视频”
  • GRUB_CMDLINE_LINUX_DEFAULT =“安静的splashacpi_backlight = none”
  • 实用程序xbacklight显示“没有输出具有背光属性”
  • 使用来自软件更新的Nouveau X.Org显示驱动程序
  • NVIDIA二进制驱动程序版本396
  • NVIDIA二进制驱动程序版本390
  • 更改/ sys / class / backlight / acpi_video0 /上的文件Briggness无效
  • 使用最新的内核上游主线版本v4.15.7(2月28日)
  • 实时USB Ubuntu
  • 在/etc/X11/xorg.conf上的“设备”部分中使用文件...
  • 以“ Ubuntu on XOrg”记录会话并禁用Wayland

这是journalctl -b的输出| grep -i nvidia(感谢@ WinEunuuchs2Unix)

mar 06 17:37:57 portatil kernel: nvidia: loading out-of-tree module taints kernel.
mar 06 17:37:57 portatil kernel: nvidia: module license 'NVIDIA' taints kernel.
mar 06 17:37:57 portatil kernel: nvidia: module verification failed: signature and/or required key missing - tainting kernel
mar 06 17:37:57 portatil kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 244
mar 06 17:37:57 portatil kernel: nvidia 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=io+mem
mar 06 17:37:57 portatil kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module  390.25  Wed Jan 24 20:02:43 PST 2018 (using threaded interrupts)
mar 06 17:37:57 portatil kernel: nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  390.25  Wed Jan 24 19:29:37 PST 2018
mar 06 17:37:57 portatil kernel: [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
mar 06 17:37:57 portatil kernel: [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 0
mar 06 17:37:57 portatil kernel: nvidia-uvm: Loaded the UVM driver in 8 mode, major device number 242
mar 06 17:37:59 portatil kernel: input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input16
mar 06 17:37:59 portatil kernel: input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input17
mar 06 17:37:59 portatil systemd[1]: Starting NVIDIA Persistence Daemon...
mar 06 17:37:59 portatil nvidia-persistenced[896]: Verbose syslog connection opened
mar 06 17:37:59 portatil nvidia-persistenced[896]: Now running with user ID 122 and group ID 129
mar 06 17:37:59 portatil nvidia-persistenced[896]: Started (896)
mar 06 17:37:59 portatil nvidia-persistenced[896]: device 0000:01:00.0 - registered
mar 06 17:37:59 portatil systemd[1]: Started NVIDIA Persistence Daemon.
mar 06 17:37:59 portatil nvidia-persistenced[896]: Local RPC service initialized
mar 06 17:37:59 portatil nvidia-persistenced[896]: Received signal 15
mar 06 17:37:59 portatil systemd[1]: Stopping NVIDIA Persistence Daemon...
mar 06 17:37:59 portatil nvidia-persistenced[896]: Socket closed.
mar 06 17:37:59 portatil nvidia-persistenced[896]: PID file unlocked.
mar 06 17:37:59 portatil nvidia-persistenced[896]: PID file closed.
mar 06 17:37:59 portatil nvidia-persistenced[896]: The daemon no longer has permission to remove its runtime data directory /var/run/nvidia-persistenced
mar 06 17:37:59 portatil nvidia-persistenced[896]: Shutdown (896)
mar 06 17:37:59 portatil systemd[1]: Stopped NVIDIA Persistence Daemon.
mar 06 17:37:59 portatil /usr/lib/gdm3/gdm-x-session[1026]: (II) Module glx: vendor="NVIDIA Corporation"
mar 06 17:37:59 portatil /usr/lib/gdm3/gdm-x-session[1026]: (II) NVIDIA GLX Module  390.25  Wed Jan 24 19:23:51 PST 2018
mar 06 17:37:59 portatil /usr/lib/gdm3/gdm-x-session[1026]: (II) LoadModule: "nvidia"
mar 06 17:37:59 portatil /usr/lib/gdm3/gdm-x-session[1026]: (II) Loading /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so
mar 06 17:37:59 portatil /usr/lib/gdm3/gdm-x-session[1026]: (II) Module nvidia: vendor="NVIDIA Corporation"
mar 06 17:37:59 portatil /usr/lib/gdm3/gdm-x-session[1026]: (II) NVIDIA dlloader X Driver  390.25  Wed Jan 24 18:57:05 PST 2018
mar 06 17:37:59 portatil /usr/lib/gdm3/gdm-x-session[1026]: (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
mar 06 17:37:59 portatil /usr/lib/gdm3/gdm-x-session[1026]: (II) NVIDIA(0): Creating default Display subsection in Screen section
mar 06 17:37:59 portatil /usr/lib/gdm3/gdm-x-session[1026]: (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
mar 06 17:37:59 portatil /usr/lib/gdm3/gdm-x-session[1026]: (==) NVIDIA(0): RGB weight 888
mar 06 17:37:59 portatil /usr/lib/gdm3/gdm-x-session[1026]: (==) NVIDIA(0): Default visual is TrueColor
mar 06 17:37:59 portatil /usr/lib/gdm3/gdm-x-session[1026]: (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
mar 06 17:37:59 portatil /usr/lib/gdm3/gdm-x-session[1026]: (**) NVIDIA(0): Option "RegistryDwords" "EnableBrightnessControl=1"
mar 06 17:37:59 portatil /usr/lib/gdm3/gdm-x-session[1026]: (**) NVIDIA(0): Enabling 2D acceleration
mar 06 17:37:59 portatil systemd[1]: Starting NVIDIA Persistence Daemon...
mar 06 17:37:59 portatil nvidia-persistenced[1036]: Verbose syslog connection opened
mar 06 17:37:59 portatil systemd[1]: Started NVIDIA Persistence Daemon.
mar 06 17:37:59 portatil nvidia-persistenced[1036]: Now running with user ID 122 and group ID 129
mar 06 17:37:59 portatil nvidia-persistenced[1036]: Started (1036)
mar 06 17:38:00 portatil nvidia-persistenced[1036]: device 0000:01:00.0 - registered
mar 06 17:38:00 portatil nvidia-persistenced[1036]: Local RPC service initialized
mar 06 17:38:00 portatil kernel: nvidia-modeset: Allocated GPU:0 (GPU-3d37c8bb-5a07-7825-b4bc-3a57452f2b5a) @ PCI:0000:01:00.0
mar 06 17:38:00 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:1:0:0
mar 06 17:38:00 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(0):     DFP-0
mar 06 17:38:00 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(0):     DFP-1 (boot)
mar 06 17:38:00 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(0):     DFP-2
mar 06 17:38:00 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(0):     DFP-3
mar 06 17:38:00 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(0):     DFP-4
mar 06 17:38:00 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(0):     DFP-5
mar 06 17:38:00 portatil /usr/lib/gdm3/gdm-x-session[1026]: (II) NVIDIA(0): NVIDIA GPU GeForce GTX 1060 (GP106-B) at PCI:1:0:0 (GPU-0)
mar 06 17:38:00 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(0): Memory: 6291456 kBytes
mar 06 17:38:00 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(0): VideoBIOS: 86.06.1f.00.05
mar 06 17:38:00 portatil /usr/lib/gdm3/gdm-x-session[1026]: (II) NVIDIA(0): Detected PCI Express Link width: 16X
mar 06 17:38:00 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0): DFP-0: disconnected
mar 06 17:38:00 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
mar 06 17:38:00 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0): DFP-0: 165.0 MHz maximum pixel clock
mar 06 17:38:00 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0):
mar 06 17:38:00 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0): CMN (DFP-1): connected
mar 06 17:38:00 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0): CMN (DFP-1): Internal DisplayPort
mar 06 17:38:00 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0): CMN (DFP-1): 960.0 MHz maximum pixel clock
mar 06 17:38:00 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0):
mar 06 17:38:00 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0): DFP-2: disconnected
mar 06 17:38:00 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0): DFP-2: Internal DisplayPort
mar 06 17:38:00 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0): DFP-2: 960.0 MHz maximum pixel clock
mar 06 17:38:00 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0):
mar 06 17:38:00 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0): DFP-3: disconnected
mar 06 17:38:00 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0): DFP-3: Internal TMDS
mar 06 17:38:00 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0): DFP-3: 165.0 MHz maximum pixel clock
mar 06 17:38:00 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0):
mar 06 17:38:00 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0): DFP-4: disconnected
mar 06 17:38:00 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0): DFP-4: Internal DisplayPort
mar 06 17:38:00 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0): DFP-4: 960.0 MHz maximum pixel clock
mar 06 17:38:00 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0):
mar 06 17:38:00 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0): DFP-5: disconnected
mar 06 17:38:00 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0): DFP-5: Internal TMDS
mar 06 17:38:00 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0): DFP-5: 165.0 MHz maximum pixel clock
mar 06 17:38:00 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0):
mar 06 17:38:00 portatil /usr/lib/gdm3/gdm-x-session[1026]: (==) NVIDIA(0):
mar 06 17:38:00 portatil /usr/lib/gdm3/gdm-x-session[1026]: (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
mar 06 17:38:00 portatil /usr/lib/gdm3/gdm-x-session[1026]: (==) NVIDIA(0):     will be used as the requested mode.
mar 06 17:38:00 portatil /usr/lib/gdm3/gdm-x-session[1026]: (==) NVIDIA(0):
mar 06 17:38:00 portatil /usr/lib/gdm3/gdm-x-session[1026]: (II) NVIDIA(0): Validated MetaModes:
mar 06 17:38:00 portatil /usr/lib/gdm3/gdm-x-session[1026]: (II) NVIDIA(0):     "DFP-1:nvidia-auto-select"
mar 06 17:38:00 portatil /usr/lib/gdm3/gdm-x-session[1026]: (II) NVIDIA(0): Virtual screen size determined to be 1920 x 1080
mar 06 17:38:00 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(0): DPI set to (128, 130); computed from "UseEdidDpi" X config
mar 06 17:38:00 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(0):     option
mar 06 17:38:00 portatil /usr/lib/gdm3/gdm-x-session[1026]: (II) NVIDIA: Using 24576.00 MB of virtual memory for indirect memory
mar 06 17:38:00 portatil /usr/lib/gdm3/gdm-x-session[1026]: (II) NVIDIA:     access.
mar 06 17:38:00 portatil /usr/lib/gdm3/gdm-x-session[1026]: (II) NVIDIA(0): Setting mode "DFP-1:nvidia-auto-select"
mar 06 17:38:01 portatil /usr/lib/gdm3/gdm-x-session[1026]: (==) NVIDIA(0): Disabling shared memory pixmaps
mar 06 17:38:01 portatil /usr/lib/gdm3/gdm-x-session[1026]: (==) NVIDIA(0): Backing store enabled
mar 06 17:38:01 portatil /usr/lib/gdm3/gdm-x-session[1026]: (==) NVIDIA(0): Silken mouse enabled
mar 06 17:38:01 portatil /usr/lib/gdm3/gdm-x-session[1026]: (==) NVIDIA(0): DPMS enabled
mar 06 17:38:01 portatil /usr/lib/gdm3/gdm-x-session[1026]: (II) NVIDIA(0): [DRI2] Setup complete
mar 06 17:38:01 portatil /usr/lib/gdm3/gdm-x-session[1026]: (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
mar 06 17:38:01 portatil /usr/lib/gdm3/gdm-x-session[1026]: (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 (/dev/input/event15)
mar 06 17:38:01 portatil /usr/lib/gdm3/gdm-x-session[1026]: (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=7 (/dev/input/event16)
mar 06 17:38:01 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0): CMN (DFP-1): connected
mar 06 17:38:01 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0): CMN (DFP-1): Internal DisplayPort
mar 06 17:38:01 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0): CMN (DFP-1): 960.0 MHz maximum pixel clock
mar 06 17:38:01 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0):
mar 06 17:38:02 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0): DFP-0: disconnected
mar 06 17:38:02 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
mar 06 17:38:02 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0): DFP-0: 165.0 MHz maximum pixel clock
mar 06 17:38:02 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0):
mar 06 17:38:02 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0): CMN (DFP-1): connected
mar 06 17:38:02 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0): CMN (DFP-1): Internal DisplayPort
mar 06 17:38:02 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0): CMN (DFP-1): 960.0 MHz maximum pixel clock
mar 06 17:38:02 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0):
mar 06 17:38:02 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0): DFP-2: disconnected
mar 06 17:38:02 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0): DFP-2: Internal DisplayPort
mar 06 17:38:02 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0): DFP-2: 960.0 MHz maximum pixel clock
mar 06 17:38:02 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0):
mar 06 17:38:02 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0): DFP-3: disconnected
mar 06 17:38:02 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0): DFP-3: Internal TMDS
mar 06 17:38:02 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0): DFP-3: 165.0 MHz maximum pixel clock
mar 06 17:38:02 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0):
mar 06 17:38:02 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0): DFP-4: disconnected
mar 06 17:38:02 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0): DFP-4: Internal DisplayPort
mar 06 17:38:02 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0): DFP-4: 960.0 MHz maximum pixel clock
mar 06 17:38:02 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0):
mar 06 17:38:02 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0): DFP-5: disconnected
mar 06 17:38:02 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0): DFP-5: Internal TMDS
mar 06 17:38:02 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0): DFP-5: 165.0 MHz maximum pixel clock
mar 06 17:38:02 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0):
mar 06 17:38:05 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0): DFP-0: disconnected
mar 06 17:38:05 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
mar 06 17:38:05 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0): DFP-0: 165.0 MHz maximum pixel clock
mar 06 17:38:05 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0):
mar 06 17:38:05 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0): CMN (DFP-1): connected
mar 06 17:38:05 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0): CMN (DFP-1): Internal DisplayPort
mar 06 17:38:05 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0): CMN (DFP-1): 960.0 MHz maximum pixel clock
mar 06 17:38:05 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0):
mar 06 17:38:05 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0): DFP-2: disconnected
mar 06 17:38:05 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0): DFP-2: Internal DisplayPort
mar 06 17:38:05 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0): DFP-2: 960.0 MHz maximum pixel clock
mar 06 17:38:05 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0):
mar 06 17:38:05 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0): DFP-3: disconnected
mar 06 17:38:05 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0): DFP-3: Internal TMDS
mar 06 17:38:05 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0): DFP-3: 165.0 MHz maximum pixel clock
mar 06 17:38:05 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0):
mar 06 17:38:05 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0): DFP-4: disconnected
mar 06 17:38:05 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0): DFP-4: Internal DisplayPort
mar 06 17:38:05 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0): DFP-4: 960.0 MHz maximum pixel clock
mar 06 17:38:05 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0):
mar 06 17:38:05 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0): DFP-5: disconnected
mar 06 17:38:05 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0): DFP-5: Internal TMDS
mar 06 17:38:05 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0): DFP-5: 165.0 MHz maximum pixel clock
mar 06 17:38:05 portatil /usr/lib/gdm3/gdm-x-session[1026]: (--) NVIDIA(GPU-0):
mar 06 17:38:15 portatil kernel: Modules linked in: ccm rfcomm arc4 bnep nls_iso8859_1 snd_hda_codec_hdmi msi_wmi sparse_keymap intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc aesni_intel aes_x86_64 crypto_simd glue_helper cryptd intel_cstate intel_rapl_perf ath10k_pci ath10k_core snd_hda_codec_realtek ath snd_hda_codec_generic mac80211 serio_raw cfg80211 snd_hda_intel snd_hda_codec snd_seq_midi snd_hda_core snd_seq_midi_event snd_hwdep snd_rawmidi snd_pcm snd_seq input_leds joydev snd_seq_device snd_timer snd hci_uart btusb btrtl soundcore btbcm serdev btqca btintel bluetooth mei_me mei shpchp intel_pch_thermal ecdh_generic tpm_crb acpi_als intel_lpss_acpi wmi intel_lpss mac_hid kfifo_buf industrialio acpi_pad nvidia_uvm(POE) parport_pc
mar 06 17:38:15 portatil kernel:  ppdev lp parport ip_tables x_tables autofs4 hid_generic usbhid nvidia_drm(POE) nvidia_modeset(POE) drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops drm nvidia(POE) ahci ipmi_devintf alx sdhci_pci psmouse sdhci mdio libahci ipmi_msghandler video pinctrl_sunrisepoint i2c_hid pinctrl_intel hid
mar 08 20:28:03 portatil gnome-software[1468]: running get-installed with refine-flags=require-license,require-description,require-size,require-rating,require-version,require-history,require-setup-action,require-origin,require-provenance,require-icon,require-permissions,require-origin-hostname,require-runtime with failure-flags=use-events with timeout=60 on plugin=snap on apps user/*/*/shell-extension/ubuntu-appindicators_ubuntu.com/*,user/*/*/shell-extension/ubuntu-dock_ubuntu.com/*,system/package/ubuntu-artful-universe/desktop/chromium-browser.desktop/*,system/package/ubuntu-artful-universe/desktop/pgadmin3.desktop/*,system/package/ubuntu-artful-main/desktop/vim.desktop/*,system/package/ubuntu-artful-main/desktop/org.gnome.DejaDup.desktop/*,system/package/ubuntu-artful-main/desktop/software-properties-gnome.desktop/*,system/package/ubuntu-artful-main/desktop/libreoffice-math.desktop/*,system/package/ubuntu-artful-main/desktop/gnome-session-properties.desktop/*,system/package/ubuntu-artful-main/desktop/vino-preferences.desktop/*,system/package/ubuntu-artful-main/desktop/transmission-gtk.desktop/*,system/package/ubuntu-artful-main/desktop/system-config-printer.desktop/*,system/package/ubuntu-artful-main/desktop/display-im6.q16.desktop/*,system/package/ubuntu-artful-main/desktop/org.gnome.Nautilus.desktop/*,system/package/ubuntu-artful-main/desktop/org.gnome.font-viewer.desktop/*,system/package/ubuntu-artful-main/desktop/rhythmbox.desktop/*,system/package/ubuntu-artful-main/desktop/gnome-user-share-properties.desktop/*,system/package/ubuntu-artful-main/desktop/update-manager.desktop/*,system/package/ubuntu-artful-main/desktop/evince.desktop/*,system/package/ubuntu-artful-main/desktop/org.gnome.baobab.desktop/*,system/package/ubuntu-artful-main/desktop/remmina.desktop/*,system/package/ubuntu-artful-main/desktop/libreoffice-calc.desktop/*,system/package/ubuntu-artful-main/desktop/libreoffice-startcenter.desktop/*,system/package/ubuntu-artful-main/desktop/shotwell.desktop/*,system/package/ubuntu-artful-main/inputmethod/table.xml/*,system/package/ubuntu-artful-main/desktop/org.gnome.Screenshot.desktop/*,system/package/ubuntu-artful-main/desktop/libreoffice-impress.desktop/*,system/package/ubuntu-artful-main/desktop/seahorse.desktop/*,system/package/ubuntu-artful-main/desktop/eog.desktop/*,system/package/ubuntu-artful-main/desktop/org.gnome.FileRoller/*,system/package/ubuntu-artful-main/desktop/org.gnome.DiskUtility.desktop/*,system/package/ubuntu-artful-main/desktop/org.gnome.Calendar.desktop/*,system/package/ubuntu-artful-main/desktop/org.gnome.gedit.desktop/*,system/package/ubuntu-artful-main/desktop/libreoffice-draw.desktop/*,system/package/ubuntu-artful-main/desktop/org.gnome.Software.desktop/*,system/package/ubuntu-artful-main/desktop/nvidia-settings.desktop/*,system/package/ubuntu-artful-main/desktop/usb-creator-gtk.desktop/*,system/package/ubuntu-artful-main/desktop/ibus-setup.desktop/*,system/package/ubuntu-artful-main/desktop/org.gnome.Logs.desktop/*,system/package/ubuntu-artful-main/desktop/libreoffice-writer.desktop/*,system/package/ubuntu-artful-main/desktop/org.gnome.PowerStats.desktop/*,system/package/ubuntu-artful-main/desktop/org.gnome.Totem.desktop/*,system/snap/Tienda de snaps/desktop/intellij-idea-ultimate/*,system/snap/Tienda de snaps/desktop/vlc/*,system/snap/Tienda de snaps/runtime/core/* took 8350ms

这是ll / sys / class / backlight

total 0
drwxr-xr-x  2 root root 0 mar  8 20:32 ./
drwxr-xr-x 67 root root 0 mar  6 17:37 ../
lrwxrwxrwx  1 root root 0 mar  6 17:37 acpi_video0 -> ../../devices/pci0000:00/0000:00:01.0/0000:01:00.0/backlight/acpi_video0/

这是dmesg | grep -i vga

[    0.181221] pci 0000:01:00.0: vgaarb: setting as boot VGA device
[    0.181221] pci 0000:01:00.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
[    0.181221] pci 0000:01:00.0: vgaarb: bridge control possible
[    0.181221] vgaarb: loaded
[    0.989512] fb0: EFI VGA frame buffer device
[    1.340831] nvidia 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=io+mem
[    3.073586] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client

这是lspci | grep -i vga

01:00.0 VGA compatible controller: NVIDIA Corporation GP106M [GeForce GTX 1060 Mobile] (rev a1) (prog-if 00 [VGA controller])
    Subsystem: Micro-Star International Co., Ltd. [MSI] GP106M [GeForce GTX 1060 Mobile]
    Flags: bus master, fast devsel, latency 0, IRQ 131
    Memory at de000000 (32-bit, non-prefetchable) [size=16M]
    Memory at c0000000 (64-bit, prefetchable) [size=256M]
    Memory at d0000000 (64-bit, prefetchable) [size=32M]
    I/O ports at e000 [size=128]
    Expansion ROM at 000c0000 [disabled] [size=128K]
    Capabilities: <access denied>
    Kernel driver in use: nouveau
    Kernel modules: nvidiafb, nouveau

这是uname -a

Linux portatil 4.13.0-36-generic #40-Ubuntu SMP Fri Feb 16 20:07:48 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

这是xrandr --verbose

Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
eDP-1 connected primary 1920x1080+0+0 (0x68) normal (normal left inverted right x axis y axis) 381mm x 214mm
    Identifier: 0x63
    Timestamp:  531186
    Subpixel:   unknown
    Gamma:      1.0:1.0:1.0
    Brightness: 0.45
    Clones:    
    CRTC:       0
    CRTCs:      0 1 2 3
    Transform:  1.000000 0.000000 0.000000
                0.000000 1.000000 0.000000
                0.000000 0.000000 1.000000
               filter: 
    EDID: 
        00ffffffffffff000dae471700000000
        101a0104a5261578028ad5ad4f43ad26
        0f505400000001010101010101010101
        0101010101016477804a713834406442
        6a007dd610000018000000fe004e3137
        334848452d4733320a20000000fe0043
        4d4e0a202020202020202020000000fe
        004e3137334848452d4733320a20005f
    dithering depth: auto 
        supported: auto, 6 bpc, 8 bpc
    dithering mode: auto 
        supported: auto, off, static 2x2, dynamic 2x2, temporal
    scaling mode: None 
        supported: None, Full, Center, Full aspect
    color vibrance: 150 
        range: (0, 200)
    vibrant hue: 90 
        range: (0, 180)
    link-status: Good 
        supported: Good, Bad
  1920x1080 (0x68) 305.640MHz -HSync -VSync *current +preferred
        h: width  1920 start 2020 end 2086 total 2250 skew    0 clock 135.84KHz
        v: height 1080 start 1086 end 1096 total 1132           clock 120.00Hz
  1680x1050 (0x69) 313.895MHz -HSync +VSync
        h: width  1680 start 1816 end 2000 total 2320 skew    0 clock 135.30KHz
        v: height 1050 start 1053 end 1059 total 1128           clock 119.95Hz
  1400x1050 (0x6a) 260.857MHz -HSync +VSync
        h: width  1400 start 1512 end 1664 total 1928 skew    0 clock 135.30KHz
        v: height 1050 start 1053 end 1057 total 1128           clock 119.95Hz
  1280x1024 (0x6b) 232.251MHz -HSync +VSync
        h: width  1280 start 1384 end 1520 total 1760 skew    0 clock 131.96KHz
        v: height 1024 start 1027 end 1034 total 1100           clock 119.96Hz
  1280x960 (0x6c) 217.767MHz -HSync +VSync
        h: width  1280 start 1384 end 1520 total 1760 skew    0 clock 123.73KHz
        v: height  960 start  963 end  967 total 1032           clock 119.89Hz
  1152x864 (0x6d) 176.450MHz -HSync +VSync
        h: width  1152 start 1248 end 1368 total 1584 skew    0 clock 111.40KHz
        v: height  864 start  867 end  871 total  929           clock 119.91Hz
  1024x768 (0x6e) 137.890MHz -HSync +VSync
        h: width  1024 start 1104 end 1208 total 1392 skew    0 clock  99.06KHz
        v: height  768 start  771 end  775 total  826           clock 119.93Hz
  800x600 (0x6f) 83.055MHz -HSync +VSync
        h: width   800 start  856 end  936 total 1072 skew    0 clock  77.48KHz
        v: height  600 start  603 end  607 total  646           clock 119.93Hz
  640x480 (0x70) 52.625MHz -HSync +VSync
        h: width   640 start  680 end  744 total  848 skew    0 clock  62.06KHz
        v: height  480 start  483 end  487 total  518           clock 119.80Hz
  720x400 (0x71) 48.878MHz -HSync +VSync
        h: width   720 start  760 end  832 total  944 skew    0 clock  51.78KHz
        v: height  400 start  403 end  413 total  432           clock 119.86Hz
  640x400 (0x72) 43.079MHz -HSync +VSync
        h: width   640 start  672 end  736 total  832 skew    0 clock  51.78KHz
        v: height  400 start  403 end  409 total  432           clock 119.86Hz
  640x350 (0x73) 37.734MHz -HSync +VSync
        h: width   640 start  672 end  736 total  832 skew    0 clock  45.35KHz
        v: height  350 start  353 end  363 total  378           clock 119.98Hz

这是lsmod | grep nvidia nvidia_uvm 757760 0 nvidia_drm 40960 2 nvidia_modeset 1093632 5 nvidia_drm drm_kms_helper 167936 1 nvidia_drm drm 360448 5 nvidia_drm,drm_kms_helper nvidia 14323712 326 nvidia_modeset,nvidia450

谢谢大家


1
你可以包括journalctl -b | grep -i nvidia吗?
WinEunuuchs2Unix


1
GRUB_CMDLINE_LINUX_DEFAULT应该只有1个变量,并且在您的帖子中为“ splashacpi_backlight”,但“ splash和acpi是不同的参数,它之间应该有空格”。
Aravind

1
GRUB_CMDLINE_LINUX_DEFAULT =“ quiet splash acpi_backlight = vendor acpi_osi = Linux”
Aravind

1
然后通过sudo update-grub更新您的grub
Aravind

Answers:


4

我创建了一个临时bash脚本来调整亮度级别。然后,我在键盘映射设置中创建2个sortcuts,以使用以下脚本设置CTRL + Brightness UPCTRL+ Brightness Down

#!/bin/bash

# Step brightness value
STEP=2
# Max brightness value (defult 100)
MAX=100
# Min brightness value (defult 0)
MIN=0

COMMAND=$(xrandr --verbose | grep -i brightness | cut -f2 -d':' | tr -d "[:space:]")
ACTUAL=$(bc -l <<< $COMMAND*100 | cut -f1 -d'.')

while getopts ": u d" input
do
    case $input in
    u)  if [ $ACTUAL -lt $MAX ];then
                TOTAL=$(bc -l <<< $(($ACTUAL+$STEP))/100)
                $(xrandr --output DP-0 --brightness $TOTAL)
        fi;;
    d)  if [ $ACTUAL -gt $MIN ];then
                TOTAL=$(bc -l <<< $(($ACTUAL-$STEP))/100)
                $(xrandr --output DP-0 --brightness $TOTAL)
        fi;;
    ?)  printf "Usage: brightness [OPTION]\n"
        printf "Increase or decrease birghtness on Ubuntu Xorg.\n" 
        printf "WAYLAND MUST BE DISABLED\n\n"
        printf "  -u\t Increases brightness\n"
        printf "  -d\t Decreases brightness\n"
        exit 2;;
    esac
done

在设置自定义快捷方式中,我添加了此 设置自定义快捷方式


刚注意到这个答案并被投票赞成。做得好。
WinEunuuchs2Unix

您能否告诉您将该文件保存在哪里以及如何使用?
kayush

2

看来Linux可以识别您的背光。您看到brightness文件了/sys/class/backlight/acpi_video0/吗?如果这样做,请尝试在其中写入数字,以查看它是否影响屏幕的亮度。您可能需要以root身份这样做。

在我的系统上,Fn + Brightness键甚至不被Linux识别,因为它们不生成任何扫描代码,但是我仍然可以通过允许所有用户访问brightness文件chmod并在其中写入整数来改变显示屏的亮度。。


1
嗨@dsstorefile。是的,/ sys / class / backlight / acpi_video0 /中有一个亮度文件,我可以更改该数字(以root用户身份),但是它不起作用。亮度仍然100%:(我的Fn + Brightnes键生成扫描代码:(
albertoiNET

2

NVIDIA无法与Wayland合作

正如其他人发现的那样,nVidia在Wayland上不能很好地使用:Wayland上的Ubuntu 17.10-(如何)如何安装NVIDIA驱动程序?。解决方案是切换到Xorg。要总结cl-net的答案,请使用以下步骤:

  • 要安装NVIDIA驱动程序,请执行sudo apt install nvidia-384

  • 此外,默认情况下,您可以强制GDM登录屏幕使用Xorg。
    为此,只需执行sudo nano /etc/gdm3/custom.conf。从行中
    删除字符。 现在按+ ,然后按和保存更改。 ## WaylandEnable=false
    CtrlXYEnter

  • 重新启动Ubuntu操作系统,执行sudo reboot


您可能会遇到的另一个问题是通过HDMI到外部显示器的声音没有。要解决此问题,请参阅以下问答:NVIDIA GeForce GTX 1050 Ti上没有通过HDMI的音频


1
使用Xorg登录时,@ albertoiNET的GRUB行acpi_backlight=设置为什么?
WinEunuuchs2Unix

1
@albertoiNET现在正在运行的Xorg,而不是Wayland的这个Q&A提供了额外的东西尝试:askubuntu.com/questions/935585/...
WinEunuuchs2Unix

1
@albertoiNET Wayland仅默认为17.10。在18.04中,xorg将再次成为默认值。什么是cat /sys/class/backlight/acpi_video0/brightness露?当您这样做时,错误也消失了journalctl -b | grep -i nvidia吗?
WinEunuuchs2Unix

1
请勿立即安装18.04。我只是指出Wayland看起来更像是一个实验,还没准备好迎接黄金时段。
WinEunuuchs2Unix

1
@albertoiNET不要在第一天安装18.04。回到这里,阅读错误报告几个星期,以确保您不会受到“新发行的蓝调”的影响。
WinEunuuchs2Unix

0

在此过程中,让我们列出许多“人们尝试过的”其他选项(这是社区Wiki,请随时添加一些您自己的!)

更新到内核4.18

更新至Ubuntu 19.04(或至少不是gnome)https://askubuntu.com/a/1152763/20972

video.only_lcd选项https://askubuntu.com/a/1041595/20972

尝试切换到主线内核https://askubuntu.com/a/1030296/20972 https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1775065

acpi_osi =(即空白)https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1775065

在19.04上切换到nouveau

如果xbacklight有效,则设置一些键盘快捷方式来调用它。https://unix.stackexchange.com/a/440843/8337

NVreg_EnableBacklightHandler https://devtalk.nvidia.com/default/topic/1025559/linux/solus-nvidia-gtx-1070-brightness-control-not-working/

use_native_backlight选项https://askubuntu.com/a/937133/20972

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.