The officially official Devuan Forum!

You are not logged in.

#1 2017-07-01 19:29:18

miroR
Member
From: Zagreb, Croatia
Registered: 2016-11-30
Posts: 217  
Website

xserver no start w/ ATI(AMD) card, xserver-org 1.19.3-1 [PARTLY SOLVED

title: xserver won't start with ATI (AMD) cards with xserver-org 1.19.3-1 [PARTLY SOLVED]
---
I've tried to solve this more quickly in different ways, but all my attempts failed miserably, shattering badly my nerves on a few occasions... So I fear I have to approach this case much more thoroughly.

I'm writing this from my cloned system, without any difficulty, but the cloned system has Nvidia card installed.
i) shortest info
ii) -v info
iii) -v -v info

i) # lspci | grep VGA

01:00.0 VGA compatible controller: NVIDIA Corporation GT218 [GeForce 210] (rev a2)

ii) # lspci -v | grep -A16 'VGA compatible controller'

01:00.0 VGA compatible controller: NVIDIA Corporation GT218 [GeForce 210] (rev a2) (prog-if 00 [VGA controller])
        Subsystem: CardExpert Technology GT218 [GeForce 210]
        Flags: bus master, fast devsel, latency 0, IRQ 28, NUMA node 0
        Memory at dd000000 (32-bit, non-prefetchable) [size=16M]
        Memory at b0000000 (64-bit, prefetchable) [size=256M]
        Memory at ce000000 (64-bit, prefetchable) [size=32M]
        I/O ports at ef00 [size=128]
        [virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
        Capabilities: [60] Power Management version 3
        Capabilities: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [78] Express Endpoint, MSI 00
        Capabilities: [b4] Vendor Specific Information: Len=14 <?>
        Capabilities: [100] Virtual Channel
        Capabilities: [128] Power Budgeting <?>
        Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
        Kernel driver in use: nouveau
        Kernel modules: nouveau

iii # lspci -v -v | grep -A49 'VGA compatible controller'

01:00.0 VGA compatible controller: NVIDIA Corporation GT218 [GeForce 210] (rev a2) (prog-if 00 [VGA controller])
        Subsystem: CardExpert Technology GT218 [GeForce 210]
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 4 bytes
        Interrupt: pin A routed to IRQ 28
        NUMA node: 0
        Region 0: Memory at dd000000 (32-bit, non-prefetchable) [size=16M]
        Region 1: Memory at b0000000 (64-bit, prefetchable) [size=256M]
        Region 3: Memory at ce000000 (64-bit, prefetchable) [size=32M]
        Region 5: I/O ports at ef00 [size=128]
        [virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
        Capabilities: [60] Power Management version 3
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+
                Address: 00000000fee0300c  Data: 4162
        Capabilities: [78] Express (v2) Endpoint, MSI 00
                DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s unlimited, L1 <64us
                        ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset- SlotPowerLimit 0.000W
                DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
                        RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+
                        MaxPayload 128 bytes, MaxReadReq 512 bytes
                DevSta: CorrErr+ UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
                LnkCap: Port #0, Speed 2.5GT/s, Width x16, ASPM L0s L1, Exit Latency L0s <256ns, L1 <4us
                        ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp-
                LnkCtl: ASPM Disabled; RCB 128 bytes Disabled- CommClk+
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                LnkSta: Speed 2.5GT/s, Width x16, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
                DevCap2: Completion Timeout: Not Supported, TimeoutDis+, LTR-, OBFF Not Supported
                DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled
                LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-
                         Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
                         Compliance De-emphasis: -6dB
                LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete-, EqualizationPhase1-
                         EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
        Capabilities: [b4] Vendor Specific Information: Len=14 <?>
        Capabilities: [100 v1] Virtual Channel
                Caps:   LPEVC=0 RefClk=100ns PATEntryBits=1
                Arb:    Fixed- WRR32- WRR64- WRR128-
                Ctrl:   ArbSelect=Fixed
                Status: InProgress-
                VC0:    Caps:   PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
                        Arb:    Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
                        Ctrl:   Enable+ ID=0 ArbSelect=Fixed TC/VC=ff
                        Status: NegoPending- InProgress-
        Capabilities: [128 v1] Power Budgeting <?>
        Capabilities: [600 v1] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
        Kernel driver in use: nouveau
        Kernel modules: nouveau

And I have no trouble starting up X with startx (I have a sans-dbus system, so nothing fancy, e.g. not even auto disk mounting, ugh, thanks a lot, I don't mind the few seconds it takes me to mount anthing the old way: manually... it's so much safer!)... [and I have no trouble starting up X with startx] in this system, even though I already couldn't start X when I updated my Air-Gapped (pls. see my topic on Air-Gapped in this Dev1Galaxy.org forums if you wonder what methods I used)... True, because it's a different video card in that other system, details follow...

And the xserver-* and related packages are all ascii. Very few of any of my packages, because of my recent attempt:
How to install TorBrowser in Ascii? NOT from Stretch backports!
https://dev1galaxy.org/viewtopic.php?id=773

[Very few of any of my packages] are from jessie-backports...

I added ceres-backports as well (but nothing installed from it so far), or should I not have that other backports for some reason?...

But no packages yet have I pulled, recently (after moving away from Debian stretch which I erroneously, before having figured out how to do Air-Gapping with Devuan, used previously), other than from ascii repos, and, just very little, only for torbrowser-launcher, from jessie-backports.

I'm actually not knowledgeable enough to explain the problem well, but I believe it was the xserver-org-* update after which it wouldn't work anymore...

As per this email notification:

apt-listchanges: news for gdOv

xorg-server (2:1.18.3-2) unstable; urgency=medium

  X now defaults to using built-in modesetting video driver on Intel
  hardware which is "4th gen GMA" and newer, so roughly speaking on hardware
  from 2007 and up. If this triggers new bugs on your hw, please file them
  against the xserver.

  Continuing to use the -intel driver is possible by dropping the template
  xorg.conf to /etc/X11:

  # cp /usr/share/doc/xserver-xorg-video-intel/xorg.conf /etc/X11

-- Timo Aaltonen <tjaalton@debian.org>  Tue, 19 Jul 2016 04:28:05 +0300

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

However,
# apt-cache policy xorg-server

N: Unable to locate package xorg-server
#

but:
# apt-cache search xserver | wc -l

67
#

gives a lot and at first I thought I would leave it out... But I'm too clueless, and the right info to help me solve this might not be just around the corner...
# apt-cache search xserver

isdnvboxserver - ISDN utilities - answering machine server
tigervnc-standalone-server - Standalone virtual network computing server
tightvncserver - virtual network computing server software
x11-xserver-utils - X server utilities
xserver-xorg-input-mtrack - Multitouch X input driver
xserver-xorg-input-multitouch - Multitouch X input driver
xserver-xorg-input-wacom - X.Org X server -- Wacom input driver
xserver-xorg-input-xwiimote - X.Org Wii remote input driver
xserver-xorg - X.Org X server
xserver-xorg-input-all - X.Org X server -- input driver metapackage
xserver-xorg-video-all - X.Org X server -- output driver metapackage
xnest - Nested X server
xserver-common - common files used by various X servers
xserver-xephyr - nested X server
xserver-xorg-core - Xorg X server - core server
xserver-xorg-dev - Xorg X server - development files
xserver-xorg-legacy - setuid root Xorg server wrapper
xvfb - Virtual Framebuffer 'fake' X server
xserver-xorg-input-aiptek - X.Org X server -- Aiptek input driver
xserver-xorg-input-elographics - X.Org X server -- ELOGraphics input driver
xserver-xorg-input-evdev - X.Org X server -- evdev input driver
xserver-xorg-input-evdev-dbg - X.Org X server -- evdev input driver (debug symbols)
xserver-xorg-input-evdev-dev - X.Org X server -- evdev input driver (development headers)
xserver-xorg-input-joystick - X.Org X server -- joystick input driver
xserver-xorg-input-joystick-dev - X.Org X server -- joystick input driver (development headers)
xserver-xorg-input-kbd - X.Org X server -- keyboard input driver
xserver-xorg-input-libinput - X.Org X server -- libinput input driver
xserver-xorg-input-libinput-dev - X.Org X server -- libinput input driver (development headers)
xserver-xorg-input-mouse - X.Org X server -- mouse input driver
xserver-xorg-input-mutouch - X.Org X server -- muTouch input driver
xserver-xorg-input-synaptics - Synaptics TouchPad driver for X.Org server
xserver-xorg-input-synaptics-dev - Synaptics TouchPad driver for X.Org server (development headers)
xserver-xorg-input-void - X.Org X server -- void input driver
xserver-xorg-video-amdgpu - X.Org X server -- AMDGPU display driver
xserver-xorg-video-amdgpu-dbg - X.Org X server -- AMDGPU display driver (debugging symbols)
xserver-xorg-video-ast - X.Org X server -- ASpeed Technologies display driver
xserver-xorg-video-ati - X.Org X server -- AMD/ATI display driver wrapper
xserver-xorg-video-ati-dbg - X.Org X server -- AMD/ATI display driver wrapper (debugging symbols)
xserver-xorg-video-radeon - X.Org X server -- AMD/ATI Radeon display driver
xserver-xorg-video-radeon-dbg - X.Org X server -- AMD/ATI Radeon display driver (debugging symbols)
xserver-xorg-video-cirrus - X.Org X server -- Cirrus display driver
xserver-xorg-video-dummy - X.Org X server -- dummy display driver
xserver-xorg-video-fbdev - X.Org X server -- fbdev display driver
xserver-xorg-video-glide - X.Org X server -- Glide display driver
xserver-xorg-video-intel - X.Org X server -- Intel i8xx, i9xx display driver
xserver-xorg-video-intel-dbg - X.Org X server -- Intel i8xx, i9xx display driver (debug symbols)
xserver-xorg-video-mach64 - X.Org X server -- ATI Mach64 display driver
xserver-xorg-video-mach64-dbg - X.Org X server -- ATI display driver (debugging symbols)
xserver-xorg-video-mga - X.Org X server -- MGA display driver
xserver-xorg-video-neomagic - X.Org X server -- Neomagic display driver
xserver-xorg-video-nouveau - X.Org X server -- Nouveau display driver
xserver-xorg-video-nouveau-dbg - X.Org X server -- Nouveau display driver (debug symbols)
xserver-xorg-video-openchrome - X.Org X server -- VIA display driver
xserver-xorg-video-qxl - X.Org X server -- QXL display driver
xserver-xorg-video-r128 - X.Org X server -- ATI r128 display driver
xserver-xorg-video-r128-dbg - X.Org X server -- ATI r128 display driver (debugging symbols)
xserver-xorg-video-savage - X.Org X server -- Savage display driver
xserver-xorg-video-siliconmotion - X.Org X server -- SiliconMotion display driver
xserver-xorg-video-sisusb - X.Org X server -- SiS USB display driver
xserver-xorg-video-tdfx - X.Org X server -- tdfx display driver
xserver-xorg-video-trident - X.Org X server -- Trident display driver
xserver-xorg-video-vesa - X.Org X server -- VESA display driver
xserver-xorg-video-vmware - X.Org X server -- VMware display driver
fglrx-driver - non-free ATI/AMD RadeonHD display driver
xserver-xorg-video-nvidia - NVIDIA binary Xorg driver
xserver-xorg-video-nvidia-legacy-304xx - NVIDIA binary Xorg driver (304xx legacy version)
xserver-xorg-video-nvidia-legacy-340xx - NVIDIA binary Xorg driver (340xx legacy version)

And I'll now make a list of, after a few steps, only those that are installed in my system. Using bash. Gentle reader, teach me better if better you know.

This:
# for i in $(apt-cache search xserver| awk '{ print $1}'); do apt-cache policy $i | if ( grep -q none ); then echo $i >> xserver-org_NOT_installed ; fi ; done ;
gave (after a while):
# cat xserver-org_NOT_installed

isdnvboxserver
tigervnc-standalone-server
tightvncserver
xserver-xorg-input-mtrack
xserver-xorg-input-multitouch
xserver-xorg-input-xwiimote
xnest
xserver-xephyr
xserver-xorg-dev
xserver-xorg-legacy
xvfb
xserver-xorg-input-aiptek
xserver-xorg-input-elographics
xserver-xorg-input-joystick
xserver-xorg-input-joystick-dev
xserver-xorg-input-kbd
xserver-xorg-input-mutouch
xserver-xorg-input-synaptics-dev
xserver-xorg-input-void
xserver-xorg-video-amdgpu-dbg
xserver-xorg-video-ast
xserver-xorg-video-ati-dbg
xserver-xorg-video-radeon-dbg
xserver-xorg-video-dummy
xserver-xorg-video-glide
xserver-xorg-video-intel-dbg
xserver-xorg-video-mach64-dbg
xserver-xorg-video-nouveau-dbg
xserver-xorg-video-r128-dbg
fglrx-driver
xserver-xorg-video-nvidia
xserver-xorg-video-nvidia-legacy-304xx
xserver-xorg-video-nvidia-legacy-340xx

And I sure might yet need some of those...
And diffing the first field of the complete listing (already given above):
# apt-cache search xserver| awk '{ print $1}' >> xserver-org_ALL
[diffing] this:
# cat xserver-org_ALL

isdnvboxserver
tigervnc-standalone-server
tightvncserver
x11-xserver-utils
xserver-xorg-input-mtrack
xserver-xorg-input-multitouch
xserver-xorg-input-wacom
xserver-xorg-input-xwiimote
xserver-xorg
xserver-xorg-input-all
xserver-xorg-video-all
xnest
xserver-common
xserver-xephyr
xserver-xorg-core
xserver-xorg-dev
xserver-xorg-legacy
xvfb
xserver-xorg-input-aiptek
xserver-xorg-input-elographics
xserver-xorg-input-evdev
xserver-xorg-input-evdev-dbg
xserver-xorg-input-evdev-dev
xserver-xorg-input-joystick
xserver-xorg-input-joystick-dev
xserver-xorg-input-kbd
xserver-xorg-input-libinput
xserver-xorg-input-libinput-dev
xserver-xorg-input-mouse
xserver-xorg-input-mutouch
xserver-xorg-input-synaptics
xserver-xorg-input-synaptics-dev
xserver-xorg-input-void
xserver-xorg-video-amdgpu
xserver-xorg-video-amdgpu-dbg
xserver-xorg-video-ast
xserver-xorg-video-ati
xserver-xorg-video-ati-dbg
xserver-xorg-video-radeon
xserver-xorg-video-radeon-dbg
xserver-xorg-video-cirrus
xserver-xorg-video-dummy
xserver-xorg-video-fbdev
xserver-xorg-video-glide
xserver-xorg-video-intel
xserver-xorg-video-intel-dbg
xserver-xorg-video-mach64
xserver-xorg-video-mach64-dbg
xserver-xorg-video-mga
xserver-xorg-video-neomagic
xserver-xorg-video-nouveau
xserver-xorg-video-nouveau-dbg
xserver-xorg-video-openchrome
xserver-xorg-video-qxl
xserver-xorg-video-r128
xserver-xorg-video-r128-dbg
xserver-xorg-video-savage
xserver-xorg-video-siliconmotion
xserver-xorg-video-sisusb
xserver-xorg-video-tdfx
xserver-xorg-video-trident
xserver-xorg-video-vesa
xserver-xorg-video-vmware
fglrx-driver
xserver-xorg-video-nvidia
xserver-xorg-video-nvidia-legacy-304xx
xserver-xorg-video-nvidia-legacy-340xx
isdnvboxserver
tigervnc-standalone-server
tightvncserver
x11-xserver-utils
xserver-xorg-input-mtrack
xserver-xorg-input-multitouch
xserver-xorg-input-wacom
xserver-xorg-input-xwiimote
xserver-xorg
xserver-xorg-input-all
xserver-xorg-video-all
xnest
xserver-common
xserver-xephyr
xserver-xorg-core
xserver-xorg-dev
xserver-xorg-legacy
xvfb
xserver-xorg-input-aiptek
xserver-xorg-input-elographics
xserver-xorg-input-evdev
xserver-xorg-input-evdev-dbg
xserver-xorg-input-evdev-dev
xserver-xorg-input-joystick
xserver-xorg-input-joystick-dev
xserver-xorg-input-kbd
xserver-xorg-input-libinput
xserver-xorg-input-libinput-dev
xserver-xorg-input-mouse
xserver-xorg-input-mutouch
xserver-xorg-input-synaptics
xserver-xorg-input-synaptics-dev
xserver-xorg-input-void
xserver-xorg-video-amdgpu
xserver-xorg-video-amdgpu-dbg
xserver-xorg-video-ast
xserver-xorg-video-ati
xserver-xorg-video-ati-dbg
xserver-xorg-video-radeon
xserver-xorg-video-radeon-dbg
xserver-xorg-video-cirrus
xserver-xorg-video-dummy
xserver-xorg-video-fbdev
xserver-xorg-video-glide
xserver-xorg-video-intel
xserver-xorg-video-intel-dbg
xserver-xorg-video-mach64
xserver-xorg-video-mach64-dbg
xserver-xorg-video-mga
xserver-xorg-video-neomagic
xserver-xorg-video-nouveau
xserver-xorg-video-nouveau-dbg
xserver-xorg-video-openchrome
xserver-xorg-video-qxl
xserver-xorg-video-r128
xserver-xorg-video-r128-dbg
xserver-xorg-video-savage
xserver-xorg-video-siliconmotion
xserver-xorg-video-sisusb
xserver-xorg-video-tdfx
xserver-xorg-video-trident
xserver-xorg-video-vesa
xserver-xorg-video-vmware
fglrx-driver
xserver-xorg-video-nvidia
xserver-xorg-video-nvidia-legacy-304xx
xserver-xorg-video-nvidia-legacy-340xx

with the listing of what is not installed, like this:
# diff xserver-org_NOT_installed xserver-org_ALL | grep '> ' | sed 's/> //' >> xserver-org_INSTALLED
And this list is important for my solving of this issue:
# cat xserver-org_INSTALLED

x11-xserver-utils
xserver-xorg-input-wacom
xserver-xorg
xserver-xorg-input-all
xserver-xorg-video-all
xserver-common
xserver-xorg-core
xserver-xorg-input-evdev
xserver-xorg-input-evdev-dbg
xserver-xorg-input-evdev-dev
xserver-xorg-input-libinput
xserver-xorg-input-libinput-dev
xserver-xorg-input-mouse
xserver-xorg-input-synaptics
xserver-xorg-video-amdgpu
xserver-xorg-video-ati
xserver-xorg-video-radeon
xserver-xorg-video-cirrus
xserver-xorg-video-fbdev
xserver-xorg-video-intel
xserver-xorg-video-mach64
xserver-xorg-video-mga
xserver-xorg-video-neomagic
xserver-xorg-video-nouveau
xserver-xorg-video-openchrome
xserver-xorg-video-qxl
xserver-xorg-video-r128
xserver-xorg-video-savage
xserver-xorg-video-siliconmotion
xserver-xorg-video-sisusb
xserver-xorg-video-tdfx
xserver-xorg-video-trident
xserver-xorg-video-vesa
xserver-xorg-video-vmware

I can now iterate each item of that list with apt-cache policy:
# for i in $(cat xserver-org_INSTALLED); do apt-cache policy $i >> this_text_that_you_re_reading ; done ;

x11-xserver-utils:
  Installed: 7.7+7+b1
  Candidate: 7.7+7+b1
  Version table:
 *** 7.7+7+b1 500
        500 http://packages.devuan.org/merged ascii/main amd64 Packages
        500 http://auto.mirror.devuan.org/merged ascii/main amd64 Packages
        100 /var/lib/dpkg/status
xserver-xorg-input-wacom:
  Installed: 0.34.0-1
  Candidate: 0.34.0-1
  Version table:
 *** 0.34.0-1 500
        500 http://packages.devuan.org/merged ascii/main amd64 Packages
        500 http://auto.mirror.devuan.org/merged ascii/main amd64 Packages
        100 /var/lib/dpkg/status
xserver-xorg:
  Installed: 1:7.7+19
  Candidate: 1:7.7+19
  Version table:
 *** 1:7.7+19 500
        500 http://packages.devuan.org/merged ascii/main amd64 Packages
        500 http://auto.mirror.devuan.org/merged ascii/main amd64 Packages
        100 /var/lib/dpkg/status
xserver-xorg-input-all:
  Installed: 1:7.7+19
  Candidate: 1:7.7+19
  Version table:
 *** 1:7.7+19 500
        500 http://packages.devuan.org/merged ascii/main amd64 Packages
        500 http://auto.mirror.devuan.org/merged ascii/main amd64 Packages
        100 /var/lib/dpkg/status
xserver-xorg-video-all:
  Installed: 1:7.7+19
  Candidate: 1:7.7+19
  Version table:
 *** 1:7.7+19 500
        500 http://packages.devuan.org/merged ascii/main amd64 Packages
        500 http://auto.mirror.devuan.org/merged ascii/main amd64 Packages
        100 /var/lib/dpkg/status
xserver-common:
  Installed: 2:1.19.3-1
  Candidate: 2:1.19.3-1
  Version table:
 *** 2:1.19.3-1 100
        100 /var/lib/dpkg/status
     2:1.19.2-1 500
        500 http://packages.devuan.org/merged ascii/main amd64 Packages
        500 http://auto.mirror.devuan.org/merged ascii/main amd64 Packages
xserver-xorg-core:
  Installed: 2:1.19.3-1
  Candidate: 2:1.19.3-1
  Version table:
 *** 2:1.19.3-1 100
        100 /var/lib/dpkg/status
     2:1.19.2-1 500
        500 http://packages.devuan.org/merged ascii/main amd64 Packages
        500 http://auto.mirror.devuan.org/merged ascii/main amd64 Packages
xserver-xorg-input-evdev:
  Installed: 1:2.10.5-1
  Candidate: 1:2.10.5-1
  Version table:
 *** 1:2.10.5-1 500
        500 http://packages.devuan.org/merged ascii/main amd64 Packages
        500 http://auto.mirror.devuan.org/merged ascii/main amd64 Packages
        100 /var/lib/dpkg/status
xserver-xorg-input-evdev-dbg:
  Installed: 1:2.10.5-1
  Candidate: 1:2.10.5-1
  Version table:
 *** 1:2.10.5-1 500
        500 http://packages.devuan.org/merged ascii/main amd64 Packages
        500 http://auto.mirror.devuan.org/merged ascii/main amd64 Packages
        100 /var/lib/dpkg/status
xserver-xorg-input-evdev-dev:
  Installed: 1:2.10.5-1
  Candidate: 1:2.10.5-1
  Version table:
 *** 1:2.10.5-1 500
        500 http://packages.devuan.org/merged ascii/main amd64 Packages
        500 http://auto.mirror.devuan.org/merged ascii/main amd64 Packages
        100 /var/lib/dpkg/status
xserver-xorg-input-libinput:
  Installed: 0.23.0-2
  Candidate: 0.23.0-2
  Version table:
 *** 0.23.0-2 500
        500 http://packages.devuan.org/merged ascii/main amd64 Packages
        500 http://auto.mirror.devuan.org/merged ascii/main amd64 Packages
        100 /var/lib/dpkg/status
xserver-xorg-input-libinput-dev:
  Installed: 0.23.0-2
  Candidate: 0.23.0-2
  Version table:
 *** 0.23.0-2 500
        500 http://packages.devuan.org/merged ascii/main amd64 Packages
        500 http://auto.mirror.devuan.org/merged ascii/main amd64 Packages
        100 /var/lib/dpkg/status
xserver-xorg-input-mouse:
  Installed: 1:1.9.2-1+b1
  Candidate: 1:1.9.2-1+b1
  Version table:
 *** 1:1.9.2-1+b1 500
        500 http://packages.devuan.org/merged ascii/main amd64 Packages
        500 http://auto.mirror.devuan.org/merged ascii/main amd64 Packages
        100 /var/lib/dpkg/status
xserver-xorg-input-synaptics:
  Installed: 1.9.0-1+b1
  Candidate: 1.9.0-1+b1
  Version table:
 *** 1.9.0-1+b1 500
        500 http://packages.devuan.org/merged ascii/main amd64 Packages
        500 http://auto.mirror.devuan.org/merged ascii/main amd64 Packages
        100 /var/lib/dpkg/status
xserver-xorg-video-amdgpu:
  Installed: 1.2.0-1+b1
  Candidate: 1.2.0-1+b1
  Version table:
 *** 1.2.0-1+b1 500
        500 http://packages.devuan.org/merged ascii/main amd64 Packages
        500 http://auto.mirror.devuan.org/merged ascii/main amd64 Packages
        100 /var/lib/dpkg/status
     1.2.0-1~bpo8+1 100
        100 http://auto.mirror.devuan.org/merged jessie-backports/main amd64 Packages
xserver-xorg-video-ati:
  Installed: 1:7.8.0-1+b1
  Candidate: 1:7.8.0-1+b1
  Version table:
 *** 1:7.8.0-1+b1 500
        500 http://packages.devuan.org/merged ascii/main amd64 Packages
        500 http://auto.mirror.devuan.org/merged ascii/main amd64 Packages
        100 /var/lib/dpkg/status
     1:7.8.0-1~bpo8+1 100
        100 http://auto.mirror.devuan.org/merged jessie-backports/main amd64 Packages
xserver-xorg-video-radeon:
  Installed: 1:7.8.0-1+b1
  Candidate: 1:7.8.0-1+b1
  Version table:
 *** 1:7.8.0-1+b1 500
        500 http://packages.devuan.org/merged ascii/main amd64 Packages
        500 http://auto.mirror.devuan.org/merged ascii/main amd64 Packages
        100 /var/lib/dpkg/status
     1:7.8.0-1~bpo8+1 100
        100 http://auto.mirror.devuan.org/merged jessie-backports/main amd64 Packages
xserver-xorg-video-cirrus:
  Installed: 1:1.5.3-1+b2
  Candidate: 1:1.5.3-1+b2
  Version table:
 *** 1:1.5.3-1+b2 500
        500 http://packages.devuan.org/merged ascii/main amd64 Packages
        500 http://auto.mirror.devuan.org/merged ascii/main amd64 Packages
        100 /var/lib/dpkg/status
xserver-xorg-video-fbdev:
  Installed: 1:0.4.4-1+b5
  Candidate: 1:0.4.4-1+b5
  Version table:
 *** 1:0.4.4-1+b5 500
        500 http://packages.devuan.org/merged ascii/main amd64 Packages
        500 http://auto.mirror.devuan.org/merged ascii/main amd64 Packages
        100 /var/lib/dpkg/status
xserver-xorg-video-intel:
  Installed: 2:2.99.917+git20161206-1
  Candidate: 2:2.99.917+git20161206-1
  Version table:
 *** 2:2.99.917+git20161206-1 500
        500 http://packages.devuan.org/merged ascii/main amd64 Packages
        500 http://auto.mirror.devuan.org/merged ascii/main amd64 Packages
        100 /var/lib/dpkg/status
     2:2.99.917+git20161206-1~bpo8+1 100
        100 http://auto.mirror.devuan.org/merged jessie-backports/main amd64 Packages
xserver-xorg-video-mach64:
  Installed: 6.9.5-1+b2
  Candidate: 6.9.5-1+b2
  Version table:
 *** 6.9.5-1+b2 500
        500 http://packages.devuan.org/merged ascii/main amd64 Packages
        500 http://auto.mirror.devuan.org/merged ascii/main amd64 Packages
        100 /var/lib/dpkg/status
xserver-xorg-video-mga:
  Installed: 1:1.6.5-1
  Candidate: 1:1.6.5-1
  Version table:
 *** 1:1.6.5-1 500
        500 http://packages.devuan.org/merged ascii/main amd64 Packages
        500 http://auto.mirror.devuan.org/merged ascii/main amd64 Packages
        100 /var/lib/dpkg/status
xserver-xorg-video-neomagic:
  Installed: 1:1.2.9-1+b2
  Candidate: 1:1.2.9-1+b2
  Version table:
 *** 1:1.2.9-1+b2 500
        500 http://packages.devuan.org/merged ascii/main amd64 Packages
        500 http://auto.mirror.devuan.org/merged ascii/main amd64 Packages
        100 /var/lib/dpkg/status
xserver-xorg-video-nouveau:
  Installed: 1:1.0.13-3
  Candidate: 1:1.0.13-3
  Version table:
 *** 1:1.0.13-3 500
        500 http://packages.devuan.org/merged ascii/main amd64 Packages
        500 http://auto.mirror.devuan.org/merged ascii/main amd64 Packages
        100 /var/lib/dpkg/status
xserver-xorg-video-openchrome:
  Installed: 1:0.5.0-3
  Candidate: 1:0.5.0-3
  Version table:
 *** 1:0.5.0-3 500
        500 http://packages.devuan.org/merged ascii/main amd64 Packages
        500 http://auto.mirror.devuan.org/merged ascii/main amd64 Packages
        100 /var/lib/dpkg/status
xserver-xorg-video-qxl:
  Installed: 0.1.5-2
  Candidate: 0.1.5-2
  Version table:
 *** 0.1.5-2 100
        100 /var/lib/dpkg/status
     0.1.4+20161126git4d7160c-1 500
        500 http://packages.devuan.org/merged ascii/main amd64 Packages
        500 http://auto.mirror.devuan.org/merged ascii/main amd64 Packages
xserver-xorg-video-r128:
  Installed: 6.10.2-1
  Candidate: 6.10.2-1
  Version table:
 *** 6.10.2-1 500
        500 http://packages.devuan.org/merged ascii/main amd64 Packages
        500 http://auto.mirror.devuan.org/merged ascii/main amd64 Packages
        100 /var/lib/dpkg/status
xserver-xorg-video-savage:
  Installed: 1:2.3.9-1
  Candidate: 1:2.3.9-1
  Version table:
 *** 1:2.3.9-1 500
        500 http://packages.devuan.org/merged ascii/main amd64 Packages
        500 http://auto.mirror.devuan.org/merged ascii/main amd64 Packages
        100 /var/lib/dpkg/status
xserver-xorg-video-siliconmotion:
  Installed: 1:1.7.9-2
  Candidate: 1:1.7.9-2
  Version table:
 *** 1:1.7.9-2 500
        500 http://packages.devuan.org/merged ascii/main amd64 Packages
        500 http://auto.mirror.devuan.org/merged ascii/main amd64 Packages
        100 /var/lib/dpkg/status
xserver-xorg-video-sisusb:
  Installed: 1:0.9.7-1
  Candidate: 1:0.9.7-1
  Version table:
 *** 1:0.9.7-1 500
        500 http://packages.devuan.org/merged ascii/main amd64 Packages
        500 http://auto.mirror.devuan.org/merged ascii/main amd64 Packages
        100 /var/lib/dpkg/status
xserver-xorg-video-tdfx:
  Installed: 1:1.4.7-1
  Candidate: 1:1.4.7-1
  Version table:
 *** 1:1.4.7-1 500
        500 http://packages.devuan.org/merged ascii/main amd64 Packages
        500 http://auto.mirror.devuan.org/merged ascii/main amd64 Packages
        100 /var/lib/dpkg/status
xserver-xorg-video-trident:
  Installed: 1:1.3.8-1
  Candidate: 1:1.3.8-1
  Version table:
 *** 1:1.3.8-1 500
        500 http://packages.devuan.org/merged ascii/main amd64 Packages
        500 http://auto.mirror.devuan.org/merged ascii/main amd64 Packages
        100 /var/lib/dpkg/status
xserver-xorg-video-vesa:
  Installed: 1:2.3.4-1+b2
  Candidate: 1:2.3.4-1+b2
  Version table:
 *** 1:2.3.4-1+b2 500
        500 http://packages.devuan.org/merged ascii/main amd64 Packages
        500 http://auto.mirror.devuan.org/merged ascii/main amd64 Packages
        100 /var/lib/dpkg/status
xserver-xorg-video-vmware:
  Installed: 1:13.2.1-1+b1
  Candidate: 1:13.2.1-1+b1
  Version table:
 *** 1:13.2.1-1+b1 500
        500 http://packages.devuan.org/merged ascii/main amd64 Packages
        500 http://auto.mirror.devuan.org/merged ascii/main amd64 Packages
        100 /var/lib/dpkg/status

And now, to give complete info to start with, I have tried two different ATI (AMD) cards, and it's these, again I marked them with i, ii and ii by verbosity:

i) # lspci | grep VGA

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV370 [Radeon X300]

ii) # lspci -v | grep -A16 'VGA compatible controller'

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV370 [Radeon X300] (prog-if 00 [VGA controller])
        Subsystem: PC Partner Limited / Sapphire Technology RV370 [Radeon X300]
        Flags: bus master, fast devsel, latency 0, IRQ 27, NUMA node 0
        Memory at d0000000 (32-bit, prefetchable) [size=128M]
        I/O ports at ce00 [size=256]
        Memory at dfdf0000 (32-bit, non-prefetchable) [size=64K]
        [virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
        Capabilities: [50] Power Management version 2
        Capabilities: [58] Express Endpoint, MSI 00
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [100] Advanced Error Reporting
        Kernel driver in use: radeon

iii # lspci -v -v | grep -A49 'VGA compatible controller'

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV370 [Radeon X300] (prog-if 00 [VGA controller])
        Subsystem: PC Partner Limited / Sapphire Technology RV370 [Radeon X300]
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 4 bytes
        Interrupt: pin A routed to IRQ 27
        NUMA node: 0
        Region 0: Memory at d0000000 (32-bit, prefetchable) [size=128M]
        Region 1: I/O ports at ce00 [size=256]
        Region 2: Memory at dfdf0000 (32-bit, non-prefetchable) [size=64K]
        [virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
        Capabilities: [50] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [58] Express (v1) Endpoint, MSI 00
                DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <256ns, L1 <4us
                        ExtTag+ AttnBtn- AttnInd- PwrInd- RBE- FLReset- SlotPowerLimit 0.000W
                DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
                        RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
                        MaxPayload 128 bytes, MaxReadReq 128 bytes
                DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
                LnkCap: Port #0, Speed 2.5GT/s, Width x16, ASPM L0s L1, Exit Latency L0s <256ns, L1 <2us
                        ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp-
                LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- CommClk-
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                LnkSta: Speed 2.5GT/s, Width x16, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
        Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit+
                Address: 00000000fee0100c  Data: 41d1
        Capabilities: [100 v1] Advanced Error Reporting
                UESta:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
                UEMsk:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
                UESvrt: DLP+ SDES- TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
                CESta:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
                CEMsk:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
                AERCap: First Error Pointer: 00, GenCap- CGenEn- ChkCap- ChkEn-
        Kernel driver in use: radeon

So that one is obviously RV370 Radeon X300. It worked before the xserver-org update...

And I also tried, and that one is currently in the master Air-Gapped system another ATI (AMD) card, obviously Sapphire Turks Radeon HD 6570 or so:

i) # lspci | grep VGA

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Turks PRO [Radeon HD 6570/7570/8550]

ii) # lspci -v | grep -A13 'VGA compatible controller'

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Turks PRO [Radeon HD 6570/7570/8550] (prog-if 00 [VGA controller])
        Subsystem: PC Partner Limited / Sapphire Technology Turks PRO [Radeon HD 6570/7570/8550]
        Flags: bus master, fast devsel, latency 0, IRQ 31, NUMA node 0
        Memory at c0000000 (64-bit, prefetchable) [size=256M]
        Memory at dfdc0000 (64-bit, non-prefetchable) [size=128K]
        I/O ports at ce00 [size=256]
        [virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
        Capabilities: [50] Power Management version 3
        Capabilities: [58] Express Legacy Endpoint, MSI 00
        Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
        Capabilities: [150] Advanced Error Reporting
        Kernel driver in use: radeon
        Kernel modules: radeon

iii # lspci -v -v | grep -A45 'VGA compatible controller'

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Turks PRO [Radeon HD 6570/7570/8550] (prog-if 00 [VGA controller])
        Subsystem: PC Partner Limited / Sapphire Technology Turks PRO [Radeon HD 6570/7570/8550]
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 4 bytes
        Interrupt: pin A routed to IRQ 31
        NUMA node: 0
        Region 0: Memory at c0000000 (64-bit, prefetchable) [size=256M]
        Region 2: Memory at dfdc0000 (64-bit, non-prefetchable) [size=128K]
        Region 4: I/O ports at ce00 [size=256]
        [virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
        Capabilities: [50] Power Management version 3
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [58] Express (v2) Legacy Endpoint, MSI 00
                DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s <4us, L1 unlimited
                        ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
                DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
                        RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
                        MaxPayload 128 bytes, MaxReadReq 512 bytes
                DevSta: CorrErr+ UncorrErr- FatalErr- UnsuppReq+ AuxPwr- TransPend-
                LnkCap: Port #0, Speed 2.5GT/s, Width x16, ASPM L0s L1, Exit Latency L0s <64ns, L1 <1us
                        ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp-
                LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- CommClk+
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                LnkSta: Speed 2.5GT/s, Width x16, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
                DevCap2: Completion Timeout: Not Supported, TimeoutDis-, LTR-, OBFF Not Supported
                DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled
                LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-
                         Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
                         Compliance De-emphasis: -6dB
                LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete-, EqualizationPhase1-
                         EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
        Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
                Address: 00000000fee0100c  Data: 41a2
        Capabilities: [100 v1] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
        Capabilities: [150 v1] Advanced Error Reporting
                UESta:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
                UEMsk:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
                UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
                CESta:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
                CEMsk:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
                AERCap: First Error Pointer: 00, GenCap+ CGenEn- ChkCap+ ChkEn-
        Kernel driver in use: radeon
        Kernel modules: radeon

I figured out in my last attempt with proprietary drivers, which I would actually prefer if I can uninstall and get clean from blobs, that radeon wouldn't work, after I had... Ah, let me find those logs...

Jul  1 09:23:41 gdOv kernel: [  196.500113] [drm:atom_op_jump [radeon]] *ERROR* atombios stuck in loop for more than 5secs aborting
Jul  1 09:23:41 gdOv kernel: [  196.500180] [drm:atom_execute_table_locked [radeon]] *ERROR* atombios stuck executing C7CA (len 62, WS 0, PS 0) @ 0xC7E6
Jul  1 09:23:41 gdOv kernel: [  201.512088] [drm:atom_op_jump [radeon]] *ERROR* atombios stuck in loop for more than 5secs aborting
Jul  1 09:23:41 gdOv kernel: [  201.512119] [drm:atom_execute_table_locked [radeon]] *ERROR* atombios stuck executing C7CA (len 62, WS 0, PS 0) @ 0xC7E6
Jul  1 09:23:41 gdOv kernel: [  201.512148] [drm:atom_execute_table_locked [radeon]] *ERROR* atombios stuck executing BE74 (len 1136, WS 0, PS 0) @ 0xBF06
Jul  1 09:36:49 gdOv kernel: [    0.000000] Linux version 4.9.0-3-amd64 (debian-kernel@lists.debian.org) (gcc version 6.3.0 20170516 (Debian 6.3.0-18) ) #1 SMP Debian 4.9.30-2 (2017-06-12)
Jul  1 09:36:49 gdOv kernel: [    0.000000] Command line: BOOT_IMAGE=/vmlinuz-4.9.0-3-amd64 root=UUID=f46b1de9-a789-4b9f-b2d8-224fba3de440 ro quiet

BTW, the last two lines 13 minutes after the last "...atombios..." line are my system rebooting... Namely, those errors there was last the logs got. Total freeze. And tho
se kind of times are nerve-recking...

And I got it that I would need to blacklist radeon (but I'd very much prefer to go back to free drivers if possible), because one of my last tries was to install fglrx-driver:
# apt-get install fglrx-driver

Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 fglrx-driver : Depends: xorg-video-abi-19 but it is not installable or
                         xorg-video-abi-18 but it is not installable or
                         xorg-video-abi-15 but it is not installable or
                         xorg-video-abi-14 but it is not installable or
                         xorg-video-abi-13 but it is not installable or
                         xorg-video-abi-12 but it is not installable or
                         xorg-video-abi-11 but it is not installable or
                         xorg-video-abi-10 but it is not installable or
                         xorg-video-abi-8 but it is not installable or
                         xorg-video-abi-6.0 but it is not installable
E: Unable to correct problems, you have held broken packages.

And that led me to:
fglrx-driver: broken depends on xorg-video-abi-18
https://bugs.debian.org/cgi-bin/bugrepo … bug=784903
and:
AMD/ATI Proprietary Driver
https://wiki.debian.org/ATIProprietary

But, again, I'd very much like to, now that I'm dedicating serious time to it, and I hope it might be helpful to other Devuaners as well, [to] go complete free drivers way...

Last edited by miroR (2017-07-03 20:29:46)


Devs/testers/users of FOSS, what might be ahead for GNU/Linux after we lost PaX Team and spender? spender wrote:
https://forums.grsecurity.net/viewtopic … 699#p17127
Google made the choice to engage in underhanded competition against us with our own code...
grsecurity ripoff by Google, w/ Linus approval https://lists.dyne.org/lurker/message/2 … 4b.en.html

Offline

#2 2017-07-03 13:33:37

miroR
Member
From: Zagreb, Croatia
Registered: 2016-11-30
Posts: 217  
Website

Re: xserver no start w/ ATI(AMD) card, xserver-org 1.19.3-1 [PARTLY SOLVED

I have gotten much more familiar with apt, apt-get, apt-config, apt.conf and other man pages... I surely would have written the first post much differently if I were to have dedicated to those learning such long hours as I did yesterday, previous to posting it...

But I might be close to finding the solution to my issue.

Look:

for i in $(apt-cache search firmware | grep free | grep linux | awk '{ print $1 }'); do apt-cache policy $i ; done ;

firmware-linux-free:
  Installed: (none)
  Candidate: 3.4
  Version table:
     3.4 500
        500 http://packages.devuan.org/merged ascii/main amd64 Packages
        500 http://auto.mirror.devuan.org/merged ascii/main amd64 Packages
firmware-linux-nonfree:
  Installed: 20161130-3~bpo8+1
  Candidate: 20161130-3~bpo8+1
  Version table:
 *** 20161130-3~bpo8+1 100
        100 http://auto.mirror.devuan.org/merged jessie-backports/non-free amd64 Packages
        100 /var/lib/dpkg/status

IOW, if firmware-linux-nonfree would be needed for problematic for fglrx-drive (in bottom of previous post), which was a dependency that I had to install, maybe I just install what I probably have uninstalled by mistake in the huge mess that I created when I updated my system with stretch... and that is the firmware-linux-free...

But I first have to uninstall those few packages that I installed when I tried to install fglrx-drive... I'm doing it the way I did, poor-user's non-expert hacking that I need for the manual Air-Gapping method... It's not so very trivial...

Last edited by miroR (2017-07-03 13:35:03)


Devs/testers/users of FOSS, what might be ahead for GNU/Linux after we lost PaX Team and spender? spender wrote:
https://forums.grsecurity.net/viewtopic … 699#p17127
Google made the choice to engage in underhanded competition against us with our own code...
grsecurity ripoff by Google, w/ Linus approval https://lists.dyne.org/lurker/message/2 … 4b.en.html

Offline

#3 2017-07-03 16:52:56

miroR
Member
From: Zagreb, Croatia
Registered: 2016-11-30
Posts: 217  
Website

Re: xserver no start w/ ATI(AMD) card, xserver-org 1.19.3-1 [PARTLY SOLVED

A digression, somewhat.
# cat /etc/apt/apt.conf

Debug::pkgProblemResolver "on";
Debug::pkgDPkgPM "on";
Debug::Acquire::ftp "on";
Debug::Acquire::http "on";
Debug::Acquire::gpgv "on";
Debug::BuildDeps "on";
Debug::Hashes "on";
InstallProgress::Fancy "off";
Binary::apt::DPkg::Progress-Fancy "off";
AllowInsecureRepositories "off";

I found those in 'man apt.conf'.
But now I can't remove packages, nor install them. I can download packages, and update. I saw that /var/cache/ and /var/lib/apt/ do get updated. But...

Here's actually what happened.
# apt-get install firmware-linux-free

Reading package lists...
Building dependency tree...
Reading state information...
Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
The following NEW packages will be installed:
  firmware-linux-free
GET /merged/pool/DEBIAN/main/f/firmware-free/firmware-linux-free_3.4_all.deb HTTP/1.1
Host: packages.devuan.org
User-Agent: Debian APT-HTTP/1.3 (1.4.6)


Answer for: http://packages.devuan.org/merged/pool/DEBIAN/main/f/firmware-free/firmware-linux-free_3.4_all.deb
HTTP/1.1 302 Moved Temporarily
Server: nginx/1.9.9
Date: Mon, 03 Jul 2017 15:27:24 GMT
Content-Type: text/html
Content-Length: 160
Connection: keep-alive
Location: http://httpredir.debian.org/debian/pool/main/f/firmware-free/firmware-linux-free_3.4_all.deb

GET /debian/pool/main/f/firmware-free/firmware-linux-free_3.4_all.deb HTTP/1.1
Host: httpredir.debian.org
User-Agent: Debian APT-HTTP/1.3 (1.4.6)

Answer for: http://httpredir.debian.org/debian/pool/main/f/firmware-free/firmware-linux-free_3.4_all.deb
HTTP/1.1 302 Found
Date: Mon, 03 Jul 2017 15:27:25 GMT
Server: Apache
X-Content-Type-Options: nosniff
X-Frame-Options: sameorigin
Referrer-Policy: no-referrer
X-Xss-Protection: 1
Location: http://cdn-fastly.deb.debian.org/debian/pool/main/f/firmware-free/firmware-linux-free_3.4_all.deb
Content-Length: 351
Content-Type: text/html; charset=iso-8859-1

GET /debian/pool/main/f/firmware-free/firmware-linux-free_3.4_all.deb HTTP/1.1
Host: cdn-fastly.deb.debian.org
User-Agent: Debian APT-HTTP/1.3 (1.4.6)


Answer for: http://cdn-fastly.deb.debian.org/debian/pool/main/f/firmware-free/firmware-linux-free_3.4_all.deb
HTTP/1.1 200 OK
Server: Apache
X-Content-Type-Options: nosniff
X-Frame-Options: sameorigin
Referrer-Policy: no-referrer
X-Xss-Protection: 1
Last-Modified: Sun, 16 Aug 2015 16:04:14 GMT
ETag: "4afc-51d6fd62137f3"
X-Clacks-Overhead: GNU Terry Pratchett
Cache-Control: public, max-age=2592000
Content-Type: application/x-debian-package
Via: 1.1 varnish
Fastly-Debug-Digest: c482a467b26793da38603698f070e4efb72e7336e1621a892dc99b4f86b68373
Content-Length: 19196
Accept-Ranges: bytes
Date: Mon, 03 Jul 2017 15:27:26 GMT
Via: 1.1 varnish
Age: 9050755
Connection: keep-alive
X-Served-By: cache-ams4143-AMS, cache-hhn1550-HHN
X-Cache: HIT, HIT
X-Cache-Hits: 1, 1
X-Timer: S1499095646.454086,VS0,VE1

0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 19.2 kB of archives.
After this operation, 69.6 kB of additional disk space will be used.
Get:1 http://packages.devuan.org/merged ascii/main amd64 firmware-linux-free all 3.4 [19.2 kB]
/usr/bin/dpkg --status-fd 17 --no-triggers --unpack --auto-deconfigure /var/cache/apt/archives/firmware-linux-free_3.4_all.deb 
/usr/bin/dpkg --status-fd 17 --configure --pending 
2017/07/03 15:27:19 Reading config from: /etc/paxrat/paxrat.conf
Fetched 19.2 kB in 2s (6,691 B/s)

And of course:
# apt-cache policy firmware-linux-free

firmware-linux-free:
  Installed: (none)
  Candidate: 3.4
  Version table:
     3.4 500
        500 http://packages.devuan.org/merged ascii/main amd64 Packages
        500 http://auto.mirror.devuan.org/merged ascii/main amd64 Packages

And:

# ls -l /var/cache/apt/archives/firmware-linux-free_3.4_all.deb 
-rw-r--r-- 1 root root 19196 2015-08-16 16:04 /var/cache/apt/archives/firmware-linux-free_3.4_all.deb

My question is which of the entries that I added (I didn't have an /etc/apt/apt.conf previously, and all  that previously was in /etc/apt/apt.conf.d/ is untouched), could be responsible for that?

Which one of the lines added should I remove?

Last edited by miroR (2017-07-03 16:53:54)


Devs/testers/users of FOSS, what might be ahead for GNU/Linux after we lost PaX Team and spender? spender wrote:
https://forums.grsecurity.net/viewtopic … 699#p17127
Google made the choice to engage in underhanded competition against us with our own code...
grsecurity ripoff by Google, w/ Linus approval https://lists.dyne.org/lurker/message/2 … 4b.en.html

Offline

#4 2017-07-03 20:23:52

miroR
Member
From: Zagreb, Croatia
Registered: 2016-11-30
Posts: 217  
Website

Re: xserver no start w/ ATI(AMD) card, xserver-org 1.19.3-1 [PARTLY SOLVED

miroR wrote:

# cat /etc/apt/apt.conf

Debug::pkgProblemResolver "on";
Debug::pkgDPkgPM "on";
Debug::Acquire::ftp "on";
Debug::Acquire::http "on";
Debug::Acquire::gpgv "on";
Debug::BuildDeps "on";
Debug::Hashes "on";
InstallProgress::Fancy "off";
Binary::apt::DPkg::Progress-Fancy "off";
AllowInsecureRepositories "off";

Here's actually what happened.

# apt-get install firmware-linux-free

Reading package lists...
Building dependency tree...

...[lots of output/log cut out here]...

0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 19.2 kB of archives.
After this operation, 69.6 kB of additional disk space will be used.
Get:1 http://packages.devuan.org/merged ascii/main amd64 firmware-linux-free all 3.4 [19.2 kB]
/usr/bin/dpkg --status-fd 17 --no-triggers --unpack --auto-deconfigure /var/cache/apt/archives/firmware-linux-free_3.4_all.deb 
/usr/bin/dpkg --status-fd 17 --configure --pending 
2017/07/03 15:27:19 Reading config from: /etc/paxrat/paxrat.conf
Fetched 19.2 kB in 2s (6,691 B/s)

In essence, showing dpkg commands, as man apt.conf reads it will do, but, not installing the package.. As per:

# apt-cache policy firmware-linux-free

firmware-linux-free:
  Installed: (none)
  Candidate: 3.4
...

remaining uninstalled.

So since:

# ls -l /var/cache/apt/archives/firmware-linux-free_3.4_all.deb 
-rw-r--r-- 1 root root 19196 2015-08-16 16:04 /var/cache/apt/archives/firmware-linux-free_3.4_all.deb

the package was downloaded fine, I went for a binary search, and it was only one line that needed to be commented out. This one.

#Debug::pkgDPkgPM "on";

The rest can remain.

If it looks like a bug to other readers, it would be great it someone reported it... Or explained how come it wouldn't install the package... It was similar with remove'ing packages as well. As soon as that line is commented out, and only once that line is commented out, packages can be removed...


BTW, I got Xorg running with ATI now, but only as root, and only with non-grsec kernel... I'll try and provide a more thorough report next.

Last edited by miroR (2017-07-03 20:26:17)


Devs/testers/users of FOSS, what might be ahead for GNU/Linux after we lost PaX Team and spender? spender wrote:
https://forums.grsecurity.net/viewtopic … 699#p17127
Google made the choice to engage in underhanded competition against us with our own code...
grsecurity ripoff by Google, w/ Linus approval https://lists.dyne.org/lurker/message/2 … 4b.en.html

Offline

#5 2017-07-03 21:52:53

miroR
Member
From: Zagreb, Croatia
Registered: 2016-11-30
Posts: 217  
Website

Re: xserver no start w/ ATI(AMD) card, xserver-org 1.19.3-1 [PARTLY SOLVED

BTW, I didn't know AMD/ATI was all in red, i.e. unsupported/poorly supported:
https://wiki.archlinux.org/index.php/Xorg#AMD
...
But I haven't bought a video card for some four or more years. Wasn't like that before AMD bought ATI... Never mind.

Of these:
https://www.x.org/wiki/FAQErrorMessages/
I have seen in these few days almost half, but not too well can I remember to say precisely.

After removing the nonfree packages (these were suggested on some pages on Debian wiki and elsewhere when I tried to install fglrx-driver):

# apt-get remove firmware-linux-nonfree firmware-misc-nonfree firmware-amd-graphics

(that was actually the first step, the install of the:

# # apt-get install firmware-linux-free

was afterwards)

[After removing the nonfree packages] and installing the free firmware, I ran:

# X -configure

which saved for me xorg.conf.new in the $HOME directory. And it suggested I could try running:

# X -config xorg.conf.new

which I did.

I was running:

$ uname -r
4.9.27-unofficial+grsec170512-22
$

which is just what I'm running in this clone (with NVidia card) of that master (with ATI). I only have one NVidia card, and some three working ATI. No surplus. I sometimes have to shutdown a system and move a card from one machine to another...

And I got apparently in other respects good output by # X -configure, but for this:

[ 2041.551711] PAX: execution attempt in: (null), 00000000-00000000 00000000
[ 2041.553111] PAX: terminating task: /usr/lib/xorg/Xorg(Xorg):4575, uid/euid: 1000/1000, PC:            (nil), SP: 000003a65413a2a8
[ 2041.556179] PAX: bytes at PC: ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? [ 2041.556430]
[ 2041.558076] PAX: bytes at SP-8: 0000000bd4edea70 0000000bd0b7f8f0 000003a65413a320 0000000bd0f56634 000003a65413a2f8 0000000bd4edea70 0000000bd4f2a370 0000000000000560 0000000bd4f1d620 000003a65413a370 0000000bd4f1b0c0 [ 2041.559803]
[ 2041.561321] grsec: denied resource overstep by requesting 4096 for RLIMIT_CORE against limit 0 for /usr/lib/xorg/Xorg[Xorg:4575] uid/euid:1000/1000 gid/egid:1000/1000, parent /bin/bash[bash:3485] uid/euid:1000/1000 gid/egid:1000/1000

which I would very much like to understand, but tonight I had to get my X running in any way, and do the full circle with my Air-Gapping.

So I tried the same as root. It still failed. But not so badly (no time for details).

I rebooted into:

# uname -r
4.9.0-3-amd64

did it all over, and after one tweak to it, as suggested in
"AddScreen/ScreenInit failed for driver 0", even though it's likely the monitor that is half broken, since it's probably older than that Sapphire Technology RV370 Radeon X300, which tweak consisted in removing, I think it was in two places:

        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection

removing two subsections that looked something like that and saving the file...
And then I was able to run:

# X -config xorg.conf.new

and it started the X.

I will keep the logs of all the attempts for a while. Because I will need them to solve the issue completely.

But I can live like this for a day or two or so.

As per the apt-listchanges news reported in the starting post, I could probably, and still can, use the legacy package for old behavior, but that doesn't apeal to me. The new method is so much safer.

And I've one important thing I have to add. I had (days ago) added me as normal user to the input group.

I think it was this command:

# usermod -G -a input mr

in my case (user mr).


Devs/testers/users of FOSS, what might be ahead for GNU/Linux after we lost PaX Team and spender? spender wrote:
https://forums.grsecurity.net/viewtopic … 699#p17127
Google made the choice to engage in underhanded competition against us with our own code...
grsecurity ripoff by Google, w/ Linus approval https://lists.dyne.org/lurker/message/2 … 4b.en.html

Offline

#6 2017-07-03 22:04:55

miroR
Member
From: Zagreb, Croatia
Registered: 2016-11-30
Posts: 217  
Website

Re: xserver no start w/ ATI(AMD) card, xserver-org 1.19.3-1 [PARTLY SOLVED

This is how the (somewhat) working setup now looks in my Air-Gapped.

iii) # lspci -nn grep -A12 '1002:5b60'

01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] RV370 [Radeon X300] [1002:5b60] (prog-if 00 [VGA controller])
        Subsystem: PC Partner Limited / Sapphire Technology RV370 [Radeon X300] [174b:0490]
        Flags: bus master, fast devsel, latency 0, IRQ 19, NUMA node 0
        Memory at d0000000 (32-bit, prefetchable) [size=128M]
        I/O ports at ce00 [size=256]
        Memory at dfdf0000 (32-bit, non-prefetchable) [size=64K]
        [virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
        Capabilities: [50] Power Management version 2
        Capabilities: [58] Express Endpoint, MSI 00
        Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [100] Advanced Error Reporting
        Kernel driver in use: radeon
        Kernel modules: radeonfb, radeon

Last edited by miroR (2017-07-03 22:06:50)


Devs/testers/users of FOSS, what might be ahead for GNU/Linux after we lost PaX Team and spender? spender wrote:
https://forums.grsecurity.net/viewtopic … 699#p17127
Google made the choice to engage in underhanded competition against us with our own code...
grsecurity ripoff by Google, w/ Linus approval https://lists.dyne.org/lurker/message/2 … 4b.en.html

Offline

#7 2017-07-04 11:15:16

fsmithred
Administrator
Registered: 2016-11-25
Posts: 1,892  

Re: xserver no start w/ ATI(AMD) card, xserver-org 1.19.3-1 [PARTLY SOLVED

Are you using a display manager? If so, which one - slim, lightdm or other?

On my ascii installs without a display manager, I've used this to run startx as user:

echo "needs_root_rights=yes" >> /etc/X11/Xwrapper.config

I haven't tried any other settings. See man xwrapper.config.

Offline

#8 2017-07-04 15:41:37

miroR
Member
From: Zagreb, Croatia
Registered: 2016-11-30
Posts: 217  
Website

Re: xserver no start w/ ATI(AMD) card, xserver-org 1.19.3-1 [PARTLY SOLVED

fsmithred wrote:

Are you using a display manager? If so, which one - slim, lightdm or other?

On my ascii installs without a display manager, I've used this to run startx as user:

echo "needs_root_rights=yes" >> /etc/X11/Xwrapper.config

I haven't tried any other settings. See man xwrapper.config.

My Palemoon failed, only Lynx can log in... So if not good post...
But, I'll see if that helps.
First though, fsmithred, I have prepared how Refracta fails to do things chrooted
in my cloned system, and (old, only offline because broken (into)) Gentoo can...
Since it's a lot, I'll mail it to you...
And if I recover my Palemoon (or recompile it successfully), I'll make it a topic...
(it's not sorted out)
Thanks, again!


Devs/testers/users of FOSS, what might be ahead for GNU/Linux after we lost PaX Team and spender? spender wrote:
https://forums.grsecurity.net/viewtopic … 699#p17127
Google made the choice to engage in underhanded competition against us with our own code...
grsecurity ripoff by Google, w/ Linus approval https://lists.dyne.org/lurker/message/2 … 4b.en.html

Offline

#9 2017-07-04 15:43:27

miroR
Member
From: Zagreb, Croatia
Registered: 2016-11-30
Posts: 217  
Website

Re: xserver no start w/ ATI(AMD) card, xserver-org 1.19.3-1 [PARTLY SOLVED

BTW, dev1galaxy.org certificate has again expired. Links2 said so, and now Lynx says so

Last edited by miroR (2017-07-04 15:44:06)


Devs/testers/users of FOSS, what might be ahead for GNU/Linux after we lost PaX Team and spender? spender wrote:
https://forums.grsecurity.net/viewtopic … 699#p17127
Google made the choice to engage in underhanded competition against us with our own code...
grsecurity ripoff by Google, w/ Linus approval https://lists.dyne.org/lurker/message/2 … 4b.en.html

Offline

#10 2017-07-04 16:50:30

miroR
Member
From: Zagreb, Croatia
Registered: 2016-11-30
Posts: 217  
Website

Re: xserver no start w/ ATI(AMD) card, xserver-org 1.19.3-1 [PARTLY SOLVED

fsmithred, I sent you mail, explained there... say if I didnt' get it right, pls.

But as far as xsever on ATI, well that's what I tried to live without, I like the new way Xorg works, unprivileged.
I don't have a display manager, its' startx and go.            I knew about:

xserver-xorg-legacy - setuid root Xorg server wrapper

but I didn't install it for reasons of that being root... Will have to do it, though. But I must find a way to disable it when with Nvidia card...


Devs/testers/users of FOSS, what might be ahead for GNU/Linux after we lost PaX Team and spender? spender wrote:
https://forums.grsecurity.net/viewtopic … 699#p17127
Google made the choice to engage in underhanded competition against us with our own code...
grsecurity ripoff by Google, w/ Linus approval https://lists.dyne.org/lurker/message/2 … 4b.en.html

Offline

#11 2017-07-04 18:05:44

miroR
Member
From: Zagreb, Croatia
Registered: 2016-11-30
Posts: 217  
Website

Re: xserver no start w/ ATI(AMD) card, xserver-org 1.19.3-1 [PARTLY SOLVED

Yes, that works! Thanks fsmithred again!
My lack of imagination kept me at the belief, or more like expectation that ATI(AMD) would work well
like in the old days when they were, in GNU/Linux, as good as Nvidia... But ATI(AMD) is now so poorly supported...

The xserver-xorg-legacy is, apparently indispensable with ATI...


Devs/testers/users of FOSS, what might be ahead for GNU/Linux after we lost PaX Team and spender? spender wrote:
https://forums.grsecurity.net/viewtopic … 699#p17127
Google made the choice to engage in underhanded competition against us with our own code...
grsecurity ripoff by Google, w/ Linus approval https://lists.dyne.org/lurker/message/2 … 4b.en.html

Offline

#12 2017-07-06 10:18:15

miroR
Member
From: Zagreb, Croatia
Registered: 2016-11-30
Posts: 217  
Website

Re: xserver no start w/ ATI(AMD) card, xserver-org 1.19.3-1 [PARTLY SOLVED

I'll leave this topic at "PARTLY SOLVED" because fully SOLVED would mean my ATI-graphics running system should be able to have normal users running X, without becoming root.
Maybe we sort that out some day. I will need it because I have three of four only working graphics card ATI, only one NVidia.


Devs/testers/users of FOSS, what might be ahead for GNU/Linux after we lost PaX Team and spender? spender wrote:
https://forums.grsecurity.net/viewtopic … 699#p17127
Google made the choice to engage in underhanded competition against us with our own code...
grsecurity ripoff by Google, w/ Linus approval https://lists.dyne.org/lurker/message/2 … 4b.en.html

Offline

Board footer