[Bug 1004453] New: [mga] no Xorg with Matrox gfxcard when valid vga= mode included on kernel cmdline to produce desirable vttys
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453 Bug ID: 1004453 Summary: [mga] no Xorg with Matrox gfxcard when valid vga= mode included on kernel cmdline to produce desirable vttys Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: X.Org Assignee: xorg-maintainer-bugs@forge.provo.novell.com Reporter: mrmazda@earthlink.net QA Contact: xorg-maintainer-bugs@forge.provo.novell.com CC: eich@suse.com Found By: --- Blocker: --- Created attachment 697145 --> http://bugzilla.opensuse.org/attachment.cgi?id=697145&action=edit Xorg.0.log from i586 TW host a-865 Mailing list thread starter: https://lists.opensuse.org/opensuse/2016-08/msg00322.html (same with kernels 4.7.x as with kernel 4.6.4) : # Xorg.0.log excerpts X.Org X Server 1.18.4 [ 57.691] Current Operating System: Linux a-865 4.7.4-1-default #1 SMP Thu Sep 15 09:03:59 UTC 2016 (6a5bbb1) i686 [ 57.691] Kernel command line: root=LABEL=os133SS25 ipv6.disable=1 net.ifnames=0 noresume splash=0 vga=791 video=1024x768@60 3 [ 58.342] (EE) open /dev/dri/card0: No such file or directory [ 58.382] (EE) MGA(0): Unable to map Framebuffer F0000000 2000000. Invalid argument (22) [ 58.382] (EE) MGA(0): Unable to detect video RAM. [ 58.382] (EE) Screen(s) found, but none have a usable configuration. [ 58.383] (EE) [ 58.383] (EE) no screens found(EE)... I didn't update this installation for many months, which explains large gap between installed kernels. Xorg and vttys work as expected with kernel-pae 4.2.3 and vga=791 on cmdline, but vga= needs to be omitted with the newer kernels for Xorg to start. Omitting vga= from cmdline results in far too few columns and rows on the vttys. I looked on bugs.freedesktop.org but found nothing like this. I tried a fresh zypper up, but kernel-default 4.7.6 with vga=788 proved no better, as did kernel-vanilla. Also didn't help adding to xorg.conf device section either VideoRam 16384 and/or Option "OldDmaInit" "On". # zypper se -si | egrep 'x11-serv|mga|kernel' il | kernel-default | package | 4.7.4-1.1 | i586 | (System Packages) il | kernel-default | package | 4.6.4-2.2 | i586 | (System Packages) il | kernel-default | package | 4.7.6-1.1 | i586 | OSS i | kernel-firmware | package | 20160913-1.1 | noarch | OSS il | kernel-pae | package | 4.2.3-1.4 | i686 | (System Packages) i | kernel-vanilla | package | 4.7.6-1.1 | i686 | OSS i | nfs-kernel-server | package | 1.3.4-2.2 | i586 | OSS i | xf86-video-mga | package | 1.6.4-2.2 | i586 | OSS i | xorg-x11-server | package | 7.6_1.18.4-1.2 | i586 | OSS # lspci | grep VGA 01:00.0 VGA compatible controller: Matrox Electronics Systems Ltd. Millennium G550 (rev 01) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453#c1
Stefan Dirsch
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453#c2
Max Staudt
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453#c3
--- Comment #3 from Egbert Eich
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453#c4
--- Comment #4 from Felix Miata
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453#c5
--- Comment #5 from Felix Miata
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453#c6
--- Comment #6 from Felix Miata
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453#c7
--- Comment #7 from Felix Miata
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453#c8
Felix Miata
...AFAIR, Felix is using a grub1 setup and starts the Xserver using 'startx' (probably as a regular user) with some scripts on top.
Your memory is correct, though using startx only applies on my test installations, of which host a-865 is one, and runs no extra scripts at startx time.
Felix: Does it work when you do the same as 'root'?
Of late I've only ever logged in on a-865 as root. That host is only used to see what works or not, mostly only inside the router except for zypper updating. (In reply to Stefan Dirsch from comment #1)
Isn't the issue here, that Xorg is no longer run with root privileges? I'm afraid vga boot param is no longer been used since every driver switched to KMS.
Matrox doesn't respond to video= on cmdline, so vga= is how I was getting the vttys to use a satisfactory mode - until this regression. Even on Intel, AMD and NVidia hardware, vga= still does what it always did pre-KMS for the initial stages of init. KMS only kicks in the video= parameter later in init. I don't use Plymouth on anything unless forced (e.g. Mageia). -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453#c9
--- Comment #9 from Stefan Dirsch
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453#c10
--- Comment #10 from Max Staudt
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453#c11
Max Staudt
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453#c12
Max Staudt
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453#c13
--- Comment #13 from Felix Miata
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453#c14
--- Comment #14 from Felix Miata
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453#c15
--- Comment #15 from Felix Miata
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453#c16
--- Comment #16 from Max Staudt
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453#c17
--- Comment #17 from Felix Miata
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453#c18
--- Comment #18 from Max Staudt
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453#c19
Felix Miata
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453#c20
--- Comment #20 from Max Staudt
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453#c21
--- Comment #21 from Stefan Dirsch
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453#c22
--- Comment #22 from Felix Miata
So this could well be a bug in the AGP support. I'm sorry, but we don't have hardware to reproduce, and much less debug this. Please look into an upstream bug report
Which upstream, kernel? Xorg server? Radeon driver?
, and you also can bisect the (upstream) kernel yourself.
Not really AFAICT. I only do available rpms. B.S. is not something I can deal with.
Another thing you can try is newer graphics cards (r300 or newer), and systems with AGP chipsets made by manufacturers other than Intel.
I have rv370 Radeon PCIe working apparently as expected on host gx151's 32-bit TW20170308/Plasma both from startx and KDM, though ATM it has no Plasma system sound output. I have no Radeon AGP newer than rv250. I have AGP NV11 GeForce on 32-bit host gx270 yet to try updating since August.... -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453#c23
--- Comment #23 from Stefan Dirsch
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453#c24
--- Comment #24 from Felix Miata
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453#c25
--- Comment #25 from Stefan Dirsch
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453#c26
--- Comment #26 from Felix Miata
Xorg -retro -logverbose 9 :99 kill it with Ctrl-Alt-BS (press BS twice shortly afterwards) --> /var/log/Xorg.99.log
Is that supposed to be done via remote login? Booted to graphical.target with vga=791 on cmdline, there is only black screen and no keyboard response. I tried Xorg -retro -logverbose 9 :99 from remote anyway, but without killing this DE session with Ctrl-Alt-BS. Xorg.99.log after reset button reboot was only 2964 bytes, and Xorg.0.log 2963. Booted without vga=791 to multi-user.target, and logged in, Xorg -retro -logverbose 9 :99 simply displayed on the screen content like these short Xorg.#.logs, and Ctrl-Alt-BS only produces ^[^H^[^H, and a new Xorg.99.log of only 2947 bytes. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453#c27
--- Comment #27 from Felix Miata
Please note that this may well be a separate bug from the Matrox case.
I search fruitlessly on bugs.freedesktop.org and bugzilla.kernel.org for anything similar to comment 13 et seq.... (In reply to Felix Miata from comment #22)
I have no Radeon AGP newer than rv250. I have AGP NV11 GeForce on 32-bit host gx270 yet to try updating since August....
TW20170308 on nv11 host gx270 works as expected. I replaced the rv250 gfxcard in host a-865 with an rv200 (Radeon 7500). It solved all problems described in comment 13 et seq., suffering AFAICT only https://bugs.freedesktop.org/show_bug.cgi?id=90572 I tried the rv250 in host gx270, but it won't POST with it. Host a-865 is logistically unsuited to try replicating with another OS, so I'm trying to find some other x86 AGP host in which to try the rv250 that has a CPU with at least sse2 to see if this trouble can be replicated in Mageia, Fedora or other before filing a new bug.... -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453#c28
--- Comment #28 from Stefan Dirsch
(In reply to Stefan Dirsch from comment #25)
Xorg -retro -logverbose 9 :99 kill it with Ctrl-Alt-BS (press BS twice shortly afterwards) --> /var/log/Xorg.99.log
Is that supposed to be done via remote login? Booted to graphical.target with vga=791 on cmdline, there is only black screen and no keyboard response. I tried Xorg -retro -logverbose 9 :99 from remote anyway, but without killing this DE session with Ctrl-Alt-BS. Xorg.99.log after reset button reboot was only 2964 bytes, and Xorg.0.log 2963.
Booted without vga=791 to multi-user.target, and logged in, Xorg -retro -logverbose 9 :99 simply displayed on the screen content like these short Xorg.#.logs, and Ctrl-Alt-BS only produces ^[^H^[^H, and a new Xorg.99.log of only 2947 bytes.
Yes, doing it remotely is absolutely fine. No idea, why X logfiles get truncated. I need to give up at this point. Sorry. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453#c29
--- Comment #29 from Max Staudt
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453#c30
--- Comment #30 from Felix Miata
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453#c31
--- Comment #31 from Max Staudt
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453#c32
--- Comment #32 from Max Staudt
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453#c33
--- Comment #33 from Felix Miata
Can you please test the current Leap 42.1 and 42.2 KOTDs?
Did you mean to suggest I try a 4.11 kernel from head or kernel-default-4.10.2-1.1.gbfb2d22.i586.rpm 13-Mar-2017? This was filed against TW. If you can build a 42.1 4.1 or 42.2 4.4 for 32-bit I can try it in TW. :-p
http://kernel.opensuse.org/branches/openSUSE-42.1 http://kernel.opensuse.org/branches/openSUSE-42.2
ATM the Matrox is in its original host a-865. It's an AGP card, and host a-865 has a Prescott (90nm) Pentium 4 socket 478, which does not support any 64-bit CPUs that I have access to, if any such exist at all. I have no motherboard with AGP slot that support a CPU supported by Leap. Most recently installed TW kernel on a-865 is 4.9.11. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453#c34
--- Comment #34 from Felix Miata
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453#c35
--- Comment #35 from Max Staudt
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453#c36
--- Comment #36 from Felix Miata
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453#c37
--- Comment #37 from Max Staudt
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453#c38
--- Comment #38 from Max Staudt
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453#c39
--- Comment #39 from Felix Miata
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453#c40
--- Comment #40 from Felix Miata
If you could also test the Leap 42.1 kernel I built for 32 bits, that would be helpful.
I had no luck finding that kernel rpm. http://download.opensuse.org/update/leap/42.1/oss/i586/ is empty, as is .../i686, and http://download.opensuse.org/repositories/Kernel:/openSUSE-42.1/standard/ has no 586 or 686. Booting TW's pae 4.2.3 with vga=791 on cmdline now with server 1.19.1 produces black screen and no keyboard response: [ 81.828203] Key type id_legacy registered [ 126.894523] mtrr: no MTRR for f4000000,2000000 found [ 130.060970] mtrr: no MTRR for f4000000,2000000 found [ 130.184648] [drm] Initialized drm 1.1.0 20060810 [ 130.219705] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 130.219713] [drm] No driver support for vblank timestamp query. [ 130.219721] [drm] Initialized mga 3.2.1 20051102 for 0000:01:00.0 on minor 0 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453#c41
--- Comment #41 from Max Staudt
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453#c42
--- Comment #42 from Felix Miata
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453#c43
--- Comment #43 from Max Staudt
Which upstream bug tracker and product should I take this to, kernel, ???
I think bugzilla.kernel.org is the way to go for this one, as exchanging the kernel seems to fix/break things and it's either a config change or something broke in the AGP support. Please give me some more time to double check the config before reporting upstream. Also, please check the latest KOTD before any upstream report. Finally, I'm rebuilding the 4.1 kernel in OBS, but if that fails it's not important as I now have two kernel configs to compare (thanks!). -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453#c44
Max Staudt
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453#c45
Max Staudt
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453#c46
--- Comment #46 from Felix Miata
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453#c47
--- Comment #47 from Max Staudt
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453#c48
--- Comment #48 from Felix Miata
From the date of that commit I'd expect it to have made its first appearance in kernel 4.8. Why don't the 4.7.6-vanilla and 4.6.4-default kernels run with 4711 set on /usr/bin/Xorg?
-- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453#c49
--- Comment #49 from Max Staudt
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453#c50
--- Comment #50 from Felix Miata
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453#c51
--- Comment #51 from Felix Miata
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453#c52
Max Staudt
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453#c53
--- Comment #53 from Felix Miata
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453#c54
--- Comment #54 from Max Staudt
I also installed Leap 42.2's KOTD on Tumbleweed - it's still broken on TW.
Note to self: Installing Leap 42.2's v4.4 kernel on TW fixes the problem. No idea what happened back then. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453#c55
--- Comment #55 from Felix Miata
As a former Matrox user myself, I would be very glad to see these cards supported with KMS.
As noted in bug 1175754 , Debian current and next have found a way support at least one older (non-200) Matrox card's ability to use widescreen displays' modes using the mga X driver, regardless whether nomodeset is included on kernel cmdline or not. -- You are receiving this mail because: You are on the CC list for the bug.
participants (2)
-
bugzilla_noreply@novell.com
-
bugzilla_noreply@suse.com