View previous topic :: View next topic |
Author |
Message |
wintcape n00b
Joined: 28 Aug 2022 Posts: 4
|
Posted: Sun Aug 28, 2022 2:13 pm Post subject: xrandr does not allow me to change monitor resolution |
|
|
When I launch my X server, the resolution is locked at 1024 x 768. I would like to change the resolution of my monitor via xrandr.
Code: | xrandr --verbose
Screen 0: minimum 320 x 200, current 1024 x 768, maximum 4096 x 4096
None-1 connected primary 1024x768+0+0 (0x41) normal (normal left inverted right x axis y axis) 0mm x 0mm
Identifier: 0x3f
Timestamp: 91554
Subpixel: unknown
Gamma: 1.0:1.0:1.0
Brightness: 1.0
Clones:
CRTC: 0
CRTCs: 0
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
link-status: Good
supported: Good, Bad
CONNECTOR_ID: 31
supported: 31
non-desktop: 0
range: (0, 1)
1024x768 (0x41) 47.185MHz *current +preferred
h: width 1024 start 1024 end 1024 total 1024 skew 0 clock 46.08KHz
v: height 768 start 768 end 768 total 768 clock 60.00Hz |
What is None-1 and why is the only resolution mode 1024x768? If I try to add additional modes under None-1, say for 3840x2160 or 1920x1080, I get errors. When I ran this on my old operating system (not Gentoo), I got an output that said HDMI-0 with a bunch of modes already available, but I do not get that here.
I am on an NVIDIA GPU, using proprietary 'nvidia' drivers (not 'nouveau'). Kernel should be configured properly for this and the required drivers are installed, according to Gentoo Wiki specifications.
lspci output (not sure if helpful):
Code: | sudo lspci -vvv | grep NVIDIA -A 20
0d:00.0 VGA compatible controller: NVIDIA Corporation GA106 [GeForce RTX 3060 Lite Hash Rate] (rev a1) (prog-if 00 [VGA controller])
Subsystem: Gigabyte Technology Co., Ltd GA106 [GeForce RTX 3060 Lite Hash Rate]
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Interrupt: pin A routed to IRQ 255
IOMMU group: 29
Region 0: Memory at fb000000 (32-bit, non-prefetchable) [size=16M]
Region 1: Memory at d0000000 (64-bit, prefetchable) [size=256M]
Region 3: Memory at e0000000 (64-bit, prefetchable) [size=32M]
Region 5: I/O ports at f000 [size=128]
Expansion ROM at fc000000 [disabled] [size=512K]
Capabilities: [60] Power Management version 3
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold-)
Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
Address: 0000000000000000 Data: 0000
Capabilities: [78] Express (v2) Legacy Endpoint, MSI 00
DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s unlimited, L1 <64us
ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset+
DevCtl: CorrErr- NonFatalErr- FatalErr- UnsupReq-
RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+ FLReset- |
I'm an extreme newbie, so please let me know what other information you need to help resolve my problem. Thanks! |
|
Back to top |
|
|
madmin n00b
Joined: 04 Nov 2018 Posts: 26
|
Posted: Fri Sep 02, 2022 5:37 am Post subject: |
|
|
Hi,
I bet your Xorg is not using nvidia driver.
Here is what xrandr gives me:
Code: | $ xrandr
Screen 0: minimum 8 x 8, current 3840 x 2160, maximum 32767 x 32767
DVI-D-0 disconnected primary (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 connected 3840x2160+0+0 (normal left inverted right x axis y axis) 697mm x 392mm
3840x2160 60.00*+ 144.00 120.00 119.88 59.94
2560x1440 143.86 119.88 59.94
1920x1080 143.85 119.88 60.00 59.94
1680x1050 59.95
1440x900 59.89
1280x1024 60.02
1280x720 119.88 59.94
1024x768 75.03 60.00
800x600 75.00 60.32
720x480 59.94
640x480 75.00 59.94
DP-5 disconnected (normal left inverted right x axis y axis)
|
Without "--verbose", it shows available resolutions and here, there's a list of them.
Is nvidia loaded and used? Check using the following:
Code: | $ lsmod | grep nvidia
nvidia_drm 69632 4
nvidia_modeset 1134592 6 nvidia_drm
nvidia 39075840 317 nvidia_modeset
|
lsmod lists kernel modules which are currently loaded.
Please send a greped lsmod and your Xorg configuration, that shall help ; ) |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54236 Location: 56N 3W
|
Posted: Fri Sep 02, 2022 7:28 am Post subject: |
|
|
wintcape,
Welcome to Gentoo.
We need to see a bit more of your setup. Please install wgetpaste, if you don't have it.
You will use that to share files and big command output here.
We need to see the output of ta see your setup.
All of dmesg, for any errors or omissions. That's why we need it all. To spot omissions.
The entire Xorg.0.log file so we can see what Xorg did when it started.
The output of can be useful too. That provides a list of your hardware along with the vendor and device IDs and the kernel driver in use, if any. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|