Announcement

Collapse
No announcement yet.

8.44 problems in creating debs for debian unstable

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    You m-a command is wrong. When you use my script the module is build too. Your command would try to install the old fglrx source which is from debian then builds it fine but the last step goes wrong as it could not be installed because there is the other module package already installed. Please revert your change with fglrx in /etc/modules, thats wrong. If you want to switch from Ubuntu packages to Debian packages you need to do first

    apt-get remove --purge $(dpkg -l|awk '/fglrx/{print $2}')

    A similar command is in my script.

    Comment


    • #17
      Originally posted by Kano View Post
      You m-a command is wrong. When you use my script the module is build too. Your command would try to install the old fglrx source which is from debian then builds it fine but the last step goes wrong as it could not be installed because there is the other module package already installed. Please revert your change with fglrx in /etc/modules, thats wrong. If you want to switch from Ubuntu packages to Debian packages you need to do first

      apt-get remove --purge $(dpkg -l|awk '/fglrx/{print $2}')

      A similar command is in my script.
      Maybe I've got it this time. Anyway, that bad command was suggested by module-assistant after it worked on the tarball and the rest. I didn't notice this dual existence of the module, sorry, I apologize.

      When an installation doesn't seems to be correct, I always purge the module by sudo m-a purge --force [module], check /etc/modules to be sure it will not be loaded, then remove the packages purging them and finally copy the old xorg.conf. I think that nothing should survive and locate fgrlx after updatedb seems to agree.

      Thanks as always, now I'll try out again.
      I really appreciate your help and once the system will be ok, you can ask whatever you like (as developer maybe you need some sort of collaboration sometimes). I'm not a guru but I swear I'll follow your instructions, you helped me out a lot and somehow I want to return the help.

      Comment


      • #18
        Btw booting Thorhammer with fglrx option would be much faster

        Comment


        • #19
          Originally posted by Kano View Post
          Btw booting Thorhammer with fglrx option would be much faster
          Faster probably...But now I've received the best payment of every configuration...IT WORKS (Really, Thank you a lot! Without your script I would have been lost in the swamp, or in a swap .

          This specific problem was solved thanks to the suggestions of Kano and here I will briefly expose the matter:

          solved installation proprietary drivers ati 8.443-1 also known as 7.12 on debian sid unstable kernel 2.6.23-1 Xorg 7.3

          1) X 7.3 doesn't like xorg.conf that much and the file is very short. However the generic ATI user has now strong opportunities to have his video card auto detected. If the video card is quite old, like my 9550 r300, the MESA drivers enable a little OpenGL Rendering but poor acceleration. This is the free driver radeon. For those who own r500 and later, there's a new open driver from X called radeonhd. Cannot say anything about configuration and stats of radeonhd.

          2) It would be nice to install the proprietary drivers. Once downloaded the 8.443-1 installer from ATI's site, trying to create the *.deb packages with the flag of the installer through command line, returned errors.

          3) Put the installer in /usr/bin and downloaded the script made by Kano. Once executed, it correctly creates the module fglrx. Edit /etc/modules and add the voice fglrx so that the module is loaded after rebooting.

          4) To get all the stuff working correctly, xorg.conf must be edited. It should have changed after the launching of Kano's script. Following are the two stages of xorg.conf:

          Before Kano's script execution:

          Code:
          Section "InputDevice"
                  Identifier      "Generic Keyboard"
                  Driver          "kbd"
                  Option          "XkbRules"      "xorg"
                  Option          "XkbModel"      "pc105"
                  Option          "XkbLayout"     "it"
          EndSection
          
          Section "InputDevice"
          	Identifier	"Configured Mouse"
          	Driver		"mouse"
          EndSection
          
          Section "Device"
          	Identifier	"Configured Video Device"
          	Driver		"radeon" #Added by me, else the script won't work
          EndSection
          
          Section "Monitor"
          	Identifier	"Configured Monitor"
          EndSection
          
          Section "Screen"
          	Identifier	"Default Screen"
          	Monitor		"Configured Monitor"
          EndSection
          Section "DRI"
          	Mode 0666
          EndSection
          After Kano's script:
          Code:
          Section "InputDevice"
          	Identifier	"Generic Keyboard"
          	Driver		"kbd"
          	Option		"XkbRules"	"xorg"
          	Option		"XkbModel"	"pc105"
          	Option		"XkbLayout"	"it"
          EndSection
          
          Section "InputDevice"
          	Identifier	"Configured Mouse"
          	Driver		"mouse"
          EndSection
          
          Section "Device"
          	Identifier	"Configured Video Device"
          	Driver      "fglrx"
          	Option      "UseInternalAGPGART" "no"
          	Option      "VideoOverlay" "on"
          	Option      "OpenGLOverlay" "off"
          	Option      "MonitorLayout" "AUTO, AUTO"
          EndSection
          
          Section "Monitor"
          	Identifier	"Configured Monitor"
          EndSection
          
          Section "Screen"
          	Identifier	"Default Screen"
          	Device		"Configured Video Device" #Added
          	Monitor		"Configured Monitor"
          	DefaultColorDepth	24 #Added
          	SubSection "Display"#Added
          		Depth 24#Added
          		Modes "1280x1024"#Added
          	EndSubSection#Added
          EndSection
          Section "ServerLayout" #Added
          	Identifier	"Default Layout"#Added
          	Screen	0	"Default Screen"	0	0 #Added
          EndSection
          Section "DRI"
          	Mode 0666
          EndSection
          
          Section "Extensions"
          	Option	"Composite"	"1"
          #	Option	"RENDER"	"1"
          EndSection
          Be sure to have entered all the lines or X will probably complaining about Screens with no usable configuration due to the Depth 8 unsupported, giving a PreInitDial failure or something like that. This worked for me. I had to add those lines not because Kano's script is bad, simply it's not used to work on xorg.confs so poor like the one I've found as default in X 7.3.

          Hope this post will be useful to someone and still want to thank Kano.

          Comment


          • #20
            Nobody needs to edit /etc/modules to load fglrx, thats absolutely wrong. The module is outloaded when you start the X server.

            Comment


            • #21
              Originally posted by Kano View Post
              Nobody needs to edit /etc/modules to load fglrx, thats absolutely wrong. The module is outloaded when you start the X server.
              Ah ok sorry, didn't catch it. The question seems to be solved by DefaultColorDepth 24, but in the lines above I've told everything I've done to get fglrx enabled.

              We're going off topic but I want to ask you something:
              your installer successfully creates the *.deb, using Ubuntu/edgy. So I thought that executing the installer with the flag --buildpkg Ubuntu/edgy would have done it the same way. This doesn't happen. Why does your installer work? If this is not the place, we can continue the discussion via mail. If you don't have interesting in explaining the question I won't blame you.

              Comment


              • #22
                My script is more intelligent, it extracts the installer and adds a hotfix for that issue.

                Comment


                • #23
                  Ok thanks for all your efforts. I've downloaded Kanotix RC7 and I promise I'll check it out . If you ever need me (I know that it has the same chance of a man trying to avoid a wall using tunnel effect) , ask. I owe you one

                  Comment

                  Working...
                  X