Public bug reported:

Fresh ubuntu 20.04 machine with a gtx 1080.

Configured to boot to commandline with sudo systemctl set-default multi-
user.target

Proprietary driver nvidia 440 installed with 'ubuntu-driver install'.

Rebooted.

Logged in, ran startx.

Startx ran fine.

Configured system to log in automatically by creating 
/etc/systemd/system/getty@tty1.service.d/autologin.conf
containing

[Service]
ExecStart=
ExecStart=-/sbin/agetty --autologin buildbot --noclear %I 38400 linux
[Unit]
Wants=network-online.target
After=network-online.target

Installed lwm and xterm, created a simple .xinitrc that just runs xterm
and lwm:

/usr/bin/xterm  -geometry 80x25+0-0   &
exec lwm

In .profile, added lines at the end to run startx if at console:

case `tty` in
/dev/tty1) startx;;
esac

Rebooted.

Startx failed with

(EE) Cannot run in framebuffer mode. Please specify busIDs        for
all framebuffer devices

Running startx again manually worked fine.

Adding a second startx after the first one in .profile also worked fine.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: nvidia-driver-440 440.82+really.440.64-0ubuntu6
ProcVersionSignature: Ubuntu 5.4.0-26.30-generic 5.4.30
Uname: Linux 5.4.0-26-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckResult: skip
Date: Fri Apr 24 11:06:43 2020
InstallationDate: Installed on 2020-04-24 (0 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: nvidia-graphics-drivers-440
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: nvidia-graphics-drivers-440 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug focal

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

Title:
  startx fails on first run with "Cannot run in framebuffer mode"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-440/+bug/1874879/+subscriptions

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

Reply via email to