[Bug 1802834] Re: Dim screen after first boot on Thinkpad A285

2019-07-24 Thread Brad Figg
** Tags added: ubuntu-certified

** Tags added: cscc

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1802834

Title:
  Dim screen after first boot on Thinkpad A285

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1802834/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1802834] Re: Dim screen after first boot on Thinkpad A285

2018-12-17 Thread Kai-Heng Feng
This possibly means brightness value is 0 when systemd-
backlight@amdgpu_bl0 saves the brightness, and it clamps its value to 5%
of max_brightness which is 12.

Needs to perform a kernel bisection to find the fix commit.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1802834

Title:
  Dim screen after first boot on Thinkpad A285

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1802834/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1802834] Re: Dim screen after first boot on Thinkpad A285

2018-12-12 Thread Bin Li
Installed the 19.04 daily image, the kernel  is 4.18.0-11-generic. It
works fine. And the brightness value is 255.

$ cat /sys/class/backlight/amdgpu_bl0/brightness
255
$ cat /sys/class/backlight/amdgpu_bl0/actual_brightness
255
$ cat /sys/class/backlight/amdgpu_bl0/max_brightness
255

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1802834

Title:
  Dim screen after first boot on Thinkpad A285

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1802834/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1802834] Re: Dim screen after first boot on Thinkpad A285

2018-12-12 Thread Bin Li
After you install the 18.04 image, it will show the dim screen.
After suspend, the backlight is normal.

$ cat /var/lib/systemd/backlight/*
12

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1802834

Title:
  Dim screen after first boot on Thinkpad A285

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1802834/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1802834] Re: Dim screen after first boot on Thinkpad A285

2018-12-12 Thread Kai-Heng Feng
When this issue happens, what's the output of "grep .
/var/lib/systemd/backlight/*"?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1802834

Title:
  Dim screen after first boot on Thinkpad A285

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1802834/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1802834] Re: Dim screen after first boot on Thinkpad A285

2018-12-11 Thread Bin Li
After I resume from suspend, I found the backlight is normal, and here
is the log.

** Attachment added: "a285.journal.log"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1802834/+attachment/5221571/+files/a285.journal.log

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1802834

Title:
  Dim screen after first boot on Thinkpad A285

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1802834/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1802834] Re: Dim screen after first boot on Thinkpad A285

2018-12-11 Thread Hui Wang
backlight_level =
amdgpu_atombios_encoder_get_backlight_level_from_reg(adev);

dig = amdgpu_encoder->enc_priv;
dig->bl_dev = bd;

bd->props.brightness = 
amdgpu_atombios_encoder_get_backlight_brightness(bd);
bd->props.power = FB_BLANK_UNBLANK;
backlight_update_status(bd);

DRM_INFO("amdgpu atom DIG backlight initialized\n");


u8
amdgpu_atombios_encoder_get_backlight_level_from_reg(struct amdgpu_device *adev)
{
u8 backlight_level;
u32 bios_2_scratch;

bios_2_scratch = RREG32(mmBIOS_SCRATCH_2);

backlight_level = ((bios_2_scratch & ATOM_S2_CURRENT_BL_LEVEL_MASK) >>
   ATOM_S2_CURRENT_BL_LEVEL_SHIFT);

return backlight_level;
}

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1802834

Title:
  Dim screen after first boot on Thinkpad A285

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1802834/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1802834] Re: Dim screen after first boot on Thinkpad A285

2018-12-11 Thread Hui Wang
So it looks like the initial brightness is got from atombios of graphic
card, so it is atombios issue or the code can't correctly parse the
atombios.

it is highly possible that this is an atombios issue.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1802834

Title:
  Dim screen after first boot on Thinkpad A285

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1802834/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1802834] Re: Dim screen after first boot on Thinkpad A285

2018-11-21 Thread Bin Li
No, I didn't, let me try it.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1802834

Title:
  Dim screen after first boot on Thinkpad A285

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1802834/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1802834] Re: Dim screen after first boot on Thinkpad A285

2018-11-21 Thread Kai-Heng Feng
Do you also see the issue on 19.04 daily image?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1802834

Title:
  Dim screen after first boot on Thinkpad A285

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1802834/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1802834] Re: Dim screen after first boot on Thinkpad A285

2018-11-18 Thread Bin Li
Upgraded to 4.15.0-42 kernel from proposed. And this issue is still
exist. And the default value is 12, but the max is 255.

$ cat /sys/class/backlight/amdgpu_bl0/brightness
12
$ cat /sys/class/backlight/amdgpu_bl0/max_brightness
255

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1802834

Title:
  Dim screen after first boot on Thinkpad A285

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1802834/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1802834] Re: Dim screen after first boot on Thinkpad A285

2018-11-16 Thread Joseph Salisbury
Does this issue still happen after applying the latest updates?

Would it be possible for you to test the proposed kernel and post back if it 
resolves this bug?
See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to 
enable and use -proposed. 

Thank you in advance!


** Changed in: linux (Ubuntu)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1802834

Title:
  Dim screen after first boot on Thinkpad A285

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1802834/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1802834] Re: Dim screen after first boot on Thinkpad A285

2018-11-12 Thread Bin Li
apport information

** Tags added: apport-collected bionic

** Description changed:

- We installed the 18.04 daily image on ThinkPad A285, found the screen is
- dim at the first boot.
+ We installed the 18.04 daily image on ThinkPad A285, found the screen is dim 
at the first boot.
+ --- 
+ ProblemType: Bug
+ ApportVersion: 2.20.9-0ubuntu7.4
+ Architecture: amd64
+ AudioDevicesInUse:
+  USERPID ACCESS COMMAND
+  /dev/snd/controlC1:  u  1481 F pulseaudio
+  /dev/snd/controlC0:  u  1481 F pulseaudio
+ CurrentDesktop: ubuntu:GNOME
+ DistroRelease: Ubuntu 18.04
+ InstallationDate: Installed on 2018-11-12 (0 days ago)
+ InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 
(20180725)
+ MachineType: LENOVO 20MWZ47RUS
+ Package: linux (not installed)
+ ProcFB: 0 amdgpudrmfb
+ ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-38-generic 
root=UUID=347498ab-8eae-42d3-a1e3-74e9be6b6ba3 ro quiet splash vt.handoff=1
+ ProcVersionSignature: Ubuntu 4.15.0-38.41-generic 4.15.18
+ RelatedPackageVersions:
+  linux-restricted-modules-4.15.0-38-generic N/A
+  linux-backports-modules-4.15.0-38-generic  N/A
+  linux-firmware 1.173.1
+ Tags:  bionic
+ Uname: Linux 4.15.0-38-generic x86_64
+ UpgradeStatus: No upgrade log present (probably fresh install)
+ UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
+ _MarkForUpload: True
+ dmi.bios.date: 09/21/2018
+ dmi.bios.vendor: LENOVO
+ dmi.bios.version: R0XET30W (1.07 )
+ dmi.board.asset.tag: Not Available
+ dmi.board.name: 20MWZ47RUS
+ dmi.board.vendor: LENOVO
+ dmi.board.version: SDK0J40697 WIN
+ dmi.chassis.asset.tag: No Asset Information
+ dmi.chassis.type: 10
+ dmi.chassis.vendor: LENOVO
+ dmi.chassis.version: None
+ dmi.modalias: 
dmi:bvnLENOVO:bvrR0XET30W(1.07):bd09/21/2018:svnLENOVO:pn20MWZ47RUS:pvrThinkPadA285:rvnLENOVO:rn20MWZ47RUS:rvrSDK0J40697WIN:cvnLENOVO:ct10:cvrNone:
+ dmi.product.family: ThinkPad A285
+ dmi.product.name: 20MWZ47RUS
+ dmi.product.version: ThinkPad A285
+ dmi.sys.vendor: LENOVO

** Attachment added: "AlsaInfo.txt"
   
https://bugs.launchpad.net/bugs/1802834/+attachment/5211665/+files/AlsaInfo.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1802834

Title:
  Dim screen after first boot on Thinkpad A285

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1802834/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1802834] Re: Dim screen after first boot on Thinkpad A285

2018-11-12 Thread Bin Li
Here is the journalctl log.

** Attachment added: "journalctl.backlight.log"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1802834/+attachment/5211664/+files/journalctl.backlight.log

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1802834

Title:
  Dim screen after first boot on Thinkpad A285

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1802834/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs