AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题 / 1254400
Accepted
b-rad15
b-rad15
Asked: 2020-06-28 13:18:01 +0800 CST2020-06-28 13:18:01 +0800 CST 2020-06-28 13:18:01 +0800 CST

GTX1050M 上的 Nvidia 驱动程序 440 在启动期间但不是在启动后识别笔记本电脑屏幕,只有第二个显示器

  • 772

基本上标题,使用笔记本电脑屏幕和显示器的新驱动程序都可以正常工作。想做一些 nvenc 的事情,所以我通过 20.04 中的附加驱动程序应用程序获得了 nvidia 驱动程序。对于 ubuntu 建议的任何一个(440、435、390),笔记本电脑使用笔记本电脑屏幕启动(显示 grub 信息、ubuntu 徽标和启动服务),但是当启动过程完成时,只有辅助屏幕工作。我还尝试在 grub 设置中将 nomodeset 切换为 quiet splash,但没有任何变化。如果我将 nvidia x 服务器设置中的 gpu 更改为 intel 集成设置,笔记本电脑屏幕工作正常,但我无法使用 gpu。任何意见,将不胜感激。笔记本电脑是戴尔灵越 15 i7567。此外,如果我使用 ctrl-alt-f3 切换到不同的 tty,则控制台位于笔记本电脑屏幕上。

drivers nvidia laptop nvidia-geforce 20.04
  • 2 2 个回答
  • 192 Views

2 个回答

  • Voted
  1. Best Answer
    b-rad15
    2020-08-01T16:09:13+08:002020-08-01T16:09:13+08:00

    长话短说:安装新的 450 驱动程序

    长话短说:使用“附加驱动程序”安装新驱动程序,运行sudo dpkg-reconfigure xserver-xorg,重新启动,重复直到在笔记本电脑屏幕上启动,运行sudo Xorg :1 -configure以生成 xorg.conf.new 文件,将其复制到其他地方以防万一,运行sudo dpkg-reconfigure -phigh xserver-xorg,重新启动,进入 tty2使用 ctrl-alt-f2 因为您无法通过登录屏幕,运行sudo ubuntu-drivers autoinstall以安装最新的 450 驱动程序,重新启动,祈祷,一切正常。

    我不知道哪个部分修复了它,哪些部分什么也没做,但这就是我运行的所有最终让它工作的东西。

    下面还有 NVIDIA X 服务器设置创建的新 xorg.conf,您可以稍微修改并放入 /etc/X11/xorg.conf 以使您的工作正常:

    编辑:当分数缩放再次破坏我的配置并且重复此步骤无法修复它时,我无法使此文件正常工作。我认为关键是什么导致我的 tty2 无法加载到 gui 中。

    # nvidia-settings: X configuration file generated by nvidia-settings
    # nvidia-settings:  version 440.82
    
    Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 3840 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
        Option         "Xinerama" "0"
    EndSection
    
    Section "Files"
        ModulePath      "/usr/lib/xorg/modules"
        FontPath        "/usr/share/fonts/X11/misc"
        FontPath        "/usr/share/fonts/X11/cyrillic"
        FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/Type1"
        FontPath        "/usr/share/fonts/X11/100dpi"
        FontPath        "/usr/share/fonts/X11/75dpi"
        FontPath        "built-ins"
    EndSection
    
    Section "Module"
        Load           "glx"
    EndSection
    
    Section "InputDevice"
        Identifier     "Keyboard0"
        Driver         "kbd"
    EndSection
    
    Section "InputDevice"
        Identifier     "Mouse0"
        Driver         "mouse"
        Option         "Protocol" "auto"
        Option         "Device" "/dev/input/mice"
        Option         "ZAxisMapping" "4 5 6 7"
    EndSection
    
    Section "Monitor"
        Identifier     "Monitor0"
        VendorName     "Unknown"
        ModelName      "TOSHIBA-TV"
        HorizSync       15.0 - 68.0
        VertRefresh     23.0 - 61.0
    EndSection
    
    Section "Monitor"
        Identifier     "Monitor1"
        VendorName     "Monitor Vendor"
        ModelName      "Monitor Model"
    EndSection
    
    Section "Device"
    
            ### Available Driver options are:-
            ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
            ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
            ### <percent>: "<f>%"
            ### [arg]: arg optional
            #Option     "Accel"                 # [<bool>]
            #Option     "AccelMethod"           # <str>
            #Option     "Backlight"             # <str>
            #Option     "CustomEDID"            # <str>
            #Option     "DRI"                   # <str>
            #Option     "Present"               # [<bool>]
            #Option     "ColorKey"              # <i>
            #Option     "VideoKey"              # <i>
            #Option     "Tiling"                # [<bool>]
            #Option     "LinearFramebuffer"     # [<bool>]
            #Option     "HWRotation"            # [<bool>]
            #Option     "VSync"                 # [<bool>]
            #Option     "PageFlip"              # [<bool>]
            #Option     "SwapbuffersWait"       # [<bool>]
            #Option     "TripleBuffer"          # [<bool>]
            #Option     "XvPreferOverlay"       # [<bool>]
            #Option     "HotPlug"               # [<bool>]
            #Option     "ReprobeOutputs"        # [<bool>]
            #Option     "XvMC"                  # [<bool>]
            #Option     "ZaphodHeads"           # <str>
            #Option     "VirtualHeads"          # <i>
            #Option     "TearFree"              # [<bool>]
            #Option     "PerCrtcPixmaps"        # [<bool>]
            #Option     "FallbackDebug"         # [<bool>]
            #Option     "DebugFlushBatches"     # [<bool>]
            #Option     "DebugFlushCaches"      # [<bool>]
            #Option     "DebugWait"             # [<bool>]
            #Option     "BufferCache"           # [<bool>]
        Identifier     "Card0"
        Driver         "intel"
        BusID          "PCI:0:2:0"
    EndSection
    
    Section "Device"
    
            ### Available Driver options are:-
            ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
            ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
            ### <percent>: "<f>%"
            ### [arg]: arg optional
            #Option     "SWcursor"              # [<bool>]
            #Option     "HWcursor"              # [<bool>]
            #Option     "NoAccel"               # [<bool>]
            #Option     "ShadowFB"              # [<bool>]
            #Option     "VideoKey"              # <i>
            #Option     "WrappedFB"             # [<bool>]
            #Option     "GLXVBlank"             # [<bool>]
            #Option     "ZaphodHeads"           # <str>
            #Option     "PageFlip"              # [<bool>]
            #Option     "SwapLimit"             # <i>
            #Option     "AsyncUTSDFS"           # [<bool>]
            #Option     "AccelMethod"           # <str>
            #Option     "DRI"                   # <i>
        Identifier     "Card1"
        Driver         "nouveau"
        BusID          "PCI:1:0:0"
    EndSection
    
    Section "Device"
        Identifier     "Device0"
        Driver         "nvidia"
        VendorName     "NVIDIA Corporation"
        BoardName      "GeForce GTX 1050"
    EndSection
    
    Section "Screen"
        Identifier     "Screen0"
        Device         "Device0"
        Monitor        "Monitor0"
        DefaultDepth    24
        Option         "Stereo" "0"
        Option         "nvidiaXineramaInfoOrder" "DFP-0"
        Option         "metamodes" "nvidia-auto-select +3840+0"
        Option         "SLI" "Off"
        Option         "MultiGPU" "Off"
        Option         "BaseMosaic" "off"
        SubSection     "Display"
            Depth       24
        EndSubSection
    EndSection
    
    Section "Screen"
        Identifier     "Screen1"
        Device         "Card1"
        Monitor        "Monitor1"
        SubSection     "Display"
            Viewport    0 0
            Depth       1
        EndSubSection
        SubSection     "Display"
            Viewport    0 0
            Depth       4
        EndSubSection
        SubSection     "Display"
            Viewport    0 0
            Depth       8
        EndSubSection
        SubSection     "Display"
            Viewport    0 0
            Depth       15
        EndSubSection
        SubSection     "Display"
            Viewport    0 0
            Depth       16
        EndSubSection
        SubSection     "Display"
            Viewport    0 0
            Depth       24
        EndSubSection
    EndSection
    
    • 1
  2. Em Vo
    2020-06-29T00:17:57+08:002020-06-29T00:17:57+08:00

    我有同样的问题。

    您是否在操作系统安装中安装了“第三方软件”?

    您可以尝试删除不工作的图形,但更容易的是全新的操作系统安装并让系统选择正确的驱动程序。通过安装sudo apt install ubuntu-restricted-extras不足以完全清除文件和路径。没有其他东西对我有用。

    在此处输入图像描述

    • 0

相关问题

  • 如何为 LG X130 上网本安装 relink 无线驱动程序

  • 升级到 10.04 后字体模糊,Nvidia 问题?

  • 类似于 Eyefinity 的东西?

  • 帮助让 Flash 播放器在第二个屏幕上工作?

  • 在哪里可以找到 Brother HL-2170W 64 位打印机驱动程序?

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve