You are not logged in.
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
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
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
This is not about the initramfs but the module parameter.
Offline
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
The wiki even links you to https://wiki.archlinux.org/title/Kernel_parameter and yes, that's the important part.
Offline
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
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
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
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
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
Offline
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
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
"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
but I'm used to it.
I added 'export EDITOR=nano' in my ~/.bashrc file
Now sudoedit works just fine
Offline