Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #179147 > unrolled thread

Matrox G550 - MGA X server fails

Started byOliver Elphick <olly@lfix.co.uk>
First post2017-03-22 11:30 +0100
Last post2017-03-23 16:20 +0100
Articles 6 — 3 participants

Back to article view | Back to linux.debian.user


Contents

  Matrox G550 - MGA X server fails Oliver Elphick <olly@lfix.co.uk> - 2017-03-22 11:30 +0100
    Re: Matrox G550 - MGA X server fails Felix Miata <mrmazda@earthlink.net> - 2017-03-22 11:50 +0100
    Re: Matrox G550 - MGA X server fails Sven Joachim <svenjoac@gmx.de> - 2017-03-22 21:20 +0100
      Re: Matrox G550 - MGA X server fails Oliver Elphick <olly@lfix.co.uk> - 2017-03-23 10:50 +0100
        Re: Matrox G550 - MGA X server fails Felix Miata <mrmazda@earthlink.net> - 2017-03-23 12:30 +0100
    Re: Matrox G550 - MGA X server fails Felix Miata <mrmazda@earthlink.net> - 2017-03-23 16:20 +0100

#179147 — Matrox G550 - MGA X server fails

FromOliver Elphick <olly@lfix.co.uk>
Date2017-03-22 11:30 +0100
SubjectMatrox G550 - MGA X server fails
Message-ID<tnLGG-Ta-21@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

I am unable to start X using a Matrox Millennium G550 PCIe card.

This is what I think is the relevant part of the log for the session:

#011compiled for 1.19.2, module version = 0.1.0
#011ABI class: X.Org Video Driver, version 23.0
(--) MGA(0): Chipset: "mgag550"
xf86TokenToOptinfo: table is NULL
xf86TokenToOptinfo: table is NULL
(==) MGA(0): Using HW cursor
(--) MGA(0): Linear framebuffer at 0xF0000000
(--) MGA(0): MMIO registers at 0xF7020000
(--) MGA(0): Pseudo-DMA transfer window at 0xF6800000
(EE) MGA(0): Unable to map Framebuffer F0000000 2000000.  Permission
denied (13)
(II) MGA(0): Creating default Display subsection in Screen section
#011"Default Screen Section" for depth/fbbpp 24/32
(==) MGA(0): Depth 24, (--) framebuffer bpp 32
(==) MGA(0): RGB weight 888
(==) MGA(0): Using AGP 1x mode
(==) MGA(0): Using XAA acceleration
(WW) MGA(0): Could not retrieve video BIOS!
(EE) MGA(0): Unable to detect video RAM.
(II) UnloadModule: "mga"

The full log is attached.

Can anyone indicate what the problem is, please?

Packages:

[toc] | [next] | [standalone]


#179149

FromFelix Miata <mrmazda@earthlink.net>
Date2017-03-22 11:50 +0100
Message-ID<tnM02-11I-31@gated-at.bofh.it>
In reply to#179147
Oliver Elphick composed on 2017-03-22 10:25 (UTC):

> I am unable to start X using a Matrox Millennium G550 PCIe card.

Try stripping whatever in your Grub config is video-related, or reconfiguring it 
to native plain text 80x25 mode:
http://bugzilla.opensuse.org/show_bug.cgi?id=1004453

I haven't found or filed an upstream bug yet.
-- 
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

  Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/

[toc] | [prev] | [next] | [standalone]


#179167

FromSven Joachim <svenjoac@gmx.de>
Date2017-03-22 21:20 +0100
Message-ID<tnUTF-85w-39@gated-at.bofh.it>
In reply to#179147
On 2017-03-22 10:25 +0000, Oliver Elphick wrote:

> I am unable to start X using a Matrox Millennium G550 PCIe card.
>
> This is what I think is the relevant part of the log for the session:
>
> #011compiled for 1.19.2, module version = 0.1.0
> #011ABI class: X.Org Video Driver, version 23.0
> (--) MGA(0): Chipset: "mgag550"
> xf86TokenToOptinfo: table is NULL
> xf86TokenToOptinfo: table is NULL
> (==) MGA(0): Using HW cursor
> (--) MGA(0): Linear framebuffer at 0xF0000000
> (--) MGA(0): MMIO registers at 0xF7020000
> (--) MGA(0): Pseudo-DMA transfer window at 0xF6800000
> (EE) MGA(0): Unable to map Framebuffer F0000000 2000000.  Permission
> denied (13)
> (II) MGA(0): Creating default Display subsection in Screen section
> #011"Default Screen Section" for depth/fbbpp 24/32
> (==) MGA(0): Depth 24, (--) framebuffer bpp 32
> (==) MGA(0): RGB weight 888
> (==) MGA(0): Using AGP 1x mode
> (==) MGA(0): Using XAA acceleration
> (WW) MGA(0): Could not retrieve video BIOS!
> (EE) MGA(0): Unable to detect video RAM.
> (II) UnloadModule: "mga"
>
> The full log is attached.
>
> Can anyone indicate what the problem is, please?

Probably that the X server is no longer running with root rights, and
it has to do that if there is no kernel driver for the graphics card.
See /usr/share/doc/xserver-xorg-core/NEWS.Debian.gz:

,----
| xorg-server (2:1.17.3-1) unstable; urgency=medium
| 
|   The Xorg server is no longer setuid root by default.  This change reduces the
|   risk of privilege escalation due to X server bugs, but has some side effects:
| 
|   * it relies on logind and libpam-systemd
|   * it relies on a kernel video driver (so the userspace component doesn't
|     touch the hardware directly)
|   * it needs X to run on the virtual console (VT) it was started from
|   * it changes the location for storing the Xorg log from /var/log/ to
|     ~/.local/share/xorg/
| 
|   On systems where those are not available, the new xserver-xorg-legacy package
|   is needed to allow X to run with elevated privileges.  See the
|   Xwrapper.config(5) manual page for configuration details.
| 
|  -- Julien Cristau <jcristau@debian.org>  Tue, 27 Oct 2015 22:54:11 +0000
`----

In short, you need to install xserver-xorg-legacy.

Cheers,
       Sven

[toc] | [prev] | [next] | [standalone]


#179183

FromOliver Elphick <olly@lfix.co.uk>
Date2017-03-23 10:50 +0100
Message-ID<to7xw-mT-11@gated-at.bofh.it>
In reply to#179167

[Multipart message — attachments visible in raw view] — view raw

It does seem to be related to video drivers more generally. Outside X the
console driver from grub fails to reduce the size of text.

Since I am using grub version 2, it will take a lot of research to find out
what the scripts are doing. There is no simple VGA= parameter to change. I
have set the X server to setuid and am going to swap the video card back in
and try again later.

On 22 Mar 2017 8:12 pm, "Sven Joachim" <svenjoac@gmx.de> wrote:

> On 2017-03-22 10:25 +0000, Oliver Elphick wrote:
>
> > I am unable to start X using a Matrox Millennium G550 PCIe card.
> >
> > This is what I think is the relevant part of the log for the session:
> >
> > #011compiled for 1.19.2, module version = 0.1.0
> > #011ABI class: X.Org Video Driver, version 23.0
> > (--) MGA(0): Chipset: "mgag550"
> > xf86TokenToOptinfo: table is NULL
> > xf86TokenToOptinfo: table is NULL
> > (==) MGA(0): Using HW cursor
> > (--) MGA(0): Linear framebuffer at 0xF0000000
> > (--) MGA(0): MMIO registers at 0xF7020000
> > (--) MGA(0): Pseudo-DMA transfer window at 0xF6800000
> > (EE) MGA(0): Unable to map Framebuffer F0000000 2000000.  Permission
> > denied (13)
> > (II) MGA(0): Creating default Display subsection in Screen section
> > #011"Default Screen Section" for depth/fbbpp 24/32
> > (==) MGA(0): Depth 24, (--) framebuffer bpp 32
> > (==) MGA(0): RGB weight 888
> > (==) MGA(0): Using AGP 1x mode
> > (==) MGA(0): Using XAA acceleration
> > (WW) MGA(0): Could not retrieve video BIOS!
> > (EE) MGA(0): Unable to detect video RAM.
> > (II) UnloadModule: "mga"
> >
> > The full log is attached.
> >
> > Can anyone indicate what the problem is, please?
>
> Probably that the X server is no longer running with root rights, and
> it has to do that if there is no kernel driver for the graphics card.
> See /usr/share/doc/xserver-xorg-core/NEWS.Debian.gz:
>
> ,----
> | xorg-server (2:1.17.3-1) unstable; urgency=medium
> |
> |   The Xorg server is no longer setuid root by default.  This change
> reduces the
> |   risk of privilege escalation due to X server bugs, but has some side
> effects:
> |
> |   * it relies on logind and libpam-systemd
> |   * it relies on a kernel video driver (so the userspace component
> doesn't
> |     touch the hardware directly)
> |   * it needs X to run on the virtual console (VT) it was started from
> |   * it changes the location for storing the Xorg log from /var/log/ to
> |     ~/.local/share/xorg/
> |
> |   On systems where those are not available, the new xserver-xorg-legacy
> package
> |   is needed to allow X to run with elevated privileges.  See the
> |   Xwrapper.config(5) manual page for configuration details.
> |
> |  -- Julien Cristau <jcristau@debian.org>  Tue, 27 Oct 2015 22:54:11
> +0000
> `----
>
> In short, you need to install xserver-xorg-legacy.
>
> Cheers,
>        Sven
>
>

[toc] | [prev] | [next] | [standalone]


#179188

FromFelix Miata <mrmazda@earthlink.net>
Date2017-03-23 12:30 +0100
Message-ID<to96h-1uL-7@gated-at.bofh.it>
In reply to#179183
Oliver Elphick composed on 2017-03-23 09:42 (UTC):

> It does seem to be related to video drivers more generally. Outside X the
> console driver from grub fails to reduce the size of text.

> Since I am using grub version 2, it will take a lot of research to find out
> what the scripts are doing. There is no simple VGA= parameter to change. I
> have set the X server to setuid and am going to swap the video card back in
> and try again later.

Fresh info from the openSUSE bug:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d92d9c3a14488e5af9d7015189f50e02346950f2
-- 
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

  Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/

[toc] | [prev] | [next] | [standalone]


#179198

FromFelix Miata <mrmazda@earthlink.net>
Date2017-03-23 16:20 +0100
Message-ID<tocGS-3Wl-13@gated-at.bofh.it>
In reply to#179147
Oliver Elphick composed on 2017-03-22 10:25 (UTC):

> I am unable to start X using a Matrox Millennium G550 PCIe card.

Does iomem=relaxed on kernel cmdline help?
-- 
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

  Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web