You are not logged in.
Hi guys -
I'm stuck between a rock and hard place. Video card details are below, but I can't find a solution to my problem. I am on the linux kernel and everything is up to date (Nvidia 455 i believe). When i use:
Nouveau - I use i3 and the screen will go blank/lock after 5 min (i want this). However after this happens the screen won't come back up. I can't go to a different TTY or anything. It will just flicker every 10 sec or so when i hit the keyboard or move the mouse. I end up doing a hard reset.
Nvidia - Similar issue to above, but i can at least move to a different TTY and then back to X and it will eventually work after a couple tries. Workable but annoying. Problem with this driver is I can't reboot. When i reboot, it's like the X screen cannot terminate and it will just sit there, flicker once every 10sec or so in a loop. I end up doing a hard reset.
Nvidia-beta (from AUR) - same problem as nvidia.
I don't even know how to start troubleshooting the issue. I dont' have any errors when my system boots up. Any help would be greatly appreciated.
Thanks,
Bryan
bryan@cave ~ [127]> lspci -k | grep -EA3 'VGA|3D|Display'
25:00.0 VGA compatible controller: NVIDIA Corporation GP108 [GeForce GT 1030] (rev a1)
Subsystem: eVga.com. Corp. Device 6232
Kernel driver in use: nvidia
Kernel modules: nouveau, nvidia_drm, nvidia
Offline
Probably https://bbs.archlinux.org/viewtopic.php?id=259462 but would indicate it's not the nvidia driver.
Do you also use HDMI?
Tried the LTS kernel?
Online
Good suggestion with LTS. I tried that and unfortunately have the same problem (with both Nvidia and novouea). You think i should just install a previous version of nvidia?
I also use HDMI so I tried the thread you linked and turned off DPMS - unfortunately no change I even unplugged the HDMI cord and plugged it back in with no effect.
I was also playing around and found this: if try to exit i3 (mod+shift+e) and click exit - it will freeze right there. I can go to another TTY and reboot but it seems whenever X tries to stop itself there are problems.
Offline
I tried to install an older version of nvidia (nvidia-lts-440.82.2 and nvidia-utils-440.82.2) and X wouldn't start up - I'm on the LTS kernel now. Do you need to sync the version of nvidia you are downloading with your kernel - is that why mine won't work?
Offline
Use nvidia-dkms and the matching version of nvidia-utils and it should work with linux-lts. Would need an additional patch for linux.
Edit:
Seth if you have free time, please have a look at https://bbs.archlinux.org/viewtopic.php?id=259523.
Last edited by loqs (2020-10-03 23:00:59)
Offline
Thanks for the response. I'm not sure what else I can do. Is there any logs i can look at? I'm down to the versions below (around March 2020) and still getting the same problems.
bryan@cave ~> uname -a
Linux cave 5.4.24-1-lts #1 SMP Thu, 05 Mar 2020 20:29:59 +0000 x86_64 GNU/Linux
bryan@cave ~> pacman -Q | grep nvidia\*
nvidia-lts 1:440.64-2
nvidia-utils 440.64-2
Offline
Offline
Unfortunately those are not working either - still not able to reboot or exit i3. I tried other kernels as well (5.4.24 and 5.4.40) but they couldn't load the module dependencies of nvidia so X would never start.
What's funny though - shutdown works fine but reboot does not.
bryan@cave ~> uname -a
Linux cave 5.4.69-1-lts #1 SMP Thu, 01 Oct 2020 20:40:59 +0000 x86_64 GNU/Linux
bryan@cave ~> pacman -Q | grep nvidia\*
nvidia-dkms 440.64-2
nvidia-utils 440.64-2
opencl-nvidia 440.64-2
Last edited by bmccorm2 (2020-10-04 07:14:06)
Offline
Check the xorg log (the old one if you already started a new server after the reboot) and system journal from the old boot ("sudo journalctl -b -1" for the last one) - and ensure to reboot cleanly, eg. via ssh
Do you have a different output (VGA or DP) available?
Online
xorg log - there are only a couple error lines (EE) - but this is about failing to load nouveau - which should be fine because i am using nvidia?
journalctl - I can see the last boot where I have to do a hard reset but there are no errors regarding graphics. There are some warning messages about nvidia "tainting" the kernel but i suppose that is because it is closed source? Otherwise there are no egregious errors.
My card only has HDMI and DVI but my monitor is a 34in ultrawide so i wouldn't even get a picture if i tried to connect with DVI. Later today i'll fish out some older monitors that do have VGA and i'll give those a try to see if the problem is HDMI.
[ 11.960] (EE) Failed to load module "nouveau" (module does not exist, 0)
[ 11.960] (II) LoadModule: "nv"
[ 11.960] (WW) Warning, couldn't open module nv
[ 11.960] (EE) Failed to load module "nv" (module does not exist, 0)
[ 11.960] (II) LoadModule: "modesetting"
Oct 04 09:25:11 cave kernel: nvidia: module license 'NVIDIA' taints kernel.
Oct 04 09:25:11 cave kernel: Disabling lock debugging due to kernel taint
Oct 04 09:25:11 cave kernel: r8169 0000:22:00.0 enp34s0: Link is Down
Offline
Do you have both nvidia and nouveau installed ? I have always thought, than only either of them can be installed, not both, unless some blacklisting done as mentioned in Nouveau Wiki.
Offline
I do have both installed - but you're right when you install nvidia it includes a file that will blacklist the nouveau driver at boot so there is no conflict.
I dug up my old DVI monitor today....and of course.....works like a charm. So it looks like it is HDMI. I'll spend some time toying around with DPMS settings.
Last edited by bmccorm2 (2020-10-04 23:52:53)
Offline
I played around with DPMS settings; I can make my monitor perform all functions: standby, suspend, off, and screen blank. It will come back up fine. However if i try to disable dpms, it will disable for the session but at boot something reinstates it. So i'll need to figure out how to make the change permanent.
Also - when i reboot the screen is still blank, but i know it is sitting at the login manager so i can type in my password and enter i3 and the screen will come back up. Not optimal but it works.
Offline
So you're booting into graphical target?, not into multi-user target (Systemd wiki) ? I have a feeling that booting into multi-user target (command line environment) should take care that screen is not hidden. X can be started by startx command. If any (booting) problems arise, I think multi-user target is safer choice. It can be set temporarily too, while repairing problems, and when all okay, then back to graphical target.
I use Xfce window manager, and it has Power Manager that overrides possible Xorg's DPMS settings. xset -q tells current DPMS status.
Last edited by euromatlox (2020-10-05 16:39:24)
Offline
It will come back up fine.
HDMI or DVI?
screen is still blank, but i know it is sitting at the login manager
What login manager in particular? You'll proabaly have to xrandr-configure the outputs there (and maybe disable dpms which is a transient state - though you could disable it w/ an xorg configlet)
Online
HDMI or DVI?
HDMI
What login manager in particular? You'll proabaly have to xrandr-configure the outputs there (and maybe disable dpms which is a transient state - though you could disable it w/ an xorg configlet)
Right now i use ly (console based login manager). Is there an xorg configlet you would recommend?
Last edited by bmccorm2 (2020-10-05 15:17:40)
Offline
You can just use the xinitrc (i assume you use)
Otherwise any file that has
Section ServerFlags
Option "StandbyTime" "time"
Option "SuspendTime" "time"
Option "OffTime" "time"
EndSection
or
Section Monitor
Identifier "HDMI-0" # the name from "xrandr -q"
Option "DPMS" "False"
EndSection
should do accordingly (of course pick integer values instead of "time")
See "man xorg.conf"
Online
Sorry not 100% sure how this all works but I added that file liked you suggested (and followed the wiki: https://wiki.archlinux.org/index.php/Di … _DPMS_in_X) but now it is multiplying my default values by the values i want (i.e., default = 600 and i put in 300, so resulting value is 18000)
Offline
You want to recalculate that (600*300/18000)
Add the following to the ServerLayout section, change the times (in minutes) as necessary:
Online
Ok i have everything set up properly. (for the record i think it is strange you set values in the config file in minutes but when you look at it in the terminal it shows in seconds but anyway...)
I have it set to suspend the screen after 5 min. I can suspend the screen via the terminal (xset dpms force suspend) and it will come back up just fine. However, if i wait 5 min for the system to go into suspend it does NOT come back up.
bryan@cave ~> xset q
Keyboard Control:
auto repeat: on key click percent: 0 LED mask: 00000000
XKB indicators:
00: Caps Lock: off 01: Num Lock: off 02: Scroll Lock: off
03: Compose: off 04: Kana: off 05: Sleep: off
06: Suspend: off 07: Mute: off 08: Misc: off
09: Mail: off 10: Charging: off 11: Shift Lock: off
12: Group 2: off 13: Mouse Keys: off
auto repeat delay: 660 repeat rate: 25
auto repeating keys: 00ffffffdffffbbf
fadfffefffedffff
9fffffffffffffff
fff7ffffffffffff
bell percent: 50 bell pitch: 400 bell duration: 100
Pointer Control:
acceleration: 2/1 threshold: 4
Screen Saver:
prefer blanking: yes allow exposures: yes
timeout: 0 cycle: 600
Colors:
default colormap: 0x20 BlackPixel: 0x0 WhitePixel: 0xffffff
Font Path:
built-ins
DPMS (Energy Star):
Standby: 0 Suspend: 300 Off: 900
DPMS is Enabled
Monitor is On
bryan@cave ~> xset dpms force suspend
Offline
Any chance there's also a screen locker kicking in?
What if you "xset dpms force suspend" and wait a minute before trying to resurrect it?
Can you ssh into the system?
Online
- I've recently installed a screenlocker (xautolock) but this has been happening before that install and continues after using the screenlocker
- You might be onto something here...I tried "xset dpms force suspend" waited for 2 min then tried to get the screen back and it wouldn't come back. Then i have to get it back by moving to different TTYs. What do you think this means?!?
- I can ssh into the system; seems like it is a display problem only - system is up and usable
Offline
Just wondering, can this somehow be this problem ? Cure there was to disable DCC/CI on monitor's settings.
Offline
It might simply take the monitor a while to sign out after the dpms is initiated.
Can you break it remotely?
DISPLAY=:0 xset -dpms
The other thread seems to revolve the solution of preventing the monitor from disconnecting when it turns into power saving what could easily fit.
A less duct-tapy solution could be /etc/X11/xorg.conf.d/20-nvidia.conf
Section "Device"
Identifier "Default nvidia Device"
Driver "nvidia"
Option "NoLogo" "True"
# … stuff before the important line
Option "UseHotplugEvents" "False"
# … stuff after the important line
EndSection
Online
Just wondering, can this somehow be this problem ? Cure there was to disable DCC/CI on monitor's settings.
I looked and unfortunately my monitor does not have these settings
DISPLAY=:0 xset -dpms
I tried this and it doesn't do anything. (it is just supposed to turn off dpms correct?)
/etc/X11/xorg.conf.d/20-nvidia.conf
I set up this file, rebooted, but still not able to resume the monitor after a manual suspend (xset dpms force suspend). So as of now i have two files in in my xorg.conf.d directory. The monitor one turns off blanking and sets DPMS to 30 min to suspend (so i am good as long as i don't leave for > 30 min ) and the second one is your nvidia file.
bryan@cave ~> ls /etc/X11/xorg.conf.d/
10-monitor.conf 20-nvidia.conf
Offline