V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
huntagain2008
V2EX  ›  Ubuntu

记 2011 年 Thinkpad L421 装 ubuntu22.04 也黑屏(是亮度太低),亮度不可调,最后还是解决了

  •  
  •   huntagain2008 · 2022-04-23 22:31:52 +08:00 · 2203 次点击
    这是一个创建于 727 天前的主题,其中的信息可能已经有所发展或是发生改变。

    小白我老是看到很多说 csdn 不好,但是这回还真是看 csdn 的文章瞎猫碰上死耗子搞好了。

    $ sudo vi /etc/default/grub

    GRUB_CMDLINE_LINUX="acpi_backlight=vendor"

    $ sudo update-grub

    当时想改 /sys/class/backlight/apci-0/brightness 这个文件,怎么也改不了,反正是无法修改和删除。

    尝试用 xrandr 去改背光亮度,但是没有什么用,最后 reboot 。

    结果就好了。正常满亮度自动登录进系统。 再进去 /sys/class/backlight/ 发现里面目录变成了 radeon_bl0 thinkpad_screen thinkpad_screen 是新的,之前是没有的。我猜测改了 GRUB_CMDLINE_LINUX="acpi_backlight=vendor" 把显示器背光指定为供应商也就是 thinkpad 的屏幕起到了效果。

    第 1 条附言  ·  2022-05-04 16:37:43 +08:00
    以上都没什么用。开始不会黑屏,可是几天后,开机再次黑屏(亮度很低,让人以为是黑屏)。

    临时解决方法是外接显示器,按 fn+f7 或 super+p 切换到外接显示器,然后再切回内置显示器,这时笔记本显示器就亮了。原因不明。

    现在用的 xubuntu ,感觉比 ubuntu 轻便。
    第 2 条附言  ·  2022-05-05 13:41:52 +08:00
    回家准备再试一下,添加 nomodeset 到 grub
    > 修改 /etc/default/grub
    > #GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" # 原版
    > GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset" # 修改后

    > about nomodeset:

    > The newest kernels have moved the video mode setting into the kernel. So all the programming of the hardware specific clock rates and registers on the video card happen in the kernel rather than in the X driver when the X server starts.. This makes it possible to have high resolution nice looking splash (boot) screens and flicker free transitions from boot splash to login screen. Unfortunately, on some cards this doesn't work properly and you end up with a black screen. Adding the nomodeset parameter instructs the kernel to not load video drivers and use BIOS modes instead until X is loaded.
    参考自: https://askubuntu.com/questions/716957/what-do-the-nomodeset-quiet-and-splash-kernel-parameters-mean
    第 3 条附言  ·  2022-05-05 18:34:08 +08:00
    直接无法进系统,只有光标闪动。添加 nomodeset 到 grub 这个方法不行。
    第 4 条附言  ·  2022-05-06 14:02:29 +08:00
    看到 amd 官网有 ubuntu14.04 的显卡驱动,今天回去准备装 ubuntu14.04LTS,然后下载 amd 驱动试一试。
    第 5 条附言  ·  2022-05-07 09:25:59 +08:00
    小白我在 amd.com/en/support/找到 ubuntu14.04X64 显卡驱动,尝试用 dpkg -i fglrx fglrx-core fglrx-amdcccle fglrx-dev 安装,提示与 xorg 软件包冲突,于是放弃。然后换了 ubuntu14.04 i386 版,再次尝试安装显卡驱动,提示 deb 包不被 debian.org 验证,安装无法继续。实际上我也不知道真的需要显卡驱动。实际外接电视可用,从外接显示屏切回内置屏幕就可以用,感觉并不像是有什么问题。

    现在觉得更应该是笔记本的 BIOS 驱动太旧,有 bug,升级 BIOS 驱动有可能解决。
    Version 1.19
    BIOS: 1.19 / ECP: 1.10

    (Important) Added support for Microsoft Windows 8.
    (Fix) Fixed an issue where the system has the intermittent LCD dim display after Windows startup.

    https://askubuntu.com/questions/797190/help-installing-ubuntu-on-a-lenovo-thinkpad-l420
    第 6 条附言  ·  2022-05-07 20:25:13 +08:00
    按 F12 没有 bios flash update 选项,不会刷 bios,只有在 windows 上运行 bios 安装程序,没想到 win7-32 位刚装好就蓝屏重启不断。放弃了。装上 xubuntu 还能用
    第 7 条附言  ·  2022-05-07 20:25:22 +08:00
    按 F12 没有 bios flash update 选项,不会刷 bios,只有在 windows 上运行 bios 安装程序,没想到 win7-32 位刚装好就蓝屏重启不断。放弃了。装上 xubuntu 还能用
    第 8 条附言  ·  2022-05-09 19:09:25 +08:00
    居然真的 csdn 解决了问题。希望开机不会再黑屏了。用 duckduckgo 搜 ubuntu 黑屏 dmesg 居然搜不到正确的解答,而用 bing 搜索居然第三条就是正解。哦,不对,开了代理用 bing 搜索也看不到之前的搜索结果,这时把代理关了再搜索才对了。

    https://blog.csdn.net/longlongqin/article/details/114925908
    Ubuntu Linux 开机黑屏的永久解决办法
    此时,你需要修改 /etc/default/grub ,你需要将 grub 文件中的:
    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset" // 这里添加 nomodeset
    GRUB_CMDLINE_LINUX="rw" //这里需要填写为 rw

    修改完之后,还需要最后一步。输入命令 sudo update-grub
    ————————————————
    再 reboot ,真的不黑屏进入系统了。我理解就是笔记本独显太旧无法适应最新的 grub 启动方式,把独显因素去掉,因为前面没有加“rw"没有真的写进去。
    第 9 条附言  ·  2022-05-12 23:15:07 +08:00
    这几天开机都是正常进系统了(自动登录)。不用的时候过一会儿会 freeze 屏幕而鼠标能动却不能点击,ctrl-alt-F1 到 F6 都可切换到 tty1-6 。看日志网上查到 Arch Linux BBS 2012 年的贴子,因为 ata ,但排除 hdd 问题,有关闭以太网解决的,有写 sh 脚本调笔记本模式的(延长电池续航时间),有因为 dvd 光驱 trash sata 的,我全要了,电源管理器,锁屏全关了,感觉没有再冻屏了。也在 /etc/profile 加了键盘中断,用 ctrl-alt-backspace 重启 window-x
    第 10 条附言  ·  2022-05-12 23:15:26 +08:00
    这几天开机都是正常进系统了(自动登录)。不用的时候过一会儿会 freeze 屏幕而鼠标能动却不能点击,ctrl-alt-F1 到 F6 都可切换到 tty1-6 。看日志网上查到 Arch Linux BBS 2012 年的贴子,因为 ata ,但排除 hdd 问题,有关闭以太网解决的,有写 sh 脚本调笔记本模式的(延长电池续航时间),有因为 dvd 光驱 trash sata 的,我全要了,电源管理器,锁屏全关了,感觉没有再冻屏了。也在 /etc/profile 加了键盘中断,用 ctrl-alt-backspace 重启 window-x
    4 条回复    2022-05-14 18:18:12 +08:00
    leimao
        1
    leimao  
       2022-04-23 22:32:59 +08:00 via iPhone
    X1 yoga ,我也忘了第几代了,应该是 19 年买的,装了目前没发现啥问题
    huntagain2008
        2
    huntagain2008  
    OP
       2022-04-23 22:55:20 +08:00 via iPhone
    @leimao thinkpad L421 2011 年给老妈推荐的,结果 win7 经常蓝屏重启。本身显卡驱动就有问题。10 年后换成 debian11 就没死机重启过。
    610915518
        3
    610915518  
       2022-04-24 20:49:26 +08:00
    csdn 确实容易找到一些冷门的(大概是 csdn 聚合的比较全面
    huntagain2008
        4
    huntagain2008  
    OP
       2022-05-14 18:18:12 +08:00
    xubuntu20.04 屏幕冻住鼠标可以移动但不能点击,键盘可以 ctrl-alt-F1 用 tty1 登录进入 console 。定位问题是出在 screensaver ,直接 super-L 锁屏问题得到复现。网上找到的办法是安装 xscreensaver 。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2907 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 03:49 · PVG 11:49 · LAX 20:49 · JFK 23:49
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.