You are not logged in.
Hello!
I need a help to set the correct display resolution. By default it sets to 1024x768 and I managed to change it to 1280x1024, but now the screen is prity much ugly. This is how it looks like:
The nouveau driver is installed and loaded:
$ pacman -Q | grep nouveau
nouveau-dri 9.0.1-1
xf86-video-nouveau 1.0.4-1$ lsmod | grep nouveau
nouveau 873899 3
mxm_wmi 1468 1 nouveau
video 11277 1 nouveau
ttm 64385 1 nouveau
drm_kms_helper 32878 1 nouveau
drm 218903 5 ttm,drm_kms_helper,nouveau
i2c_algo_bit 5392 1 nouveau
i2c_core 20708 6 drm,i2c_piix4,drm_kms_helper,i2c_algo_bit,nouveau,videodev
wmi 8380 2 mxm_wmi,nouveau
button 4663 1 nouveauThe current DPI and resolusion is ok:
$ xdpyinfo | grep resolution
resolution: 96x96 dots per inch
$ xdpyinfo | grep dimensions
dimensions: 1280x1024 pixels (338x270 millimeters)This is the 20-nouveau.conf:
Section "Monitor"
Identifier "Monitor0"
Modeline "1280x1024_60.00" 109.00 1280 1368 1496 1712 1024 1027 1034 1063 -hsync +vsync
Option "PreferredMode" "1280x1024_60.00"
EndSection
Section "Device"
Identifier "Device0"
Driver "nouveau"
Option "GLXVBlank" "true"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024" #same with 1280x1024_60.00
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Screen0"
EndSectionI don't want to use the nvidia drivers because I have performance issues in Gnome.
Offline
That screenshot looks fine to me. What is the problem?
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Well... I see, it is ok when I open the screenshot in Windows, but in Arch the whole desktop is blurry. I don't know how to show you that. Every screenshot tool that I tried saves the image correctly, much sharper than it really is.
Offline
You could try taking a picture of the screen with a camera.
As to the resolution porblem :
If things are setup correctly, linux uses the EDID information supplied by the screen to determine which resolutions are available.
Are you SURE your screen supports 1280x1024 ?
Check for remnants of nivida drivers, if there are any those can screw up autodetection also.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
If your screen is connected using a vga cable (analog) you can try pressing the autoadjust button of the screen if you didn't try it yet.
And just to be sure, you have nothing that prevents KMS (Kernel Mode Setting) in the boot loader config, right?
Offline
My screen is connected using DVI cable. It's a 19" SyncMaster 961BF monitor that supports 1280x1024. Windows shows that it's native resolution is 1024x768 and that is also the first line in xrandr. The picture is better in 1280x1024 (except in Arch using nouveau), and I use it for years.
I have just turned on my secondary display and the picture is not blurry there. With nvidia driver the picture is ok on both screen, but as I said the performance is worse.
$ xrandr
Screen 0: minimum 320 x 200, current 3200 x 1080, maximum 8192 x 8192
DVI-I-1 connected 1280x1024+0+56 (normal left inverted right x axis y axis) 338mm x 270mm
1024x768 60.0 + 75.1 70.1
1280x1024 75.0 60.0*
1280x960 60.0
1280x800 74.9 59.9
1152x864 75.0
1280x768 74.9 60.0
1024x576 60.0
832x624 74.6
800x600 72.2 75.0 60.3 56.2
848x480 60.0
640x480 72.8 75.0 66.7 60.0
720x400 70.1
DVI-I-2 connected 1920x1080+1280+0 (normal left inverted right x axis y axis) 160mm x 90mm
1920x1080 60.0*+ 50.0 30.0 25.0 24.0 25.0 30.0
1680x1050 59.9
1680x945 60.0
1400x1050 59.9
1600x900 60.0
1280x1024 75.0 60.0
1440x900 75.0 59.9
1280x960 60.0
1366x768 60.0
1360x768 60.0
1280x800 74.9 59.9
1152x864 75.0
1280x768 74.9 60.0
1280x720 50.0 60.0
1024x768 75.1 70.1 60.0
1024x576 60.0
832x624 74.6
800x600 72.2 75.0 60.3 56.2
720x576 50.0
848x480 60.0
720x480 59.9
640x480 72.8 75.0 66.7 60.0
720x400 70.1
HDMI-1 disconnected (normal left inverted right x axis y axis)Offline
I have a similar problem. I use a script like this at startup:
#!/bin/sh
xrandr --newmode 1280x1024 138.75 1280 1368 1504 1728 1024 1027 1034 1072 -hsync +vsync
xrandr --addmode VGA-2 1280x1024
xrandr -s 1280x1024
sleep 2
xrandr -s 1024x768
sleep 2
xrandr -s 1280x1024Sucks, but it seems that setting the screen to 1024 and back to 1280 fixes the problem for me. Probably your monitor is either giving you no EDID or giving you one that is invalid. I think monitors just wig out sometimes.
Oh! Also make sure your modeline is correct. Did you generate it with the cvt program? You sure the refresh rate you used is correct?
Offline
yes I get the modlines from cvt 1280 1024 60.
I tried this script but it doesn't help. I needed to modify it, otherwise I get errors.
#!/bin/sh
xrandr --newmode 1280x1024-new 109.00 1280 1368 1496 1712 1024 1027 1034 1063 -hsync +vsync
xrandr --addmode DVI-I-1 1280x1024-new
xrandr -s 1280x1024-new
sleep 2
xrandr -s 1024x768
sleep 2
xrandr -s 1280x1024-newThis adds a new line to the bottom of the xrandr for the selected output:
DVI-I-1 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 338mm x 270mm
1024x768 60.0 + 75.1 70.1
1280x1024 75.0* 60.0
1280x960 60.0
1280x800 74.9 59.9
1152x864 75.0
1280x768 74.9 60.0
1024x576 60.0
832x624 74.6
800x600 72.2 75.0 60.3 56.2
848x480 60.0
640x480 72.8 75.0 66.7 60.0
720x400 70.1
1280x1024-new 59.9Offline
the last output of xrandr seems to use the 1280x1025 75 HZ mode , NOT the 60/59.9 HZ mode.
If the output is sharp with that mode, i suggest to calculate a modeline for 1280x1024 at 75 Hz.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
It's the same with 75Hz. I think I'll go back to the nvidia drivers and change the desktop environment.
Offline