Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] wrong resolution and refresh pickted up, X hangs
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
multix
Apprentice
Apprentice


Joined: 28 Nov 2004
Posts: 216
Location: Italy

PostPosted: Mon May 11, 2015 11:22 pm    Post subject: [solved] wrong resolution and refresh pickted up, X hangs Reply with quote

Hi,

since I updated my thinkpad with S3 savage videocard to latest X11 and 2.3.6 driver (build problems as in bug here: https://bugs.gentoo.org/show_bug.cgi?id=94175) fixed.
Older versions used to work on this computer (Thinkpad T23)
I get a super-slow, flickering 800x600 display. When I exit X11 or even while using it, the computer freezes too.

First thing, I have disabled any acceleration, no help. then I have added, as I found in other forums, this to my my device section:
Option "UseBIOS" "false"

Yielding this section:
Code:

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"           "true"
        Option     "NoAccel"           "false"
        Option     "AccelMethod"                "EXA"
        #Option     "HWCursor"                  # [<bool>]
        #Option     "SWCursor"                  # [<bool>]
        #Option     "ShadowFB"           "false"
        #Option     "Rotate"                    # [<str>]
        Option     "UseBIOS"            "false"         # [<bool>]
        #Option     "LCDClock"                  # <freq>
        #Option     "ShadowStatus"              "false"
        #Option     "CrtOnly"                   # [<bool>]
        #Option     "TvOn"                      # [<bool>]
        #Option     "PAL"                       # [<bool>]
        #Option     "ForceInit"                 # [<bool>]
        #Option     "Overlay"                   # [<str>]
        #Option     "TransparencyKey"           # [<str>]
        #Option     "ForceInit"                 # [<bool>]
        #Option     "DisableXVMC"               # [<bool>]
        #Option     "DisableTile"               "true"
        Option     "DisableCOB"         "false"
        #Option     "BCIforXv"                  # [<bool>]
        #Option     "DVI"                       # [<bool>]
        #Option     "IgnoreEDID"                # [<bool>]
        #Option     "BusType"                   # [<str>]
        #Option     "DmaType"                   # [<str>]
        Option     "DmaMode"                    "Any"
        #Option     "AGPMode"                   # <i>
        #Option     "AGPSize"                   # <i>
        Option     "DRI"                "true"
        Identifier  "Card0"
        Driver      "savage"
        VendorName  "S3 Inc."
        BoardName   "SuperSavage IX/C SDR"
        BusID       "PCI:1:0:0"
EndSection


but no help

Previous driver versions had sometimes a similar problem, but an extra section Monitor helped. I copied the Modeline from some forum post years ago and it always worked.
Code:

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
        Modeline     "1024x768_75.00" 81.80 1024 1080 1192 1360 768 769 772 802 -HSync +Vsync
        Option       "PreferredMode" "1024x768_75.00"
EndSection


Now I see this in the Xorg log though:
Quote:

[ 2982.272] (--) SAVAGE(0): Detected current MCLK value of 286.364 MHz
[ 2982.272] (--) SAVAGE(0): 1024x768 TFT LCD panel detected and active
[ 2982.272] (--) SAVAGE(0): - Limiting video mode to 1024x768
[ 2982.272] (II) SAVAGE(0): Monitor0: Using hsync range of 31.50-47.30 kHz
[ 2982.273] (II) SAVAGE(0): Monitor0: Using vrefresh range of 56.00-59.87 Hz
[ 2982.273] (II) SAVAGE(0): Monitor0: Using maximum pixel clock of 56.00 MHz
[ 2982.273] (II) SAVAGE(0): Estimated virtual size for aspect ratio 1.3333 is 1024x768
[ 2982.273] (II) SAVAGE(0): Clock range: 10.00 to 220.00 MHz
[ 2982.273] (II) SAVAGE(0): Not using mode "1024x768_75.00" (hsync out of range)


all other default modes get discarded too...

xrandr also shows as top resolution 800x600...
_________________
Unix is user friendly. It is only careful selecting its friends.


Last edited by multix on Thu May 21, 2015 8:42 am; edited 2 times in total
Back to top
View user's profile Send private message
multix
Apprentice
Apprentice


Joined: 28 Nov 2004
Posts: 216
Location: Italy

PostPosted: Mon May 11, 2015 11:38 pm    Post subject: Reply with quote

I add that I extra built a kernel without any console framebuffer support. In the past, these caused problems, although then they started to work again.
_________________
Unix is user friendly. It is only careful selecting its friends.
Back to top
View user's profile Send private message
multix
Apprentice
Apprentice


Joined: 28 Nov 2004
Posts: 216
Location: Italy

PostPosted: Mon May 11, 2015 11:42 pm    Post subject: Reply with quote

Further update: I updated to 2.3.8

Now I get a 1024x768 screen again! that's something, isn't it? However windowmakers fonts are mangled, incredibly small.
Could it be that something with the resolution is wrong?

xrandr shows my screen being 0mm x 0mm and I suppose that can't be good.

Xorg.log however says:

[ 2200.520] (==) SAVAGE(0): DPI set to (96, 96)

Although I suppose the monitor is more 72/75 dpi
_________________
Unix is user friendly. It is only careful selecting its friends.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 6963
Location: Saint Amant, Acadiana

PostPosted: Tue May 12, 2015 12:48 am    Post subject: Reply with quote

I had a T23, I gave up on Savage driver long time ago, just used fbdev, worked reasonably well.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
multix
Apprentice
Apprentice


Joined: 28 Nov 2004
Posts: 216
Location: Italy

PostPosted: Tue May 12, 2015 6:55 pm    Post subject: Reply with quote

with 4.0.1 kernel, framebuffer enabled and 2.3.8 I get again a usable screen, about the same I had before. Some 2D operations are slow(windows dragging!), some are quite fast (scolling)

DRI is disabled, but this has nothing to do with this thread I guess,.

The only problem that remains re the wierd fonts in windowmaker, but since Firefox and Emacs are fine, I think it is not driver specific, but... I don't know :)
_________________
Unix is user friendly. It is only careful selecting its friends.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum