topic title: [closed]No screen
Posts: 146
Eperbab
Joined: 10 Dec 2012
#1
I tried to update my graphics driver with smxi. Now I don't have a GUI. I had to boot up my fallback OS (Ubuntu 12.04) to come here.
Symptoms: Screen 0 deleted. Same failure with fallback user, root, and X -configure. Fluxbox also fails to start.
interesting part from Xorg.0.log:

Code: Select all

[   644.991] (--) using VT number 7

[   645.011] (II) [KMS] drm report modesetting isn't supported.
[   645.011] (EE) Screen 0 deleted because of no matching config section.
[   645.011] (II) UnloadModule:"radeon"
[   645.011] (EE) Device(s) detected, but none match those in the config file.
[   645.011] (EE) 
Fatal server error:
[   645.011] (EE) no screens found(EE) 
I have an ATI Radeon 9200SE 5964 (AGP).

xorg.conf: it was working for 2 years

Code: Select all

Section"ServerLayout"
    Identifier    "Layout0"
    Screen      0 "Screen0"
    InputDevice   "Keyboard0""CoreKeyboard"
    InputDevice   "Mouse0""CorePointer"
EndSection

Section"Files"
EndSection

Section"InputDevice"
    # generated from default
    Identifier    "Mouse0"
    Driver        "mouse"
    Option        "Protocol""auto"
    Option        "Device""/dev/psaux"
    Option        "Emulate3Buttons""no"
    Option        "ZAxisMapping""4 5"
EndSection

Section"InputDevice"
    # generated from default
    Identifier    "Keyboard0"
    Driver        "kbd"
EndSection

Section"Monitor"
    Identifier    "Monitor0"
    VendorName    "LG :)"
    ModelName     "LG 32LD465"
    HorizSync       29.6 - 66.6
    VertRefresh     59.0 - 70.1
    Option        "DPMS"
   
    Modeline   "1360x768_60.00"   84.75  1360 1432 1568 1776  768 771 781 798 -hsync +vsync
    Modeline   "1280x1024_60.00"  109.00  1280 1368 1496 1712  1024 1027 1034 1063 -hsync +vsync
    Modeline   "1280x768_60.00"   79.50  1280 1344 1472 1664  768 771 781 798 -hsync +vsync
    Modeline   "1024x768_60.00"   63.50  1024 1072 1176 1328  768 771 775 798 -hsync +vsync
    Modeline   "800x600_60.00"   38.25  800 832 912 1024  600 603 607 624 -hsync +vsync
    Modeline   "640x480_60.00"   23.75  640 664 720 800  480 483 487 500 -hsync +vsync     
    Option     "PreferredMode""1360x768_60.00"
EndSection

Section"Device"
    Identifier    "Device0"
    Driver   "ati"
    VendorName    "AMD/ATI Corporation"
    BusID"PCI:1:0:0"
    Option        "VGA-0" "Monitor0"
EndSection

Section"Screen"
    Identifier    "Screen0"
    Device        "Device0"
    Monitor       "Monitor0"
    DefaultDepth    16

    SubSection"Display"
        Viewport   0 0
        Depth     16
    Modes"1360x768_60.00""1280x1024_60.00""1280x768_60.00""1024x768_60.00""800x600_60.00""640x480_60.00"
    EndSubSection

    SubSection"Display"
        Viewport   0 0
        Depth     24
    Modes"1360x768_60.00""1280x1024_60.00""1280x768_60.00""1024x768_60.00""800x600_60.00""640x480_60.00"
    EndSubSection

EndSection

Section"Module"
    Load   "radeon"
    Load   "glx"
EndSection
Section"Extensions"
#    Option     "Composite"   "disable"
#    Option     "RENDER"   "disable"
EndSection
Any help appreciated.
Last edited by Eperbab on 17 May 2014, 09:30, edited 1 time in total.
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#2
Back up the old xorg.conf and run sgfxi again. Ubuntu should be able to rename the file.
Boot into run level 3 on grub menu for antix sgfxi.

Edit: did you update the kernel?
Posts: 1,308
BitJam
Joined: 31 Aug 2009
#3
With recent versions of X-org, you should be able to start the server without an xorg.conf. You could try copying /etc/X11/xorg.conf to /etc/X11/xorg.conf.save and see if you can start X.

It looks like installing the new driver created a conflict with your existing xorg.conf file:
Xorg.0.log wrote:UnloadModule:"radeon"
xorg.conf wrote: Driver"ati"
You could also try editing your xorg.conf and replace"ati" with"radeon".
Posts: 146
Eperbab
Joined: 10 Dec 2012
#4
- Yes, I have mounted AntiX root in Ubuntu to see my files.
- I need xorg.conf, because my TV-monitor has a broken implementation of EDID services. Without xorg.conf, I would have 640x480 43 Hz interlaced mode or something even more weird on a full HD display.
- I have run smxi /sgfxi with various kernels from tty2, including 3.5.0-antix.2-486-smp. I have used the 3.14-1-rt-686-pae kernel for a few days. I have rebooted several times with that kerner without issues before graphics driver update.
- {Driver"ati" ->"radeon"} This is the fastest & easiest attempt to fix it, going to try it first. Strange, that it worked for two years.
Posts: 146
Eperbab
Joined: 10 Dec 2012
#5
Update:
- changing driver name to"radeon" doesn't help
- Boot into run level 3 on grub menu for antix sgfxi: I have used smxi, doesn't help

- removing xorg.conf: half way success. Now I have screen with"1024x768 0 Hz". Last time I had 320x240, or 640x480 without xorg.conf. This time 1024x768. As Neo would say:"Hm. Updates."
Glxgears animation is running. Now I need to build a new xorg.conf to get back 1360x768 16 bit.
I will try again X -configure. Thanks.
Any idea what is wrong with the above xorg.conf after adding the ati -> radeon change?

Code: Select all

$ inxi -G
Graphics:  Card: Advanced Micro Devices [AMD/ATI] RV280 [Radeon 9200 SE]
           Display Server: X.Org 1.15.1 drivers: fbdev,ati,radeon (unloaded: vesa)
           Resolution: 1024x768@0.0hz
           GLX Renderer: Gallium 0.4 on llvmpipe (LLVM 3.4, 128 bits)
           GLX Version: 2.1 Mesa 10.1.1

$ xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1024 x 768, current 1024 x 768, maximum 1024 x 768
default connected 1024x768+0+0 0mm x 0mm
   1024x768        0.0* 

$ glxinfo
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
    GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, 
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer, 
    GLX_OML_swap_method, GLX_SGIS_multisample, GLX_SGIX_fbconfig, 
    GLX_SGIX_pbuffer, GLX_SGI_make_current_read
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
...
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.4, 128 bits)
OpenGL version string: 2.1 Mesa 10.1.1
OpenGL shading language version string: 1.30

$ glxgears
354 frames in 5.0 seconds = 70.754 FPS
379 frames in 5.0 seconds = 75.733 FPS
386 frames in 5.0 seconds = 77.039 FPS
374 frames in 5.0 seconds = 74.745 FPS

Posts: 1,308
BitJam
Joined: 31 Aug 2009
#6
Two ideas. First, you can use the /usr/sbin/buildxconfig to create a minimal xorg.conf in your current directory:

Code: Select all

CMDLINE=xres=1360x768 /usr/sbin/buildxconfig
Examine the xorg.conf file it created and try copying it to the /etc/X11/ directory. You can also use xdrv to try to force which driver is used:

Code: Select all

CMDLINE="xres=1360x768 xdrvr=radeon" /usr/sbin/buildxconfig
Next, since X is using the frame buffer, you could try booting with a higher frame buffer resolution. Try using the boot parameter"vga=795" to get a 1280x1024 resolutions on the virtual consoles. This resolution often carries over to X with no further effort. I've been able to get 1600x1200 resolution with this trick (using vga=839, YMMV because many of these codes are not standardized).

Use"vga=ask" (and then press <enter> when requested) to get a list of all vga modes available on your machine. It will then give you a choice to pick one. Write down the resolution you picked. It will be in hex. For example the 1280x1024x24 resolution I suggested above is"31B" in hex. So you either need to convert it to decimal (795) or enter it as"vga=0x31b". The size 1360x768 is not standard so there may not be a vga= code for it. You can find out using"vga=ask".
Posts: 146
Eperbab
Joined: 10 Dec 2012
#7
- This one doesn't generate xorg.conf anywhere i have checked: (including /home/user)

Code: Select all

CMDLINE=xres=1360x768 /usr/sbin/buildxconfig
- It generated xorg.conf in etc with sudo (only when there was no xorg.conf), but this configuration failed. Also tried it with the xdrv switch and 1024x768, but X failed. Also failed after some modifications. Strange, but with xdrv=radeon it added a section for nvidia tweaks and I have seen a second monitor (Monitor1) as well.

- Resolution transferred to X (640x480 when entering from init 3 boot, 1024x768 with vga=791).
The vga=ask options displays values for 1280x1024, but anything above vga=792 gives an OSD warning about"invalid format". BTW, at the top of the screen there is a warning about EDID scan turned off. (Thanks, LG, for the broken implementation. Next time I will by a Samsung TV.)
At vga=792 I have seen strange colors, duplicated ghost icons shifted to the left of the screen, so it was unusable. 1360x768 didn't appear even after scan for more options.

- X -configure as root from tty1 fails with segfault at adress 0x00 / 0x11. xorg.conf is generated, but fails with no screen found. After adding a vesa driver X starts, and shows a blank screen without error message.

Anyhow, I have ordered my new desktop (planned aquisition since 2008), so I leave it like it is at 1024x768, and we will see what happens when I move the HDD to the new PC. I will keep this 32 bit installation with a pae kernel as a fallback option. Next task is to install 64 bit Antix-base from usb to SSD.
Posts: 146
Eperbab
Joined: 10 Dec 2012
#8
New stuff arrived. Now I have free way up to 1920x1080 32 bit. I will post the new problems with the new pc in a separate topic.