LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 09-19-2023, 11:15 PM   #1
yanaz
LQ Newbie
 
Registered: Sep 2023
Posts: 9

Rep: Reputation: 0
External display configuration - Nvidia and XFCE


I have a problem with external display connected to my laptop. It displays "no-signal" warning.

I use DELL G15 5520-6600 laptop with Dell P2419H display. I use XFCE.

Below is my GPU info
Code:
jan@jan:~$ lspci | grep VGA
0000:00:02.0 VGA compatible controller: Intel Corporation Alder Lake-P Integrated Graphics Controller (rev 0c)
0000:01:00.0 VGA compatible controller: NVIDIA Corporation GA107BM [GeForce RTX 3050 Mobile] (rev a1)
nvidia-detect has suggested me to install nvidia-driver, but I got problems (after installation)
Code:
jan@jan:~$ nvidia-smi
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running
I think my GPU supports optimus, but I'm not entirely sure. I have a problem with this site: https://www.nvidia.com/en-us/geforce...upported-gpus/
I tried to install bumblebee like that.
Code:
sudo apt install bumblebee-nvidia primus-nvidia primus-vk-nvidia
Also below is my xrandr ouput:
Code:
jan@jan:~$ xrandr
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
   1920x1080    120.21*+  59.97    59.96    60.21    59.93
   1680x1050     59.95    59.88
   1400x1050     74.76    59.98
   1600x900      59.99    59.94    59.95    59.82
   1280x1024     85.02    75.02    60.02
   1400x900      59.96    59.88
   1280x960      85.00    60.00
   1440x810      60.00    59.97
   1368x768      59.88    59.85
   1280x800      59.99    59.97    59.81    59.91
   1152x864      75.00
   1280x720      60.00    59.99    59.86    59.74
   1024x768      85.00    75.05    60.04    85.00    75.03    70.07    60.00
   1024x768i     86.96
   960x720       85.00    75.00    60.00
   928x696       75.00    60.05
   896x672       75.05    60.01
   1024x576      59.95    59.96    59.90    59.82
   960x600       59.93    60.00
   832x624       74.55
   960x540       59.96    59.99    59.63    59.82
   800x600       85.00    75.00    70.00    65.00    60.00    85.14    72.19    75.00    60.32    56.25
   840x525       60.01    59.88
   864x486       59.92    59.57
   700x525       74.76    59.98
   800x450       59.95    59.82
   640x512       85.02    75.02    60.02
   700x450       59.96    59.88
   640x480       85.09    60.00    85.01    72.81    75.00    59.94
   720x405       59.51    58.99
   720x400       85.04
   684x384       59.88    59.85
   640x400       59.88    59.98    85.08
   576x432       75.00
   640x360       59.86    59.83    59.84    59.32
   640x350       85.08
   512x384       85.00    75.03    70.07    60.00
   512x384i      87.06
   512x288       60.00    59.92
   416x312       74.66
   480x270       59.63    59.82
   400x300       85.27    72.19    75.12    60.32    56.34
   432x243       59.92    59.57
   320x240       85.18    72.81    75.00    60.05
   360x202       59.51    59.13
   360x200       85.04
   320x200       85.27
   320x180       59.84    59.32
   320x175       85.27
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
I don't know how to read it... Is my external display detected or not?



Thanks for your help in advance!
Jan
 
Old 09-20-2023, 12:09 AM   #2
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,872
Blog Entries: 1

Rep: Reputation: 2076Reputation: 2076Reputation: 2076Reputation: 2076Reputation: 2076Reputation: 2076Reputation: 2076Reputation: 2076Reputation: 2076Reputation: 2076Reputation: 2076
Xrandr isn't detecting it. If it was, there would be two "connected" strings in the output, and modes showing for it. You should find Xorg.0.log in /var/log/ or ~/.local/share/xorg/ and pastebinit. Also copy and paste here input/output from inxi -GSaz --vs using code tags. If the NVidia drivers were installed while the second display was not connected and powered, you may need to reinstall it or rerun nvidia-settings.
 
Old 09-20-2023, 01:01 AM   #3
yanaz
LQ Newbie
 
Registered: Sep 2023
Posts: 9

Original Poster
Rep: Reputation: 0
I have actually installed nvidia driver when display was disconnected. I'll try to reinstall as you're saying.

This is a link to Xorg.0.log: https://bpa.st/34HQ
There is also Xorg.1.log Should I post it?

inxi log below:

Code:
jan@jan:~$ inxi -GSaz --vs
inxi 3.3.26-00 (2023-03-28)
System:
  Kernel: 6.1.0-12-amd64 arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.1.0-12-amd64
    root=UUID=faa7d21b-8c0f-4b78-9dad-062bc3af2458 ro quiet
  Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 info: xfce4-panel wm: xfwm
    v: 4.18.0 vt: 7 dm: LightDM v: 1.26.0 Distro: Debian GNU/Linux 12 (bookworm)
Graphics:
  Device-1: Intel Alder Lake-P Integrated Graphics vendor: Dell driver: i915
    v: kernel arch: Gen-12.2 process: Intel 10nm built: 2021-22+ ports:
    active: eDP-1 empty: DP-1,DP-2 bus-ID: 0000:00:02.0 chip-ID: 8086:46a6
    class-ID: 0300
  Device-2: NVIDIA GA107BM [GeForce RTX 3050 Mobile] vendor: Dell
    driver: N/A alternate: nvidia non-free: 530.xx+
    status: current (as of 2023-03) arch: Ampere code: GAxxx
    process: TSMC n7 (7nm) built: 2020-22 bus-ID: 0000:01:00.0
    chip-ID: 10de:25e2 class-ID: 0300
  Device-3: Sunplus Innovation Integrated_Webcam_HD type: USB
    driver: uvcvideo bus-ID: 3-5:3 chip-ID: 1bcf:2ba8 class-ID: fe01
    serial: <filter>
  Display: x11 server: X.Org v: 1.21.1.7 compositor: xfwm v: 4.18.0 driver:
    X: loaded: modesetting unloaded: fbdev,vesa dri: iris gpu: i915
    display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
    s-diag: 582mm (22.93")
  Monitor-1: eDP-1 model: AU Optronics 0xed8f built: 2019 res: 1920x1080
    hz: 120 dpi: 142 gamma: 1.2 size: 344x193mm (13.54x7.6") diag: 394mm (15.5")
    ratio: 16:9 modes: 1920x1080
  API: OpenGL v: 4.6 Mesa 22.3.6 renderer: Mesa Intel Graphics (ADL GT2)
    direct-render: Yes
 
Old 09-20-2023, 11:13 AM   #4
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,872
Blog Entries: 1

Rep: Reputation: 2076Reputation: 2076Reputation: 2076Reputation: 2076Reputation: 2076Reputation: 2076Reputation: 2076Reputation: 2076Reputation: 2076Reputation: 2076Reputation: 2076
Quote:
Originally Posted by yanaz View Post
There is also Xorg.1.log Should I post it?
It might be useful, unless too stale. The posted one contains no errors apparent to me. You might try dmesg | grep nvidia to see if any error messages result.

Quote:
inxi log below:
There's no need to clutter the post reporting what command you're going to run. The command showing up onscreen with the output is sufficient.

Quote:
Code:
$ inxi -GSaz --vs
...
  Device-1: Intel Alder Lake-P Integrated Graphics vendor: Dell driver: i915
...
  Device-2: NVIDIA GA107BM [GeForce RTX 3050 Mobile] vendor: Dell driver: N/A
...
  Display: x11 server: X.Org v: 1.21.1.7 compositor: xfwm v: 4.18.0 driver:
    X: loaded: modesetting
good: i915
bad: N/A, should be nvidia if nvidia proprietary drivers are correctly installed and configured
bad: modesetting, should be modesetting,nvidia or nvidia,modesetting if nvidia proprietary drivers are correctly installed and configured

Why these problems are present I can't much help with, as I have no Optimus dual graphics systems and don't use NVidia's proprietary drivers with any of my NVidia GPUs.
 
Old 09-20-2023, 11:33 AM   #5
yanaz
LQ Newbie
 
Registered: Sep 2023
Posts: 9

Original Poster
Rep: Reputation: 0
Can anyone help me?

There is no output for sudo dmesg | grep nvidia.

Last edited by yanaz; 09-20-2023 at 11:41 AM.
 
Old 09-20-2023, 11:55 AM   #6
yanaz
LQ Newbie
 
Registered: Sep 2023
Posts: 9

Original Poster
Rep: Reputation: 0
At boot logs I have:
Code:
[FAILED] Failed to start systemd-modules-load.service - Load Kernel Modules.
See 'systemctl status systemd-modules-load.service' for details.
Exactly like in the first paragraph here: https://wiki.debian.org/NvidiaGraphi...roubleshooting

I will try to follow these instructions.
 
Old 09-27-2023, 10:24 AM   #7
yanaz
LQ Newbie
 
Registered: Sep 2023
Posts: 9

Original Poster
Rep: Reputation: 0
This how I solved it
https://www.linuxquestions.org/quest...er-4175729152/
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] how to change laptop display to external display? Shadowmeph Linux - Newbie 10 11-24-2018 11:24 AM
Slackware64 --current (XFCE) - Laptop + external display, enabling disabled display slaka Slackware 0 11-03-2013 02:44 AM
hp compaq presario v3412tu no display on laptop screen, just external display y33_4nn Linux - Laptop and Netbook 2 02-08-2010 11:33 PM
External Display Problem on Dell Inspiron 8600 w/ nVidia card and Redhat 9 jeetasher Linux - Laptop and Netbook 0 07-16-2004 01:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 12:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration