Re: Nvidia Optimus, Debian 10, and Firefox ESR crashes
On 05.01.2021 08:47, David Christensen
wrote:
On
2021-01-04 09:14, Alexander V. Makartsev wrote:
"xrandr" utility should help you with
diagnostics and setup:
$ xrandr -q
Thank you for the reply. :-)
2021-01-04 19:22:57 root@dipsy ~
# xrandr -q
Can't open display
You have to run it as a normal user, hence a "$" sign.
Note
pop-up:
┌────────────────────┤ Configuring nvidia-legacy-check
├────────────────────┐
Choose 'No'.
As I previously explained, you'll have to install legacy driver
version 390 for your VGA to work.
This will be true for any other additional packages that are part of
Nvidia drivers.
So in order to get "nvidia-settings" utility that supports your VGA,
you have to install "nvidia-settings-legacy-390xx" package.
And
a new issue:
Xfce -> Settings -> Display -> Resolution now only offers
three choices:
1024x768
800x600
640x480
The laptop has a 1920x1080 screen. The external monitor is
1920x1080. The nouveau driver was able to drive both the laptop
display and the external monitor at 1920x1080. I would like to do
so with the non-free Nvidia legacy driver.
I think somehow nvidia driver fails to process EDID information of
your monitor and laptop screen. Also Optimus doesn't make things
easier.
This is what I get with default settings (no special kernel command
line parameters) on my system:
$ xrandr -q
Screen 0: minimum 8 x 8, current 1680 x 1050, maximum 32767 x
32767
DVI-D-0 connected 1680x1050+0+0 (normal left inverted right x axis
y axis) 474mm x 296mm
1680x1050 59.88*+ 59.95
1280x1024 75.02 60.02
1280x960 60.00
1152x864 75.00
1024x768 75.03 70.07 60.00
800x600 75.00 72.19 60.32 56.25
640x480 75.00 72.81 59.94
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 disconnected (normal left inverted right x axis y axis)
DP-5 disconnected (normal left inverted right x axis y axis)
Looking
around for X configuration files:
2021-01-04 19:34:58 root@dipsy ~
# locate xorg.conf
/usr/share/X11/xorg.conf.d
/usr/share/X11/xorg.conf.d/10-amdgpu.conf
/usr/share/X11/xorg.conf.d/10-quirks.conf
/usr/share/X11/xorg.conf.d/10-radeon.conf
/usr/share/X11/xorg.conf.d/40-libinput.conf
/usr/share/X11/xorg.conf.d/70-wacom.conf
/usr/share/X11/xorg.conf.d/nvidia-drm-outputclass.conf
RTFM xorg.conf(5), I am unsure if any of the located files (above)
are active:
They are active, but those files are default config snippets. I have
them on my system too.
Usually, "/etc/X11/xorg.conf" and "/etc/X11/xorg.conf.d/" is the
place for X configs and snippets of X configs.
It would be helpful if you collect output from utilities I mentioned
before.
Try "nvidia-settings" (not as root :), because it has ability to
detect screens and generate Xorg config. [1]
I've just now found a very detailed configuration manual from Nvidia
[2], that explains why monitors could not be detected properly (See
a warning section for "ConnectedMonitor"
option).
[1]
https://zuttobenkyou.wordpress.com/2009/10/04/linux-nvidia-xinerama-guide-rotating-just-one-monitor-in-a-dual-head-setup/
[2]
https://download.nvidia.com/XFree86/Linux-x86_64/390.138/README/configtwinview.html
--
With kindest regards, Alexander.
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀⠀⠀⠀
Reply to:
- References:
- Nvidia Optimus, Debian 10, and Firefox ESR crashes
- From: David Christensen <dpchrist@holgerdanske.com>
- Re: Nvidia Optimus, Debian 10, and Firefox ESR crashes
- From: Darac Marjal <mailinglist@darac.org.uk>
- Re: Nvidia Optimus, Debian 10, and Firefox ESR crashes
- From: David Christensen <dpchrist@holgerdanske.com>
- Re: Nvidia Optimus, Debian 10, and Firefox ESR crashes
- From: "Alexander V. Makartsev" <avbetev@gmail.com>
- Re: Nvidia Optimus, Debian 10, and Firefox ESR crashes
- From: David Christensen <dpchrist@holgerdanske.com>
- Re: Nvidia Optimus, Debian 10, and Firefox ESR crashes
- From: "Alexander V. Makartsev" <avbetev@gmail.com>
- Re: Nvidia Optimus, Debian 10, and Firefox ESR crashes
- From: David Christensen <dpchrist@holgerdanske.com>
- Re: Nvidia Optimus, Debian 10, and Firefox ESR crashes
- From: "Alexander V. Makartsev" <avbetev@gmail.com>
- Re: Nvidia Optimus, Debian 10, and Firefox ESR crashes
- From: David Christensen <dpchrist@holgerdanske.com>