[Desktop-packages] [Bug 1316035] Re: matrox g200eR2 is unclaimed in 14.04
For reference, a couple of users have been experiencing the same issue on HP ProLiant MicroServer Gen8, which use Matrox MGA G200EH, the original culprit that caused the module mgag200 to be excluded from the kernel years ago. https://community.hpe.com/t5/ProLiant-Servers-Netservers/HP-ProLiant- Gen8-with-Ubuntu-16-and-no-monitor-using-iLO-remote/m-p/6972709 In the linked topic, I put together a step-by-step walkthrough through installing the mgag200 module for Ubuntu or Ubuntu-based distros like Mint. Some users might find it helpful. Unfortunately, only one novice user tried this on HP Gen8 and apparently it did not work. I am not sure whether the mgag200 module just does not work with G200EH yet or whether there was some mistake made in the approach either by me or the user. It would be very helpful for someone to test this with this specific chip and report in more detail. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xorg-server in Ubuntu. https://bugs.launchpad.net/bugs/1316035 Title: matrox g200eR2 is unclaimed in 14.04 Status in xorg-server package in Ubuntu: Confirmed Bug description: On a certified Dell PowerEdge T620 server (http://www.ubuntu.com/certification/hardware/201207-11426/) The matrox video card is not recognised: lspci | grep VGA 0a:00.0 VGA compatible controller: Matrox Electronics Systems Ltd. G200eR2 lshw -C display *-display UNCLAIMED description: VGA compatible controller product: G200eR2 vendor: Matrox Electronics Systems Ltd. physical id: 0 bus info: pci@:0a:00.0 version: 00 width: 32 bits clock: 33MHz capabilities: pm vga_controller bus_master cap_list configuration: latency=64 maxlatency=32 mingnt=16 resources: memory:d800-d8ff memory:deffc000-deff memory:de00-de7f Thus xserver is not hardver accelerated. Also /dev/dri and /dev/dri/card0 is missing. kernel module mga is not loaded, although if i manually load by modprobe it works fine modprobe mga lsmod | grep mga mga40811 0 drm 302817 1 mga To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1316035/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1316035] Re: matrox g200eR2 is unclaimed in 14.04
Short version: kernel module driver "mgag200" did the trick for me. In kernel config, it is represented by CONFIG_DRM_MGAG200. http://cateee.net/lkddb/web-lkddb/DRM_MGAG200.html I found a bug that is relevant to this one: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1642470 It says that the kernel module "mgag200" was blacklisted from kernels due to this bug: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1042903 I tried manually compiling the driver as a module, adding it to a kernel and it worked. I had problems with MGA G200e [Pilot] ServerEngines (SEP1) card. I tried Zoltán's X.org regression hack, I also tried using a recompiled up-to- date mga_drv.so, the library in xserver-xorg-video-mga, where the maintainers claim to support G200e chip (https://cgit.freedesktop.org/xorg/driver/xf86-video-mga/, commits from July 2016). Nothing worked. I am, however, just an intermediate user, so I might have made a mistake somewhere. I also do not know the difference between a kernel driver, X.org driver, and how they interact together and how they are used. Therefore I will trust someone more knowledgeable to put this all together, and I am just going to describe what I did to make it work :-) As a reference, I did a fresh install of Linux Mint 18.1 MATE, where the GPU was unclaimed: $ uname -a Linux rack3test 4.4.0-66-generic #87-Ubuntu SMP Fri Mar 3 15:29:05 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux $ sudo lshw -c display *-display UNCLAIMED description: VGA compatible controller product: MGA G200e [Pilot] ServerEngines (SEP1) vendor: Matrox Electronics Systems Ltd. physical id: 0 bus info: pci@:02:00.0 version: 05 width: 32 bits clock: 33MHz capabilities: pm pciexpress msi vga_controller bus_master cap_list configuration: latency=0 resources: memory:c200-c2ff memory:c101-c1013fff memory:c080-c0ff memory:c100-c100 Then I tried two approaches, both worked. 1. the easier way is to compile and install just the module mgag200. I downloaded the sources and headers for the current kernel, compiled and installed the module, and then added it in the initramfs image. Then, after reboot, it worked. Here are the resources I used: http://askubuntu.com/questions/168279/how-do-i-build-a-single-in-tree-kernel-module http://askubuntu.com/questions/676707/how-to-load-a-module-in-initrd In the first one, do not forget to use your kernel version and the path to the module (drivers/gpu/drm/mgag200). Also it is probably more convenient to use "$ make menuconfig" instead of editing the .config file with vi (you need the ncurses package though). In the menu, find Graphics Drivers --> Graphics Support --> Kernel modesetting driver for MGA G200 server engines, and enable it as a module. When updating initramfs, it might be necessary to specify the kernel version, for example $ update-initramfs -u -k 4.4.0-66-generic. If you have multiple kernels, the command will tell you which initramfs it updated. The result after a reboot: $ uname -a Linux rack3test 4.4.0-66-generic #87-Ubuntu SMP Fri Mar 3 15:29:05 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux $ sudo lshw -c display *-display description: VGA compatible controller product: MGA G200e [Pilot] ServerEngines (SEP1) vendor: Matrox Electronics Systems Ltd. physical id: 0 bus info: pci@:02:00.0 version: 05 width: 32 bits clock: 33MHz capabilities: pm pciexpress msi vga_controller bus_master cap_list rom configuration: driver=mgag200 latency=0 resources: irq:16 memory:c200-c2ff memory:c101-c1013fff memory:c080-c0ff memory:c100-c100 2. Second way is building a new kernel, which is much longer; unfortunately, I tried it first :-) I downloaded the current stable kernel sources from kernel.org, version 4.10.1. Then I used the existing kernel config file for 4.4.0-66-generic, updated it with default choices to 4.10.1 and enabled CONFIG_DRM_MGAG200 as a module. I compiled the whole kernel and installed it, the new driver "mgag200" loads automatically and it works. I used Linux Mint 18.1 for testing, but the installed system is Mint 17.2. I tried compiling the kernel module there for kernel version 3.16.0-38-generic, but after enabling module mgag200 with modprobe, the screen turned black and monitor went into sleep mode. I had to switch to tty1 and reboot. After reboot, the module mgag200 was visible in lsmod, but probably not active and the GPU was still unclaimed with no hardware acceleration. Maybe I did something wrong, but it is possible that the mgag200 module helps only with newer kernels. You can check whether your device is recognized by this driver in the first link in this comment. Numeric ID (vendor, device) can be displayed by running $ sudo lshw -c display -numeric, it will be in square brackets under "product". If anyone
[Desktop-packages] [Bug 1203276] Re: cups-browsed memory usage unacceptable
Here is an upstream bug with a patch: https://bugs.linuxfoundation.org/show_bug.cgi?id=1365 However, it is for the current revision, so it will probably appear in 1.10.1 and I am not sure how to deliver this patch to the Ubuntu package cups-browsed 1.8.3-2ubuntu3. Basically, I don't know how packaging for Ubuntu works, and I couldn't find the source specific for 1.8.3-2ubuntu3. So, I took the source of 1.8.3, patched it and attached is a diff file. ** Bug watch added: bugs.linuxfoundation.org/ #1365 https://bugs.linuxfoundation.org/show_bug.cgi?id=1365 ** Patch added: "bugfix1203276_1.8.3_launchpad.diff" https://bugs.launchpad.net/ubuntu/+source/cups-filters/+bug/1203276/+attachment/4705343/+files/bugfix1203276_1.8.3_launchpad.diff -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to cups-filters in Ubuntu. https://bugs.launchpad.net/bugs/1203276 Title: cups-browsed memory usage unacceptable Status in cups-filters package in Ubuntu: Incomplete Status in cups-filters package in Debian: Fix Released Status in cups-filters package in Fedora: Unknown Bug description: cups-browsed uses a lot of memory: % ps u 1886 USER PID %CPU %MEMVSZ RSS TTY STAT START TIME COMMAND root 1886 0.0 10.9 1433812 851028 ? Ss Jul11 2:05 /usr/sbin/cups-browsed I'm about to uninstall it, but I figured I should report the problem first. ProblemType: Bug DistroRelease: Ubuntu 13.04 Package: cups-browsed 1.0.34-0ubuntu1.1 ProcVersionSignature: Ubuntu 3.8.0-26.38-generic 3.8.13.2 Uname: Linux 3.8.0-26-generic x86_64 NonfreeKernelModules: wl ApportVersion: 2.9.2-0ubuntu8.1 Architecture: amd64 CupsErrorLog: W [20/Jul/2013:07:55:27 +0100] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id 'C821-Gray..' already exists W [20/Jul/2013:07:55:27 +0100] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id 'C821-RGB..' already exists W [20/Jul/2013:07:55:27 +0100] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id 'HP_LaserJet_3020-Gray..' already exists W [20/Jul/2013:07:55:27 +0100] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id 'MB470-Gray..' already exists Date: Sat Jul 20 12:01:40 2013 InstallationDate: Installed on 2013-06-10 (40 days ago) InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424) Lpstat: device for C821: dnssd://OKILondon._pdl-datastream._tcp.local/ device for HP_LaserJet_3020: ipp://olive.local:631/printers/hp_LaserJet_3020 device for MB470: dnssd://OKIMFD._pdl-datastream._tcp.local/ MachineType: LENOVO 34607ZG MarkForUpload: True Papersize: a4 PpdFiles: MB470: OKI MB470(PS) C821: Oki C710 Foomatic/Postscript (recommended) HP_LaserJet_3020: HP LaserJet 3020 3030 Postscript (recommended) ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.8.0-26-generic root=/dev/mapper/ubuntu--vg-root ro crashkernel=384M-2G:64M,2G-:128M quiet splash vt.handoff=7 SourcePackage: cups-filters UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 12/26/2012 dmi.bios.vendor: LENOVO dmi.bios.version: G6ET90WW (2.50 ) dmi.board.asset.tag: Not Available dmi.board.name: 34607ZG dmi.board.vendor: LENOVO dmi.board.version: Win8 Pro DPK TPG dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: Not Available dmi.modalias: dmi:bvnLENOVO:bvrG6ET90WW(2.50):bd12/26/2012:svnLENOVO:pn34607ZG:pvrThinkPadX1Carbon:rvnLENOVO:rn34607ZG:rvrWin8ProDPKTPG:cvnLENOVO:ct10:cvrNotAvailable: dmi.product.name: 34607ZG dmi.product.version: ThinkPad X1 Carbon dmi.sys.vendor: LENOVO To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cups-filters/+bug/1203276/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp