Glxinfo returns nothing - what am I missing? [SOLVED]

I've looked around but can't seem to find what I'm looking for. I've been working with two different systems and got fglrx to work pretty well performance wise. Here's the culprit, or annoyance might be a better word:
- 3D obviously works because otherwise I wouldn't get 3D games to work with good performance
- Mesa is installed
- still "glxinfo" gives no output at all, it's just hanging there
- same applies to KDE information center and Open GL
Hardware:
ATI x800 pro
- updated to latest catalyst, running gnome
ATI x800 gto (this has always been a tricky card which won't even work with ati open-driver)
- fresh for this evening install, updated to latest catalyst, running KDE
Should I care to track down the reason, or is it a non important one?
Last edited by KimTjik (2007-12-09 11:31:59)

if you open a second terminal, while the first glxinfo is still hung, and try glxinfo from the second terminal, does it work?  There's oddness reported that the first GL app won't do anything, and will just hang.

Similar Messages

  • Mkfld32fromschema does nothing, what am i missing?

    mkfld32fromschema -b 200 -i template.xsd -o jimbo
    jimbo contains nothing.
    template.xsd contains:
    <xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema' elementFormDefault="unqualified" >
    <xs:element name="template" type="rootType" />
    <xs:complexType name="rootType" >
    <xs:sequence >
    <xs:element name="templateId" type="templateIdType" />
    <xs:element name="datelastused" type="datelastused" />
    <xs:element name="numberuses" type="numberuses" />
    <xs:element name="lastuserncid" type="lastuserncid" />
    </xs:sequence>
    </xs:complexType>
    <xs:simpleType name="templateIdType" >
    <xs:restriction base="xs:string" >
    </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="datelastused" >
    <xs:restriction base="xs:string" >
    </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="numberuses" >
    <xs:restriction base="xs:string" >
    </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="lastuserncid" >
    <xs:restriction base="xs:string" >
    </xs:restriction>
    </xs:simpleType>
    </xs:schema>
    What am I missing?
    Jim

    All,
    For others looking at this thread in the future, this question was answered at Complex xsd with many nested types as follows:
    Jim,
    mkfld32fromschema is designed to look for <xsd:element name="name" type="type"> elements within schema files. If you installed the SALT samples, you can look at the $TUXDIR/samples/salt/sca/uBikeSCA/uBike.xsd file, which contains
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="tuxedo" targetNamespace="tuxedo">
    <xsd:complexType name="BikeInventory">
    <xsd:sequence>
    <xsd:element name="BIKES" type="Bike" minOccurs="0" maxOccurs="unbounded"/>
    <xsd:element name="STATUS" type="xsd:string" maxOccurs="1"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="Bike">
    <xsd:sequence>
    <xsd:element name="SERIALNO" type="xsd:string"/>
    <xsd:element name="SKU" type="xsd:string"/>
    <xsd:element name="NAME" type="xsd:string"/>
    <xsd:element name="TYPE" type="xsd:string"/>
    <xsd:element name="PRICE" type="xsd:float"/>
    <xsd:element name="SIZE" type="xsd:int"/>
    <xsd:element name="INSTOCK" type="xsd:string"/>
    <xsd:element name="ORDERDATE" type="xsd:string"/>
    <xsd:element name="COLOR" type="xsd:string"/>
    <xsd:element name="CURSERIALNO" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:schema>
    The command mkfld32fromschema -b 200 -i $TUXDIR/samples/salt/sca/uBikeSCA/uBike.xsd produces the following output:
    #NAME ID TYPE FLAG COMMENT
    *base 200
    BIKES 1 fml32
    STATUS 2 string
    SERIALNO 3 string
    SKU 4 string
    NAME 5 string
    TYPE 6 string
    PRICE 7 float
    SIZE 8 long
    INSTOCK 9 string
    ORDERDATE 10 string
    COLOR 11 string
    CURSERIALNO 12 string
    Note that since the type="Bike" associated with name="BIKES" does not start with xsd: , this is assumed to be a nested fml32 type.
    In your case, you can get some output from mkfld32from schema by changing xs: to xsd: in the schema file. The command sed 's!xs:!xsd:!g' <template.xsd | mkfld32fromschema -b 200 -o jimbo will write the following to jimbo:
    #NAME ID TYPE FLAG COMMENT
    *base 200
    template 1 fml32
    templateId 2 fml32
    datelastused 3 fml32
    numberuses 4 fml32
    lastuserncid 5 fml32
    Note that the output is being produced from the date at the top of the file, such as
    <xs:element name="datelastused" type="datelastused" />
    Since these types do not start with xsd: the output type is fml32.
    In order to parse the data in the lower part of the file such as
    *<xs:simpleType name="datelastused" >
    <xs:restriction base="xs:string" >
    </xs:restriction>
    </xs:simpleType>*
    it would be necessary to do more extensive editing on the file contents before passing it to mkfld32fromschema.
    Regards,
    Ed

  • Booting without initrd - what am I missing [solved]

    Can one use the contents of the system's kernel.img to determine exactly what needs to be built into the kernel to avoid booting with the initrd image, and boot to the kernel directly?
    For example, initially, I found 5 modules in the image:
    bsdtar -t -f /boot/kernel26-ck.img | grep ko
    /lib/modules/2.6.39-ck/kernel/drivers/scsi/scsi_mod.ko.gz
    /lib/modules/2.6.39-ck/kernel/drivers/ata/libata.ko.gz
    /lib/modules/2.6.39-ck/kernel/drivers/ata/libahci.ko.gz
    /lib/modules/2.6.39-ck/kernel/drivers/ata/ahci.ko.gz
    /lib/modules/2.6.39-ck/kernel/drivers/scsi/sd_mod.ko.gz
    I have since added them to the kernel.  After recompiling, I don't see any modules in my kernel26-ck.img at all, yet when I attempt to boot commenting out the initrd line in grub2, I keep getting this damn error, "VFS: unable to mount root fs on unknown block (0,0)" followed by a kernel panic.
    Advice is welcomed!
    $ bsdtar -t -f /boot/kernel26-ck.img
    /proc
    /sys
    /dev
    /bin
    /sbin
    /lib
    /usr
    /usr/bin
    /usr/lib
    /usr/sbin
    /run
    /dev/null
    /dev/zero
    /dev/console
    /dev/mem
    /bin/busybox
    /lib/libc.so.6
    /lib/libc-2.13.so
    /lib/ld-linux-x86-64.so.2
    /lib/ld-2.13.so
    /sbin/modprobe
    /sbin/blkid
    /lib/libblkid.so.1
    /lib/libblkid.so.1.1.0
    /lib/libuuid.so.1
    /lib/libuuid.so.1.3.0
    /init_functions
    /init
    /config
    /etc
    /etc/modprobe.d
    /etc/modprobe.d/usb-load-ehci-first.conf
    /sbin/udevd
    /lib/librt.so.1
    /lib/librt-2.13.so
    /lib/libpthread.so.0
    /lib/libpthread-2.13.so
    /sbin/udevadm
    /lib/udev
    /lib/udev/rules.d
    /lib/udev/rules.d/50-firmware.rules
    /lib/udev/rules.d/50-udev-default.rules
    /lib/udev/rules.d/60-persistent-storage.rules
    /lib/udev/rules.d/80-drivers.rules
    /lib/udev/firmware
    /lib/udev/ata_id
    /lib/udev/path_id
    /lib/udev/scsi_id
    /lib/udev/usb_id
    /lib/udev/load-modules.sh
    /etc/udev
    /etc/udev/udev.conf
    /hooks
    /hooks/udev
    Here is my grub line:
    menuentry 'Arch Linux, with Linux vmlinuz26-ck' --class archlinux --class gnu-linux --class gnu --class os {
    load_video
    insmod part_gpt
    insmod ext2
    set root='(hd0,gpt5)'
    search --no-floppy --fs-uuid --set=root 0fc7ed20-0b1e-4e26-860c-6e63dd3a35ea
    echo 'Loading Linux vmlinuz26-ck ...'
    linux /vmlinuz26-ck root=/dev/disk/by-uuid/6f90540d-6153-48e3-a5e7-58f09b65c5cf ro
    Last edited by graysky (2011-06-11 11:12:30)

    @bang - yes.
    EDIT: I found out my problem: grub2 uses uuids that are different from what is listed in ls -l /dev/disk/by-uuid/  Is this a bug in upstream?  If I replace the uuid that grub2 generated for my root disk with /dev/sdb1 I boot just fine.
    EDIT2: When I inspect my /boot/grub/grub.cfg the uuids listed there are correct, however, when I read the error message grub2 gives, every uuid it shows as a "correct" one is different from the output of ls -l /dev/disk/by-uuid/.
    VFS: Cannot open root device "disk/by-uuid/xxx"
    Please append a correct "root=" boot optionl here are the available partitions:
    Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
    WTF?
    Last edited by graysky (2011-06-11 10:50:31)

  • CSS experts, please show me what I'm missing... [SOLVED]

    I want to know how Firefox knows the difference between certain code surrounding Arch's stuff. For instance, the time and date stamp above every post here. This is an example:
    <h2><span><span class="conr">#1 </span><a href="viewtopic.php?pid=674509#p674509">2009-12-19 12:26:19</a></span></h2>
    and from the wiki:
    <a name="Getting_Started" id="Getting_Started"></a><h2> <span class="mw-headline"><a href="/index.php/Getting_Started" title="Getting Started">Getting Started</a></span></h2>
    Both of these pick up on the h2 settings I have in a CSS file that I'm putting together:
    h1,h2 {
    font-family:"DejaVu Sans" !important;
    font-weight:bold !important;
    font-size:14px !important;
    Firefox doesn't apply the bold settings to the first example but does to the second. This is exactly what I want. If I add another entry:
    h2 span {
    font-family:"DejaVu Sans" !important;
    font-weight:normal !important;
    font-size:13px !important;
    Then the bold goes off on both of them. I want a generic CSS file that has the time and date normal and the wiki entries bold. Firefox does this automatically. What am I missing?
    ... be back in 20 hours ...

    Mh, I'm sure you know about the tree structure of HTML. Please excuse if tell you things you already know, but allow me to talk about how CSS rules are applied.
    <h2>
    <span>
    <span class="conr">#1 </span>
    <a href="viewtopic.php?pid=674509#p674509">2009-12-19 12:26:19</a>
    </span>
    </h2>
    What CSS does is applying the CSS rules for each element/selector. This means first it will apply the rules for h2, then the rules for span and at last the rules for the class conr or the element a respectively. If any properties already exists, they will be overwritten when applying the rules of a more specific element. If multiple rules apply (for instance multiple classes with conflicting properties), the !important will help the browser to decide which rule to apply.
    In your case I guess that there are rules for the class conr or the span element which conflict with your desired setting. Since you only change the rules for h2, the rules of those more inner elements/attributes take precedence.

  • HT201210 I've updated to the latest IOS version. I am now asked to accept the conditions. I click on accept and am always returned to the accept window. What am I missing

    I've updated to the last IOS version and am now asked to accept the conditions. I click on I accept and am constantly referred back to the acceptance window. What am I missing? TIA

    Hi Vulcan37!
    I have some troubleshooting steps for you that can help you resolve this issue. First, you will want to try just performing a reset on your phone by following the instructions in this article:
    iOS: Turning off and on (restarting) and resetting
    http://support.apple.com/kb/ht1430
    You may also need to make sure your Safari settings are set for accepting cookies. More information on this can be found here:
    Privacy and security - iPhone User Guide
    http://help.apple.com/iphone/7/#/iphb01fc3c85
    Thanks for coming to the Apple Support Communities!
    Regards,
    Braden

  • Web Services deployment error "Server returned nothing (no headers, no data)" and more

    I'm developing a large-scale VI with an associated web service VI in 2010 SP1. The "auxiliary VI" is responsible for data capture and analysis as well as communications and data storage. It is fairly large and communicates with the web method VI via network-shared variables [and I'm using the DSC module to allow event handling on the shared variables].
    I can build and deploy the web method VI just fine and it runs great. However, I need to communicate between the auxiliary and web method VI's, and it looks like I can't do that without including the auxiliary vi in the RESTful web service build [by the way, is there any way to do this with web service builds?]. When I added the auxiliary vi to the build, it built fine, but then during the deployment I got:
    "Server returned nothing (no headers, no data)"
    The next time I tried to deploy, I got a spurious NI Auth dialog per this KnowledgeBase article. Following the instructions for case 1 ["Application Web Server failure since last start"], I ran Services.msc and found that NI Application Web Service was indeed not running. I tried to restart the service but got this error:
    "The NI Application Web Server service on Local Computer started and then stopped. Some services stop automatically if they have no work to do, for example, the Performance Logs and Alerts service."
    The KnowledgeBase article suggests restarting at this point and I did, but I still see the same behavior. So I really have a few questions:
    1. Is there any way to deploy a network-shared variable library across a deployed web service and local VI?
    2. What causes "Server returned nothing (no headers, no data)" upon deployment? A google search returned very little.
    3. What does this mean: "The NI Application Web Server service on Local Computer
    started and then stopped..." and what do I need to do to get my Application Web Server back up?
    [to heap on the pile... I tried to re-enable the Application Web Server from localhost:3580 and got an error. Then localhost:3580 went off-line also.]
    thanks!
    Solved!
    Go to Solution.

    Update.
    I noticed that the Application Web Server was trying to deploy the broken web service and was choking on it. There seemed to be no way to erase the .lvws originally created by the build. I could delete the deployment folder at $(WebServicesRoot)\UserServices\deployed\<Service Name>-<Globally Unique Identifier (GUID)> but it was recreated from the .lvws every time I attempted to restart the service.
    So I called NI and they pointed me to this directory [in XP]:
    C:\Documents and Settings\LocalService\My Documents\LabVIEW Data\WebServices\Standalone
    The .lvws was in this folder. I deleted it and now I can run the ApplicationWebService. Apparently this undocumented hidden file is a "not-quite-bug" that is recognized as needing a fix in upcoming releases.

  • Running 'netstatt' On An Interface Alias Returns Nothing.

    Hi all,
    can some one please shed some light on this behavior. We defined some network interface aliases on a SunOS machine. Running a 'netstat' on the alias returns nothing, while running it on the actuall device name returns the expected stats.
    Is this behavior by design?
    How can you get stats running this cmd on an alias interface name?
    Thank you

    It did not solve the issue. But I found it.
    I sketch what I've done .. maybe others can use that info too.
    Reason: For traditional reasons, we use Apache Configs for Aliases ... no mapping within CF itself because up to CF9 those mappings are global. Howerver, for UNC mappings, this seems to be the bad way.
    Up to today, I had no idea how Apache and CF talk to each other on paths. Obvioulsy, CF ask Apache for a path resolution, but Apache as a System Service, was not able to verify the accessibility of the UNC path. Therefore, it or CF figured that they use the webroot of this vhost.
    When I ran Apache as Administrator, it could access the UNC and therefore Apache and/or CF returned the correctly expanded path. Of course, we don't run Apache with more rights than the System Service. Resetting Apache to that also returned the wrong UNC expansion.
    So, we now go with Mappings in CF itself. Since CF 10 allows for Per App Mappings, this is no longer a problem.
    Martin

  • Hi I am a new iMac user. I got my iTunes on here finally, but now it is telling me I haven't authorized my computer? When I ask @ the app. store- no answers... What did I miss?

    Hi, I am a new iMac user and I finally got my itunes to recognize  my music to the iMac, but now it says my computer is not authorized?! When I ask at the App. store about this- they have nothing, but that is where the iMac sends me? So what did I miss?

    TARDISvt wrote:
    When I click on the apple in the left cornor I get App. Store- but I do not get the choice to authorize?...
    You need to Open iTunes and then click on Store in the Menu Bar.
    See this Discussion...
    https://discussions.apple.com/thread/4631735?tstart=0

  • Since changing over to Mountain Lion I discover that I am no longer able to adjust spaces between lines. If I choose spacing of 1.3 after two lines single-spaced, the entire previous lines end up with 1.3 spacing. What am I missing?

    Since changing over to Mountain Lion I discover that I am no longer able to adjust spaces between lines. If I choose spacing of 1.3 after two lines single-spaced, the entire previous lines end up with 1.3 spacing. What am I missing?

    Do those previous lines have a Return/Linefeed after them, or are they just wrapped to a new line?
    What App is it you're using?

  • I want to migrate Thunderbird from Win to Mac. Several attempts only produce empty inboxes. What am I missing?

    I have followed Mozilla recommendations for migration, MacRumors recommendations, and others as well. Even the Apple store was unsuccessful. Everything I read suggests that this is straightforward. What am I missing? I have copied my xxx.default file into Profile folder on Mac. Nothing. I have copied my Profile folder in-place of the Mac Profile folder. I have copied the contents of Profile into the Mac profile folder. I have upgraded my PC Thunderbird and then copied the contents of Profile into the Mac Profile. All produce zero data in my Mac inbox. Any thoughts would be most appreciated. Thank you!

    Me Too. Are there profiles somewhere else than /Library/Thunderbird/Profiles?

  • I am unable to access my email. I can sign in with my password, then a message comes up that says "The plug-in for this page has been disabled. Click here to manage your plug-ins." All plug-ins listed are enabled. What am I missing?

    I am unable to access my email from Charter.net. I can sign in with my password, then a message comes up which says "The plug-in for this page has been disabled. Click here to manage your plug-ins." All of my plug-ins are enabled. What am I missing?

    After a great deal of searching I ran across the suggestion to disable all plug-ins and then, one by one, enable them until finally the problem was solved. I am not sure which plug-in was causing the problem, as I am satisfied to have the problem solved. I am going to leave the rest of the plug-in disabled.

  • HT4623 when i connect my ipad to my Mac to update the ipad to IOS7  nothing happen. how can i solve this problem  Many thanks, Paul

    when i connect my ipad to my Mac to update the ipad to IOS7  nothing happen. how can i solve this problem  Many thanks, Paul

    Can your iPad be upgraded to iOS 7? If so, what are you doing that isn't working?
    See the chart below to determine whether you can upgrade your device and what you can upgrade to. If you do not have a Software Update option present on your iDevice, then you are trying to upgrade to iOS 5 or higher. You will have to connect your device to your computer and open iTunes in order to upgrade.
    IPhone, iPod Touch, and iPad iOS Compatibility Chart
         Device                                       iOS Verson
    iPhone 1                                      iOS 3.1.3
    iPhone 3G                                   iOS 4.2.1
    iPhone 3GS                                 iOS 6.1.x
    iPhone 4                                      iOS 7.0.x
    iPhone 4S                                    iOS 7.0.x
    iPhone 5                                      iOS 7.0.x
    iPhone 5c                                     iOS 7.0.x
    iPhone 5s                                     iOS 7.0.x
    iPod Touch 1                               iOS 3.1.3
    iPod Touch 2                               iOS 4.2.1
    iPod Touch 3                               iOS 5.1.1
    iPod Touch 4                               iOS 6.1.x
    iPod Touch 5                               iOS 7.0.x
    iPad 1                                          iOS 5.1.1
    iPad 2                                          iOS 7.0.x
    iPad 3                                          iOS 7.0.x
    iPad 4                                          iOS 7.0.x
    iPad Mini                                      iOS 7.0.x
    iPad Air                                        iOS 7.0.x
    =====================================
    Select the method most appropriate for your situation.
    Upgrading iOS
       1. How to update your iPhone, iPad, or iPod Touch
       2. iPhone Support
       3. iPod Touch Support
       4. iPad Support
         a. Updating Your iOS to Version 6.0.x from iOS 5
              Tap Settings > General > Software Update
         If an update is available there will be an active Update button. If you are current,
         then you will see a gray screen with a message saying your are up to date.
         b. If you are still using iOS 4 — Updating your device to iOS 5 or later.
         c. Resolving update problems
            1. iOS - Unable to update or restore
            2. iOS- Resolving update and restore alert messages

  • I have created an I-tunes playlist consisting of audio recordings recorded in Quick Time 7. The play list works fine in the computer and in the I-pod. However; I am unable to burn the playlist to a Cd disc. what am I missing ?

    I have created an I-tunes playlist consisting of audio recordings (AAC) recorded in Quick Time 7 Pro.. The play list works fine in the computer and in the I-pod. However; I am unable to burn the playlist to a Cd disc. What am I missing ?
    Audio recordings created with Quick time Player 7 and installed as playlist in I-tunes . Playlist works fine in Ipod; unable to burn to a disc. 

    Hi ! to Bd Aqua !
    Thank you for your response. :
    1. Audio recordings recorded in Quicktime 7 pro . Eighteen separate short recordings (18 tracks).
    1A. the combined playlist byte is 28.3 Megabytes
    2. Moved to I-tune.
    3. Created playlist in I-tunes.
    4.I go to file dropdown and request "burn playlist to disc"
    5. Burn Settings dialog box appears.  I click burn.
    6."Insert blank disc", appears in top wlindow.
    7. insert blank disc;  the 'Insert blank disc order" disappears but nothing happens after that.
    There is no indication or even a hint of anything happening.
    Hope you can help, Thanks

  • My iPhone 5s sounds stop working.i did not do anything it just stop working when I tried to turn on my music player all the sounds is not working I already check the volume and it is not also muted :( what happened can anyone solve my prob

    Hello everyone my iPhone 5s sounds stop working.i did not do anything it just stop working when I tried to turn on my music player all the sounds is not working I already check the volume and it is not also muted :( what happened can anyone solve my problem please

    Hey Kirby17,
    Thanks for using Apple Support Communities.
    If you are not getting any sound from the speaker, follow this article.
    iPhone: No sound or distorted sound from speaker
    http://support.apple.com/kb/ts5180
    Ensure that there is nothing plugged in to the headset jack or the dock connector.
    If the iPhone is in a protective case, make sure that the speaker port isn't blocked by the case.
    Make sure that the speaker and dock port aren't clogged with debris. If necessary, clean it with a clean, small, dry, soft-bristled brush. Carefully and gently brush away any debris.
    If an audio issue occurs when using a specific application, try testing other applications to see if the issue persists.
    If the iPhone is paired with a Bluetooth headset or car kit:
    Try turning off Bluetooth.
    If you experience difficulties with the Bluetooth feature, follow these troubleshooting steps.
    Restart the iPhone.
    If restarting doesn't fix the issue, ensure that your iPhone is updated to the latest version of iOS.
    If the issue is not resolved, please contact Apple Support.
    Have a nice day,
    Mario

  • Putting variable in regexp_substr pattern returns nothing

    I'm trying to create a function to simply extract positioned text from a string, ie I want the text in position two from string X with a pattern of ' - '. I want to create a function so it is simpler for the developers but regexp_substr doesn't seem to like it.
    So I want a function like below to be executed, select text_extractor('ABC - DEF - HIJ',' - ',2) from dual; which would return DEF;
    But regexp_substr doesn't like matching on ' - '. If I tell it to give me position 2, I get '-', and if I tell it position 3, I get DEF. It seems to work fine if the '-' is substritued with a ':'
    ie
    select regexp_substr('ABC - DEF - HIJ','[^ - ]+',1,2) from dual;
    results
    select regexp_substr('ABC - DEF - HIJ','[^ - ]+',1,3) from dual;
    results
    DEF
    select regexp_substr('ABC : DEF : HIJ','[^ : ]+',1,2) from dual;
    results
    DEF
    I would further like to make a function to wrap it in but it didn't work at all.
    The following examples return nothing.
    create or replace function text_extractor (p_text varchar2, p_delimiter varchar2, p_position number)
    return varchar2
    is
    begin
    return (regexp_substr(p_text,'^p_delimiter]+', 1,p_position));
    end;
    I've also tried
    create or replace function text_extractor (p_text varchar2, p_delimiter varchar2, p_position number)
    return varchar2
    is
    v_search_expression varchar2(2000);
    begin
    v_search_expression := '''[^'||p_delimiter||']+''';
    return (regexp_substr(p_text,v_search_expression),1,p_position);
    end;
    But I get nothing. Any ideas?

    When you do this:
    select regexp_substr('ABC - DEF - HIJ','[^ - ]+',1,2) from dual;
    results
    -Your search string is a set of characters, so you are saying anything that is NOT a space or dash (or space again, but that's redundant). So the first match is ABC, the second match is "-" as that's the second non-space match, so that's why you get that. Probably what you want is to ignore the spaces and use the "-" as your delimiter, then just trim the spaces off after...
    SQL> ed
    Wrote file afiedt.buf
      1* select trim(regexp_substr('ABC - DEF - HIJ','[^-]+',1,2)) from dual
    SQL> /
    TRI
    DEF
    SQL>

Maybe you are looking for