Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #230364

Re: Nvidia Optimus, Debian 10, and Firefox ESR crashes

From "Alexander V. Makartsev" <avbetev@gmail.com>
Newsgroups linux.debian.user
Subject Re: Nvidia Optimus, Debian 10, and Firefox ESR crashes
Date 2021-01-05 22:00 +0100
Message-ID <Bu1AT-8vW-17@gated-at.bofh.it> (permalink)
References (4 earlier) <Btlii-7ws-3@gated-at.bofh.it> <Btnap-dZ-1@gated-at.bofh.it> <BtpOV-1Z0-7@gated-at.bofh.it> <BtBGq-1gI-9@gated-at.bofh.it> <BtLw6-7ap-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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
⠈⠳⣄⠀⠀⠀⠀

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Nvidia Optimus, Debian 10, and Firefox ESR crashes David Christensen <dpchrist@holgerdanske.com> - 2021-01-02 01:00 +0100
  Re: Nvidia Optimus, Debian 10, and Firefox ESR crashes Darac Marjal <mailinglist@darac.org.uk> - 2021-01-02 14:30 +0100
    Re: Nvidia Optimus, Debian 10, and Firefox ESR crashes David Christensen <dpchrist@holgerdanske.com> - 2021-01-02 23:00 +0100
      Re: Nvidia Optimus, Debian 10, and Firefox ESR crashes "Alexander V. Makartsev" <avbetev@gmail.com> - 2021-01-03 16:00 +0100
        Re: Nvidia Optimus, Debian 10, and Firefox ESR crashes David Christensen <dpchrist@holgerdanske.com> - 2021-01-04 00:50 +0100
          Re: enable journal (was: Nvidia Optimus, Debian 10...) Felix Miata <mrmazda@earthlink.net> - 2021-01-04 01:00 +0100
            Re: enable journal David Christensen <dpchrist@holgerdanske.com> - 2021-01-04 05:10 +0100
          Re: enable persistent journal (was: Nvidia Optimus, Debian 10...) Felix Miata <mrmazda@earthlink.net> - 2021-01-04 01:00 +0100
          Re: Nvidia Optimus, Debian 10, and Firefox ESR crashes "Alexander V. Makartsev" <avbetev@gmail.com> - 2021-01-04 02:50 +0100
            Re: Nvidia Optimus, Debian 10, and Firefox ESR crashes David Christensen <dpchrist@holgerdanske.com> - 2021-01-04 05:40 +0100
              Re: Nvidia Optimus, Debian 10, and Firefox ESR crashes "Alexander V. Makartsev" <avbetev@gmail.com> - 2021-01-04 18:20 +0100
                Re: Nvidia Optimus, Debian 10, and Firefox ESR crashes David Christensen <dpchrist@holgerdanske.com> - 2021-01-05 04:50 +0100
                Re: Nvidia Optimus, Debian 10, and Firefox ESR crashes Felix Miata <mrmazda@earthlink.net> - 2021-01-05 06:30 +0100
                Re: Nvidia Optimus, Debian 10, and Firefox ESR crashes Andrei POPESCU <andreimpopescu@gmail.com> - 2021-01-05 08:20 +0100
                Re: Nvidia Optimus, Debian 10, and Firefox ESR crashes Felix Miata <mrmazda@earthlink.net> - 2021-01-05 09:30 +0100
                Re: Nvidia Optimus, Debian 10, and Firefox ESR crashes Darac Marjal <mailinglist@darac.org.uk> - 2021-01-05 11:40 +0100
                Re: Nvidia Optimus, Debian 10, and Firefox ESR crashes "Alexander V. Makartsev" <avbetev@gmail.com> - 2021-01-05 22:00 +0100
          Re: Nvidia Optimus, Debian 10, and Firefox ESR crashes David Wright <deblis@lionunicorn.co.uk> - 2021-01-04 05:40 +0100
      Re: Nvidia Optimus, Debian 10, and Firefox ESR crashes David Christensen <dpchrist@holgerdanske.com> - 2021-01-04 00:50 +0100
  Re: Nvidia Optimus, Debian 10, and Firefox ESR crashes David Christensen <dpchrist@holgerdanske.com> - 2021-05-11 04:50 +0200

csiph-web