Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
manulOffline
Post subject: 3.8 kernel breaks nouveau connected via VGA [Solved]  PostPosted: 26.02.2013, 22:29



Joined: 2010-09-13
Posts: 77

Status: Offline
I dist-upgraded to newest kernel 3.8-0.slh.2-aptosid-amd64.

My graphic card is NVidia - and I run pure NOUVEAU system since years (no propriatery nvidia driver).

Under normal curcumstances (i.e. older kernels) - after boot selection menu (and first 3-4 lines of the boot sequence), there is usually a flickering (like if monitor changes graphic modes) and then the boot sequence continues until kdm starts.

However once I upgraded to 3.8-0.slh.2-aptosid-amd64 kernel, after the "flickering stage" my screen/monitor gets totally off (like if it switches to a graphic mode which my monitor does not support).

It is not a Xorg/DE problem (the issue manifests under boot sequence - drm/kms etc I do not know).

Although I can't see anything, the system itself runs fine: I can "blindly" Alt-F1, then login and type "reboot" - and it reboots.


Relevant logs and configs (let me know if you need something else):

cat /var/log/messages | grep 'ouveau\|Vidia\|drm' (for 3.8-0.slh.2-aptosid-amd64 kernel):
      Code:
Feb 26 16:51:44 siduxbox kernel: [    4.081745] [drm] Initialized drm 1.1.0 20060810
Feb 26 16:51:44 siduxbox kernel: [    4.283749] nouveau  [  DEVICE][0000:02:00.0] BOOT0  : 0x0aa480a2
Feb 26 16:51:44 siduxbox kernel: [    4.283757] nouveau  [  DEVICE][0000:02:00.0] Chipset: MCP77/MCP78 (NVAA)
Feb 26 16:51:44 siduxbox kernel: [    4.283764] nouveau  [  DEVICE][0000:02:00.0] Family : NV50
Feb 26 16:51:44 siduxbox kernel: [    4.286617] nouveau  [   VBIOS][0000:02:00.0] checking PRAMIN for image...
Feb 26 16:51:44 siduxbox kernel: [    4.338719] nouveau  [   VBIOS][0000:02:00.0] ... appears to be valid
Feb 26 16:51:44 siduxbox kernel: [    4.338730] nouveau  [   VBIOS][0000:02:00.0] using image from PRAMIN
Feb 26 16:51:44 siduxbox kernel: [    4.339426] nouveau  [   VBIOS][0000:02:00.0] BIT signature found
Feb 26 16:51:44 siduxbox kernel: [    4.339435] nouveau  [   VBIOS][0000:02:00.0] version 62.77.35.00.00
Feb 26 16:51:44 siduxbox kernel: [    4.359923] nouveau  [     PFB][0000:02:00.0] RAM type: stolen system memory
Feb 26 16:51:44 siduxbox kernel: [    4.359930] nouveau  [     PFB][0000:02:00.0] RAM size: 256 MiB
Feb 26 16:51:44 siduxbox kernel: [    4.359936] nouveau  [     PFB][0000:02:00.0]    ZCOMP: 0 tags
Feb 26 16:51:44 siduxbox kernel: [    5.692940] nouveau  [     DRM] VRAM: 256 MiB
Feb 26 16:51:44 siduxbox kernel: [    5.692950] nouveau  [     DRM] GART: 512 MiB
Feb 26 16:51:44 siduxbox kernel: [    5.692964] nouveau  [     DRM] BIT BIOS found
Feb 26 16:51:44 siduxbox kernel: [    5.692972] nouveau  [     DRM] Bios version 62.77.35.00
Feb 26 16:51:44 siduxbox kernel: [    5.692980] nouveau  [     DRM] TMDS table version 2.0
Feb 26 16:51:44 siduxbox kernel: [    5.692987] nouveau  [     DRM] DCB version 4.0
Feb 26 16:51:44 siduxbox kernel: [    5.692995] nouveau  [     DRM] DCB outp 00: 01000300 0000001e
Feb 26 16:51:44 siduxbox kernel: [    5.693068] nouveau  [     DRM] DCB outp 01: 01011332 00020010
Feb 26 16:51:44 siduxbox kernel: [    5.693075] nouveau  [     DRM] DCB conn 00: 00000000
Feb 26 16:51:44 siduxbox kernel: [    5.693081] nouveau  [     DRM] DCB conn 01: 00003161
Feb 26 16:51:44 siduxbox kernel: [    5.705282] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
Feb 26 16:51:44 siduxbox kernel: [    5.705287] [drm] No driver support for vblank timestamp query.
Feb 26 16:51:44 siduxbox kernel: [    5.896105] nouveau  [     DRM] 1 available performance level(s)
Feb 26 16:51:44 siduxbox kernel: [    5.896117] nouveau  [     DRM] 0: core 500MHz shader 1200MHz voltage 1100mV fanspeed 100%
Feb 26 16:51:44 siduxbox kernel: [    5.896122] nouveau  [     DRM] c:
Feb 26 16:51:44 siduxbox kernel: [    5.923225] nouveau  [     DRM] MM: using M2MF for buffer copies
Feb 26 16:51:44 siduxbox kernel: [    5.925276] nouveau 0000:02:00.0: No connectors reported connected with modes
Feb 26 16:51:44 siduxbox kernel: [    5.925285] [drm] Cannot find any crtc or sizes - going 1024x768
Feb 26 16:51:44 siduxbox kernel: [    5.926762] nouveau  [     DRM] allocated 1024x768 fb: 0x50000, bo ffff88011a038c00
Feb 26 16:51:44 siduxbox kernel: [    5.927029] fbcon: nouveaufb (fb0) is primary device
Feb 26 16:51:44 siduxbox kernel: [    5.934133] nouveau 0000:02:00.0: fb0: nouveaufb frame buffer device
Feb 26 16:51:44 siduxbox kernel: [    5.934141] nouveau 0000:02:00.0: registered panic notifier
Feb 26 16:51:44 siduxbox kernel: [    5.934159] [drm] Initialized nouveau 1.1.0 20120801 for 0000:02:00.0 on minor 0
Feb 26 16:51:44 siduxbox kernel: [    6.504284] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:07.0/sound/card0/input10
Feb 26 16:51:44 siduxbox kernel: [    6.504556] input: HDA NVidia Line as /devices/pci0000:00/0000:00:07.0/sound/card0/input11
Feb 26 16:51:44 siduxbox kernel: [    6.504778] input: HDA NVidia Front Mic as /devices/pci0000:00/0000:00:07.0/sound/card0/input12
Feb 26 16:51:44 siduxbox kernel: [    6.504998] input: HDA NVidia Rear Mic as /devices/pci0000:00/0000:00:07.0/sound/card0/input13
Feb 26 16:51:44 siduxbox kernel: [    6.505239] input: HDA NVidia Front Headphone as /devices/pci0000:00/0000:00:07.0/sound/card0/input14
Feb 26 16:51:44 siduxbox kernel: [    6.505461] input: HDA NVidia Line Out Side as /devices/pci0000:00/0000:00:07.0/sound/card0/input15
Feb 26 16:51:44 siduxbox kernel: [    6.505687] input: HDA NVidia Line Out CLFE as /devices/pci0000:00/0000:00:07.0/sound/card0/input16
Feb 26 16:51:44 siduxbox kernel: [    6.505923] input: HDA NVidia Line Out Surround as /devices/pci0000:00/0000:00:07.0/sound/card0/input17
Feb 26 16:51:44 siduxbox kernel: [    6.506160] input: HDA NVidia Line Out Front as /devices/pci0000:00/0000:00:07.0/sound/card0/input18



cat /var/log/messages | grep 'ouveau\|Vidia\|drm' (for my previous 3.7-6.slh.2-aptosid-amd64 kernel which boots normally):

      Code:
Feb 26 16:57:14 siduxbox kernel: [    3.980817] [drm] Initialized drm 1.1.0 20060810
Feb 26 16:57:14 siduxbox kernel: [    4.232332] nouveau  [  DEVICE][0000:02:00.0] BOOT0  : 0x0aa480a2
Feb 26 16:57:14 siduxbox kernel: [    4.232340] nouveau  [  DEVICE][0000:02:00.0] Chipset: MCP77/MCP78 (NVAA)
Feb 26 16:57:14 siduxbox kernel: [    4.232347] nouveau  [  DEVICE][0000:02:00.0] Family : NV50
Feb 26 16:57:14 siduxbox kernel: [    4.234827] nouveau  [   VBIOS][0000:02:00.0] checking PRAMIN for image...
Feb 26 16:57:14 siduxbox kernel: [    4.284759] nouveau  [   VBIOS][0000:02:00.0] ... appears to be valid
Feb 26 16:57:14 siduxbox kernel: [    4.284765] nouveau  [   VBIOS][0000:02:00.0] using image from PRAMIN
Feb 26 16:57:14 siduxbox kernel: [    4.285463] nouveau  [   VBIOS][0000:02:00.0] BIT signature found
Feb 26 16:57:14 siduxbox kernel: [    4.285471] nouveau  [   VBIOS][0000:02:00.0] version 62.77.35.00
Feb 26 16:57:14 siduxbox kernel: [    4.305934] nouveau  [     MXM][0000:02:00.0] no VBIOS data, nothing to do
Feb 26 16:57:14 siduxbox kernel: [    4.329968] nouveau  [     PFB][0000:02:00.0] RAM type: stolen system memory
Feb 26 16:57:14 siduxbox kernel: [    4.329974] nouveau  [     PFB][0000:02:00.0] RAM size: 256 MiB
Feb 26 16:57:14 siduxbox kernel: [    5.688095] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:07.0/sound/card0/input7
Feb 26 16:57:14 siduxbox kernel: [    5.688214] input: HDA NVidia Line as /devices/pci0000:00/0000:00:07.0/sound/card0/input8
Feb 26 16:57:14 siduxbox kernel: [    5.688309] input: HDA NVidia Front Mic as /devices/pci0000:00/0000:00:07.0/sound/card0/input9
Feb 26 16:57:14 siduxbox kernel: [    5.688402] input: HDA NVidia Rear Mic as /devices/pci0000:00/0000:00:07.0/sound/card0/input10
Feb 26 16:57:14 siduxbox kernel: [    5.688497] input: HDA NVidia Front Headphone as /devices/pci0000:00/0000:00:07.0/sound/card0/input11
Feb 26 16:57:14 siduxbox kernel: [    5.688590] input: HDA NVidia Line Out Side as /devices/pci0000:00/0000:00:07.0/sound/card0/input12
Feb 26 16:57:14 siduxbox kernel: [    5.688683] input: HDA NVidia Line Out CLFE as /devices/pci0000:00/0000:00:07.0/sound/card0/input13
Feb 26 16:57:14 siduxbox kernel: [    5.688778] input: HDA NVidia Line Out Surround as /devices/pci0000:00/0000:00:07.0/sound/card0/input14
Feb 26 16:57:14 siduxbox kernel: [    5.688871] input: HDA NVidia Line Out Front as /devices/pci0000:00/0000:00:07.0/sound/card0/input15
Feb 26 16:57:14 siduxbox kernel: [    7.206486] nouveau  [     DRM] VRAM: 256 MiB
Feb 26 16:57:14 siduxbox kernel: [    7.206491] nouveau  [     DRM] GART: 512 MiB
Feb 26 16:57:14 siduxbox kernel: [    7.206497] nouveau  [     DRM] BIT BIOS found
Feb 26 16:57:14 siduxbox kernel: [    7.206501] nouveau  [     DRM] Bios version 62.77.35.00
Feb 26 16:57:14 siduxbox kernel: [    7.206504] nouveau  [     DRM] TMDS table version 2.0
Feb 26 16:57:14 siduxbox kernel: [    7.206507] nouveau  [     DRM] DCB version 4.0
Feb 26 16:57:14 siduxbox kernel: [    7.206510] nouveau  [     DRM] DCB outp 00: 01000300 0000001e
Feb 26 16:57:14 siduxbox kernel: [    7.206513] nouveau  [     DRM] DCB outp 01: 01011332 00020010
Feb 26 16:57:14 siduxbox kernel: [    7.206515] nouveau  [     DRM] DCB conn 00: 00000000
Feb 26 16:57:14 siduxbox kernel: [    7.206518] nouveau  [     DRM] DCB conn 01: 00003161
Feb 26 16:57:14 siduxbox kernel: [    7.211383] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
Feb 26 16:57:14 siduxbox kernel: [    7.211385] [drm] No driver support for vblank timestamp query.
Feb 26 16:57:14 siduxbox kernel: [    7.395261] nouveau  [     DRM] 1 available performance level(s)
Feb 26 16:57:14 siduxbox kernel: [    7.395265] nouveau  [     DRM] 0: core 500MHz shader 1200MHz voltage 1100mV fanspeed 100%
Feb 26 16:57:14 siduxbox kernel: [    7.395267] nouveau  [     DRM] c:
Feb 26 16:57:14 siduxbox kernel: [    7.413732] nouveau  [     DRM] MM: using M2MF for buffer copies
Feb 26 16:57:14 siduxbox kernel: [    7.461285] nouveau  [     DRM] allocated 1024x768 fb: 0x50000, bo ffff880118d4e000
Feb 26 16:57:14 siduxbox kernel: [    7.461378] fbcon: nouveaufb (fb0) is primary device
Feb 26 16:57:14 siduxbox kernel: [    7.484871] fb0: nouveaufb frame buffer device
Feb 26 16:57:14 siduxbox kernel: [    7.484872] drm: registered panic notifier
Feb 26 16:57:14 siduxbox kernel: [    7.484878] [drm] Initialized nouveau 1.1.0 20120801 for 0000:02:00.0 on minor 0




      Code:
root@siduxbox:/home/manul# cat /etc/default/grub
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
# GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
# GRUB_GFXMODE=640x480
GRUB_GFXMODE=1024x768
GRUB_GFXPAYLOAD_LINUX=1024x768

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
root@siduxbox:/home/manul#


(yes I tried commenting the 1024x768 lines above and enabling the 640x480 one; plus update-grub - but it did not help)

      Code:
root@siduxbox:/home/manul# infobash -v
Host/Kernel/OS  "siduxbox" running Linux 3.7-6.slh.2-aptosid-amd64 x86_64 [ sidux 2009-03 Μώμος - kde-lite - (200911110039) ]
CPU Info        2x AMD Athlon 64 X2 Dual Core 5200+ clocked at [ 2700.000 MHz ]
Videocard       NVIDIA C77 [GeForce 8200]     [  ]
Processes 168 | Uptime 29min | Memory 807.4/3707.9MB | HDD Size 1660GB (40%used) | Client Shell | Infobash v3.46


Booting into my previous kernel works fine as before.


Any help?

Thanks.


Last edited by manul on 16.06.2013, 13:49; edited 2 times in total
 
 View user's profile Send private message  
Reply with quote Back to top
slhOffline
Post subject: RE: 3.8 kernel breaks nouveau for GeForce 8200  PostPosted: 26.02.2013, 22:40



Joined: 2010-08-25
Posts: 689

Status: Offline
nouveau 0000:02:00.0: No connectors reported connected with modes
That seems to be the problem.

What is the native resolution of your display - and how do you connect it (VGA, DVI, HDMI, displayport, etc.)?
What happens if you comment out GRUB_GFXMODE/ GRUB_GFXPAYLOAD_LINUX and re-run update-grub?
 
 View user's profile Send private message  
Reply with quote Back to top
manulOffline
Post subject: Re: RE: 3.8 kernel breaks nouveau for GeForce 8200  PostPosted: 26.02.2013, 23:06



Joined: 2010-09-13
Posts: 77

Status: Offline
Hi slh,

      slh wrote:
nouveau 0000:02:00.0: No connectors reported connected with modes
That seems to be the problem.

Yes, it looks like this.

      Quote:
What is the native resolution of your display - and how do you connect it (VGA, DVI, HDMI, displayport, etc.)?

It is LCD Acer AL1913, resolution 1280x1024
http://panam.acer.com/acerpanam/monitor ... 3sp2.shtml

I connect it using VGA (monitor does not have other inputs). The videocard is mobo-integrated and apart of VGA supports also DVI though.

      Quote:
What happens if you comment out GRUB_GFXMODE/ GRUB_GFXPAYLOAD_LINUX and re-run update-grub?

Tried with both commented - no change.
Tried leaving only GRUB_GFXMODE=640x480 uncommented (GRUB_GFXPAYLOAD_LINUX commented) - no change.
The only difference in both cases is that the grub menu itself and the first 3-4 lines from boot (which show before the flicker after which the monitor stops showing anything) appear in lower resolution (640x480).
Which makes sense.

So the issue with this kernel remains no matter of these changes.
Of course I run update-grub after each change of the /etc/default/grub file.

Let me know if you need more experiments/info.
 
 View user's profile Send private message  
Reply with quote Back to top
ganymedOffline
Post subject:   PostPosted: 27.02.2013, 11:08



Joined: 2010-09-12
Posts: 19

Status: Offline
Having a similar problem here, actually...

A flat screen TV set providing a VGA socket leaves you with a black screen when booting 3.8 kernels. Any 3.7 kernel running fine. Video card is a GeForce 9600 type running in a dual core 64bit system.
 
 View user's profile Send private message  
Reply with quote Back to top
manulOffline
Post subject:   PostPosted: 02.03.2013, 17:33



Joined: 2010-09-13
Posts: 77

Status: Offline
The same bug applies to kernel 3.8-1.slh.1-aptosid-amd64, rendering the system unusable with VGA monitors.
 
 View user's profile Send private message  
Reply with quote Back to top
ganymedOffline
Post subject:   PostPosted: 03.03.2013, 12:47



Joined: 2010-09-12
Posts: 19

Status: Offline
Confirmed
 
 View user's profile Send private message  
Reply with quote Back to top
finottiOffline
Post subject:   PostPosted: 05.03.2013, 19:14



Joined: 2010-09-12
Posts: 294

Status: Offline
Probably related: my laptop (Lenovo T510) running nouveau also could not connect to a projector using kernel 3.8, although I still had the laptop monitor working. (xrandr said something like "cannot connect to diplay". I don't quite remember the exact message. Edit: See below.) It all worked fine with 3.7-8.slh.1-aptosid-amd64. (I almost had a heart attack...) Smile

System info:
      Code:

root@t510[/home/finotti]# infobash -v3
Host/Kernel/OS  "t510" running Linux 3.8-2.slh.2-aptosid-amd64 x86_64 [ sidux 2010-01 Ύπνος - kde-full - (201006131622) ]
CPU Info        4x Intel Core i5 M 520 @ 3072 KB cache flags( sse3 ht nx lm vmx ) clocked at [ 1199.000 MHz ]
Videocard       NVIDIA GT218 [NVS 3100M]     [  ]
Network cards   Intel 82577LM Gigabit
                Intel Centrino Advanced-N 6200
Processes 185 | Uptime 11min | Memory 1546.9/3822.4MB | HDD C300-CTFDDAC128M Size 128GB (65%used) | Client Shell | Infobash v3.46


Thanks,

Luis

Edit: Here is the output of xrandr with kernel 3.8 and projector connected through VGA. (VGA not detected.)

      Code:

Screen 0: minimum 320 x 200, current 1366 x 768, maximum 8192 x 8192
LVDS-1 connected 1366x768+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
   1366x768       60.0*+   50.0 
   1024x768       59.9 
   800x600        59.9 
   640x480        59.4 
   720x400        59.6 
   640x400        60.0 
   640x350        59.8 
VGA-1 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)


Last edited by finotti on 08.03.2013, 13:47; edited 1 time in total
 
 View user's profile Send private message  
Reply with quote Back to top
ganymedOffline
Post subject:   PostPosted: 06.03.2013, 09:23



Joined: 2010-09-12
Posts: 19

Status: Offline
In my case it looks like a missing signal, actually 'cause the TV set/monitor keeps indicating something like "No PC inlet" when booting a 3.8 kernel whereas everything works like a charm with older kernels. Maybe I should try the HDMI connectors, but that usually results in poor text styles.

My other desktop computer (very similar hardware, but connected to a standard flat screen monitor) and my laptop computer both work fine with the 3.8 kernels.


Last edited by ganymed on 06.03.2013, 21:56; edited 1 time in total
 
 View user's profile Send private message  
Reply with quote Back to top
finottiOffline
Post subject:   PostPosted: 06.03.2013, 12:51



Joined: 2010-09-12
Posts: 294

Status: Offline
For me also the problem seems to be only in one computer (laptop). My desktop, connected through VGA to the monitor, also with the nouveau driver, has no problems. Here is the info on my (working) desktop:

      Code:

Host/Kernel/OS  "debian" running Linux 3.8-2.slh.2-aptosid-amd64 x86_64 [ aptosid 2010-02 Κῆρες - kde-full - (201009132215) ]
CPU Info        2x Intel Core2 Duo E8400 @ 6144 KB cache flags( sse3 ht nx lm vmx ) clocked at [ 2999.887 MHz ]
Videocard       NVIDIA G86 [GeForce 8500 GT]     [  ]
Network cards   NVIDIA MCP55
                NVIDIA MCP55
                NETGEAR WNA WNA1100
Processes 184 | Uptime 1:27 | Memory 2087.3/7991.2MB | HDD WDC WD1500ADFD-0,ST31000528AS,WDC WD1001FALS-0,WDC WD10EALS-00Z Size 3150GB (52%used) | Client Shell | Infobash v3.46
 
 View user's profile Send private message  
Reply with quote Back to top
manulOffline
Post subject:   PostPosted: 10.03.2013, 23:43



Joined: 2010-09-13
Posts: 77

Status: Offline
Same issue with kernel 3.8-2.slh.3-aptosid-amd64 ("No signal" at the VGA connected LCD monitor after grub phase).

Do we need to report this bug somewhere upstream...
And if yes - where?
 
 View user's profile Send private message  
Reply with quote Back to top
slhOffline
Post subject:   PostPosted: 10.03.2013, 23:46



Joined: 2010-08-25
Posts: 689

Status: Offline
It works with an ancient GeForce 2MX or an almost as ancient GeForce FX5200 using the VGA connector over here, which makes it slightly difficult to debug for me (as those are the only nVidia cards I have physical access to). I'm still going through the changes between 3.7 and 3.8, but they're not small and so far there's nothing screaming for attention.

[if your monitor supports a digital input method, DVI/ HDMI are almost the same and often work with a simple/ cheap passive adaptor - displayport is a little harder to make compatible; which doesn't make it less of a bug, of course]
 
 View user's profile Send private message  
Reply with quote Back to top
manulOffline
Post subject:   PostPosted: 11.03.2013, 00:13



Joined: 2010-09-13
Posts: 77

Status: Offline
I am ready to do some testing if it is not too difficult for an amateur.. .(but I suppose it would be Sad )

Unfortunately my monitor itself supports only VGA input (but I have DVI output on the mobo which I have never used).

Not sure whether it is related or of any help: but I must have "IgnoreEDID" inside my xorg.conf (thats since years ago, when I switched from nvidia to nouveau; without this option xorg-nouveau refused to switch monitor to proper resolution no matter what).
See below.

      Code:

manul@siduxbox:~$ cat /etc/X11/xorg.conf.d/20-nouveau.conf
Section "Device"
        Identifier      "Device 0"
        Driver  "nouveau"
        # BusID "PCI:2:0:0"
        # Option            "NoDDC"
        Option          "IgnoreEDID" "true"
EndSection
                                                                                                                                                                                                                 
Section "Monitor"                                                                                                                                                                                                 
        Identifier      "Monitor 0"                                                                                                                                                                               
        ModelName       "Default Monitor"                                                                                                                                                                         
        HorizSync       28-96                                                                                                                                                                                     
        VertRefresh     50-75                                                                                                                                                                                     
        Option "DPMS"                                                                                                                                                                                             
        Option          "PreferredMode" "1280x1024"                                                                                                                                                               
        # Modeline "1280x1024_60.00"  109.00  1280 1368 1496 1712  1024 1027 1034 1063 -hsync +vsync                                                                                                             
        Modeline "1280x1024"  108.88  1280 1360 1496 1712  1024 1025 1028 1060  -HSync +Vsync                                                                                                                     
EndSection                                                                                                                                                                                                       
                                                                                                                                                                                                                 
Section "Screen"                                                                                                                                                                                                 
   Identifier     "Screen0"                                                                                                                                                                                       
   Device         "Device0"                                                                                                                                                                                       
   Monitor        "Monitor0"                                                                                                                                                                                     
   DefaultDepth    24                                                                                                                                                                                             
        SubSection "Display"                                                                                                                                                                                     
                Depth   24                                                                                                                                                                                       
                Modes "1280x1024"                                                                                                                                                                                 
        EndSubSection                                                                                                                                                                                             
EndSection                                                                                                                                                                                                       
                                                                                                                                                                                                                 
manul@siduxbox:~$ 
 
 View user's profile Send private message  
Reply with quote Back to top
slhOffline
Post subject:   PostPosted: 11.03.2013, 02:19



Joined: 2010-08-25
Posts: 689

Status: Offline
Please try it without anything under /etc/X11/xorg.conf.d/ or /etc/X11/xorg.conf - it might not help, but it's certainly worth a test.

Just about any TFT should be new enough to provide useable EDID information (and 1280*1024 is nothing special), assuming that the updated nouveau module treats NOEDID as nothing connected (pure guess, but not unreasonable), that would explain it pretty well.
 
 View user's profile Send private message  
Reply with quote Back to top
finottiOffline
Post subject:   PostPosted: 11.03.2013, 12:26



Joined: 2010-09-12
Posts: 294

Status: Offline
OK, I just tried the same laptop with which I had a problem (see above) now connected to an external monitor (also through the VGA port) and it worked just fine with the 3.8 kernels. So, I assume it has something to do with what kind of monitor it is plugged. (BTW, I have only a synaptics config file in xorg.conf.d, with no EDID lines, of course.)

Please let me know if there is anything I can do to help debug.

Luis
 
 View user's profile Send private message  
Reply with quote Back to top
manulOffline
Post subject:   PostPosted: 11.03.2013, 18:34



Joined: 2010-09-13
Posts: 77

Status: Offline
Hmm, here are the results of the test.

Without anything in /etc/X11/xorg.conf.d/ (and no xorg.conf), xorg starts normally with "ugly" 1024x768 resolution.

With my previous /etc/X11/xorg.conf.d/20-nouveau.conf having both EDID and DPMS lines commented, it starts properly with native 1280x1024 resolution.

The key one for achieving native 1280x1024 is "modeline".
If I comment Modeline, it again starts "ugly" 1024x768, no matter of EDID or DPMS lines commented or not.

Whenever xorg starts with the native 1280x1024 resolution (i.e. modeline not commented), I have the following message spit out in kern.log :

      Code:
Mar 11 14:12:04 siduxbox kernel: [ 1418.908799] nouveau E[     DRM] no native mode, forcing panel scaling


This message in kern.log does not appear when it starts "ugly" 1024x768 - i.e. modeline is commented, or when /etc/X11/xorg.conf.d/ is empty.

This is not quite what I expected, because I clearly remember EDID line had to do something with it.
But it was long ago, maybe xorg-nouveau changed since so now it is irrelevant.


This does not help much.
Because (xorg apart), when I remove modes in /etc/default/grub or set them to 640x480: this changes grub menu resolution and few lines after that, but after the usual flick I again get monitor "Not connected" (and no visible boot sequence, xorg being irrelevant).

Is it possible some other config (other than /etc/default/grub) - maybe one that set but forgot - "tells" it to attempt to switch to 1280x1024 at command line after boot, and it does not do it because 1280x1024 is considered "not a native mode"?
This is not so fresh installation (sidux 2009-03 Μώμος).

I could try booting "clean" from fresh USB stick of latest distro to see what happens, but not sure how I get there 3.8 kernel.

P.S. Greps of Xorg.conf logs in both situations (with modeline+conf which forces native 1280x1024, and without anything which starts "ugly" 1024x768). But I think nothing special there apart that it does not "discover" 1280x1024 mode unless forced with the modeline. Let me know if it makes sense to post full Xorg logs.

      Code:
manul@siduxbox:/etc/X11/xorg.conf.d$ cat Xorg.0.log.without-any-xorgconf | grep "NOUVEAU"
[    18.000] (II) NOUVEAU driver Date:   Fri Jul 6 16:23:50 2012 +1000
[    18.000] (II) NOUVEAU driver for NVIDIA chipset families :
[    18.006] (II) NOUVEAU(0): Loaded DRI module
[    18.007] (--) NOUVEAU(0): Chipset: "NVIDIA NVaa"
[    18.007] (II) NOUVEAU(0): Creating default Display subsection in Screen section
[    18.007] (==) NOUVEAU(0): Depth 24, (--) framebuffer bpp 32
[    18.007] (==) NOUVEAU(0): RGB weight 888
[    18.007] (==) NOUVEAU(0): Default visual is TrueColor
[    18.007] (==) NOUVEAU(0): Using HW cursor
[    18.007] (==) NOUVEAU(0): GLX sync to VBlank disabled.
[    18.007] (==) NOUVEAU(0): Page flipping enabled
[    18.008] (==) NOUVEAU(0): Swap limit set to 2 [Max allowed 2]
[    18.080] (II) NOUVEAU(0): Output VGA-1 has no monitor section
[    18.082] (II) NOUVEAU(0): Output HDMI-1 has no monitor section
[    18.128] (II) NOUVEAU(0): EDID for output VGA-1
[    18.128] (II) NOUVEAU(0): Printing probed modes for output VGA-1
[    18.128] (II) NOUVEAU(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[    18.128] (II) NOUVEAU(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[    18.128] (II) NOUVEAU(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz e)
[    18.128] (II) NOUVEAU(0): Modeline "848x480"x60.0   33.75  848 864 976 1088  480 486 494 517 +hsync +vsync (31.0 kHz e)
[    18.128] (II) NOUVEAU(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 489 492 525 -hsync -vsync (31.5 kHz e)
[    18.130] (II) NOUVEAU(0): EDID for output HDMI-1
[    18.130] (II) NOUVEAU(0): Output VGA-1 connected
[    18.130] (II) NOUVEAU(0): Output HDMI-1 disconnected
[    18.130] (II) NOUVEAU(0): Using exact sizes for initial modes
[    18.130] (II) NOUVEAU(0): Output VGA-1 using initial mode 1024x768
[    18.130] (II) NOUVEAU(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
[    18.130] (--) NOUVEAU(0): Virtual size is 1024x768 (pitch 0)
[    18.130] (**) NOUVEAU(0):  Driver mode "1024x768": 65.0 MHz (scaled from 0.0 MHz), 48.4 kHz, 60.0 Hz
[    18.130] (II) NOUVEAU(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[    18.130] (**) NOUVEAU(0):  Driver mode "800x600": 40.0 MHz (scaled from 0.0 MHz), 37.9 kHz, 60.3 Hz
[    18.130] (II) NOUVEAU(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[    18.130] (**) NOUVEAU(0):  Driver mode "800x600": 36.0 MHz (scaled from 0.0 MHz), 35.2 kHz, 56.2 Hz
[    18.130] (II) NOUVEAU(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz e)
[    18.130] (**) NOUVEAU(0):  Driver mode "848x480": 33.8 MHz (scaled from 0.0 MHz), 31.0 kHz, 60.0 Hz
[    18.130] (II) NOUVEAU(0): Modeline "848x480"x60.0   33.75  848 864 976 1088  480 486 494 517 +hsync +vsync (31.0 kHz e)
[    18.130] (**) NOUVEAU(0):  Driver mode "640x480": 25.2 MHz (scaled from 0.0 MHz), 31.5 kHz, 59.9 Hz
[    18.130] (II) NOUVEAU(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 489 492 525 -hsync -vsync (31.5 kHz e)
[    18.130] (==) NOUVEAU(0): DPI set to (96, 96)
[    18.143] (II) NOUVEAU(0): Opened GPU channel 0
[    18.146] (II) NOUVEAU(0): [DRI2] Setup complete
[    18.146] (II) NOUVEAU(0): [DRI2]   DRI driver: nouveau
[    18.146] (II) NOUVEAU(0): [DRI2]   VDPAU driver: nouveau
[    18.148] (==) NOUVEAU(0): Backing store disabled
[    18.148] (==) NOUVEAU(0): Silken mouse enabled
[    18.152] (II) NOUVEAU(0): [XvMC] Associated with Nouveau GeForce 8/9 Textured Video.
[    18.152] (II) NOUVEAU(0): [XvMC] Extension initialized.
[    18.152] (==) NOUVEAU(0): DPMS enabled
[    18.152] (II) NOUVEAU(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[    18.706] (II) NOUVEAU(0): NVEnterVT is called.
[    18.716] (II) NOUVEAU(0): Setting screen physical size to 270 x 203
[    29.417] (II) NOUVEAU(0): NVLeaveVT is called.
manul@siduxbox:/etc/X11/xorg.conf.d$
manul@siduxbox:/etc/X11/xorg.conf.d$ cat Xorg.0.log.with-modeline | grep "NOUVEAU"
[   287.028] (II) NOUVEAU driver Date:   Fri Jul 6 16:23:50 2012 +1000
[   287.028] (II) NOUVEAU driver for NVIDIA chipset families :
[   287.032] (II) NOUVEAU(0): Loaded DRI module
[   287.032] (--) NOUVEAU(0): Chipset: "NVIDIA NVaa"
[   287.032] (**) NOUVEAU(0): Depth 24, (--) framebuffer bpp 32
[   287.033] (==) NOUVEAU(0): RGB weight 888
[   287.033] (==) NOUVEAU(0): Default visual is TrueColor
[   287.033] (==) NOUVEAU(0): Using HW cursor
[   287.033] (==) NOUVEAU(0): GLX sync to VBlank disabled.
[   287.033] (==) NOUVEAU(0): Page flipping enabled
[   287.033] (==) NOUVEAU(0): Swap limit set to 2 [Max allowed 2]
[   287.092] (II) NOUVEAU(0): Output VGA-1 using monitor section Monitor 0
[   287.092] (**) NOUVEAU(0): Option "PreferredMode" "1280x1024"
[   287.094] (II) NOUVEAU(0): Output HDMI-1 has no monitor section
[   287.142] (II) NOUVEAU(0): EDID for output VGA-1
[   287.142] (II) NOUVEAU(0): Printing probed modes for output VGA-1
[   287.142] (II) NOUVEAU(0): Modeline "1280x1024"x60.0  108.88  1280 1360 1496 1712  1024 1025 1028 1060 -hsync +vsync (63.6 kHz UP)
[   287.142] (II) NOUVEAU(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[   287.142] (II) NOUVEAU(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[   287.142] (II) NOUVEAU(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz e)
[   287.142] (II) NOUVEAU(0): Modeline "848x480"x60.0   33.75  848 864 976 1088  480 486 494 517 +hsync +vsync (31.0 kHz e)
[   287.142] (II) NOUVEAU(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 489 492 525 -hsync -vsync (31.5 kHz e)
[   287.144] (II) NOUVEAU(0): EDID for output HDMI-1
[   287.144] (II) NOUVEAU(0): Output VGA-1 connected
[   287.144] (II) NOUVEAU(0): Output HDMI-1 disconnected
[   287.144] (II) NOUVEAU(0): Using user preference for initial modes
[   287.144] (II) NOUVEAU(0): Output VGA-1 using initial mode 1280x1024
[   287.144] (II) NOUVEAU(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
[   287.144] (--) NOUVEAU(0): Virtual size is 1280x1024 (pitch 0)
[   287.145] (**) NOUVEAU(0):  Mode "1280x1024": 108.9 MHz (scaled from 0.0 MHz), 63.6 kHz, 60.0 Hz
[   287.145] (II) NOUVEAU(0): Modeline "1280x1024"x60.0  108.88  1280 1360 1496 1712  1024 1025 1028 1060 -hsync +vsync (63.6 kHz UP)
[   287.145] (**) NOUVEAU(0):  Driver mode "1024x768": 65.0 MHz (scaled from 0.0 MHz), 48.4 kHz, 60.0 Hz
[   287.145] (II) NOUVEAU(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[   287.145] (**) NOUVEAU(0):  Driver mode "800x600": 40.0 MHz (scaled from 0.0 MHz), 37.9 kHz, 60.3 Hz
[   287.145] (II) NOUVEAU(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[   287.145] (**) NOUVEAU(0):  Driver mode "800x600": 36.0 MHz (scaled from 0.0 MHz), 35.2 kHz, 56.2 Hz
[   287.145] (II) NOUVEAU(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz e)
[   287.145] (**) NOUVEAU(0):  Driver mode "848x480": 33.8 MHz (scaled from 0.0 MHz), 31.0 kHz, 60.0 Hz
[   287.145] (II) NOUVEAU(0): Modeline "848x480"x60.0   33.75  848 864 976 1088  480 486 494 517 +hsync +vsync (31.0 kHz e)
[   287.145] (**) NOUVEAU(0):  Driver mode "640x480": 25.2 MHz (scaled from 0.0 MHz), 31.5 kHz, 59.9 Hz
[   287.145] (II) NOUVEAU(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 489 492 525 -hsync -vsync (31.5 kHz e)
[   287.145] (==) NOUVEAU(0): DPI set to (96, 96)
[   287.149] (II) NOUVEAU(0): Opened GPU channel 0
[   287.153] (II) NOUVEAU(0): [DRI2] Setup complete
[   287.153] (II) NOUVEAU(0): [DRI2]   DRI driver: nouveau
[   287.153] (II) NOUVEAU(0): [DRI2]   VDPAU driver: nouveau
[   287.155] (==) NOUVEAU(0): Backing store disabled
[   287.155] (==) NOUVEAU(0): Silken mouse enabled
[   287.155] (II) NOUVEAU(0): [XvMC] Associated with Nouveau GeForce 8/9 Textured Video.
[   287.155] (II) NOUVEAU(0): [XvMC] Extension initialized.
[   287.155] (==) NOUVEAU(0): DPMS enabled
[   287.155] (II) NOUVEAU(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[   287.156] (WW) NOUVEAU(0): Option "PreferredMode" is not used
[   287.188] (II) NOUVEAU(0): NVEnterVT is called.
[   287.231] (II) NOUVEAU(0): Setting screen physical size to 338 x 270
[   295.864] (II) NOUVEAU(0): NVLeaveVT is called.
[   355.354] (II) NOUVEAU(0): NVEnterVT is called.
[   367.812] (II) NOUVEAU(0): NVLeaveVT is called.
[   394.686] (II) NOUVEAU(0): NVEnterVT is called.
[   398.604] (II) NOUVEAU(0): NVLeaveVT is called.
manul@siduxbox:/etc/X11/xorg.conf.d$
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 12 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by Zafenio