Bug 63279

Summary: xf86-video-savage-2.3.6 driver does not work
Product: xorg Reporter: Musikolo <musikolo>
Component: Driver/savageAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: git   
Hardware: x86 (IA32)   
OS: Linux (All)   
See Also: https://launchpad.net/bugs/1083032
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
My scrambled screen
none
xorg.conf.new
none
xorg.conf_S3
none
xorg.conf_VESA
none
Xorg.0.log_NEW
none
Xorg.0.log_NEW_WITH_PATCH
none
Xorg.0.log_S3
none
Xorg.0.log_S3_WITH_PATCH
none
Xorg.0.log_VESA
none
Xorg.0.log_VESA_WITH_PATCH
none
Xorg.0.log_NO_CONF
none
Xorg.0.log_NO_CONF_WITH_PATCH
none
xorg.conf_S3_1_DEVICE
none
Xorg.0.log_S3_1_DEVICE
none
Xorg.0.log_S3_1_DEVICE_WITH_PATCH
none
lspci output (lspci -vv -d 5333 -nn)
none
lsmod output
none
lsmod output none

Description Musikolo 2013-04-08 18:48:48 UTC
Hi guys,

I'm writing to you because I have found the latest version of savage driver is not working. The problem is caused because the xxa module is not found and, in turn, DRI support cannot be enabled. In the meantime, I have had no other choice than using vesa driver until the issue is sorted out. I'm using ArchLinux and the maintainer of the package of this driver has told me to contact you to find a solution.

Here you can find:
- The content of my Xorg.0.log file: http://pastebin.com/qdp7datT
- The thread open to discuss the problem in ArchLinux https://bugs.archlinux.org/task/34527 
- And the code to build the package:https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/xf86-video-savage

Any help to solve this issue would be really appreciated.

Best regards,
Carlos.
Comment 1 Tormod Volden 2013-04-08 21:56:21 UTC
Thanks for your report. This broke in xserver 1.13 and was partly fixed in 1.14. Try Option "AccelMethod" "EXA". A workaround is to turn off acceleration with Option "DisableTile".

See also https://bugs.launchpad.net/bugs/1083032
Comment 2 Musikolo 2013-04-09 18:32:01 UTC
Hi Tormod,

Thanks for your prompt response and assistance.

I have tried the suggested options, but I'm still having the same issue, no change at all.

- http://pastebin.com/yAgshj2V

Is there any other work around? When is it expected to have a fix for it?

Regards.
Comment 3 Tormod Volden 2013-04-09 20:51:08 UTC
Simply using EXA (and a 1.14 fix backported to 1.13) worked for me. Maybe more is broken in 1.14. What exactly happens in your case? Please be more specific than "does not work".

There is no schedule for such bug fixes, most developers do not care about hardware which is more than a few years old. I will look closer into it sometime in the next weeks, although no guarantees given. There seems to be more continued use of the savage driver than I thought :)
Comment 4 Musikolo 2013-04-09 21:11:02 UTC
Created attachment 77694 [details]
My scrambled screen
Comment 5 Musikolo 2013-04-09 21:12:40 UTC
Hi Tormod,

Thanks once again for your prompt response.

When say "it doesn't work", I mean the screen is scrambled and nothing is distinguishable. As the telling goes, a picture is worth more than a thousand words, so please, have a look at the attached picture of the my screen.

Kindly, let me know if there is any patch that can be used to fix this issue.

Best regards,
Carlos.
Comment 6 Tormod Volden 2013-05-10 07:10:40 UTC
I have committed a couple of fixes to the savage driver repository. One problem was that the driver, even when built for an xserver without XAA support, would internally default to XAA instead of EXA nonetheless. Secondly there was an EXA function that needed an update for recent xservers.

This works well for me. The only issue I see now is that console switching does not work, the text consoles are unusable. But I am not sure this is savage-specific since for instance the vesa driver locks up the machine completely if I try to switch consoles.
Comment 7 Musikolo 2013-05-10 16:50:45 UTC
Hi Tormod,

Awesome mate!

What version will this fix be included in?

Regarding the console issue, I think this problem is being there for a long time. It would be nice to find a fix it too, but it's not a critical issue at all.

Thanks a lot for your effort, I appreciate it a lot.

Best regards,
Carlos.
Comment 8 Musikolo 2013-06-08 11:28:46 UTC
Hi Tormod,

I have tried a new build of the savage package supposedly including your changes (https://bugs.archlinux.org/task/34527), but it doesn't solve my problem. I'm still getting my screen scrambled, just multi-color lines everywhere. I have tried a configuration forcing to use EXA module as well as a brand new xorg.conf file generated through X -configure command.

Please, let me know if there anything I can you to help you find the problem.

Best regards,
Carlos.
Comment 9 Tormod Volden 2013-06-10 21:39:45 UTC
Musikolo, please attach (no pastebin) your new Xorg.0.log.
Comment 10 Musikolo 2013-06-13 21:41:03 UTC
Created attachment 80797 [details]
xorg.conf.new

File generated using X -configure command
Comment 11 Musikolo 2013-06-13 21:41:59 UTC
Created attachment 80798 [details]
xorg.conf_S3

Version I used to have working before the driver broke
Comment 12 Musikolo 2013-06-13 21:42:48 UTC
Created attachment 80799 [details]
xorg.conf_VESA

Only configuration currently working based on vesa driver.
Comment 13 Musikolo 2013-06-14 16:38:22 UTC
Created attachment 80818 [details]
Xorg.0.log_NEW

Log for xorg.conf.new configuration without patch
Comment 14 Musikolo 2013-06-14 16:39:00 UTC
Created attachment 80819 [details]
Xorg.0.log_NEW_WITH_PATCH

Log for xorg.conf.new configuration with patch
Comment 15 Musikolo 2013-06-14 16:39:46 UTC
Created attachment 80820 [details]
Xorg.0.log_S3

Log for xorg.conf_S3 configuration without patch
Comment 16 Musikolo 2013-06-14 16:40:22 UTC
Created attachment 80821 [details]
Xorg.0.log_S3_WITH_PATCH

Log for xorg.conf_S3 configuration with patch
Comment 17 Musikolo 2013-06-14 16:41:23 UTC
Created attachment 80822 [details]
Xorg.0.log_VESA

Log for xorg.conf_VESA configuration without patch
Comment 18 Musikolo 2013-06-14 16:41:59 UTC
Created attachment 80823 [details]
Xorg.0.log_VESA_WITH_PATCH

Log for xorg.conf_VESA configuration with patch
Comment 19 Tormod Volden 2013-06-15 08:19:52 UTC
Have you tried without any xorg.conf? You have two device sections in your configuration, I don't understand why. The last working configuration from comment 11 simply switches to EXA, which is the default now.
Comment 20 Musikolo 2013-06-15 17:17:27 UTC
Created attachment 80873 [details]
Xorg.0.log_NO_CONF

Log having no xorg.conf configuration without patch
Comment 21 Musikolo 2013-06-15 17:18:16 UTC
Created attachment 80874 [details]
Xorg.0.log_NO_CONF_WITH_PATCH

Log having no xorg.conf configuration with patch
Comment 22 Musikolo 2013-06-15 17:44:11 UTC
Created attachment 80876 [details]
xorg.conf_S3_1_DEVICE

Same configuration as xorg.conf_S3 but having just 1 device
Comment 23 Musikolo 2013-06-15 17:46:07 UTC
Created attachment 80877 [details]
Xorg.0.log_S3_1_DEVICE

Log for xorg.conf.S3_1_DEVICE configuration without patch
Comment 24 Musikolo 2013-06-15 17:47:45 UTC
Created attachment 80878 [details]
Xorg.0.log_S3_1_DEVICE_WITH_PATCH

Log for xorg.conf.S3_1_DEVICE configuration with patch
Comment 25 Musikolo 2013-06-16 01:22:35 UTC
Created attachment 80884 [details]
lspci output (lspci -vv -d 5333 -nn)
Comment 26 Musikolo 2013-06-16 01:23:48 UTC
Created attachment 80885 [details]
lsmod output
Comment 27 Musikolo 2013-06-16 01:25:43 UTC
Created attachment 80886 [details]
lsmod output
Comment 28 Tormod Volden 2013-09-26 21:40:51 UTC
Can you please try savage driver version 2.3.7? It looks like it is already in Arch Linux.
Comment 29 Musikolo 2013-09-28 00:28:53 UTC
Hi Tormod,

Sure, I will do it, but I'm not able to right now. Unfortunately, I'm traveling for business and we'll not go back home until beginning of November where my personal laptop is. I know it's quite a lot of time, but take for granted that I'll let you know as soon as I test it out.

Thanks a lot for your amazing effort and work.

Best regards,
Carlos.
Comment 30 Musikolo 2013-11-01 15:18:02 UTC
Hi Tormod,

I'm happy to tell you that the problem is now fixed. I'm writing from the affected computer. The latest version (xf86-video-savage-2.3.7-1 + savage-dri-7.11.2-5) has fully sort it out now. So, I owe you a million thanks:

1000000 x Thanks!

Let me tell you that I appreciate the effort and time you've spent in the resolution of this issue.

Best regards,
Carlos

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.