You are not logged in.

#1 2016-01-10 00:45:58

nitrofurano
Member
Registered: 2016-01-09
Posts: 43
Website

vesa and x-server issues

after doing a fresh-install on an old hardware (a pentium-4), i had some issues related to x-server or vesa

lspci returns "01:00.0 VGA compatible controller: S3 Graphics Ltd. VT8375 [ProSavage8 KM266/KL266]", and it seems to get crashed after logging in to whatever window manager

(for example, as that affected my fresh-install experience, this situation blocked me from running that post-freshinstall script that both Crunchbang and BunsenLabs provides)

i got it a bit "fixed" when i created this /etc/X11/xorg.conf (typed on nano from another tty):

Section "Device"
    Identifier    "Configured Video Device"
    Driver        "vesa"
EndSection

Section "Screen"
    Identifier    "Default Screen"
    Monitor        "Configured Monitor"
    Device        "Configured Video Device"
    DefaultDepth    24
    Subsection "Display"
        Depth       24
        Modes       "1024x768" "800x600" "640x480"
       EndSubsection
EndSection

and then i tried this one, but it showed a lot of glitches when i tried (and no modelines added below seems to get accepted):

Section "Device"
    Identifier    "Configured Video Device"
    #Driver        "vesa"
EndSection
Section "Monitor"
    Identifier    "Configured Monitor"
    #HorizSync 42.0 - 52.0 
    #VertRefresh 55.0 - 65.0 

  Horizsync    30.0-72.0
  Vertrefresh  50.0-120.0

    #Modeline "1024x768" 60.80  1024 1056 1128 1272   768  768  770  796
    #Modeline "800x600" 38.21 800 832 976 1008 600 612 618 631
    #Modeline "640x480" 24.11 640 672 760 792 480 490 495 50

  modeline  "1400x1050@60" 122.61 1400 1488 1640 1880 1050 1051 1054 1087 -hsync +vsync
  modeline  "1280x960@60" 102.1 1280 1360 1496 1712 960 961 964 994 -hsync +vsync
  modeline  "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -vsync -hsync
  modeline  "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
  modeline  "640x480@60" 25.2 640 656 752 800 480 490 492 525 -vsync -hsync

  modeline  "1152x864@75" 108.0 1152 1216 1344 1600 864 865 868 900 +hsync +vsync
  modeline  "1024x768@75" 78.8 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
  modeline  "832x624@75" 57.284 832 864 928 1152 624 625 628 667 -vsync -hsync
  modeline  "800x600@75" 49.5 800 816 896 1056 600 601 604 625 +hsync +vsync
  modeline  "640x480@75" 31.5 640 656 720 840 480 481 484 500 -vsync -hsync

  modeline  "1024x768@85" 94.5 1024 1072 1168 1376 768 769 772 808 +hsync +vsync
  modeline  "800x600@85" 56.3 800 832 896 1048 600 601 604 631 +hsync +vsync
  modeline  "640x480@85" 36.0 640 696 752 832 480 481 484 509 -vsync -hsync

  modeline  "800x600@72" 50.0 800 856 976 1040 600 637 643 666 +hsync +vsync
  modeline  "640x480@72" 31.5 640 664 704 832 480 489 491 520 -vsync -hsync

  modeline  "1024x768@70" 75.0 1024 1048 1184 1328 768 771 777 806 -vsync -hsync
  modeline  "1024x768@43" 44.9 1024 1032 1208 1264 768 768 776 817 +hsync interlace +vsync
  modeline  "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync

EndSection
Section "Screen"
    Identifier    "Default Screen"
    Monitor        "Configured Monitor"
    Device        "Configured Video Device"
    DefaultDepth    24
    Subsection "Display"
        Depth       24
     #   Modes       "1024x768" "800x600" "640x480"

    Modes "1400x1050@60" "1280x960@60" "1024x768@60" "800x600@60" "640x480@60" "1024x768@70" "800x600@72" "640x480@72" "1152x864@75" "1024x768@75" "832x624@75" "800x600@75" "640x480@75" "1024x768@85" "640x480@85" "800x600@85" "800x600@56" "1024x768@43"

       EndSubsection
EndSection

(this 17inch nokia cinescope supports 1400x1050 perfectly from Crunchbang and Lubuntu, i wonder why it doesn’t from BunsenLabs)

Offline

#2 2016-01-10 00:55:50

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: vesa and x-server issues

Do you have the drivers installed?

apt-cache policy xserver-xorg-video-savage

To use the drivers, delete any and all xorg configuration files you have created.

Please also post the output of:

lspci -knn|grep -iA2 vga

“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#3 2016-01-10 01:32:55

hhh
Meep!
Registered: 2015-09-17
Posts: 12,188
Website

Re: vesa and x-server issues

Off topic, loving the new kitty avatar, HoaS.

Online

#4 2016-01-10 11:22:12

nitrofurano
Member
Registered: 2016-01-09
Posts: 43
Website

Re: vesa and x-server issues

Head_on_a_Stick wrote:

Do you have the drivers installed?

apt-cache policy xserver-xorg-video-savage

To use the drivers, delete any and all xorg configuration files you have created.

Please also post the output of:

lspci -knn|grep -iA2 vga

thanks, please let me know if this information is enough and useful:

guest@bunsenlabs-p4:~$ apt-cache policy xserver-xorg-video-savage 
xserver-xorg-video-savage:
  Installed: 1:2.3.7-2+b2
  Candidate: 1:2.3.7-2+b2
  Version table:
 *** 1:2.3.7-2+b2 0
        500 http://ftp.pt.debian.org/debian/ jessie/main i386 Packages
        100 /var/lib/dpkg/status
guest@bunsenlabs-p4:~$ 
guest@bunsenlabs-p4:~$ lspci -knn|grep -iA2 vga
01:00.0 VGA compatible controller [0300]: S3 Graphics Ltd. VT8375 [ProSavage8 KM266/KL266] [5333:8d04]
        Subsystem: S3 Graphics Ltd. VT8375 [ProSavage8 KM266/KL266] [5333:8d04]
guest@bunsenlabs-p4:~$ 

i only got it working minimally when i created these xorg.conf , and the first one i needed to create on nano from tty1 - i'm affaid that removing or renaming xorg.conf would result in that very painful experience back again (not being able to use anything running on x-server at all)

Last edited by nitrofurano (2016-01-10 11:25:00)

Offline

#5 2016-01-10 11:24:36

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: vesa and x-server issues

(Re)move any and all xorg configuration files and try again.

Your driver is not loading, probably because you are forcing the VESA driver for some reason.

EDIT: Saw your edit.

There doesn't seem to be much we can do here.

Do any other distributions work?

EDIT2: Perhaps try the xorg file from here:
https://wiki.archlinux.org/index.php/Sa … figuration

Last edited by Head_on_a_Stick (2016-01-10 11:27:06)


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#6 2016-01-10 13:34:17

nitrofurano
Member
Registered: 2016-01-09
Posts: 43
Website

Re: vesa and x-server issues

even from other operating systems - i got over 1024x768 from Haiku alpha-4 (i can’t remember if it was 1400x1050 or 1280x960), and there is no "haiku debugging land" crash report at all (see that Haiku supports far less hardware, and far poorly, than GNU/Linux distros like Debian supports)

Offline

#7 2016-01-10 13:39:23

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: vesa and x-server issues

OK, let's start again.

What *exactly* is the specific problem that you are having?

Is it just that you cannot set the correct screen resolution?

If so, try this guide:
https://wiki.archlinux.org/index.php/Xr … esolutions


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#8 2016-01-10 16:17:48

nitrofurano
Member
Registered: 2016-01-09
Posts: 43
Website

Re: vesa and x-server issues

all windows becomes plenty of glitches (random "noise", magenta or black), window drag is very slow, text doesn’t appears on the terminal window, gnote window is totally black, etc.

i wonder if xserver-xorg-video-savage isn’t plenty of bugs, or whatever...
some screenshots for comparing:

without xorg.conf (as you requested):
http://postimg.org/image/q03tsyqtl

with that simplest xorg.conf file i shared above at first:
http://postimg.org/image/vy77ce8xz

so i guess you can clearly see the situation i'm having here (and i'm also limited to that 1024x768 resolution (in both cases), when i used to have 1400x1050 easily available on Ubuntu or Crunchbang)

and thanks in advance! wink

Offline

#9 2016-01-10 16:28:58

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: vesa and x-server issues

From the first screenshot, it looks like perhaps the savage video driver isn't playing well with the compositor.

Do the artefacts disappear if you run:

pkill compton

Have you tried the ArchWiki guide I linked to in my post above to add undetected resolutions?


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#10 2016-01-10 17:10:12

xaos52
The Good Doctor
From: Planet of the @pes
Registered: 2015-09-30
Posts: 695

Re: vesa and x-server issues

@Hoas,
This (rebuilding the savage driver from source) might be of interest here.
Though from the bug report it is not immediately clear if it solves the problem.

Offline

#11 2016-01-11 08:20:39

ohnonot
...again
Registered: 2015-09-29
Posts: 5,554

Re: vesa and x-server issues

ancient video chip, moreover from VIA, famous for lack of linux comaptibility...
and what is that monitor? nokia?

sorry to say, but it seems support for this kind of setup is rather going to get worse than better.
definitely disable compositing, permanently.

apart from that, this looks kinda useful:
https://askubuntu.com/questions/317199/ … untu-12-04


Give to COVAX! Here or here. (explanation)

Offline

#12 2016-01-11 11:24:29

nitrofurano
Member
Registered: 2016-01-09
Posts: 43
Website

Re: vesa and x-server issues

ohnonot wrote:

...
sorry to say, but it seems support for this kind of setup is rather going to get worse than better.
definitely disable compositing, permanently.
...

anyway, lack of gnu/linux support, and in quite old hardware like this, is really weird... :S
and how can we disable compositing permanently? (i guess it is wiser keeping it disabled everywhere as well, not only this hardware? and perhaps having compositing disabled by default from all BunsenLabs fresh-install?)

and about s3, since 17 years ago, i only had problems from that time, on RedHat-5 (because total lack of support, the display only appeared as vga 640x480 16 colours) - from about 16, 15 years to now, i never had any issues with s3 trio or savage (i used Mandrake as well, and then i used Ubuntu since version 4.10) - this situation never happened on Cruchbang or Mint as well

Last edited by nitrofurano (2016-01-11 11:28:52)

Offline

#13 2016-01-11 11:33:11

damo
....moderator....
Registered: 2015-08-20
Posts: 6,701

Re: vesa and x-server issues

nitrofurano wrote:

...
anyway, lack of gnu/linux support, and in quite old hardware like this, is really weird... :S

Not weird at all!

and how can we disable compositing permanently? (i guess it is wiser keeping it disabled everywhere as well, not only this hardware? and perhaps having compositing disabled by default from all BunsenLabs fresh-install?)

Comment out the  `bl-compositor --start &` line in your autostart, and uninstall `compton`.

Why should it be disabled by default, to accommodate the occasional hardware problem, when it enhances the vast majority of setups? It is easier to tell 1% of users to edit their autostart instead of 99% of them IMO.


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#14 2016-01-11 11:33:29

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: vesa and x-server issues

nitrofurano wrote:

and how can we disable compositing permanently?

Edit the file at ~/.config/openbox/autostart and put a "#" symbol at the start of line 47 so that it looks like this:

# bl-compositor --start &

EDIT: Ninja'd again...


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#15 2016-01-11 11:37:12

nitrofurano
Member
Registered: 2016-01-09
Posts: 43
Website

Re: vesa and x-server issues

Head_on_a_Stick wrote:

From the first screenshot, it looks like perhaps the savage video driver isn't playing well with the compositor.

Do the artefacts disappear if you run:

pkill compton

nothing changed, those random coloured noise and blankness persists (those as shown on the screenshot)

Head_on_a_Stick wrote:

Have you tried the ArchWiki guide I linked to in my post above to add undetected

not yet (i actually saw no significant differences from the second xorg.conf i shared above in this thread, but i'll keep trying anyway)

Last edited by nitrofurano (2016-01-11 11:38:55)

Offline

#16 2016-01-11 11:41:29

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: vesa and x-server issues

Well, the only thing left to try is @xaos52's suggestion to rebuild the savage driver:
https://forums.bunsenlabs.org/viewtopic … 881#p14881


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#17 2016-01-11 11:45:49

damo
....moderator....
Registered: 2015-08-20
Posts: 6,701

Re: vesa and x-server issues

Have you tried booting with different kernel video mode options (`vga=xxx` etc)?


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#18 2016-01-11 11:57:50

xaos52
The Good Doctor
From: Planet of the @pes
Registered: 2015-09-30
Posts: 695

Re: vesa and x-server issues

Well, software evolves over time. So does the xserver software.
And the drivers have to follow.
The bug report I mentioned shows that someone from upstream has provided patches for the savage driver to make it work with the latest xserver software.
The bug report also shows that no-one from Debian has stepped up to include those patches in the officially supported Debian packages, for whatever reason.
You could either file a new bug report or ask for a solution in the existing bug report.

Or

You could try it out first by downloading the package from upstream and recompiling it from source. 
Then try it out, first without any xorg config file, then iif that does not work, by changing the minimal config file you have to use the savage driver in stead of the vesa one.

If you need help with any of these steps, we will happily provide it.

Offline

#19 2016-01-11 12:03:46

nitrofurano
Member
Registered: 2016-01-09
Posts: 43
Website

Re: vesa and x-server issues

the behaviour with compton uninstalled is very similar, the same persisting visual garbage

Offline

#20 2016-01-11 12:06:59

nitrofurano
Member
Registered: 2016-01-09
Posts: 43
Website

Re: vesa and x-server issues

the only difference between having xorg.conf file or not, is that without xorg.conf i can go to tty1 by pressing ctrl+alt+f1 - and with any xorg.conf existing (any of those 2 i posted above, for example), the computer gets frozen (crashed) after prsssing ctrl+alt+f1, and the monitor switches off, and i have to press the reset button on the computer case.... (sysrq+alt+b also doesn’t work)

Last edited by nitrofurano (2016-01-11 12:07:32)

Offline

#21 2016-01-11 18:13:41

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: vesa and x-server issues

nitrofurano wrote:

sysrq+alt+b also doesn’t work

Edit the file at /etc/sysctl.conf and add this line:

kernel.sysreq = 1

You can also set this as a kernel parameter via GRUB to prevent you having to power cycle after changing the file.


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#22 2016-01-13 07:44:15

ohnonot
...again
Registered: 2015-09-29
Posts: 5,554

Re: vesa and x-server issues

nitrofurano, please keep in mind that the problem you experience is a debian problem, not a bunsenlabs problem, since bunsenlabs' basis is debian stable.
so you might want to consider searching on debian forums, too.

there's also a remote possibility that your gpu cannot support your monitor, or has difficulties with it.


Give to COVAX! Here or here. (explanation)

Offline

#23 2016-01-20 18:08:01

nitrofurano
Member
Registered: 2016-01-09
Posts: 43
Website

Re: vesa and x-server issues

thanks, Head_on_a_Stick! (i guess that didn’t work, i’ll try later)
btw, ohnonot, which debian forums do you recommend?

anyway, that savage gpu was onboard, and due on these issues, i tried to connect a “NVIDIA Corporation NV36 [GeForge FX 5700] (rev a1)” (i found it around from an older desktop computer), and most of these problems (including reboot and shutdown, i wonder why) disappeared

the problem is that, as it is connected to a cinescope display (that Nokia 447zi 17inch), it is still not displaying 1400x1050 as used to do on Crunchbang, whatever without xorg.conf, or with the xorg.conf below (i tried that above as well, and nothing)

Section "Device"
  Identifier "Configured Video Device"
  #Driver "vesa"
  Driver "nvidia"
EndSection

Section "Monitor"
  Identifier    "Configured Monitor"
  Horizsync    30.0-72.0
  Vertrefresh  50.0-120.0
  modeline  "1400x1050@60" 122.61 1400 1488 1640 1880 1050 1051 1054 1087 -hsync +vsync
  modeline  "1280x960@60" 102.1 1280 1360 1496 1712 960 961 964 994 -hsync +vsync
  modeline  "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -vsync -hsync
  modeline  "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
  modeline  "640x480@60" 25.2 640 656 752 800 480 490 492 525 -vsync -hsync
EndSection

Section "Screen"
  Identifier "Default Screen"
  Monitor "Configured Monitor"
  Device "Configured Video Device"
  DefaultDepth 24
  Subsection "Display"
    Depth 24
    #Modes "1400x1050" "1280x960" "1024x768" "800x600" "640x480"
    Modes "1400x1050@60" "1280x960@60" "1024x768@60" "800x600@60" "640x480@60"
  EndSubsection
EndSection

(this nvidia gpu has a svga (where is it connected), dvi and s-video connectors, but i guess this shouldn’t be the issue causing that)

any idea if there is something wrong in this xorg.conf? (or should we mention that famous Torvald’s quote “nvidia fxxx you”? big_smile )

(thanks a lot in advance!)

Offline

#24 2016-01-20 20:19:46

nitrofurano
Member
Registered: 2016-01-09
Posts: 43
Website

Re: vesa and x-server issues

i tried now to follow this information - http://www.arunviswanathan.com/node/53 - and i can get 1400x1050 60hz working fine - weird is that i used to be able to do that by editing xorg.conf only - and using xrandr seems far more toilsome

Offline

#25 2016-01-20 20:50:42

nitrofurano
Member
Registered: 2016-01-09
Posts: 43
Website

Re: vesa and x-server issues

having this at /etc/profile.d/xrandr.sh seems to work:

#xrandr | grep maximum
#gtf 1400 1050 60

xrandr --newmode "1400x1050_60.00"  122.61  1400 1488 1640 1880  1050 1051 1054 1087  -HSync +Vsync
xrandr --addmode VGA-1 1400x1050_60.00

xrandr --newmode "1280x960_60.00"  102.10  1280 1360 1496 1712  960 961 964 994  -HSync +Vsync
xrandr --addmode VGA-1 1280x960_60.00

xrandr --newmode "1152x864_60.00"  81.62  1152 1216 1336 1520  864 865 868 895  -HSync +Vsync
xrandr --addmode VGA-1 1152x864_60.00

xrandr --output VGA-1 --mode 1400x1050_60.00

Last edited by nitrofurano (2016-01-20 20:55:48)

Offline

Board footer

Powered by FluxBB