You are not logged in.

#1 2023-08-22 12:53:17

Trevor_B
Member
Registered: 2019-12-28
Posts: 141

[Solved] Display None-1-1

Hello

Am running XFCE latest kernel

In my Display settings I now have a third screen showing "None-1-1" normally I just have my two screens 27 & 22"

Although this doesn't seem to affect anything, I don't like seeing it there

I cannot remove it remove from  the Display settings

I tried deleting the '/home/trevor/.config/xfce4/xfconf/xfce-perchannel-xml/' and also just deleting the xml lines in the displays.xml

Both to no avail, every time I reboot the  none-1-1 is back

So not sure why it is there or how to get rid of it

any ideas please, thanks

[https://imgbox.com/or8DFiwN]
[https://imgbox.com/xpwmla7r]

Last edited by Trevor_B (2023-08-22 20:45:36)

Offline

#2 2023-08-22 13:24:26

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,667

Re: [Solved] Display None-1-1

https://wiki.archlinux.org/title/NVIDIA … de_setting - otherwise you get the simpledrm device that adds that output.
There some threads about that already.

Offline

#3 2023-08-22 14:28:24

Trevor_B
Member
Registered: 2019-12-28
Posts: 141

Re: [Solved] Display None-1-1

Thanks

Now not 100% sure But I remember adding  to MODULES=(nvidia nvidia_modeset nvidia_uvm nvidia_drm)  a while back when having nvidia problems probably due to my old card

I've just checked

They are no longer there, so should I re do it from MODULES=( )  to  MODULES=(nvidia nvidia_modeset nvidia_uvm nvidia_drm) and then regenerate my mkinitcpio with  sudo mkinitcpio -p linux

Offline

#4 2023-08-22 14:44:38

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,667

Re: [Solved] Display None-1-1

This is not about the initramfs but the module parameter.

Offline

#5 2023-08-22 14:57:21

Trevor_B
Member
Registered: 2019-12-28
Posts: 141

Re: [Solved] Display None-1-1

Now I'm lost

https://wiki.archlinux.org/title/NVIDIA … de_setting - otherwise you get the simpledrm device that adds that output.


This points me to the DRM kernel mode setting, which is talking about the MODULES settings,
So do I need to do this MODULES=(nvidia nvidia_modeset nvidia_uvm nvidia_drm) ?

If your mean add the "nvidia_drm.modeset=1 kernel parameter" I do not understand how to add that or rather how and where

Offline

#6 2023-08-22 15:10:43

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,667

Re: [Solved] Display None-1-1

The wiki even links you to https://wiki.archlinux.org/title/Kernel_parameter and yes, that's the important part.

Offline

#7 2023-08-22 15:26:29

Trevor_B
Member
Registered: 2019-12-28
Posts: 141

Re: [Solved] Display None-1-1

Hmmm

So I create a file called 'modprobe.conf' inside of '/etc/modprobe.d/'   as this is an empty folder

Then sudo nano /etc/modprobe.d/modprobe.conf

and add the line 'nvidia_drm.modeset=1'

Am I miles off, or ?

if correct just  a reboot ?

Thanks

Offline

#8 2023-08-22 15:31:43

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,667

Re: [Solved] Display None-1-1

If you've the modules in the initramfs, you'll have to re-create that, otherwise the modprobe.conf won't be picked up and that syntax is also wrong and for the kernel commandline where you could just apply it. Did you actually read the wiki?

Also don't "sudo nano" - use sudoedit.

Offline

#9 2023-08-22 16:00:46

Trevor_B
Member
Registered: 2019-12-28
Posts: 141

Re: [Solved] Display None-1-1

Yes I've tried reading it, but it is not easy

In the modprobe.conf that I need to create, I add 'options nvidia_drm.modeset=1'  " syntax is also wrong, this time with options , that seems better "   as described in [https://wiki.archlinux.org/title/Kernel … odprobe.d/]  section 4.2

or "for the kernel command line where you could just apply it" does that mean I can just input 'nvidia_drm.modeset=1'  that in terminal ?

"If you've the modules in the initramfs, you'll have to re-create that" so then  I do MODULES=(nvidia nvidia_modeset nvidia_uvm nvidia_drm) then sudo mkinitcpio -p linux

Better ?

sudoedit gives me usr/bin/vi: command not found

Offline

#10 2023-08-22 16:17:25

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,667

Re: [Solved] Display None-1-1

You don't speak English, do you? Are you trying to do this through google translate?
Is there a localized version of the wiki in a language you understand?

--

sudoedit gives me usr/bin/vi: command not found

https://man.archlinux.org/man/core/sudo/sudo.8.en - see "--edit"

Offline

#11 2023-08-22 16:42:06

Trevor_B
Member
Registered: 2019-12-28
Posts: 141

Re: [Solved] Display None-1-1

Yes I do speak English as I'm English though have lived in France for about 40 years now, hence some spelling mistakes or strange ways of saying things

[https://imgbox.com/TPzqzm2s]

Offline

#12 2023-08-22 17:28:24

Trevor_B
Member
Registered: 2019-12-28
Posts: 141

Re: [Solved] Display None-1-1

So in my very bad English, I added :

GRUB_CMDLINE_LINUX="nvidia_drm.modeset=1"  using 'sudo nano /etc/default/grub'
Then 'sudo grub-mkconfig -o /boot/grub/grub.cfg'

also added :
MODULES=(nvidia nvidia_modeset nvidia_uvm nvidia_drm) using 'nano /etc/mkinitcpio.conf'

rebooted
none-1-1 is no longer in my Display panel

Was that okay ?

Offline

#13 2023-08-22 19:03:18

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,667

Re: [Solved] Display None-1-1

This isn't about your English here, I suspected that there might be a linguistic barrier wrt understanding the wiki.
Adding the nvidia modules to the initram wasn't necessary, but also won't harm (it'll however blow up the initramfs considerably because of the nvidia firmwares)
nb. that this will only happen the next time the initramfs are regenerated.

The grub approach is fine and apparently also successful \o/
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Fwwi, the sudo manpage will tell your which environment variables control which editor is used for sudoedit and it's generally a good idea to have $EDITOR set to something that's actually present.

Offline

#14 2023-08-23 08:27:14

Trevor_B
Member
Registered: 2019-12-28
Posts: 141

Re: [Solved] Display None-1-1

"Fwwi, the sudo manpage will tell your which environment variables control which editor is used for sudoedit and it's generally a good idea to have $EDITOR set to something that's actually present"

Thanks for that, as I only use nano. A  friend said I'm old school using nano smile but I'm used to it.

I added 'export EDITOR=nano' in my ~/.bashrc file

Now sudoedit works just fine

Offline

Board footer

Powered by FluxBB