You are not logged in.

#1 2023-09-08 10:51:26

opane
Member
Registered: 2023-09-08
Posts: 3

Wrong resolution after reboot

Today i installed arch linux on my main machine, after rebooting it a couple of times the resolution went to 1024x768 instead of 1920x1080, im not sure how to fix this, xrandr doesnt recognize my wanted resolution and im a complete linux newbie (first time even messing with linux, decided to learn it the hard way).

Offline

#2 2023-09-08 11:11:20

Wayfly
Member
Registered: 2023-07-09
Posts: 25

Re: Wrong resolution after reboot

Maybe you can find solution in "https://wiki.archlinux.org/title/Xrandr".
But next time you should check the Wiki before posting.


There's no place closer to heaven. It's just farther from hell.

Offline

#3 2023-09-08 11:57:51

opane
Member
Registered: 2023-09-08
Posts: 3

Re: Wrong resolution after reboot

[root@archlinux opane]# xrandr --output None-1 --mode 1920x1080_60.00
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  140 (RANDR)
  Minor opcode of failed request:  21 (RRSetCrtcConfig)
  Value in failed request:  0x0
  Serial number of failed request:  22
  Current serial number in output stream:  22

I followed the wiki on adding undetected resolutions, what should i do?

Offline

#4 2023-09-08 12:38:06

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

Re: Wrong resolution after reboot

Why are you running that as root?
Please post your Xorg log, https://wiki.archlinux.org/title/Xorg#General - I suspect the cause is the simpledrm device or VESA driver…

Offline

#5 2023-09-08 12:39:23

Wayfly
Member
Registered: 2023-07-09
Posts: 25

Re: Wrong resolution after reboot

Please port:

journalctl -b | curl -F  'file=@-' 0x0.st

Last edited by Wayfly (2023-09-08 12:39:52)


There's no place closer to heaven. It's just farther from hell.

Offline

#6 2023-09-08 12:47:21

opane
Member
Registered: 2023-09-08
Posts: 3

Re: Wrong resolution after reboot

[    20.162] (--) Log file renamed from "/var/log/Xorg.pid-438.log" to "/var/log/Xorg.0.log"
[    20.163] 
X.Org X Server 1.21.1.8
X Protocol Version 11, Revision 0
[    20.163] Current Operating System: Linux archlinux 6.4.12-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 24 Aug 2023 00:38:14 +0000 x86_64
[    20.163] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=dba25ef9-f44d-484a-ba43-90fc22b29a31 rw rootfstype=ext4 loglevel=3 quiet
[    20.163]  
[    20.163] Current version of pixman: 0.42.2
[    20.163] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    20.163] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    20.163] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Sep  8 12:20:01 2023
[    20.164] (==) Using config file: "/etc/X11/xorg.conf"
[    20.164] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    20.164] (==) ServerLayout "Layout0"
[    20.164] (**) |-->Screen "Screen0" (0)
[    20.164] (**) |   |-->Monitor "Monitor0"
[    20.164] (**) |   |-->Device "Device0"
[    20.164] (**) |-->Input Device "Keyboard0"
[    20.164] (**) |-->Input Device "Mouse0"
[    20.164] (==) Automatically adding devices
[    20.164] (==) Automatically enabling devices
[    20.164] (==) Automatically adding GPU devices
[    20.164] (==) Automatically binding GPU devices
[    20.164] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    20.164] (WW) The directory "/usr/share/fonts/misc" does not exist.
[    20.164] 	Entry deleted from font path.
[    20.164] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[    20.164] 	Entry deleted from font path.
[    20.164] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[    20.164] 	Entry deleted from font path.
[    20.164] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[    20.164] 	Entry deleted from font path.
[    20.164] (==) FontPath set to:
	/usr/share/fonts/100dpi,
	/usr/share/fonts/75dpi
[    20.165] (==) ModulePath set to "/usr/lib/xorg/modules"
[    20.165] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[    20.165] (WW) Disabling Keyboard0
[    20.165] (WW) Disabling Mouse0
[    20.165] (II) Module ABI versions:
[    20.165] 	X.Org ANSI C Emulation: 0.4
[    20.165] 	X.Org Video Driver: 25.2
[    20.165] 	X.Org XInput driver : 24.4
[    20.165] 	X.Org Server Extension : 10.0
[    20.166] (++) using VT number 1

[    20.167] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_37
[    20.170] (II) no primary bus or device found
[    20.170] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    20.170] (II) LoadModule: "glx"
[    20.170] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    20.172] (II) Module glx: vendor="X.Org Foundation"
[    20.172] 	compiled for 1.21.1.8, module version = 1.0.0
[    20.172] 	ABI class: X.Org Server Extension, version 10.0
[    20.172] (II) LoadModule: "nvidia"
[    20.172] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[    20.173] (II) Module nvidia: vendor="NVIDIA Corporation"
[    20.173] 	compiled for 1.6.99.901, module version = 1.0.0
[    20.173] 	Module class: X.Org Video Driver
[    20.173] (II) NVIDIA dlloader X Driver  535.104.05  Sat Aug 19 01:01:11 UTC 2023
[    20.173] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    20.173] (EE) No devices detected.
[    20.173] (EE) 
Fatal server error:
[    20.173] (EE) no screens found(EE) 
[    20.173] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[    20.173] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    20.173] (EE) 
[    20.174] (EE) Server terminated with error (1). Closing log file.

Offline

#7 2023-09-08 12:51:57

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

Re: Wrong resolution after reboot

Remove /etc/X11/xorg.conf (it's just cruft that masks underlying problems as is case in that log) and enable https://wiki.archlinux.org/title/NVIDIA … de_setting to get rid of the simpledrm device.
You might also have to move the nvidia modules into the initramfs or delay the graphical.target (which is?) in case systemd starts the latter too fast.

Offline

Board footer

Powered by FluxBB