Getting Ubuntu working properly on MSI GE62 6QF

242

OK, I managed to get 15.10 to work flawlessly on the same Skylake Ge62 (i6700HQ + GTX970m).

It took two clean installs and a ton of hard resets... and in the end I'm not exactly sure which step made it work, but here's what I did:

  • disable FastBoot (both in UEFI and Windows 10), SecureBoot and SpeedStep (the latter two shouldn't matter but it won't hurt to disable them anyway)
  • install with nomodeset boot option
  • reboot and got an instant hangup
  • reboot again with nomodeset
  • update everything to get the latest stable kernel (by now 4.2.19, stock 4.2.12 works as well)
  • install latest Intel graphics stack (https://01.org/linuxgraphics/downloads)
  • install NVidia properietary driver. Beware - after this nomodeset may not work again so be prepared for a clean install if something goes wrong.
  • reboot. It will either hang up instantly or it will boot normally. It hung up in my case.

The thing now is to get it to boot once so the drivers can be configured by X server

-do NOT add i915.preliminary_hw_support as it's not needed anymore

-from now on delete quiet and splash from boot options every time you add something there to see what errors you get.

-firstly try intel_idle.max_cstate=1 as a boot option

-if that hangs up try acpi=noirq or acpi=hd or acpi=off

The last one gave me a first proper boot. After a restart it didn't boot again giving bumblebee errors.

  • this time boot with intel_idle.max_cstate=1

If it works add this line to grub permanently. This way you will get a stable system using i915. For now I didn't try to force it to use nvidia.

Hope it helps.

regards

Share:
242

Related videos on Youtube

Fluch
Author by

Fluch

Updated on September 18, 2022

Comments

  • Fluch
    Fluch over 1 year

    TL:DR => WsdlProject project = new WsdlProject();

    throws

    Exception in thread "main" java.lang.ClassCastException: com.eviware.soapui.config.impl.EndpointStrategyConfigImpl cannot be cast to com.eviware.soapui.config.DefaultEndpointStrategyConfig

    Hello, sorry for long post, but I did really tried to solve this on my own and I couldn't.

    I am learning how to use SOAP request. And for this I am using SoapUI 5.6 (Free version) and testing the free wsdl API: http://webservices.oorsprong.org/websamples.countryinfo/CountryInfoService.wso?WSDL

    From the SoapUI 5.6 I have successful sending of requests and receiving responses. But I want to do that "wit Java from IntelliJ".

    My task is to use com.eviware.soapui.impl.wsdl.WsdlProject.class I have read quite a few tutorials and solved a few errors. The current error that I have though, I cannot solve. It is as follows:

    13:01:59,689 INFO [PluginManager] 0 plugins loaded in 1 ms 13:01:59,689 INFO [DefaultSoapUICore] All plugins loaded Exception in thread "main" java.lang.ClassCastException: com.eviware.soapui.config.impl.EndpointStrategyConfigImpl cannot be cast to com.eviware.soapui.config.DefaultEndpointStrategyConfig

    I have followed this topic NoClassDefFoundError com/eviware/soapui/impl/wsdl/WsdlProject

    And I have created my initial code

    String endPointUrl = "http://webservices.oorsprong.org/websamples.countryinfo/CountryInfoService.wso?WSDL"; WsdlProject project = new WsdlProject(); WsdlInterface[] wsdls = WsdlImporter.importWsdl(project, endPointUrl); WsdlInterface wsdl = wsdls[0];

    The error is thrown when trying to create empty WsdlProject object.

    From a comment in the thread above I see that I have to implement some dependancies which as 2016 were obviously accecable but not today. So I read that I have to use foreign repository which I have added to my pom.xml file:

    <repositories>
        <repository>
            <id>smartbear</id>
            <name>smartbear repository</name>
            <url>http://smartbearsoftware.com/repository/maven2</url>
        </repository>
    </repositories>
    

    And I have added dependency

    <dependency>
        <groupId>com.smartbear.soapui</groupId>
        <artifactId>soapui</artifactId>
        <version>5.2.1</version>
        <scope>test</scope>
    </dependency>
    

    Which is now synced and I am able to import

    com.eviware.soapui.impl.wsdl.*

    I am sorry but I cannot seem to solve this issue:

    Exception in thread "main" java.lang.ClassCastException: com.eviware.soapui.config.impl.EndpointStrategyConfigImpl cannot be cast to com.eviware.soapui.config.DefaultEndpointStrategyConfig

    Any idea what could cause it?

    Java 1.8 and Windows 10 64b with IntelliJ community Build #IC-212.4746.92, built on July 27, 2021

    here is the class https://pastebin.com/pFSTmTsr

  • krzysiekz
    krzysiekz over 8 years
    I just tried this and looks like i915 is working properly if I add acpi=off, but other things do not work, for example touchpad or some shortcuts. If I add intel_idle.max_cstate=1 all looks good but I am unable to shut down ubuntu properly, it hangs during shutdown process with messages like "kernel BUG: soft lockup - CPU stuck for 23s!" Do you have any ideas how to solve that?
  • krzysiekz
    krzysiekz over 8 years
    Thank you, I don't know what I did differently this time aside using stock ubuntu instead of ubuntu MATE, but it finally works!
  • Pado
    Pado almost 6 years
    if nomodeset does not work for someone of you just try nouveau.modeset=0