Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Undetected resolutions for new monitor

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
Kromitvs
Posts: 14
Joined: 2013-11-09 12:13

Undetected resolutions for new monitor

#1 Post by Kromitvs »

Hello

I know this is a very common issue, and there is a lot of information around, but it seems I am not getting anywhere.

I bought a new monitor, but seems some resolutions and/or refresh ratios are not being detected.
Maximum resolution available is 1920x1200, but both the graphic and the monitor support 2560x1440.
Also, 1920x1080 at 75Hz is supported, but not available (either in xrandr or Kscreen).


Hardware

Code: Select all

Laptop Toshiba A 660 (from 2010)
Nvidia board (GT300M)
Software

Code: Select all

Debian GNU/Linux 9 (stretch)

Graphic Driver: Nouveau (I used Nvidia for a while)

KDE Frameworks 5.28.0
Qt 5.7.1 (built against 5.7.1)

Configs:
/etc/default/grub (I added this to improve the ttys in the laptops monitor)

Code: Select all

GRUB_GFXMODE=1366x768x32

Results of some commands:

Code: Select all

$ hwinfo --monitor
45: None 00.0: 10002 LCD Monitor                                                                                                                                        
  [Created at monitor.125]                                                                                                                                              
  Unique ID: rdCR.bIvWjACn7+F                                                                                                                                           
  Parent ID: VCu0.1MqGHEfwosC                                                                                                                                           
  Hardware Class: monitor                                                                                                                                               
  Model: "SAMSUNG LCD Monitor"                                                                                                                                          
  Vendor: SEC "SAMSUNG"                                                                                                                                                 
  Device: eisa 0x3641                                                                                                                                                   
  Resolution: 1366x768@60Hz                                                                                                                                             
  Size: 353x198 mm                                                                                                                                                      
  Year of Manufacture: 2009                                                                                                                                             
  Week of Manufacture: 0                                                                                                                                                
  Detailed Timings #0:                                                                                                                                                  
     Resolution: 1366x768                                                                                                                                               
     Horizontal: 1366 1414 1446 1526 (+48 +80 +160) -hsync                                                                                                              
       Vertical:  768  770  775  790 (+2 +7 +22) -vsync
    Frequencies: 72.33 MHz, 47.40 kHz, 60.00 Hz
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #42 (VGA compatible controller)

46: None 01.0: 10002 LCD Monitor
  [Created at monitor.125]
  Unique ID: wkFv.EU7DLTPAbfE
  Parent ID: VCu0.1MqGHEfwosC
  Hardware Class: monitor
  Model: "Lenovo Q27q-10"
  Vendor: LEN "Lenovo"
  Device: eisa 0x65f4 "Q27q-10"
  Resolution: 720x400@70Hz
  Resolution: 640x480@60Hz
  Resolution: 640x480@67Hz
  Resolution: 640x480@72Hz
  Resolution: 640x480@75Hz
  Resolution: 800x600@56Hz
  Resolution: 800x600@60Hz
  Resolution: 800x600@72Hz
  Resolution: 800x600@75Hz
  Resolution: 1024x768@60Hz
  Resolution: 1024x768@70Hz
  Resolution: 1024x768@75Hz
  Resolution: 1280x1024@75Hz
  Resolution: 1920x1080@60Hz
  Resolution: 1600x900@60Hz
  Resolution: 2560x1440@60Hz
  Size: 597x336 mm
  Year of Manufacture: 2020
  Week of Manufacture: 23
  Detailed Timings #0:
     Resolution: 2560x1440
     Horizontal: 2560 2608 2640 2720 (+48 +80 +160) -hsync
       Vertical: 1440 1443 1448 1481 (+3 +8 +41) +vsync
    Frequencies: 241.50 MHz, 88.79 kHz, 59.95 Hz
  Year of Manufacture: 2020
  Week of Manufacture: 23
  Detailed Timings #1:
     Resolution: 2560x1440
     Horizontal: 2560 2626 2658 2666 (+66 +98 +106) -hsync
       Vertical: 1440 1446 1454 1492 (+6 +14 +52) +vsync
    Frequencies: 296.73 MHz, 111.30 kHz, 74.60 Hz
  Driver Info #0:
    Max. Resolution: 2560x1440
    Vert. Sync Range: 48-75 Hz
    Hor. Sync Range: 15-110 kHz
    Bandwidth: 241 MHz
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #42 (VGA compatible controller)

Code: Select all

$ hwinfo --gfxcard
48: PCI 100.0: 0300 VGA compatible controller (VGA)             
  [Created at pci.378]
  Unique ID: VCu0.1MqGHEfwosC
  Parent ID: 3hqH.y+jzA9lDM08
  SysFS ID: /devices/pci0000:00/0000:00:03.0/0000:01:00.0
  SysFS BusID: 0000:01:00.0
  Hardware Class: graphics card
  Model: "nVidia GT216M [GeForce GT 330M]"
  Vendor: pci 0x10de "nVidia Corporation"
  Device: pci 0x0a29 "GT216M [GeForce GT 330M]"
  SubVendor: pci 0x1179 "Toshiba America Info Systems"
  SubDevice: pci 0xfd30 
  Revision: 0xa2
  Driver: "nouveau"
  Driver Modules: "drm"
  Memory Range: 0xd2000000-0xd2ffffff (rw,non-prefetchable)
  Memory Range: 0xc0000000-0xcfffffff (ro,non-prefetchable)
  Memory Range: 0xd0000000-0xd1ffffff (ro,non-prefetchable)
  I/O Ports: 0x8000-0x8fff (rw)
  Memory Range: 0x000c0000-0x000dffff (rw,non-prefetchable,disabled)
  IRQ: 30 (233174 events)
  I/O Ports: 0x3c0-0x3df (rw)
  Module Alias: "pci:v000010DEd00000A29sv00001179sd0000FD30bc03sc00i00"
  Driver Info #0:
    Driver Status: nouveau is active
    Driver Activation Cmd: "modprobe nouveau"
  Driver Info #1:
    Driver Status: nvidia_legacy_304xx is not active
    Driver Activation Cmd: "modprobe nvidia_legacy_304xx"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #19 (PCI bridge)


What I already tried:

Tried a more recent laptop (with Ubuntu 18) and it worked fine there.

Searched in google and here. I found lots of information (maybe too much).
For instance, I found http://forums.debian.net/viewtopic.php? ... resolution
It mentions a stackoverflow post. I followed the instructions of SO (that were not recommended here) and was able to set the unavailable resolutions. However it was with xrandr, just a temporary fix.
Or this https://wiki.debian.org/DualMonitorDualServerOneInput in the wiki, which seems outdated.

I read this https://wiki.archlinux.org/index.php/xorg
And tried to run "xorg -configure", but, although the log shows all the resolutions, none of them appear in the created "xorg.cong" file.

Also found that instead of xorg.conf I should be using xorg.conf.d folder.

I edited "/etc/X11/xorg.conf" but that didn't work. Not sure if that file is not being used or I didn't edit it correctly.

I also saw that I could use Xsession or Xprofile, however it seems more logic to set a configuration than to setup commands to run and fix the resolution after X has started...

I also found that Kxrandr doesn't exist anymore, and Kscreen is the configuration screen I see in KDE. Not sure how relevant it is that I'm using KDE...

Not really sure what direction to go. Any guidance will be very appreciated.
Thanks in advance.

arochester
Emeritus
Emeritus
Posts: 2435
Joined: 2010-12-07 19:55
Has thanked: 14 times
Been thanked: 54 times

Re: Undetected resolutions for new monitor

#2 Post by arochester »

"How to change screen resolution in Linux (Debian) using xrandr" - https://www.youtube.com/watch?v=MScLD8dFNwk ?

Kromitvs
Posts: 14
Joined: 2013-11-09 12:13

Re: Undetected resolutions for new monitor

#3 Post by Kromitvs »

Hello!

Thanks for the link!!

This is similar to what's is being stated here http://forums.debian.net/viewtopic.php? ... resolution as overkill (the whole process of using cvt).

Also, does it make sense to run a command after X started to change the resolution? Isn't there some configuration file that I could change so it starts with the correct configuration?

I'm also using sddm for KDE, and not lightdm, so I don't have those configs to execute a script on there. Can I put in .profile ?

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Undetected resolutions for new monitor

#4 Post by Head_on_a_Stick »

Have you tried the current stable release of Debian?
deadbang

Post Reply