Author Topic: ATI and Intel correct autodetect round two. Need testers. Very easy.  (Read 11396 times)

l3mce

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1084
    • View Profile
Re: ATI and Intel correct autodetect round two. Need testers. Very easy.
« Reply #15 on: November 25, 2011, 08:46:25 pm »
Well crap.

I would first:
Code: [Select]
cp /etc/X11/xorg.conf.vesa /etc/X11/xorg.conf
as root and reboot.

If that doesn't work, crush it and start over.

Sorry... and thank you.
I never quit... I just ping out.

Roman

  • Regular Poster
  • **
  • Posts: 43
    • View Profile
Re: ATI and Intel correct autodetect round two. Need testers. Very easy.
« Reply #16 on: November 25, 2011, 10:26:01 pm »
No, also the old vesa config did not work anymore.
I just demoved the MD and setup it completely new.

Lets see what I can post then ...

There is no need to say sorry! You are helping me and us having problems. So I say thank you very very much!!!!

best regards Roman

l3mce

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1084
    • View Profile
Re: ATI and Intel correct autodetect round two. Need testers. Very easy.
« Reply #17 on: November 25, 2011, 11:23:42 pm »
I have one more thing to try before you create the new MD.

Using the script from the original post... replace whatever you have there at this point. Then run this:
Code: [Select]
sed -i ‘s/fglrx/radeon/’ /usr/pluto/bin/Utils.sh; sed -i ‘s/xorg-driver-fglrx/xserver-xorg-video-ati/’ /usr/pluto/bin/Utils.sh

And then start the MD build process.

If this does not work, worst case you just delete it and boot it again using the original script I posted, and following that link I gave you to purge the fglrx driver.


« Last Edit: November 25, 2011, 11:29:18 pm by l3mce »
I never quit... I just ping out.

Roman

  • Regular Poster
  • **
  • Posts: 43
    • View Profile
Re: ATI and Intel correct autodetect round two. Need testers. Very easy.
« Reply #18 on: November 27, 2011, 03:22:19 pm »
I deleted the MD copletely and let it build from scratch. Of course with the guideline from the link to prevent the problem with fglrx.
I will try your last posting later this week and keep you informed what happened.
best regards
Roman

Roman

  • Regular Poster
  • **
  • Posts: 43
    • View Profile
Re: ATI and Intel correct autodetect round two. Need testers. Very easy.
« Reply #19 on: December 05, 2011, 08:53:08 am »
Hi,
at least I changed the core to 10.04 because of HW support. Until now I can not say if the VESA stuff got better because I did not get any MD to self register at the new core. As soon as I have the DELL laptop with the VESA issue online again I will post the rensult here.
best regards
Roman

jamo

  • Guru
  • ****
  • Posts: 463
    • View Profile
    • LMCE user Page
Re: ATI and Intel correct autodetect round two. Need testers. Very easy.
« Reply #20 on: February 03, 2012, 08:02:21 am »
Hey l3mce, just wanted to say a big thanks to you for this thread because the link below and Roman's response to it prompted me to try this method with my IBM T30 notebook and finally I have it up and running as a media director. I'm super chuffed about that, thanks a stack. It was also getting to the "failed to setup X" stage and the steps outlined below sorted it out. Thanks again.


*On further review I see that you MAY actually have to purge that fglrx driver. Directions here IF you have problems.
https://wiki.ubuntu.com/X/Troubleshooting/FglrxInteferesWithRadeonDriver#Problem:%20%20Need%20to%20fully%20remove%20-fglrx%20and%20reinstall%20-ati%20from%20scratch


huh

  • Guru
  • ****
  • Posts: 245
    • View Profile
Re: ATI and Intel correct autodetect round two. Need testers. Very easy.
« Reply #21 on: February 07, 2012, 05:18:15 am »
Looks like I'm doing something wrong- get a "Failed to Setup X" on my netbook:

lspci | grep ' VGA '
Code: [Select]
00:02.0 VGA compatible controller: Intel Corporation N10 Family Integrated Graphics Controller

I don't have a /etc/X11/xorg.conf, but I do have a /etc/X11/xorg.conf.pluto.avwizard:
Code: [Select]
Section "ServerLayout"
        Identifier      "XFree86 Configured"
        Screen    0     "Screen0"       0 0
        InputDevice     "Mouse0"        "CorePointer"
        InputDevice     "Keyboard0"     "CoreKeyboard"
EndSection

Section "Files"
#       RgbPath         "/usr/X11R6/lib/X11/rgb"
        ModulePath      "/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"
        FontPath        "/usr/share/fonts/X11"
EndSection

Section "Module"
        Load    "dbe"
        Load    "extmod"
        Load    "record"
        Load    "speedo"
        Load    "type1"
        Load    "glx"
        Load    "int10"
        Load    "v4l"
        Load    "dri"
EndSection

Section "InputDevice"
        Identifier      "Keyboard0"
        Driver          "keyboard"
        Option          "XkbLayout"             "us"
        Option          "XkbVariant"    "basic"
        Option          "XkbModel"              "pc105"
EndSection

Section "InputDevice"
        Identifier      "Mouse0"
        Driver          "mouse"
        Option          "Protocol"              "auto"
        Option          "Device"                "/dev/input/mice"
        Option          "ZAxisMapping"  "4 5"
EndSection

Section "Monitor"
        Identifier      "Monitor0"
        VendorName      "Unknown Monitor Vendor"
        ModelName       "Unknown Monitor Model"
        HorizSync       20-500
        VertRefresh     59-61
EndSection

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"                               # [<bool>]
        #Option         "SWcursor"                              # [<bool>]
        #Option         "ColorKey"                              # <i>
        #Option         "CacheLines"                    # <i>
        #Option         "Dac6Bit"                               # [<bool>]
        #Option         "DRI"                                   # [<bool>]
        #Option         "NoDDC"                                 # [<bool>]
        #Option         "ShowCache"                             # [<bool>]
        #Option         "XvMCSurfaces"                  # <i>
        Identifier      "Card0"
        Driver          "vesa"
        VendorName      "Unknown Vendor Name"
        BoardName       "Unknown Board Name"
        Option          "LinearAlloc"           "16384"
        #BusID          "PCI:0:2:0"
#       Option          "NoDDC"                         "true"
        Option "XvmcUsesTextures" "true"
        Option "renderAccel" "true"
        Option "NoDDCValue"
        Option "UseEDID" "true"
        Option "ExactModeTimingsDVI" "true"
        Option "NoLogo" "true"
        Option "NoBandWidthTest" "true"
        Option "ModeValidation" "NoDFPNativeResolutionCheck, NoEdidMaxPClkCheck, NoMaxPClkCheck, AllowInterlacedModes, AllowNon60HzDFPModes, NoEdidModes"
        Option "DynamicTwinView" "false"
        Option "UseEvents" "true"
        Option          "ConnectedMonitor" "CRT"
EndSection

Section "Screen"
        Identifier      "Screen0"
        Device          "Card0"
        Monitor         "Monitor0"
        DefaultDepth    24
        SubSection "Display"
                Modes           "640x480"
                Virtual         640 480
        EndSubSection
        Option "XvmcUsesTextures" "true"
        Option "renderAccel" "true"
        Option "NoDDCValue"
        Option "UseEDID" "true"
        Option "ExactModeTimingsDVI" "true"
        Option "NoLogo" "true"
        Option "NoBandWidthTest" "true"
        Option "ModeValidation" "NoDFPNativeResolutionCheck, NoEdidMaxPClkCheck, NoMaxPClkCheck, AllowInterlacedModes, AllowNon60HzDFPModes, NoEdidModes"
        Option "DynamicTwinView" "false"
        Option "UseEvents" "true"
EndSection

Section "ServerFlags"
        Option  "AllowMouseOpenFail"    "true"
        Option  "BlankTime"             "0"
        Option  "StandbyTime"   "0"
        Option  "SuspendTime"   "0"
        Option  "OffTime"               "0"
        Option  "AIGLX"                 "Off"
EndSection

Section "Extensions"
        Option "Composite" "false"
        Option "RENDER" "true"
EndSection

I just did an apt-get update && apt-get upgrade and then created the MD.  I then tried copying the code from the 1st post into a new Utils.sh file and rebuilt the MD.  Any thoughts?  Running 10.04 with latest updates.


EDIT:
I ran this as mentioned by Roman previously:
Code: [Select]
I did
 dpkg -l '*fglrx*'

then
  sudo apt-get remove --purge xorg-driver-fglrx fglrx*
  sudo apt-get install --reinstall libgl1-mesa-glx libgl1-mesa-dri fglrx-modaliases
  sudo dpkg-reconfigure xserver-xorg

then
   sudo apt-get install --reinstall xserver-xorg-core

and then I rebooted the Moon.

Doing so brought up the AVWizard after bootup.

I now have a xorg.conf and this is what's in it:
Code: [Select]
Section "ServerLayout"
        Identifier      "XFree86 Configured"
        Screen    0     "Screen0"       0 0
        InputDevice     "Mouse0"        "CorePointer"
        InputDevice     "Keyboard0"     "CoreKeyboard"
EndSection

Section "Files"
#       RgbPath         "/usr/X11R6/lib/X11/rgb"
        ModulePath      "/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"
        FontPath        "/usr/share/fonts/X11"
EndSection

Section "Module"
        Load    "dbe"
        Load    "extmod"
        Load    "record"
        Load    "speedo"
        Load    "type1"
        Load    "glx"
        Load    "int10"
        Load    "v4l"
        Load    "dri"
EndSection

Section "InputDevice"
        Identifier      "Keyboard0"
        Driver          "keyboard"
        Option          "XkbLayout"             "us"
        Option          "XkbVariant"    "basic"
        Option          "XkbModel"              "pc105"
EndSection

Section "InputDevice"
        Identifier      "Mouse0"
        Driver          "mouse"
        Option          "Protocol"              "auto"
        Option          "Device"                "/dev/input/mice"
        Option          "ZAxisMapping"  "4 5"
EndSection

Section "Monitor"
        Identifier      "Monitor0"
        VendorName      "Unknown Monitor Vendor"
        ModelName       "Unknown Monitor Model"
        Modeline        "720x480" 27.000 720 736 798 858 480 489 495 525 -hsync -vsync
        HorizSync       20-500
        VertRefresh     59-61
EndSection

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"                               # [<bool>]
        #Option         "SWcursor"                              # [<bool>]
        #Option         "ColorKey"                              # <i>
        #Option         "CacheLines"                    # <i>
        #Option         "Dac6Bit"                               # [<bool>]
        #Option         "DRI"                                   # [<bool>]
        #Option         "NoDDC"                                 # [<bool>]
       #Option         "ShowCache"                             # [<bool>]
        #Option         "XvMCSurfaces"                  # <i>
        Identifier      "Card0"
        Driver          "intel"
        VendorName      "Unknown Vendor Name"
        BoardName       "Unknown Board Name"
        Option          "LinearAlloc"           "16384"
        #BusID          "PCI:0:2:0"
#       Option          "NoDDC"                         "true"
        Option "XvmcUsesTextures" "true"
        Option "renderAccel" "true"
        Option "NoDDCValue"
        Option "UseEDID" "true"
        Option "ExactModeTimingsDVI" "true"
        Option "NoLogo" "true"
        Option "NoBandWidthTest" "true"
        Option "ModeValidation" "NoDFPNativeResolutionCheck, NoEdidMaxPClkCheck, NoMaxPClkCheck, AllowInterlacedModes, AllowNon60HzDFPModes, NoEdidModes"
        Option "DynamicTwinView" "false"
        Option "UseEvents" "true"
        Option "AllowGLXWithComposite" "true"
        Option "AddARGBGLXVisuals" "true"
EndSection

Section "Screen"
        Identifier      "Screen0"
        Device          "Card0"
        Monitor         "Monitor0"
        DefaultDepth    24
        SubSection "Display"
                Modes           "720x480"
                Virtual         720 480
        EndSubSection
        Option "XvmcUsesTextures" "true"
        Option "renderAccel" "true"
        Option "NoDDCValue"
        Option "UseEDID" "true"
        Option "ExactModeTimingsDVI" "true"
        Option "NoLogo" "true"
        Option "NoBandWidthTest" "true"
        Option "ModeValidation" "NoDFPNativeResolutionCheck, NoEdidMaxPClkCheck, NoMaxPClkCheck, AllowInterlacedModes, AllowNon60HzDFPModes, NoEdidModes"
        Option "DynamicTwinView" "false"
        Option "UseEvents" "true"
        Option "AllowGLXWithComposite" "true"
        Option "AddARGBGLXVisuals" "true"
        Option  "TVStandard"    "480p"
EndSection

Section "ServerFlags"
        Option  "AllowMouseOpenFail"    "true"
        Option  "BlankTime"             "0"
        Option  "StandbyTime"   "0"
        Option  "SuspendTime"   "0"
        Option  "OffTime"               "0"
        Option  "AIGLX"                 "Off"
EndSection

Section "Extensions"
        Option "Composite" "false"
        Option "RENDER" "true"
EndSection


Let me know if you want me to try anything.
« Last Edit: February 07, 2012, 05:59:07 am by huh »

l3mce

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1084
    • View Profile
Re: ATI and Intel correct autodetect round two. Need testers. Very easy.
« Reply #22 on: February 07, 2012, 06:51:07 pm »
I appreciate the testing guys. This round is over. It is clear that fglrx needs to not be preloaded as it currently is, as it conflicts with the intel driver. We must only install it if ATI is detected... then in the AVWizard_Run.sh, if ATI is detected and fglrx fails, to replace that with the native radeon driver.

I appreciate folks confirming the problem to uncover a possible solution.
I never quit... I just ping out.